xref: /OK3568_Linux_fs/u-boot/arch/arm/dts/rk1808-u-boot.dtsi (revision 4882a59341e53eb6f0b4789bf948001014eff981)
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&psci {
30	u-boot,dm-pre-reloc;
31	status = "okay";
32};
33
34&crypto {
35	u-boot,dm-spl;
36};
37
38&dmc {
39	u-boot,dm-spl;
40};
41
42&cru {
43	u-boot,dm-spl;
44};
45
46&grf {
47	u-boot,dm-spl;
48};
49
50&pmugrf {
51	u-boot,dm-spl;
52};
53
54&emmc {
55	u-boot,dm-spl;
56	status = "okay";
57};
58
59&sdmmc {
60	u-boot,dm-spl;
61	status = "okay";
62};
63
64&sfc {
65	u-boot,dm-spl;
66	status = "okay";
67
68	#address-cells = <1>;
69	#size-cells = <0>;
70	spi_nand: flash@0 {
71		u-boot,dm-spl;
72		compatible = "spi-nand";
73		reg = <0>;
74		spi-tx-bus-width = <1>;
75		spi-rx-bus-width = <4>;
76		spi-max-frequency = <96000000>;
77	};
78
79	spi_nor: flash@1 {
80		u-boot,dm-spl;
81		compatible = "jedec,spi-nor";
82		label = "sfc_nor";
83		reg = <0>;
84		spi-tx-bus-width = <1>;
85		spi-rx-bus-width = <4>;
86		spi-max-frequency = <96000000>;
87	};
88};
89
90&saradc {
91	u-boot,dm-spl;
92	status = "okay";
93};
94
95&sfc {
96	u-boot,dm-spl;
97	status = "okay";
98};
99
100&uart0 {
101	u-boot,dm-pre-reloc;
102};
103
104&uart1 {
105	u-boot,dm-pre-reloc;
106};
107
108&uart2 {
109	u-boot,dm-spl;
110};
111
112&uart3 {
113	u-boot,dm-pre-reloc;
114};
115
116&uart4 {
117	u-boot,dm-pre-reloc;
118};
119
120&uart5 {
121	u-boot,dm-pre-reloc;
122};
123
124&uart6 {
125	u-boot,dm-pre-reloc;
126};
127
128&uart7 {
129	u-boot,dm-pre-reloc;
130};
131
132&u2phy {
133	u-boot,dm-pre-reloc;
134	status = "okay";
135};
136
137&usb2phy_grf {
138	u-boot,dm-pre-reloc;
139	status = "okay";
140};
141
142&u2phy_host {
143	u-boot,dm-pre-reloc;
144	status = "okay";
145};
146
147&u2phy_otg {
148	u-boot,dm-pre-reloc;
149	status = "okay";
150};
151
152&usb_host0_ehci {
153	u-boot,dm-pre-reloc;
154	status = "okay";
155};
156
157&usb_host0_ohci {
158	u-boot,dm-pre-reloc;
159	status = "okay";
160};
161
162&usbdrd3 {
163	u-boot,dm-pre-reloc;
164	status = "okay";
165};
166
167&usbdrd_dwc3 {
168	u-boot,dm-pre-reloc;
169	status = "okay";
170};
171