xref: /rk3399_rockchip-uboot/arch/arm/dts/rv1126-u-boot.dtsi (revision 33f8d8a65e85191a1fdeeae37fda3fa465daa7e5)
1/*
2 * (C) Copyright 2020 Rockchip Electronics Co., Ltd
3 *
4 * SPDX-License-Identifier:     GPL-2.0+
5 */
6
7/ {
8	aliases {
9		mmc0 = &emmc;
10		mmc1 = &sdmmc;
11	};
12
13	chosen {
14		stdout-path = &uart2;
15		u-boot,spl-boot-order = &spi_nand, &spi_nor, &nandc, &emmc;
16	};
17
18	crypto: crypto@ff500000 {
19		compatible = "rockchip,rv1126-crypto";
20		reg = <0xff500000 0x10000>;
21		clock-names = "sclk_crypto", "sclk_crypto_apk";
22		clocks = <&cru CLK_CRYPTO_CORE>, <&cru CLK_CRYPTO_PKA>;
23		clock-frequency = <200000000>, <300000000>;
24	};
25
26	secure_otp: secure_otp@0xff5d0000 {
27		compatible = "rockchip,rv1126-secure-otp";
28		reg = <0xff5d0000 0x4000>;
29		secure_conf = <0xfe0a0008>;
30	};
31};
32
33&uart2 {
34	clock-frequency = <24000000>;
35	u-boot,dm-spl;
36};
37
38&sdmmc {
39	u-boot,dm-spl;
40};
41
42&emmc {
43	mmc-ecsd = <0x0020f000>;
44	u-boot,dm-spl;
45};
46
47&pmu {
48	u-boot,dm-spl;
49};
50
51&pmugrf {
52	u-boot,dm-spl;
53};
54
55&pmucru {
56	u-boot,dm-spl;
57};
58
59&cru {
60	u-boot,dm-spl;
61};
62
63&crypto {
64	u-boot,dm-spl;
65	status = "okay";
66};
67
68&grf {
69	u-boot,dm-spl;
70};
71
72&saradc {
73	u-boot,dm-spl;
74	status = "okay";
75};
76
77&sfc {
78	u-boot,dm-spl;
79	status = "okay";
80
81	#address-cells = <1>;
82	#size-cells = <0>;
83	spi_nand: flash@0 {
84		u-boot,dm-spl;
85		compatible = "spi-nand";
86		reg = <0>;
87		spi-tx-bus-width = <1>;
88		spi-rx-bus-width = <4>;
89		spi-max-frequency = <96000000>;
90	};
91
92	spi_nor: flash@1 {
93		u-boot,dm-spl;
94		compatible = "jedec,spi-nor";
95		reg = <0>;
96		spi-tx-bus-width = <1>;
97		spi-rx-bus-width = <4>;
98		spi-max-frequency = <96000000>;
99	};
100};
101
102&nandc {
103	u-boot,dm-spl;
104	status = "okay";
105	#address-cells = <1>;
106	#size-cells = <0>;
107
108	nand@0 {
109		u-boot,dm-spl;
110		reg = <0>;
111		nand-ecc-mode = "hw_syndrome";
112		nand-ecc-strength = <16>;
113		nand-ecc-step-size = <1024>;
114	};
115};
116
117&hw_decompress {
118	u-boot,dm-spl;
119	status = "okay";
120};
121
122&secure_otp {
123	u-boot,dm-spl;
124	status = "okay";
125};
126
127&u2phy0 {
128	u-boot,dm-pre-reloc;
129	status = "okay";
130};
131
132&u2phy_otg {
133	u-boot,dm-pre-reloc;
134	status = "okay";
135};
136
137&usbdrd {
138	u-boot,dm-pre-reloc;
139	status = "okay";
140};
141
142&usbdrd_dwc3 {
143	u-boot,dm-pre-reloc;
144	status = "okay";
145};
146