Peng Fan | 203a227 | 2019-03-05 02:32:49 +0000 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
2 | /* | ||||
Gaurav Jain | b91e58b | 2022-03-24 11:50:32 +0530 | [diff] [blame] | 3 | * Copyright 2018, 2021 NXP |
Peng Fan | 203a227 | 2019-03-05 02:32:49 +0000 | [diff] [blame] | 4 | */ |
5 | |||||
Oliver Graute | 6ccf850 | 2022-11-04 16:03:40 +0100 | [diff] [blame] | 6 | #include "imx8qm-u-boot.dtsi" |
7 | |||||
Peng Fan | fb4071b | 2019-09-02 16:04:11 +0800 | [diff] [blame] | 8 | &{/imx8qm-pm} { |
9 | |||||
Peng Fan | 3143769 | 2024-10-19 08:51:25 +0800 | [diff] [blame] | 10 | bootph-some-ram; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 11 | bootph-pre-ram; |
Peng Fan | fb4071b | 2019-09-02 16:04:11 +0800 | [diff] [blame] | 12 | }; |
13 | |||||
Peng Fan | 203a227 | 2019-03-05 02:32:49 +0000 | [diff] [blame] | 14 | &mu { |
Peng Fan | 3143769 | 2024-10-19 08:51:25 +0800 | [diff] [blame] | 15 | bootph-some-ram; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 16 | bootph-pre-ram; |
Peng Fan | 203a227 | 2019-03-05 02:32:49 +0000 | [diff] [blame] | 17 | }; |
18 | |||||
19 | &clk { | ||||
Peng Fan | 3143769 | 2024-10-19 08:51:25 +0800 | [diff] [blame] | 20 | bootph-some-ram; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 21 | bootph-pre-ram; |
Peng Fan | 203a227 | 2019-03-05 02:32:49 +0000 | [diff] [blame] | 22 | }; |
23 | |||||
24 | &iomuxc { | ||||
Peng Fan | 3143769 | 2024-10-19 08:51:25 +0800 | [diff] [blame] | 25 | bootph-some-ram; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 26 | bootph-pre-ram; |
Peng Fan | 203a227 | 2019-03-05 02:32:49 +0000 | [diff] [blame] | 27 | }; |
28 | |||||
Peng Fan | 3143769 | 2024-10-19 08:51:25 +0800 | [diff] [blame] | 29 | ®_usdhc2_vmmc { |
30 | bootph-pre-ram; | ||||
31 | }; | ||||
32 | |||||
33 | &{/mu@5d1c0000/iomuxc/imx8qm-mek} { | ||||
34 | bootph-some-ram; | ||||
35 | bootph-pre-ram; | ||||
36 | }; | ||||
37 | |||||
38 | &pinctrl_usdhc2_gpio { | ||||
39 | bootph-pre-ram; | ||||
40 | }; | ||||
41 | |||||
42 | &pinctrl_usdhc2 { | ||||
43 | bootph-pre-ram; | ||||
44 | }; | ||||
45 | |||||
46 | &pinctrl_lpuart0 { | ||||
47 | bootph-some-ram; | ||||
48 | bootph-pre-ram; | ||||
49 | }; | ||||
50 | |||||
51 | &pinctrl_usdhc1 { | ||||
52 | bootph-pre-ram; | ||||
53 | }; | ||||
54 | |||||
Peng Fan | 203a227 | 2019-03-05 02:32:49 +0000 | [diff] [blame] | 55 | &pd_lsio { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 56 | bootph-pre-ram; |
Peng Fan | 203a227 | 2019-03-05 02:32:49 +0000 | [diff] [blame] | 57 | }; |
58 | |||||
59 | &pd_lsio_gpio0 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 60 | bootph-pre-ram; |
Peng Fan | 203a227 | 2019-03-05 02:32:49 +0000 | [diff] [blame] | 61 | }; |
62 | |||||
63 | &pd_lsio_gpio1 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 64 | bootph-pre-ram; |
Peng Fan | 203a227 | 2019-03-05 02:32:49 +0000 | [diff] [blame] | 65 | }; |
66 | |||||
67 | &pd_lsio_gpio2 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 68 | bootph-pre-ram; |
Peng Fan | 203a227 | 2019-03-05 02:32:49 +0000 | [diff] [blame] | 69 | }; |
70 | |||||
71 | &pd_lsio_gpio3 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 72 | bootph-pre-ram; |
Peng Fan | 203a227 | 2019-03-05 02:32:49 +0000 | [diff] [blame] | 73 | }; |
74 | |||||
75 | &pd_lsio_gpio4 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 76 | bootph-pre-ram; |
Peng Fan | 203a227 | 2019-03-05 02:32:49 +0000 | [diff] [blame] | 77 | }; |
78 | |||||
79 | &pd_lsio_gpio5 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 80 | bootph-pre-ram; |
Peng Fan | 203a227 | 2019-03-05 02:32:49 +0000 | [diff] [blame] | 81 | }; |
82 | |||||
83 | &pd_lsio_gpio6 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 84 | bootph-pre-ram; |
Peng Fan | 203a227 | 2019-03-05 02:32:49 +0000 | [diff] [blame] | 85 | }; |
86 | |||||
87 | &pd_lsio_gpio7 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 88 | bootph-pre-ram; |
Peng Fan | 203a227 | 2019-03-05 02:32:49 +0000 | [diff] [blame] | 89 | }; |
90 | |||||
91 | &pd_conn { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 92 | bootph-pre-ram; |
Peng Fan | 203a227 | 2019-03-05 02:32:49 +0000 | [diff] [blame] | 93 | }; |
94 | |||||
95 | &pd_conn_sdch0 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 96 | bootph-pre-ram; |
Peng Fan | 203a227 | 2019-03-05 02:32:49 +0000 | [diff] [blame] | 97 | }; |
98 | |||||
99 | &pd_conn_sdch1 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 100 | bootph-pre-ram; |
Peng Fan | 203a227 | 2019-03-05 02:32:49 +0000 | [diff] [blame] | 101 | }; |
102 | |||||
103 | &pd_conn_sdch2 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 104 | bootph-pre-ram; |
Peng Fan | 203a227 | 2019-03-05 02:32:49 +0000 | [diff] [blame] | 105 | }; |
106 | |||||
Peng Fan | 9dd1df8 | 2019-09-02 10:20:14 +0000 | [diff] [blame] | 107 | &pd_dma { |
Peng Fan | 3143769 | 2024-10-19 08:51:25 +0800 | [diff] [blame] | 108 | bootph-some-ram; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 109 | bootph-pre-ram; |
Peng Fan | 9dd1df8 | 2019-09-02 10:20:14 +0000 | [diff] [blame] | 110 | }; |
111 | |||||
112 | &pd_dma_lpuart0 { | ||||
Peng Fan | 3143769 | 2024-10-19 08:51:25 +0800 | [diff] [blame] | 113 | bootph-some-ram; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 114 | bootph-pre-ram; |
Peng Fan | 9dd1df8 | 2019-09-02 10:20:14 +0000 | [diff] [blame] | 115 | }; |
116 | |||||
Gaurav Jain | b91e58b | 2022-03-24 11:50:32 +0530 | [diff] [blame] | 117 | &pd_caam { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 118 | bootph-pre-ram; |
Gaurav Jain | b91e58b | 2022-03-24 11:50:32 +0530 | [diff] [blame] | 119 | }; |
120 | |||||
121 | &pd_caam_jr1 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 122 | bootph-pre-ram; |
Gaurav Jain | b91e58b | 2022-03-24 11:50:32 +0530 | [diff] [blame] | 123 | }; |
124 | |||||
125 | &pd_caam_jr2 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 126 | bootph-pre-ram; |
Gaurav Jain | b91e58b | 2022-03-24 11:50:32 +0530 | [diff] [blame] | 127 | }; |
128 | |||||
129 | &pd_caam_jr3 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 130 | bootph-pre-ram; |
Gaurav Jain | b91e58b | 2022-03-24 11:50:32 +0530 | [diff] [blame] | 131 | }; |
132 | |||||
Peng Fan | 203a227 | 2019-03-05 02:32:49 +0000 | [diff] [blame] | 133 | &gpio0 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 134 | bootph-pre-ram; |
Peng Fan | 203a227 | 2019-03-05 02:32:49 +0000 | [diff] [blame] | 135 | }; |
136 | |||||
137 | &gpio1 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 138 | bootph-pre-ram; |
Peng Fan | 203a227 | 2019-03-05 02:32:49 +0000 | [diff] [blame] | 139 | }; |
140 | |||||
141 | &gpio2 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 142 | bootph-pre-ram; |
Peng Fan | 203a227 | 2019-03-05 02:32:49 +0000 | [diff] [blame] | 143 | }; |
144 | |||||
145 | &gpio3 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 146 | bootph-pre-ram; |
Peng Fan | 203a227 | 2019-03-05 02:32:49 +0000 | [diff] [blame] | 147 | }; |
148 | |||||
149 | &gpio4 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 150 | bootph-pre-ram; |
Peng Fan | 203a227 | 2019-03-05 02:32:49 +0000 | [diff] [blame] | 151 | }; |
152 | |||||
153 | &gpio5 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 154 | bootph-pre-ram; |
Peng Fan | 203a227 | 2019-03-05 02:32:49 +0000 | [diff] [blame] | 155 | }; |
156 | |||||
157 | &gpio6 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 158 | bootph-pre-ram; |
Peng Fan | 203a227 | 2019-03-05 02:32:49 +0000 | [diff] [blame] | 159 | }; |
160 | |||||
161 | &gpio7 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 162 | bootph-pre-ram; |
Peng Fan | 203a227 | 2019-03-05 02:32:49 +0000 | [diff] [blame] | 163 | }; |
164 | |||||
165 | &lpuart0 { | ||||
Peng Fan | 3143769 | 2024-10-19 08:51:25 +0800 | [diff] [blame] | 166 | bootph-some-ram; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 167 | bootph-pre-ram; |
Peng Fan | 203a227 | 2019-03-05 02:32:49 +0000 | [diff] [blame] | 168 | }; |
169 | |||||
170 | &usdhc1 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 171 | bootph-pre-ram; |
Andrey Zhizhikin | 9aa9598 | 2020-12-05 17:29:18 +0000 | [diff] [blame] | 172 | mmc-hs400-1_8v; |
Peng Fan | 203a227 | 2019-03-05 02:32:49 +0000 | [diff] [blame] | 173 | }; |
174 | |||||
175 | &usdhc2 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 176 | bootph-pre-ram; |
Andrey Zhizhikin | 9aa9598 | 2020-12-05 17:29:18 +0000 | [diff] [blame] | 177 | sd-uhs-sdr104; |
178 | sd-uhs-ddr50; | ||||
Peng Fan | 203a227 | 2019-03-05 02:32:49 +0000 | [diff] [blame] | 179 | }; |
Gaurav Jain | b91e58b | 2022-03-24 11:50:32 +0530 | [diff] [blame] | 180 | |
181 | &crypto { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 182 | bootph-pre-ram; |
Gaurav Jain | b91e58b | 2022-03-24 11:50:32 +0530 | [diff] [blame] | 183 | }; |
184 | |||||
185 | &sec_jr1 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 186 | bootph-pre-ram; |
Gaurav Jain | b91e58b | 2022-03-24 11:50:32 +0530 | [diff] [blame] | 187 | }; |
188 | |||||
189 | &sec_jr2 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 190 | bootph-pre-ram; |
Gaurav Jain | b91e58b | 2022-03-24 11:50:32 +0530 | [diff] [blame] | 191 | }; |
192 | |||||
193 | &sec_jr3 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 194 | bootph-pre-ram; |
Gaurav Jain | b91e58b | 2022-03-24 11:50:32 +0530 | [diff] [blame] | 195 | }; |