xref: /openbmc/u-boot/arch/arm/dts/rk3288-firefly.dts (revision 7e8702a0)
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	rockchip,sdram-channel = /bits/ 8 <0x1 0xa 0x3 0x2 0x1 0x0 0xf 0xf>;
34	rockchip,sdram-params = <0x30B25564 0x627 3 666000000 3 9 1>;
35};
36
37&ir {
38	gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
39};
40
41&pinctrl {
42	u-boot,dm-pre-reloc;
43	act8846 {
44		pmic_vsel: pmic-vsel {
45			rockchip,pins = <7 14 RK_FUNC_GPIO &pcfg_output_low>;
46		};
47	};
48
49	ir {
50		ir_int: ir-int {
51			rockchip,pins = <7 0 RK_FUNC_GPIO &pcfg_pull_up>;
52		};
53	};
54};
55
56&pwm1 {
57	status = "okay";
58};
59
60&uart2 {
61	u-boot,dm-pre-reloc;
62	reg-shift = <2>;
63};
64
65&sdmmc {
66	u-boot,dm-pre-reloc;
67};
68
69&gpio3 {
70	u-boot,dm-pre-reloc;
71};
72
73&gpio8 {
74	u-boot,dm-pre-reloc;
75};
76