2022-08-12 20:41:53 +00:00
|
|
|
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
|
|
/*
|
|
|
|
* Copyright (C) 2022 Marek Vasut <marex@denx.de>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "imx8mp-u-boot.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
aliases {
|
|
|
|
eeprom0 = &eeprom0;
|
|
|
|
eeprom1 = &eeprom1;
|
|
|
|
mmc0 = &usdhc2; /* MicroSD */
|
|
|
|
mmc1 = &usdhc3; /* eMMC */
|
|
|
|
mmc2 = &usdhc1; /* SDIO */
|
|
|
|
};
|
|
|
|
|
|
|
|
config {
|
|
|
|
dh,ram-coding-gpios = <&gpio3 22 0>, <&gpio3 23 0>, <&gpio3 24 0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
wdt-reboot {
|
|
|
|
compatible = "wdt-reboot";
|
|
|
|
wdt = <&wdog1>;
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-08-12 20:41:53 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&buck4 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-08-12 20:41:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&buck5 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-08-12 20:41:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&gpio1 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-08-12 20:41:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&gpio2 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-08-12 20:41:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&gpio3 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-08-12 20:41:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&gpio4 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-08-12 20:41:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&gpio5 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-08-12 20:41:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&i2c3 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-08-12 20:41:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl_i2c3 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-08-12 20:41:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl_i2c3_gpio {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-08-12 20:41:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl_pmic {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-08-12 20:41:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl_uart1 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-08-12 20:41:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl_usdhc2 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-08-12 20:41:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl_usdhc2_100mhz {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-08-12 20:41:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl_usdhc2_200mhz {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-08-12 20:41:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl_usdhc2_vmmc {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-08-12 20:41:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl_usdhc3 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-08-12 20:41:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl_usdhc3_100mhz {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-08-12 20:41:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl_usdhc3_100mhz {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-08-12 20:41:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&pmic {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-08-12 20:41:53 +00:00
|
|
|
|
|
|
|
regulators {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-08-12 20:41:53 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
®_usdhc2_vmmc {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-08-12 20:41:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&uart1 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-08-12 20:41:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/* SDIO WiFi */
|
|
|
|
&usdhc1 {
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
&usdhc2 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-08-12 20:41:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&usdhc3 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-08-12 20:41:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&wdog1 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-08-12 20:41:53 +00:00
|
|
|
};
|