blob: a9dffa5a71e98c89c35cb689d09fb42ea2fd5cc6 [file] [log] [blame]
Peng Fan86a17972022-07-26 16:41:10 +08001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2022 NXP
4 */
5
6/ {
7 wdt-reboot {
8 compatible = "wdt-reboot";
9 wdt = <&wdog3>;
Simon Glass8c103c32023-02-13 08:56:33 -070010 bootph-pre-ram;
Sébastien Szymanskifb2bdc42023-10-04 11:08:09 +020011 bootph-some-ram;
Peng Fan86a17972022-07-26 16:41:10 +080012 };
13
Peng Fan86a17972022-07-26 16:41:10 +080014 firmware {
15 optee {
16 compatible = "linaro,optee-tz";
17 method = "smc";
18 };
19 };
20};
21
22&{/soc@0} {
Simon Glass8c103c32023-02-13 08:56:33 -070023 bootph-all;
24 bootph-pre-ram;
Peng Fan86a17972022-07-26 16:41:10 +080025};
26
27&aips1 {
Simon Glass8c103c32023-02-13 08:56:33 -070028 bootph-pre-ram;
29 bootph-all;
Peng Fan86a17972022-07-26 16:41:10 +080030};
31
32&aips2 {
Simon Glass8c103c32023-02-13 08:56:33 -070033 bootph-pre-ram;
Sébastien Szymanskifb2bdc42023-10-04 11:08:09 +020034 bootph-some-ram;
Peng Fan86a17972022-07-26 16:41:10 +080035};
36
37&aips3 {
Simon Glass8c103c32023-02-13 08:56:33 -070038 bootph-pre-ram;
Sébastien Szymanskifb2bdc42023-10-04 11:08:09 +020039 bootph-some-ram;
Peng Fan86a17972022-07-26 16:41:10 +080040};
41
42&iomuxc {
Simon Glass8c103c32023-02-13 08:56:33 -070043 bootph-pre-ram;
Sébastien Szymanskifb2bdc42023-10-04 11:08:09 +020044 bootph-some-ram;
Peng Fan86a17972022-07-26 16:41:10 +080045};
46
47&reg_usdhc2_vmmc {
48 u-boot,off-on-delay-us = <20000>;
Simon Glass8c103c32023-02-13 08:56:33 -070049 bootph-pre-ram;
Sébastien Szymanskifb2bdc42023-10-04 11:08:09 +020050 bootph-some-ram;
Peng Fan86a17972022-07-26 16:41:10 +080051};
52
53&pinctrl_reg_usdhc2_vmmc {
Simon Glass8c103c32023-02-13 08:56:33 -070054 bootph-pre-ram;
Peng Fan86a17972022-07-26 16:41:10 +080055};
56
57&pinctrl_uart1 {
Simon Glass8c103c32023-02-13 08:56:33 -070058 bootph-pre-ram;
Sébastien Szymanskifb2bdc42023-10-04 11:08:09 +020059 bootph-some-ram;
Peng Fan86a17972022-07-26 16:41:10 +080060};
61
62&pinctrl_usdhc2_gpio {
Simon Glass8c103c32023-02-13 08:56:33 -070063 bootph-pre-ram;
Sébastien Szymanskifb2bdc42023-10-04 11:08:09 +020064 bootph-some-ram;
Peng Fan86a17972022-07-26 16:41:10 +080065};
66
67&pinctrl_usdhc2 {
Simon Glass8c103c32023-02-13 08:56:33 -070068 bootph-pre-ram;
Sébastien Szymanskifb2bdc42023-10-04 11:08:09 +020069 bootph-some-ram;
Peng Fan86a17972022-07-26 16:41:10 +080070};
71
72&gpio1 {
Simon Glass8c103c32023-02-13 08:56:33 -070073 bootph-pre-ram;
Sébastien Szymanskifb2bdc42023-10-04 11:08:09 +020074 bootph-some-ram;
Peng Fan86a17972022-07-26 16:41:10 +080075};
76
77&gpio2 {
Simon Glass8c103c32023-02-13 08:56:33 -070078 bootph-pre-ram;
Sébastien Szymanskifb2bdc42023-10-04 11:08:09 +020079 bootph-some-ram;
Peng Fan86a17972022-07-26 16:41:10 +080080};
81
82&gpio3 {
Simon Glass8c103c32023-02-13 08:56:33 -070083 bootph-pre-ram;
Sébastien Szymanskifb2bdc42023-10-04 11:08:09 +020084 bootph-some-ram;
Peng Fan86a17972022-07-26 16:41:10 +080085};
86
87&gpio4 {
Simon Glass8c103c32023-02-13 08:56:33 -070088 bootph-pre-ram;
Sébastien Szymanskifb2bdc42023-10-04 11:08:09 +020089 bootph-some-ram;
Peng Fan86a17972022-07-26 16:41:10 +080090};
91
92&lpuart1 {
Simon Glass8c103c32023-02-13 08:56:33 -070093 bootph-pre-ram;
Sébastien Szymanskifb2bdc42023-10-04 11:08:09 +020094 bootph-some-ram;
Peng Fan86a17972022-07-26 16:41:10 +080095};
96
97&usdhc1 {
Simon Glass8c103c32023-02-13 08:56:33 -070098 bootph-pre-ram;
Sébastien Szymanskifb2bdc42023-10-04 11:08:09 +020099 bootph-some-ram;
Peng Fan86a17972022-07-26 16:41:10 +0800100};
101
102&usdhc2 {
Simon Glass8c103c32023-02-13 08:56:33 -0700103 bootph-pre-ram;
Sébastien Szymanskifb2bdc42023-10-04 11:08:09 +0200104 bootph-some-ram;
Peng Fan86a17972022-07-26 16:41:10 +0800105 fsl,signal-voltage-switch-extra-delay-ms = <8>;
106};
107
108&lpi2c2 {
Simon Glass8c103c32023-02-13 08:56:33 -0700109 bootph-pre-ram;
Sébastien Szymanskifb2bdc42023-10-04 11:08:09 +0200110 bootph-some-ram;
Peng Fan86a17972022-07-26 16:41:10 +0800111};
112
113&{/soc@0/bus@44000000/i2c@44350000/pmic@25} {
Simon Glass8c103c32023-02-13 08:56:33 -0700114 bootph-pre-ram;
Sébastien Szymanskifb2bdc42023-10-04 11:08:09 +0200115 bootph-some-ram;
Peng Fan86a17972022-07-26 16:41:10 +0800116};
117
118&{/soc@0/bus@44000000/i2c@44350000/pmic@25/regulators} {
Simon Glass8c103c32023-02-13 08:56:33 -0700119 bootph-pre-ram;
Sébastien Szymanskifb2bdc42023-10-04 11:08:09 +0200120 bootph-some-ram;
Peng Fan86a17972022-07-26 16:41:10 +0800121};
122
123&pinctrl_lpi2c2 {
Simon Glass8c103c32023-02-13 08:56:33 -0700124 bootph-pre-ram;
Sébastien Szymanskifb2bdc42023-10-04 11:08:09 +0200125 bootph-some-ram;
Peng Fan86a17972022-07-26 16:41:10 +0800126};
127
128&fec {
129 phy-reset-gpios = <&pcal6524 16 GPIO_ACTIVE_LOW>;
130 phy-reset-duration = <15>;
131 phy-reset-post-delay = <100>;
132};
133
134&eqos {
135 compatible = "fsl,imx-eqos";
136};
137
138&ethphy1 {
139 reset-gpios = <&pcal6524 15 GPIO_ACTIVE_LOW>;
140 reset-assert-us = <15000>;
141 reset-deassert-us = <100000>;
142};
143
Peng Fan86a17972022-07-26 16:41:10 +0800144&s4muap {
Simon Glass8c103c32023-02-13 08:56:33 -0700145 bootph-pre-ram;
Sébastien Szymanskifb2bdc42023-10-04 11:08:09 +0200146 bootph-some-ram;
Peng Fan86a17972022-07-26 16:41:10 +0800147 status = "okay";
148};
Sébastien Szymanskide2f7f52023-07-25 10:08:56 +0200149
150&clk {
151 bootph-all;
152 bootph-pre-ram;
153 /delete-property/ assigned-clocks;
154 /delete-property/ assigned-clock-rates;
155 /delete-property/ assigned-clock-parents;
156};
157
158&osc_32k {
159 bootph-all;
160 bootph-pre-ram;
161};
162
163&osc_24m {
164 bootph-all;
165 bootph-pre-ram;
166};
167
168&clk_ext1 {
169 bootph-all;
170 bootph-pre-ram;
171};