xref: /rk3399_rockchip-uboot/arch/arm/dts/rk3576-u-boot.dtsi (revision a4719b90cc2f09e5348b830d61f32ab6d991069a)
1/*
2 * (C) Copyright 2023 Rockchip Electronics Co., Ltd
3 *
4 * SPDX-License-Identifier:     GPL-2.0+
5 */
6
7#include <dt-bindings/gpio/gpio.h>
8
9/ {
10	aliases {
11		mmc0 = &sdhci;
12		mmc1 = &sdmmc;
13	};
14
15	chosen {
16		stdout-path = &uart0;
17		u-boot,spl-boot-order = &sdmmc, &spi_nand, &spi_nor, "same-as-spl";
18	};
19
20	secure-otp@2a480000 {
21		u-boot,dm-spl;
22		compatible = "rockchip,rk3576-secure-otp";
23		reg = <0x0 0x2a480000 0x0 0x10000>;
24	};
25};
26
27&firmware {
28	u-boot,dm-pre-reloc;
29};
30
31&gpio0 {
32	u-boot,dm-spl;
33	status = "okay";
34};
35
36&gpio1 {
37	u-boot,dm-pre-reloc;
38	status = "okay";
39};
40
41&gpio2 {
42	u-boot,dm-pre-reloc;
43	status = "okay";
44};
45
46&gpio3 {
47	u-boot,dm-pre-reloc;
48	status = "okay";
49};
50
51&gpio4 {
52	u-boot,dm-pre-reloc;
53	status = "okay";
54};
55
56&scmi {
57	u-boot,dm-pre-reloc;
58};
59
60&scmi_clk {
61	u-boot,dm-pre-reloc;
62};
63
64&scmi_shmem {
65	u-boot,dm-pre-reloc;
66};
67
68&sys_grf {
69	u-boot,dm-spl;
70	status = "okay";
71};
72
73&ioc_grf {
74	u-boot,dm-spl;
75	status = "okay";
76};
77
78&cru {
79	u-boot,dm-spl;
80	status = "okay";
81};
82
83&psci {
84	u-boot,dm-pre-reloc;
85	status = "okay";
86};
87
88&crypto {
89	u-boot,dm-spl;
90	status = "okay";
91};
92
93&uart0 {
94	u-boot,dm-spl;
95	status = "okay";
96};
97
98&hw_decompress {
99	u-boot,dm-spl;
100	status = "okay";
101};
102
103&rng {
104	u-boot,dm-pre-reloc;
105	status = "okay";
106};
107
108&sfc0 {
109	u-boot,dm-spl;
110	status = "okay";
111
112	#address-cells = <1>;
113	#size-cells = <0>;
114	spi_nand: flash@0 {
115		u-boot,dm-spl;
116		compatible = "spi-nand";
117		reg = <0>;
118		spi-tx-bus-width = <1>;
119		spi-rx-bus-width = <4>;
120		spi-max-frequency = <80000000>;
121	};
122
123	spi_nor: flash@1 {
124		u-boot,dm-spl;
125		compatible = "jedec,spi-nor";
126		label = "sfc_nor";
127		reg = <0>;
128		spi-tx-bus-width = <1>;
129		spi-rx-bus-width = <4>;
130		spi-max-frequency = <80000000>;
131	};
132};
133
134&saradc {
135	u-boot,dm-pre-reloc;
136	status = "okay";
137};
138
139&sdmmc {
140	bus-width = <4>;
141	u-boot,dm-spl;
142	pwr-en-gpios = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>;
143	status = "okay";
144};
145
146&sdhci {
147	bus-width = <8>;
148	u-boot,dm-spl;
149	mmc-hs400-1_8v;
150	mmc-hs400-enhanced-strobe;
151	non-removable;
152	status = "okay";
153};
154
155&sdmmc0 {
156	u-boot,dm-spl;
157};
158
159&sdmmc0_bus4 {
160	u-boot,dm-spl;
161};
162
163&sdmmc0_clk {
164	u-boot,dm-spl;
165};
166
167&sdmmc0_cmd {
168	u-boot,dm-spl;
169};
170
171&sdmmc0_det {
172	u-boot,dm-spl;
173};
174
175&pinctrl {
176	u-boot,dm-spl;
177};
178
179&pcfg_pull_up_drv_level_2 {
180	u-boot,dm-spl;
181};
182
183&pcfg_pull_up {
184	u-boot,dm-spl;
185};
186
187&pcfg_pull_none
188{
189	u-boot,dm-spl;
190};
191
192&php_grf {
193	u-boot,dm-pre-reloc;
194	status = "okay";
195};
196
197&pipe_phy0_grf {
198	u-boot,dm-pre-reloc;
199	status = "okay";
200};
201
202&pipe_phy1_grf {
203	u-boot,dm-pre-reloc;
204	status = "okay";
205};
206
207&usbdpphy_grf {
208	u-boot,dm-pre-reloc;
209};
210
211&usbdp_phy {
212	u-boot,dm-pre-reloc;
213	status = "okay";
214};
215
216&usbdp_phy_u3 {
217	u-boot,dm-pre-reloc;
218	status = "okay";
219};
220
221&usb_grf {
222	u-boot,dm-pre-reloc;
223};
224
225&usb2phy_grf {
226	u-boot,dm-pre-reloc;
227};
228
229&u2phy0 {
230	u-boot,dm-pre-reloc;
231	status = "okay";
232};
233
234&u2phy0_otg {
235	u-boot,dm-pre-reloc;
236	status = "okay";
237};
238
239&ufs {
240	u-boot,dm-spl;
241	status = "okay";
242};
243