Peng Fan | 86a1797 | 2022-07-26 16:41:10 +0800 | [diff] [blame] | 1 | // 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 Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 10 | bootph-pre-ram; |
Sébastien Szymanski | fb2bdc4 | 2023-10-04 11:08:09 +0200 | [diff] [blame] | 11 | bootph-some-ram; |
Peng Fan | 86a1797 | 2022-07-26 16:41:10 +0800 | [diff] [blame] | 12 | }; |
13 | |||||
Peng Fan | 86a1797 | 2022-07-26 16:41:10 +0800 | [diff] [blame] | 14 | firmware { |
15 | optee { | ||||
16 | compatible = "linaro,optee-tz"; | ||||
17 | method = "smc"; | ||||
18 | }; | ||||
19 | }; | ||||
20 | }; | ||||
21 | |||||
22 | &{/soc@0} { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 23 | bootph-all; |
24 | bootph-pre-ram; | ||||
Peng Fan | 86a1797 | 2022-07-26 16:41:10 +0800 | [diff] [blame] | 25 | }; |
26 | |||||
27 | &aips1 { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 28 | bootph-pre-ram; |
29 | bootph-all; | ||||
Peng Fan | 86a1797 | 2022-07-26 16:41:10 +0800 | [diff] [blame] | 30 | }; |
31 | |||||
32 | &aips2 { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 33 | bootph-pre-ram; |
Sébastien Szymanski | fb2bdc4 | 2023-10-04 11:08:09 +0200 | [diff] [blame] | 34 | bootph-some-ram; |
Peng Fan | 86a1797 | 2022-07-26 16:41:10 +0800 | [diff] [blame] | 35 | }; |
36 | |||||
37 | &aips3 { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 38 | bootph-pre-ram; |
Sébastien Szymanski | fb2bdc4 | 2023-10-04 11:08:09 +0200 | [diff] [blame] | 39 | bootph-some-ram; |
Peng Fan | 86a1797 | 2022-07-26 16:41:10 +0800 | [diff] [blame] | 40 | }; |
41 | |||||
42 | &iomuxc { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 43 | bootph-pre-ram; |
Sébastien Szymanski | fb2bdc4 | 2023-10-04 11:08:09 +0200 | [diff] [blame] | 44 | bootph-some-ram; |
Peng Fan | 86a1797 | 2022-07-26 16:41:10 +0800 | [diff] [blame] | 45 | }; |
46 | |||||
47 | ®_usdhc2_vmmc { | ||||
48 | u-boot,off-on-delay-us = <20000>; | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 49 | bootph-pre-ram; |
Sébastien Szymanski | fb2bdc4 | 2023-10-04 11:08:09 +0200 | [diff] [blame] | 50 | bootph-some-ram; |
Peng Fan | 86a1797 | 2022-07-26 16:41:10 +0800 | [diff] [blame] | 51 | }; |
52 | |||||
53 | &pinctrl_reg_usdhc2_vmmc { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 54 | bootph-pre-ram; |
Peng Fan | 86a1797 | 2022-07-26 16:41:10 +0800 | [diff] [blame] | 55 | }; |
56 | |||||
57 | &pinctrl_uart1 { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 58 | bootph-pre-ram; |
Sébastien Szymanski | fb2bdc4 | 2023-10-04 11:08:09 +0200 | [diff] [blame] | 59 | bootph-some-ram; |
Peng Fan | 86a1797 | 2022-07-26 16:41:10 +0800 | [diff] [blame] | 60 | }; |
61 | |||||
62 | &pinctrl_usdhc2_gpio { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 63 | bootph-pre-ram; |
Sébastien Szymanski | fb2bdc4 | 2023-10-04 11:08:09 +0200 | [diff] [blame] | 64 | bootph-some-ram; |
Peng Fan | 86a1797 | 2022-07-26 16:41:10 +0800 | [diff] [blame] | 65 | }; |
66 | |||||
67 | &pinctrl_usdhc2 { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 68 | bootph-pre-ram; |
Sébastien Szymanski | fb2bdc4 | 2023-10-04 11:08:09 +0200 | [diff] [blame] | 69 | bootph-some-ram; |
Peng Fan | 86a1797 | 2022-07-26 16:41:10 +0800 | [diff] [blame] | 70 | }; |
71 | |||||
72 | &gpio1 { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 73 | bootph-pre-ram; |
Sébastien Szymanski | fb2bdc4 | 2023-10-04 11:08:09 +0200 | [diff] [blame] | 74 | bootph-some-ram; |
Peng Fan | 86a1797 | 2022-07-26 16:41:10 +0800 | [diff] [blame] | 75 | }; |
76 | |||||
77 | &gpio2 { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 78 | bootph-pre-ram; |
Sébastien Szymanski | fb2bdc4 | 2023-10-04 11:08:09 +0200 | [diff] [blame] | 79 | bootph-some-ram; |
Peng Fan | 86a1797 | 2022-07-26 16:41:10 +0800 | [diff] [blame] | 80 | }; |
81 | |||||
82 | &gpio3 { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 83 | bootph-pre-ram; |
Sébastien Szymanski | fb2bdc4 | 2023-10-04 11:08:09 +0200 | [diff] [blame] | 84 | bootph-some-ram; |
Peng Fan | 86a1797 | 2022-07-26 16:41:10 +0800 | [diff] [blame] | 85 | }; |
86 | |||||
87 | &gpio4 { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 88 | bootph-pre-ram; |
Sébastien Szymanski | fb2bdc4 | 2023-10-04 11:08:09 +0200 | [diff] [blame] | 89 | bootph-some-ram; |
Peng Fan | 86a1797 | 2022-07-26 16:41:10 +0800 | [diff] [blame] | 90 | }; |
91 | |||||
92 | &lpuart1 { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 93 | bootph-pre-ram; |
Sébastien Szymanski | fb2bdc4 | 2023-10-04 11:08:09 +0200 | [diff] [blame] | 94 | bootph-some-ram; |
Peng Fan | 86a1797 | 2022-07-26 16:41:10 +0800 | [diff] [blame] | 95 | }; |
96 | |||||
97 | &usdhc1 { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 98 | bootph-pre-ram; |
Sébastien Szymanski | fb2bdc4 | 2023-10-04 11:08:09 +0200 | [diff] [blame] | 99 | bootph-some-ram; |
Peng Fan | 86a1797 | 2022-07-26 16:41:10 +0800 | [diff] [blame] | 100 | }; |
101 | |||||
102 | &usdhc2 { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 103 | bootph-pre-ram; |
Sébastien Szymanski | fb2bdc4 | 2023-10-04 11:08:09 +0200 | [diff] [blame] | 104 | bootph-some-ram; |
Peng Fan | 86a1797 | 2022-07-26 16:41:10 +0800 | [diff] [blame] | 105 | fsl,signal-voltage-switch-extra-delay-ms = <8>; |
106 | }; | ||||
107 | |||||
108 | &lpi2c2 { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 109 | bootph-pre-ram; |
Sébastien Szymanski | fb2bdc4 | 2023-10-04 11:08:09 +0200 | [diff] [blame] | 110 | bootph-some-ram; |
Peng Fan | 86a1797 | 2022-07-26 16:41:10 +0800 | [diff] [blame] | 111 | }; |
112 | |||||
113 | &{/soc@0/bus@44000000/i2c@44350000/pmic@25} { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 114 | bootph-pre-ram; |
Sébastien Szymanski | fb2bdc4 | 2023-10-04 11:08:09 +0200 | [diff] [blame] | 115 | bootph-some-ram; |
Peng Fan | 86a1797 | 2022-07-26 16:41:10 +0800 | [diff] [blame] | 116 | }; |
117 | |||||
118 | &{/soc@0/bus@44000000/i2c@44350000/pmic@25/regulators} { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 119 | bootph-pre-ram; |
Sébastien Szymanski | fb2bdc4 | 2023-10-04 11:08:09 +0200 | [diff] [blame] | 120 | bootph-some-ram; |
Peng Fan | 86a1797 | 2022-07-26 16:41:10 +0800 | [diff] [blame] | 121 | }; |
122 | |||||
123 | &pinctrl_lpi2c2 { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 124 | bootph-pre-ram; |
Sébastien Szymanski | fb2bdc4 | 2023-10-04 11:08:09 +0200 | [diff] [blame] | 125 | bootph-some-ram; |
Peng Fan | 86a1797 | 2022-07-26 16:41:10 +0800 | [diff] [blame] | 126 | }; |
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 | ðphy1 { | ||||
139 | reset-gpios = <&pcal6524 15 GPIO_ACTIVE_LOW>; | ||||
140 | reset-assert-us = <15000>; | ||||
141 | reset-deassert-us = <100000>; | ||||
142 | }; | ||||
143 | |||||
Peng Fan | 86a1797 | 2022-07-26 16:41:10 +0800 | [diff] [blame] | 144 | &s4muap { |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 145 | bootph-pre-ram; |
Sébastien Szymanski | fb2bdc4 | 2023-10-04 11:08:09 +0200 | [diff] [blame] | 146 | bootph-some-ram; |
Peng Fan | 86a1797 | 2022-07-26 16:41:10 +0800 | [diff] [blame] | 147 | status = "okay"; |
148 | }; | ||||
Sébastien Szymanski | de2f7f5 | 2023-07-25 10:08:56 +0200 | [diff] [blame] | 149 | |
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 | }; |