xref: /rk3399_rockchip-uboot/arch/arm/dts/rk3506-u-boot.dtsi (revision d1e7b9e1d9259b6a26a1dc310b724936b8d5e55e)
1/*
2 * (C) Copyright 2024 Rockchip Electronics Co., Ltd
3 *
4 * SPDX-License-Identifier:     GPL-2.0+
5 */
6
7/ {
8	aliases {
9		mmc0 = &mmc;
10	};
11
12	chosen: chosen {
13		stdout-path = &uart0;
14		u-boot,spl-boot-order = &mmc, &spi_nand, &spi_nor;
15	};
16
17	secure-otp@ff520000 {
18		compatible = "rockchip,rk3506-secure-otp";
19		reg = <0xff520000 0x8000>;
20		secure_conf = <0xff210100>;
21		cru_rst_addr = <0xff9a8080>;
22		mask_addr = <0xff528000>;
23		u-boot,dm-spl;
24		status = "okay";
25	};
26};
27
28&mmc {
29	u-boot,dm-spl;
30	status = "okay";
31};
32
33&cru {
34	u-boot,dm-spl;
35	status = "okay";
36};
37
38&grf {
39	u-boot,dm-spl;
40	status = "okay";
41};
42
43&ioc_grf {
44	u-boot,dm-spl;
45	status = "okay";
46};
47
48&pinctrl {
49	u-boot,dm-spl;
50	status = "okay";
51};
52
53&ioc1 {
54	u-boot,dm-spl;
55	status = "okay";
56};
57
58&grf_pmu {
59	u-boot,dm-spl;
60	status = "okay";
61};
62
63&ioc_pmu {
64	u-boot,dm-spl;
65	status = "okay";
66};
67
68&gpio0 {
69	u-boot,dm-spl;
70	status = "okay";
71};
72
73&gpio1 {
74	u-boot,dm-pre-reloc;
75	status = "okay";
76};
77
78&gpio2 {
79	u-boot,dm-pre-reloc;
80	status = "okay";
81};
82
83&gpio3 {
84	u-boot,dm-spl;
85	status = "okay";
86};
87
88&gpio4 {
89	u-boot,dm-pre-reloc;
90	status = "okay";
91};
92
93&psci {
94	u-boot,dm-pre-reloc;
95	status = "okay";
96};
97
98&crypto {
99	u-boot,dm-spl;
100	status = "okay";
101};
102
103&rng {
104	u-boot,dm-spl;
105	status = "okay";
106};
107
108&saradc {
109	u-boot,dm-spl;
110	status = "okay";
111};
112
113&fspi {
114	u-boot,dm-spl;
115	status = "okay";
116
117	#address-cells = <1>;
118	#size-cells = <0>;
119	spi_nand: flash@0 {
120		u-boot,dm-spl;
121		compatible = "spi-nand";
122		reg = <0>;
123		spi-tx-bus-width = <1>;
124		spi-rx-bus-width = <4>;
125		spi-max-frequency = <80000000>;
126	};
127
128	spi_nor: flash@1 {
129		u-boot,dm-spl;
130		compatible = "jedec,spi-nor";
131		label = "sfc_nor";
132		reg = <0>;
133		spi-tx-bus-width = <1>;
134		spi-rx-bus-width = <4>;
135		spi-max-frequency = <80000000>;
136	};
137};
138
139&usb2phy {
140	u-boot,dm-pre-reloc;
141	status = "okay";
142};
143
144&u2phy_otg0 {
145	u-boot,dm-pre-reloc;
146	status = "okay";
147};
148
149&usb20_otg0 {
150	u-boot,dm-pre-reloc;
151	status = "okay";
152};
153