blob: 59d31eebc3eea9a7cb8b60a77f33b200e527ecf7 [file] [log] [blame]
Marek Vasut866a33e2022-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 Glass8c103c32023-02-13 08:56:33 -070024 bootph-pre-ram;
Marek Vasut866a33e2022-08-12 22:41:53 +020025 };
26};
27
28&buck4 {
Simon Glass8c103c32023-02-13 08:56:33 -070029 bootph-pre-ram;
Marek Vasut866a33e2022-08-12 22:41:53 +020030};
31
32&buck5 {
Simon Glass8c103c32023-02-13 08:56:33 -070033 bootph-pre-ram;
Marek Vasut866a33e2022-08-12 22:41:53 +020034};
35
Marek Vasut866a33e2022-08-12 22:41:53 +020036&gpio1 {
Simon Glass8c103c32023-02-13 08:56:33 -070037 bootph-pre-ram;
Marek Vasut866a33e2022-08-12 22:41:53 +020038};
39
40&gpio2 {
Simon Glass8c103c32023-02-13 08:56:33 -070041 bootph-pre-ram;
Marek Vasut866a33e2022-08-12 22:41:53 +020042};
43
44&gpio3 {
Simon Glass8c103c32023-02-13 08:56:33 -070045 bootph-pre-ram;
Marek Vasut866a33e2022-08-12 22:41:53 +020046};
47
48&gpio4 {
Simon Glass8c103c32023-02-13 08:56:33 -070049 bootph-pre-ram;
Marek Vasut866a33e2022-08-12 22:41:53 +020050};
51
52&gpio5 {
Simon Glass8c103c32023-02-13 08:56:33 -070053 bootph-pre-ram;
Marek Vasut866a33e2022-08-12 22:41:53 +020054};
55
56&i2c3 {
Simon Glass8c103c32023-02-13 08:56:33 -070057 bootph-pre-ram;
Marek Vasut866a33e2022-08-12 22:41:53 +020058};
59
60&pinctrl_i2c3 {
Simon Glass8c103c32023-02-13 08:56:33 -070061 bootph-pre-ram;
Marek Vasut866a33e2022-08-12 22:41:53 +020062};
63
64&pinctrl_i2c3_gpio {
Simon Glass8c103c32023-02-13 08:56:33 -070065 bootph-pre-ram;
Marek Vasut866a33e2022-08-12 22:41:53 +020066};
67
68&pinctrl_pmic {
Simon Glass8c103c32023-02-13 08:56:33 -070069 bootph-pre-ram;
Marek Vasut866a33e2022-08-12 22:41:53 +020070};
71
72&pinctrl_uart1 {
Simon Glass8c103c32023-02-13 08:56:33 -070073 bootph-pre-ram;
Marek Vasut866a33e2022-08-12 22:41:53 +020074};
75
76&pinctrl_usdhc2 {
Simon Glass8c103c32023-02-13 08:56:33 -070077 bootph-pre-ram;
Marek Vasut866a33e2022-08-12 22:41:53 +020078};
79
80&pinctrl_usdhc2_100mhz {
Simon Glass8c103c32023-02-13 08:56:33 -070081 bootph-pre-ram;
Marek Vasut866a33e2022-08-12 22:41:53 +020082};
83
84&pinctrl_usdhc2_200mhz {
Simon Glass8c103c32023-02-13 08:56:33 -070085 bootph-pre-ram;
Marek Vasut866a33e2022-08-12 22:41:53 +020086};
87
88&pinctrl_usdhc2_vmmc {
Simon Glass8c103c32023-02-13 08:56:33 -070089 bootph-pre-ram;
Marek Vasut866a33e2022-08-12 22:41:53 +020090};
91
92&pinctrl_usdhc3 {
Simon Glass8c103c32023-02-13 08:56:33 -070093 bootph-pre-ram;
Marek Vasut866a33e2022-08-12 22:41:53 +020094};
95
96&pinctrl_usdhc3_100mhz {
Simon Glass8c103c32023-02-13 08:56:33 -070097 bootph-pre-ram;
Marek Vasut866a33e2022-08-12 22:41:53 +020098};
99
100&pinctrl_usdhc3_100mhz {
Simon Glass8c103c32023-02-13 08:56:33 -0700101 bootph-pre-ram;
Marek Vasut866a33e2022-08-12 22:41:53 +0200102};
103
104&pmic {
Simon Glass8c103c32023-02-13 08:56:33 -0700105 bootph-pre-ram;
Marek Vasut866a33e2022-08-12 22:41:53 +0200106
107 regulators {
Simon Glass8c103c32023-02-13 08:56:33 -0700108 bootph-pre-ram;
Marek Vasut866a33e2022-08-12 22:41:53 +0200109 };
110};
111
112&reg_usdhc2_vmmc {
Simon Glass8c103c32023-02-13 08:56:33 -0700113 bootph-pre-ram;
Marek Vasut866a33e2022-08-12 22:41:53 +0200114};
115
116&uart1 {
Simon Glass8c103c32023-02-13 08:56:33 -0700117 bootph-pre-ram;
Marek Vasut866a33e2022-08-12 22:41:53 +0200118};
119
120/* SDIO WiFi */
121&usdhc1 {
122 status = "disabled";
123};
124
125&usdhc2 {
Simon Glass8c103c32023-02-13 08:56:33 -0700126 bootph-pre-ram;
Marek Vasut866a33e2022-08-12 22:41:53 +0200127};
128
129&usdhc3 {
Simon Glass8c103c32023-02-13 08:56:33 -0700130 bootph-pre-ram;
Marek Vasut866a33e2022-08-12 22:41:53 +0200131};
132
133&wdog1 {
Simon Glass8c103c32023-02-13 08:56:33 -0700134 bootph-pre-ram;
Marek Vasut866a33e2022-08-12 22:41:53 +0200135};