xref: /openbmc/u-boot/arch/arm/dts/rk3288-firefly.dts (revision 85231c08)
1/*
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 {
25	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>;
32	/* Add a dummy value to cause of-platdata think this is bytes */
33	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	};
53	usb_host {
54		host_vbus_drv: host-vbus-drv {
55			rockchip,pins = <0 14 RK_FUNC_GPIO &pcfg_pull_none>;
56		};
57	};
58};
59
60&pwm1 {
61	status = "okay";
62};
63
64&uart2 {
65	u-boot,dm-pre-reloc;
66	reg-shift = <2>;
67};
68
69&usb_host1 {
70	vbus-supply = <&vcc_host_5v>;
71	status = "okay";
72};
73
74&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};
85