xref: /rk3399_rockchip-uboot/arch/arm/dts/rk1808-u-boot.dtsi (revision cd1c982e9a20e1f221cc1158f81fc40d9d0af0c2)
1// SPDX-License-Identifier:     GPL-2.0+
2/*
3 * (C) Copyright 2018 Rockchip Electronics Co., Ltd
4 *
5 */
6
7/ {
8	aliases {
9		mmc0 = &emmc;
10		mmc1 = &sdmmc;
11
12		serial0 = &uart0;
13		serial1 = &uart1;
14		serial2 = &uart2;
15		serial3 = &uart3;
16		serial4 = &uart4;
17		serial5 = &uart5;
18		serial6 = &uart6;
19		serial7 = &uart7;
20	};
21
22	chosen {
23		stdout-path = &uart2;
24		u-boot,spl-boot-order = &spi_nand, &spi_nor, &emmc;
25	};
26
27};
28
29&crypto {
30	u-boot,dm-spl;
31};
32
33&dmc {
34	u-boot,dm-spl;
35};
36
37&cru {
38	u-boot,dm-spl;
39};
40
41&grf {
42	u-boot,dm-spl;
43};
44
45&pmugrf {
46	u-boot,dm-spl;
47};
48
49&emmc {
50	u-boot,dm-spl;
51	status = "okay";
52};
53
54&sdmmc {
55	u-boot,dm-spl;
56	status = "okay";
57};
58
59&sfc {
60	u-boot,dm-spl;
61	status = "okay";
62
63	#address-cells = <1>;
64	#size-cells = <0>;
65	spi_nand: flash@0 {
66		u-boot,dm-spl;
67		compatible = "spi-nand";
68		reg = <0>;
69		spi-tx-bus-width = <1>;
70		spi-rx-bus-width = <4>;
71		spi-max-frequency = <96000000>;
72	};
73
74	spi_nor: flash@1 {
75		u-boot,dm-spl;
76		compatible = "jedec,spi-nor";
77		label = "sfc_nor";
78		reg = <0>;
79		spi-tx-bus-width = <1>;
80		spi-rx-bus-width = <4>;
81		spi-max-frequency = <96000000>;
82	};
83};
84
85&saradc {
86	u-boot,dm-spl;
87	status = "okay";
88};
89
90&sfc {
91	u-boot,dm-spl;
92	status = "okay";
93};
94
95&uart0 {
96	u-boot,dm-pre-reloc;
97};
98
99&uart1 {
100	u-boot,dm-pre-reloc;
101};
102
103&uart2 {
104	u-boot,dm-spl;
105};
106
107&uart3 {
108	u-boot,dm-pre-reloc;
109};
110
111&uart4 {
112	u-boot,dm-pre-reloc;
113};
114
115&uart5 {
116	u-boot,dm-pre-reloc;
117};
118
119&uart6 {
120	u-boot,dm-pre-reloc;
121};
122
123&uart7 {
124	u-boot,dm-pre-reloc;
125};
126
127&u2phy {
128	u-boot,dm-pre-reloc;
129	status = "okay";
130};
131
132&usb2phy_grf {
133	u-boot,dm-pre-reloc;
134	status = "okay";
135};
136
137&u2phy_host {
138	u-boot,dm-pre-reloc;
139	status = "okay";
140};
141
142&u2phy_otg {
143	u-boot,dm-pre-reloc;
144	status = "okay";
145};
146
147&usb_host0_ehci {
148	u-boot,dm-pre-reloc;
149	status = "okay";
150};
151
152&usb_host0_ohci {
153	u-boot,dm-pre-reloc;
154	status = "okay";
155};
156
157&usbdrd3 {
158	u-boot,dm-pre-reloc;
159	status = "okay";
160};
161
162&usbdrd_dwc3 {
163	u-boot,dm-pre-reloc;
164	status = "okay";
165};
166