xref: /openbmc/u-boot/arch/arm/dts/rk3288-firefly.dts (revision b25732c2)
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,num-channels = <2>;
26	rockchip,pctl-timing = <0x29a 0xc8 0x1f8 0x42 0x4e 0x4 0xea 0xa
27		0x5 0x0 0xa 0x7 0x19 0x24 0xa 0x7
28		0x5 0xa 0x5 0x200 0x5 0x10 0x40 0x0
29		0x1 0x7 0x7 0x4 0xc 0x43 0x100 0x0
30		0x5 0x0>;
31	rockchip,phy-timing = <0x48f9aab4 0xea0910 0x1002c200
32		0xa60 0x40 0x10 0x0>;
33	/* Add a dummy value to cause of-platdata think this is bytes */
34	rockchip,sdram-channel = /bits/ 8 <0x1 0xa 0x3 0x2 0x1 0x0 0xf 0xf 0xff>;
35	rockchip,sdram-params = <0x30B25564 0x627 3 666000000 3 9 1>;
36};
37
38&ir {
39	gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
40};
41
42&pinctrl {
43	u-boot,dm-pre-reloc;
44	act8846 {
45		pmic_vsel: pmic-vsel {
46			rockchip,pins = <7 14 RK_FUNC_GPIO &pcfg_output_low>;
47		};
48	};
49
50	ir {
51		ir_int: ir-int {
52			rockchip,pins = <7 0 RK_FUNC_GPIO &pcfg_pull_up>;
53		};
54	};
55};
56
57&pwm1 {
58	status = "okay";
59};
60
61&uart2 {
62	u-boot,dm-pre-reloc;
63	reg-shift = <2>;
64};
65
66&sdmmc {
67	u-boot,dm-pre-reloc;
68};
69
70&gpio3 {
71	u-boot,dm-pre-reloc;
72};
73
74&gpio8 {
75	u-boot,dm-pre-reloc;
76};
77