arm64: dts: imx8mn-bsh-smm-s2/pro: add boot phase properties
Subsystems (2)
PATCH 1/1 arm64: dts: imx8mn-bsh-smm-s2/pro: add boot phase properties
Add boot phase properties to the resources needed during the boot process.
The BSH SMM S2 and S2PRO need UART, watchdog, PMIC, GPIO and boot device access.
Tested on BSH SMM S2PRO with U-Boot v2027.01-rc1.
Signed-off-by Dario Binacchi <[email protected]>
---
.../freescale/imx8mn-bsh-smm-s2-common.dtsi | 22 +++++++++++++++++++ .../boot/dts/freescale/imx8mn-bsh-smm-s2.dts | 2 ++ .../dts/freescale/imx8mn-bsh-smm-s2pro.dts | 2 ++ 3 files changed, 26 insertions(+)
arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-common.dtsi +22 -0
@@ -77,10 +77,23 @@ ethphy0: ethernet-phy@0 { }; }; +&gpio1 { + bootph-pre-ram; +}; + +&gpio2 { + bootph-pre-ram; +}; + +&gpio4 { + bootph-pre-ram; +}; + &i2c1 { clock-frequency = <400000>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_i2c1>; + bootph-pre-ram; status = "okay"; bd71847: pmic@4b {
@@ -95,8 +108,11 @@ bd71847: pmic@4b { #clock-cells = <0>; clocks = <&osc_32k>; clock-output-names = "clk-32k-out"; + bootph-pre-ram; regulators { + bootph-pre-ram; + buck1_reg: BUCK1 { /* PMIC_BUCK1 - VDD_SOC */ regulator-name = "buck1";
@@ -244,6 +260,7 @@ bluetooth { &uart4 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart4>; + bootph-pre-ram; status = "okay"; };
@@ -280,6 +297,7 @@ &wdog1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_wdog>; fsl,ext-reset-output; + bootph-pre-ram; status = "okay"; };
@@ -326,6 +344,7 @@ pinctrl_i2c1: i2c1grp { MX8MN_IOMUXC_I2C1_SCL_I2C1_SCL 0x400000c2 MX8MN_IOMUXC_I2C1_SDA_I2C1_SDA 0x400000c2 >; + bootph-pre-ram; }; pinctrl_i2c3: i2c3grp {
@@ -346,6 +365,7 @@ pinctrl_pmic: pmicirqgrp { fsl,pins = < MX8MN_IOMUXC_GPIO1_IO03_GPIO1_IO3 0x040 >; + bootph-pre-ram; }; pinctrl_uart2: uart2grp {
@@ -369,6 +389,7 @@ pinctrl_uart4: uart4grp { MX8MN_IOMUXC_UART4_RXD_UART4_DCE_RX 0x040 MX8MN_IOMUXC_UART4_TXD_UART4_DCE_TX 0x040 >; + bootph-pre-ram; }; pinctrl_usdhc2: usdhc2grp {
@@ -414,6 +435,7 @@ pinctrl_wdog: wdoggrp { fsl,pins = < MX8MN_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B 0x046 >; + bootph-pre-ram; }; pinctrl_wlan: wlangrp {
arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2.dts +2 -0
@@ -21,6 +21,7 @@ memory@40000000 { &gpmi { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpmi_nand>; + bootph-pre-ram; status = "okay"; };
@@ -43,5 +44,6 @@ MX8MN_IOMUXC_NAND_READY_B_RAWNAND_READY_B 0x00000056 MX8MN_IOMUXC_NAND_WE_B_RAWNAND_WE_B 0x00000096 MX8MN_IOMUXC_NAND_WP_B_RAWNAND_WP_B 0x00000096 >; + bootph-pre-ram; }; };
arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2pro.dts +2 -0
@@ -85,6 +85,7 @@ &usdhc1 { pinctrl-2 = <&pinctrl_usdhc1_200mhz>; bus-width = <8>; non-removable; + bootph-pre-ram; status = "okay"; };
@@ -133,6 +134,7 @@ MX8MN_IOMUXC_SD1_DATA6_USDHC1_DATA6 0x0d0 MX8MN_IOMUXC_SD1_DATA7_USDHC1_DATA7 0x0d0 MX8MN_IOMUXC_SD1_STROBE_USDHC1_STROBE 0x090 >; + bootph-pre-ram; }; pinctrl_usdhc1_100mhz: usdhc1-100mhzgrp {
---
base-commit: 65e4fd942f72a9dba0e4e257290c4fa1aa756854
branch: imx8mn-bsh-smm-s2-bootph
Signature · 1 line
2.43.0