xref: /rk3399_rockchip-uboot/arch/arm/dts/rk3308-u-boot.dtsi (revision 8f5984c080a39cb71c53fefca4fc690e39fea22b)
1/*
2 * (C) Copyright 2018 Rockchip Electronics Co., Ltd
3 *
4 * SPDX-License-Identifier:     GPL-2.0+
5 */
6
7/ {
8
9	chosen {
10		stdout-path = &uart2;
11		u-boot,spl-boot-order = &sfc, &nandc, &emmc;
12	};
13};
14
15&dmc {
16	u-boot,dm-pre-reloc;
17};
18
19&cru {
20	u-boot,dm-pre-reloc;
21};
22
23&emmc {
24	u-boot,dm-pre-reloc;
25};
26
27&grf {
28	u-boot,dm-pre-reloc;
29};
30
31&nandc {
32	u-boot,dm-pre-reloc;
33	status = "okay";
34	#address-cells = <1>;
35	#size-cells = <0>;
36
37	nand@0 {
38		u-boot,dm-spl;
39		reg = <0>;
40		nand-ecc-mode = "hw_syndrome";
41		nand-ecc-strength = <16>;
42		nand-ecc-step-size = <1024>;
43	};
44};
45
46&sfc {
47	u-boot,dm-pre-reloc;
48	status = "okay";
49
50	#address-cells = <1>;
51	#size-cells = <0>;
52	flash@0 {
53		u-boot,dm-spl;
54		compatible = "spi-nand";
55		reg = <0>;
56		spi-tx-bus-width = <1>;
57		spi-rx-bus-width = <4>;
58		spi-max-frequency = <96000000>;
59	};
60};
61
62&saradc {
63	u-boot,dm-pre-reloc;
64	status = "okay";
65};
66
67&secure_otp {
68	u-boot,dm-pre-reloc;
69};
70
71&uart0 {
72	u-boot,dm-pre-reloc;
73};
74
75&uart1 {
76	u-boot,dm-pre-reloc;
77};
78
79&uart2 {
80	u-boot,dm-pre-reloc;
81	clock-frequency = <24000000>;
82	status = "okay";
83};
84
85&uart3 {
86	u-boot,dm-pre-reloc;
87};
88
89&uart4 {
90	u-boot,dm-pre-reloc;
91};
92
93&usb2phy_grf {
94	u-boot,dm-pre-reloc;
95};
96
97&u2phy {
98	u-boot,dm-pre-reloc;
99	status = "okay";
100};
101
102&u2phy_otg {
103	u-boot,dm-pre-reloc;
104	status = "okay";
105};
106
107&usb20_otg {
108	u-boot,dm-pre-reloc;
109	status = "okay";
110};
111
112&route_rgb {
113	status = "disabled";
114};
115