xref: /rk3399_rockchip-uboot/arch/arm/dts/rk3568-u-boot.dtsi (revision fdd74c32209b0d4cf8167e94a5dfa8a220106984)
1/*
2 * (C) Copyright 2020 Rockchip Electronics Co., Ltd
3 *
4 * SPDX-License-Identifier:     GPL-2.0+
5 */
6
7/ {
8	aliases {
9		mmc0 = &sdhci;
10		mmc1 = &sdmmc0;
11		mmc2 = &sdmmc1;
12	};
13
14	chosen {
15		stdout-path = &uart2;
16		u-boot,spl-boot-order = &sdhci, &spi_nand, &spi_nor;
17	};
18};
19
20&uart2 {
21	clock-frequency = <24000000>;
22	u-boot,dm-spl;
23	status = "okay";
24};
25
26&grf {
27	u-boot,dm-pre-reloc;
28	status = "okay";
29};
30
31&pmugrf {
32	u-boot,dm-pre-reloc;
33	status = "okay";
34};
35
36&usb2phy0_grf {
37	u-boot,dm-pre-reloc;
38	status = "okay";
39};
40
41&usbdrd30 {
42	u-boot,dm-pre-reloc;
43	status = "okay";
44};
45
46&usbdrd_dwc3 {
47	u-boot,dm-pre-reloc;
48	status = "okay";
49};
50
51&usbhost30 {
52	u-boot,dm-pre-reloc;
53	status = "okay";
54};
55
56&usbhost_dwc3 {
57	u-boot,dm-pre-reloc;
58	status = "okay";
59};
60
61&usb2phy0 {
62	u-boot,dm-pre-reloc;
63	status = "okay";
64};
65
66&u2phy0_otg {
67	u-boot,dm-pre-reloc;
68	status = "okay";
69};
70
71&u2phy0_host {
72	u-boot,dm-pre-reloc;
73	status = "okay";
74};
75
76&cru {
77	u-boot,dm-pre-reloc;
78	status = "okay";
79};
80
81&pmucru {
82	u-boot,dm-pre-reloc;
83	status = "okay";
84};
85
86&sfc {
87	u-boot,dm-spl;
88	/delete-property/ assigned-clocks;
89	/delete-property/ assigned-clock-rates;
90	status = "okay";
91
92	#address-cells = <1>;
93	#size-cells = <0>;
94	spi_nand: flash@0 {
95		u-boot,dm-spl;
96		compatible = "spi-nand";
97		reg = <0>;
98		spi-tx-bus-width = <1>;
99		spi-rx-bus-width = <4>;
100		spi-max-frequency = <96000000>;
101	};
102
103	spi_nor: flash@1 {
104		u-boot,dm-spl;
105		compatible = "jedec,spi-nor";
106		label = "sfc_nor";
107		reg = <0>;
108		spi-tx-bus-width = <1>;
109		spi-rx-bus-width = <4>;
110		spi-max-frequency = <100000000>;
111	};
112};
113
114&saradc {
115	u-boot,dm-spl;
116	status = "okay";
117};
118
119&sdmmc0 {
120	u-boot,dm-spl;
121	status = "okay";
122};
123
124&sdmmc1 {
125	u-boot,dm-spl;
126	status = "okay";
127};
128
129&sdhci {
130	bus-width = <8>;
131	u-boot,dm-spl;
132	mmc-hs200-1_8v;
133	status = "okay";
134};
135
136