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