blob: 4ecb53ed8be1a30ab110d33ba13289bc3c06cd61 [file] [log] [blame]
Peng Fanb72606c2022-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 Glassd3a98cb2023-02-13 08:56:33 -070010 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +020011 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080012 };
13
Peng Fanb72606c2022-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 Glassd3a98cb2023-02-13 08:56:33 -070023 bootph-all;
24 bootph-pre-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080025};
26
27&aips1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070028 bootph-pre-ram;
29 bootph-all;
Peng Fanb72606c2022-07-26 16:41:10 +080030};
31
32&aips2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070033 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +020034 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080035};
36
37&aips3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070038 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +020039 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080040};
41
42&iomuxc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070043 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +020044 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080045};
46
47&reg_usdhc2_vmmc {
48 u-boot,off-on-delay-us = <20000>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070049 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +020050 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080051};
52
53&pinctrl_reg_usdhc2_vmmc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070054 bootph-pre-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080055};
56
57&pinctrl_uart1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070058 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +020059 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080060};
61
62&pinctrl_usdhc2_gpio {
Simon Glassd3a98cb2023-02-13 08:56:33 -070063 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +020064 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080065};
66
67&pinctrl_usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070068 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +020069 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080070};
71
72&gpio1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070073 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +020074 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080075};
76
77&gpio2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070078 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +020079 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080080};
81
82&gpio3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070083 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +020084 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080085};
86
87&gpio4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070088 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +020089 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080090};
91
92&lpuart1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070093 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +020094 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080095};
96
97&usdhc1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070098 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +020099 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +0800100};
101
102&usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700103 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +0200104 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +0800105 fsl,signal-voltage-switch-extra-delay-ms = <8>;
106};
107
108&lpi2c2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700109 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +0200110 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +0800111};
112
113&{/soc@0/bus@44000000/i2c@44350000/pmic@25} {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700114 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +0200115 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +0800116};
117
118&{/soc@0/bus@44000000/i2c@44350000/pmic@25/regulators} {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700119 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +0200120 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +0800121};
122
123&pinctrl_lpi2c2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700124 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +0200125 bootph-some-ram;
Peng Fanb72606c2022-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
Peng Fanb72606c2022-07-26 16:41:10 +0800134&ethphy1 {
135 reset-gpios = <&pcal6524 15 GPIO_ACTIVE_LOW>;
136 reset-assert-us = <15000>;
137 reset-deassert-us = <100000>;
138};
139
Peng Fanb72606c2022-07-26 16:41:10 +0800140&s4muap {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700141 bootph-pre-ram;
Sébastien Szymanski47c05802023-10-04 11:08:09 +0200142 bootph-some-ram;
Peng Fanb72606c2022-07-26 16:41:10 +0800143 status = "okay";
144};
Sébastien Szymanski506d2062023-07-25 10:08:56 +0200145
146&clk {
147 bootph-all;
148 bootph-pre-ram;
149 /delete-property/ assigned-clocks;
150 /delete-property/ assigned-clock-rates;
151 /delete-property/ assigned-clock-parents;
152};
153
154&osc_32k {
155 bootph-all;
156 bootph-pre-ram;
157};
158
159&osc_24m {
160 bootph-all;
161 bootph-pre-ram;
162};
163
164&clk_ext1 {
165 bootph-all;
166 bootph-pre-ram;
167};