blob: a99ba99bfb4f2c08752472536f2450c8e79fb87e [file] [log] [blame]
Peng Fanb72606c2022-07-26 16:41:10 +08001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2022 NXP
4 */
5
Mathieu Othacehe0ef03ac2024-01-04 16:30:09 +01006#include "imx93-u-boot.dtsi"
7
Peng Fanb72606c2022-07-26 16:41:10 +08008/ {
9 wdt-reboot {
10 compatible = "wdt-reboot";
11 wdt = <&wdog3>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070012 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +020013 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080014 };
15
Peng Fanb72606c2022-07-26 16:41:10 +080016 firmware {
17 optee {
18 compatible = "linaro,optee-tz";
19 method = "smc";
20 };
21 };
22};
23
24&{/soc@0} {
Simon Glassd3a98cb2023-02-13 08:56:33 -070025 bootph-all;
26 bootph-pre-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080027};
28
29&aips1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070030 bootph-pre-ram;
31 bootph-all;
Peng Fanb72606c2022-07-26 16:41:10 +080032};
33
34&aips2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070035 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +020036 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080037};
38
39&aips3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070040 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +020041 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080042};
43
44&iomuxc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070045 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +020046 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080047};
48
49&reg_usdhc2_vmmc {
50 u-boot,off-on-delay-us = <20000>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070051 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +020052 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080053};
54
55&pinctrl_reg_usdhc2_vmmc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070056 bootph-pre-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080057};
58
59&pinctrl_uart1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070060 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +020061 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080062};
63
64&pinctrl_usdhc2_gpio {
Simon Glassd3a98cb2023-02-13 08:56:33 -070065 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +020066 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080067};
68
69&pinctrl_usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070070 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +020071 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080072};
73
74&gpio1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070075 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +020076 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080077};
78
79&gpio2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070080 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +020081 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080082};
83
84&gpio3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070085 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +020086 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080087};
88
89&gpio4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070090 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +020091 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080092};
93
94&lpuart1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070095 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +020096 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080097};
98
99&usdhc1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700100 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +0200101 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +0800102};
103
104&usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700105 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +0200106 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +0800107 fsl,signal-voltage-switch-extra-delay-ms = <8>;
108};
109
110&lpi2c2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700111 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +0200112 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +0800113};
114
115&{/soc@0/bus@44000000/i2c@44350000/pmic@25} {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700116 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +0200117 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +0800118};
119
120&{/soc@0/bus@44000000/i2c@44350000/pmic@25/regulators} {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700121 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +0200122 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +0800123};
124
125&pinctrl_lpi2c2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700126 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +0200127 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +0800128};
129
130&fec {
131 phy-reset-gpios = <&pcal6524 16 GPIO_ACTIVE_LOW>;
132 phy-reset-duration = <15>;
133 phy-reset-post-delay = <100>;
134};
135
Peng Fanb72606c2022-07-26 16:41:10 +0800136&ethphy1 {
137 reset-gpios = <&pcal6524 15 GPIO_ACTIVE_LOW>;
138 reset-assert-us = <15000>;
139 reset-deassert-us = <100000>;
140};
141
Peng Fanb72606c2022-07-26 16:41:10 +0800142&s4muap {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700143 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +0200144 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +0800145 status = "okay";
146};
Sébastien Szymanski506d2062023-07-25 10:08:56 +0200147
148&clk {
149 bootph-all;
150 bootph-pre-ram;
151 /delete-property/ assigned-clocks;
152 /delete-property/ assigned-clock-rates;
153 /delete-property/ assigned-clock-parents;
154};
155
156&osc_32k {
157 bootph-all;
158 bootph-pre-ram;
159};
160
161&osc_24m {
162 bootph-all;
163 bootph-pre-ram;
164};
165
166&clk_ext1 {
167 bootph-all;
168 bootph-pre-ram;
169};