blob: b69e71479491b13b84bc511d46a235e25f4ae8c3 [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
36&eqos {
37 /delete-property/ assigned-clocks;
38 /delete-property/ assigned-clock-parents;
39 /delete-property/ assigned-clock-rates;
40};
41
42&gpio1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070043 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +020044};
45
46&gpio2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070047 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +020048};
49
50&gpio3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070051 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +020052};
53
54&gpio4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070055 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +020056};
57
58&gpio5 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070059 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +020060};
61
62&i2c3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070063 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +020064};
65
66&pinctrl_i2c3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070067 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +020068};
69
70&pinctrl_i2c3_gpio {
Simon Glassd3a98cb2023-02-13 08:56:33 -070071 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +020072};
73
74&pinctrl_pmic {
Simon Glassd3a98cb2023-02-13 08:56:33 -070075 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +020076};
77
78&pinctrl_uart1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070079 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +020080};
81
82&pinctrl_usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070083 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +020084};
85
86&pinctrl_usdhc2_100mhz {
Simon Glassd3a98cb2023-02-13 08:56:33 -070087 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +020088};
89
90&pinctrl_usdhc2_200mhz {
Simon Glassd3a98cb2023-02-13 08:56:33 -070091 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +020092};
93
94&pinctrl_usdhc2_vmmc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070095 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +020096};
97
98&pinctrl_usdhc3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070099 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +0200100};
101
102&pinctrl_usdhc3_100mhz {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700103 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +0200104};
105
106&pinctrl_usdhc3_100mhz {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700107 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +0200108};
109
110&pmic {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700111 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +0200112
113 regulators {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700114 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +0200115 };
116};
117
118&reg_usdhc2_vmmc {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700119 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +0200120};
121
122&uart1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700123 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +0200124};
125
126/* SDIO WiFi */
127&usdhc1 {
128 status = "disabled";
129};
130
131&usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700132 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +0200133};
134
135&usdhc3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700136 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +0200137};
138
139&wdog1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700140 bootph-pre-ram;
Marek Vasutf98c55f2022-08-12 22:41:53 +0200141};