blob: 4485980135783c70f377103e70fefb6a691cedb4 [file] [log] [blame]
Jagan Teki688b0fe2022-12-14 23:21:10 +05301// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2022 Edgeble AI Technologies Pvt. Ltd.
4 */
5
6#include "rockchip-u-boot.dtsi"
7
8/ {
9 chosen {
10 u-boot,spl-boot-order = \
11 "same-as-spl", &emmc, &sdmmc;
12 };
13
14 dmc {
15 compatible = "rockchip,rv1126-dmc";
Simon Glassd3a98cb2023-02-13 08:56:33 -070016 bootph-all;
Jagan Teki688b0fe2022-12-14 23:21:10 +053017 };
Tim Lunncbfee492023-10-31 13:07:15 +110018
19 otp: otp@ff5c0000 {
20 compatible = "rockchip,rv1126-otp";
21 reg = <0xff5c0000 0x1000>;
22 #address-cells = <1>;
23 #size-cells = <1>;
24 status = "okay";
25
26 cpu_id: id@7 {
27 reg = <0x07 0x10>;
28 };
29 };
Jagan Teki688b0fe2022-12-14 23:21:10 +053030};
31
32&gpio0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070033 bootph-pre-ram;
Jagan Teki688b0fe2022-12-14 23:21:10 +053034};
35
36&gpio1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070037 bootph-pre-ram;
Jagan Teki688b0fe2022-12-14 23:21:10 +053038};
39
40&grf {
Tim Lunn063bb9c2023-10-31 00:12:41 +110041 bootph-all;
Jagan Teki688b0fe2022-12-14 23:21:10 +053042};
43
44&pmu {
Tim Lunn063bb9c2023-10-31 00:12:41 +110045 bootph-all;
Jagan Teki688b0fe2022-12-14 23:21:10 +053046};
47
48&pmugrf {
Tim Lunn063bb9c2023-10-31 00:12:41 +110049 bootph-all;
Jagan Teki688b0fe2022-12-14 23:21:10 +053050};
51
52&xin24m {
Simon Glassd3a98cb2023-02-13 08:56:33 -070053 bootph-pre-ram;
Jagan Teki688b0fe2022-12-14 23:21:10 +053054};
55
56&cru {
Simon Glassd3a98cb2023-02-13 08:56:33 -070057 bootph-pre-ram;
Jagan Teki688b0fe2022-12-14 23:21:10 +053058};
59
60&pmucru {
Simon Glassd3a98cb2023-02-13 08:56:33 -070061 bootph-pre-ram;
Jagan Teki688b0fe2022-12-14 23:21:10 +053062};
63
64&sdmmc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070065 bootph-pre-ram;
Jagan Teki688b0fe2022-12-14 23:21:10 +053066};
67
68&emmc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070069 bootph-pre-ram;
Jagan Teki688b0fe2022-12-14 23:21:10 +053070};
71
72&uart2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070073 bootph-pre-ram;
Jagan Teki688b0fe2022-12-14 23:21:10 +053074};