blob: 6f21fbe1151f63ea1afd6f9b7349c86e837411c6 [file] [log] [blame]
Marek Vasutf98c55f2022-08-12 22:41:53 +02001// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (C) 2022 Marek Vasut <marex@denx.de>
4 */
5
6#include "imx8mp-u-boot.dtsi"
7
8/ {
9 aliases {
10 eeprom0 = &eeprom0;
11 eeprom1 = &eeprom1;
12 mmc0 = &usdhc2; /* MicroSD */
13 mmc1 = &usdhc3; /* eMMC */
14 mmc2 = &usdhc1; /* SDIO */
15 };
16
17 config {
18 dh,ram-coding-gpios = <&gpio3 22 0>, <&gpio3 23 0>, <&gpio3 24 0>;
19 };
20
21 wdt-reboot {
22 compatible = "wdt-reboot";
23 wdt = <&wdog1>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070024 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +020025 };
26};
27
28&buck4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070029 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +020030};
31
32&buck5 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070033 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +020034};
35
Marek Vasutf98c55f2022-08-12 22:41:53 +020036&gpio1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070037 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +020038};
39
40&gpio2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070041 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +020042};
43
44&gpio3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070045 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +020046};
47
48&gpio4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070049 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +020050};
51
52&gpio5 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070053 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +020054};
55
56&i2c3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070057 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +020058};
59
60&pinctrl_i2c3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070061 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +020062};
63
64&pinctrl_i2c3_gpio {
Simon Glassd3a98cb2023-02-13 08:56:33 -070065 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +020066};
67
68&pinctrl_pmic {
Simon Glassd3a98cb2023-02-13 08:56:33 -070069 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +020070};
71
72&pinctrl_uart1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070073 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +020074};
75
76&pinctrl_usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070077 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +020078};
79
80&pinctrl_usdhc2_100mhz {
Simon Glassd3a98cb2023-02-13 08:56:33 -070081 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +020082};
83
84&pinctrl_usdhc2_200mhz {
Simon Glassd3a98cb2023-02-13 08:56:33 -070085 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +020086};
87
88&pinctrl_usdhc2_vmmc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070089 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +020090};
91
92&pinctrl_usdhc3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070093 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +020094};
95
96&pinctrl_usdhc3_100mhz {
Simon Glassd3a98cb2023-02-13 08:56:33 -070097 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +020098};
99
100&pinctrl_usdhc3_100mhz {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700101 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +0200102};
103
104&pmic {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700105 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +0200106
107 regulators {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700108 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +0200109 };
110};
111
112&reg_usdhc2_vmmc {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700113 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +0200114};
115
116&uart1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700117 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +0200118};
119
120/* SDIO WiFi */
121&usdhc1 {
122 status = "disabled";
123};
124
125&usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700126 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +0200127};
128
129&usdhc3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700130 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +0200131};
132
133&wdog1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700134 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +0200135};
Marek Vasut5ca41212023-09-21 20:44:17 +0200136
137&binman {
138 itb {
139 fit {
140 images {
141 fdt-dto-imx8mp-dhcom-som-overlay-eth1xfast {
142 description = "imx8mp-dhcom-som-overlay-eth1xfast";
143 type = "flat_dt";
144 compression = "none";
145
146 blob-ext {
147 filename = "imx8mp-dhcom-som-overlay-eth1xfast.dtbo";
148 };
149 };
150
151 fdt-dto-imx8mp-dhcom-som-overlay-eth2xfast {
152 description = "imx8mp-dhcom-som-overlay-eth2xfast";
153 type = "flat_dt";
154 compression = "none";
155
156 blob-ext {
157 filename = "imx8mp-dhcom-som-overlay-eth2xfast.dtbo";
158 };
159 };
160
161 fdt-dto-imx8mp-dhcom-pdk-overlay-eth2xfast {
162 description = "imx8mp-dhcom-pdk-overlay-eth2xfast";
163 type = "flat_dt";
164 compression = "none";
165
166 blob-ext {
167 filename = "imx8mp-dhcom-pdk-overlay-eth2xfast.dtbo";
168 };
169 };
Marek Vasut792cb562023-09-21 20:44:18 +0200170
171 fdt-dto-imx8mp-dhcom-som-overlay-rev100 {
172 description = "imx8mp-dhcom-som-overlay-rev100";
173 type = "flat_dt";
174 compression = "none";
175
176 blob-ext {
177 filename = "imx8mp-dhcom-som-overlay-rev100.dtbo";
178 };
179 };
180
181 fdt-dto-imx8mp-dhcom-pdk-overlay-rev100 {
182 description = "imx8mp-dhcom-pdk-overlay-rev100";
183 type = "flat_dt";
184 compression = "none";
185
186 blob-ext {
187 filename = "imx8mp-dhcom-pdk-overlay-rev100.dtbo";
188 };
189 };
Marek Vasut5ca41212023-09-21 20:44:17 +0200190 };
191
192 configurations {
193 default = "@config-DEFAULT-SEQ";
194
195 @config-SEQ {
196 fdt = "fdt-1",
197 "fdt-dto-imx8mp-dhcom-som-overlay-eth1xfast",
198 "fdt-dto-imx8mp-dhcom-som-overlay-eth2xfast",
Marek Vasut792cb562023-09-21 20:44:18 +0200199 "fdt-dto-imx8mp-dhcom-pdk-overlay-eth2xfast",
200 "fdt-dto-imx8mp-dhcom-som-overlay-rev100",
201 "fdt-dto-imx8mp-dhcom-pdk-overlay-rev100";
Marek Vasut5ca41212023-09-21 20:44:17 +0200202 };
203 };
204 };
205 };
206};