blob: 2e075406f40cdaff77c07d511403d1026763234c [file] [log] [blame]
Tom Rini8b0c8a12018-05-06 18:27:01 -04001// SPDX-License-Identifier: GPL-2.0+ OR X11
Simon Glassec3be542015-08-30 16:55:41 -06002/*
3 * Copyright (c) 2014, 2015 FUKAUMI Naoki <naobsd@gmail.com>
Simon Glassec3be542015-08-30 16:55:41 -06004 */
5
6/dts-v1/;
7#include "rk3288-firefly.dtsi"
8
9/ {
10 model = "Firefly-RK3288";
11 compatible = "firefly,firefly-rk3288", "rockchip,rk3288";
12
13 chosen {
14 stdout-path = &uart2;
15 };
16
17 config {
18 u-boot,dm-pre-reloc;
19 u-boot,boot-led = "firefly:green:power";
20 };
21};
22
23&dmc {
Simon Glassec3be542015-08-30 16:55:41 -060024 rockchip,pctl-timing = <0x29a 0xc8 0x1f8 0x42 0x4e 0x4 0xea 0xa
25 0x5 0x0 0xa 0x7 0x19 0x24 0xa 0x7
26 0x5 0xa 0x5 0x200 0x5 0x10 0x40 0x0
27 0x1 0x7 0x7 0x4 0xc 0x43 0x100 0x0
28 0x5 0x0>;
29 rockchip,phy-timing = <0x48f9aab4 0xea0910 0x1002c200
30 0xa60 0x40 0x10 0x0>;
Simon Glass19d66912016-07-04 11:58:25 -060031 /* Add a dummy value to cause of-platdata think this is bytes */
Simon Glassec3be542015-08-30 16:55:41 -060032 rockchip,sdram-params = <0x30B25564 0x627 3 666000000 3 9 1>;
33};
34
35&ir {
36 gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
37};
38
39&pinctrl {
40 u-boot,dm-pre-reloc;
41 act8846 {
42 pmic_vsel: pmic-vsel {
43 rockchip,pins = <7 14 RK_FUNC_GPIO &pcfg_output_low>;
44 };
45 };
46
47 ir {
48 ir_int: ir-int {
49 rockchip,pins = <7 0 RK_FUNC_GPIO &pcfg_pull_up>;
50 };
51 };
Eddie Cai9fcfe3e2017-03-27 15:17:27 +080052 usb_host {
53 host_vbus_drv: host-vbus-drv {
54 rockchip,pins = <0 14 RK_FUNC_GPIO &pcfg_pull_none>;
55 };
56 };
Simon Glassec3be542015-08-30 16:55:41 -060057};
58
59&pwm1 {
60 status = "okay";
61};
62
63&uart2 {
64 u-boot,dm-pre-reloc;
65 reg-shift = <2>;
66};
67
Eddie Cai9fcfe3e2017-03-27 15:17:27 +080068&usb_host1 {
69 vbus-supply = <&vcc_host_5v>;
70 status = "okay";
71};
72
Simon Glassec3be542015-08-30 16:55:41 -060073&sdmmc {
74 u-boot,dm-pre-reloc;
75};
76
77&gpio3 {
78 u-boot,dm-pre-reloc;
79};
80
81&gpio8 {
82 u-boot,dm-pre-reloc;
83};