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-10-15 22:41:14 +00:00
|
|
|
bootph-all;
|
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
|
|
|
};
|
2023-09-21 18:44:17 +00:00
|
|
|
|
|
|
|
&binman {
|
|
|
|
itb {
|
|
|
|
fit {
|
|
|
|
images {
|
|
|
|
fdt-dto-imx8mp-dhcom-som-overlay-eth1xfast {
|
|
|
|
description = "imx8mp-dhcom-som-overlay-eth1xfast";
|
|
|
|
type = "flat_dt";
|
|
|
|
compression = "none";
|
|
|
|
|
|
|
|
blob-ext {
|
|
|
|
filename = "imx8mp-dhcom-som-overlay-eth1xfast.dtbo";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
fdt-dto-imx8mp-dhcom-som-overlay-eth2xfast {
|
|
|
|
description = "imx8mp-dhcom-som-overlay-eth2xfast";
|
|
|
|
type = "flat_dt";
|
|
|
|
compression = "none";
|
|
|
|
|
|
|
|
blob-ext {
|
|
|
|
filename = "imx8mp-dhcom-som-overlay-eth2xfast.dtbo";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
fdt-dto-imx8mp-dhcom-pdk-overlay-eth2xfast {
|
|
|
|
description = "imx8mp-dhcom-pdk-overlay-eth2xfast";
|
|
|
|
type = "flat_dt";
|
|
|
|
compression = "none";
|
|
|
|
|
|
|
|
blob-ext {
|
|
|
|
filename = "imx8mp-dhcom-pdk-overlay-eth2xfast.dtbo";
|
|
|
|
};
|
|
|
|
};
|
2023-09-21 18:44:18 +00:00
|
|
|
|
|
|
|
fdt-dto-imx8mp-dhcom-som-overlay-rev100 {
|
|
|
|
description = "imx8mp-dhcom-som-overlay-rev100";
|
|
|
|
type = "flat_dt";
|
|
|
|
compression = "none";
|
|
|
|
|
|
|
|
blob-ext {
|
|
|
|
filename = "imx8mp-dhcom-som-overlay-rev100.dtbo";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-09-21 18:44:20 +00:00
|
|
|
fdt-dto-imx8mp-dhcom-pdk3-overlay-rev100 {
|
|
|
|
description = "imx8mp-dhcom-pdk3-overlay-rev100";
|
2023-09-21 18:44:18 +00:00
|
|
|
type = "flat_dt";
|
|
|
|
compression = "none";
|
|
|
|
|
|
|
|
blob-ext {
|
2023-09-21 18:44:20 +00:00
|
|
|
filename = "imx8mp-dhcom-pdk3-overlay-rev100.dtbo";
|
2023-09-21 18:44:18 +00:00
|
|
|
};
|
|
|
|
};
|
2023-09-21 18:44:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
configurations {
|
|
|
|
default = "@config-DEFAULT-SEQ";
|
|
|
|
|
|
|
|
@config-SEQ {
|
|
|
|
fdt = "fdt-1",
|
|
|
|
"fdt-dto-imx8mp-dhcom-som-overlay-eth1xfast",
|
|
|
|
"fdt-dto-imx8mp-dhcom-som-overlay-eth2xfast",
|
2023-09-21 18:44:18 +00:00
|
|
|
"fdt-dto-imx8mp-dhcom-pdk-overlay-eth2xfast",
|
|
|
|
"fdt-dto-imx8mp-dhcom-som-overlay-rev100",
|
2023-09-21 18:44:20 +00:00
|
|
|
"fdt-dto-imx8mp-dhcom-pdk3-overlay-rev100";
|
2023-09-21 18:44:17 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|