Skip to contentSkip to conversation

arm: dts: imx6ulz-bsh-smm-m2-u-boot: Drop soc node

PATCH Applied Michael Trimarchi 2 participants 4 messages May 16, 2025 – May 22, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/3 arm: dts: imx6ulz-bsh-smm-m2-u-boot: Drop soc node

The node is specified on the parent architecture u-boot.dtsi file

---

 arch/arm/dts/imx6ulz-bsh-smm-m2-u-boot.dtsi | 4 ----
 1 file changed, 4 deletions(-)
arch/arm/dts/imx6ulz-bsh-smm-m2-u-boot.dtsi +0 -4
index 7730bb60dd0..c67622821e7 100644
@@ -5,10 +5,6 @@
  * Author: Michael Trimarchi <[email protected]>
  */
 
-&{/soc} {
-	bootph-all;
-};
-
 &aips2 {
 	bootph-all;
 };
Signature · 4 lines
2.43.0

base-commit: 7a18328d70cddf8d9ffab046ff38def5d2f61add
branch: next
#1 lore raw

PATCH 2/3 configs: imx6ulz_smm_m2: Add board watchdog reset configuration

Add the configuration that allow to reset the board from reset cmd

---

 configs/imx6ulz_smm_m2_defconfig | 3 +++
 1 file changed, 3 insertions(+)
configs/imx6ulz_smm_m2_defconfig +3 -0
index 15a3ec5c627..436bfb78cc2 100644
@@ -64,6 +64,8 @@ CONFIG_DM_PMIC=y
 CONFIG_DM_REGULATOR=y
 CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_MXC_UART=y
+CONFIG_SYSRESET=y
+CONFIG_SYSRESET_WATCHDOG=y
 CONFIG_IMX_THERMAL=y
 CONFIG_USB=y
 CONFIG_SPL_USB_HOST=y
@@ -75,3 +77,4 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
 CONFIG_CI_UDC=y
 CONFIG_SDP_LOADADDR=0x877fffc0
 CONFIG_SPL_USB_SDP_SUPPORT=y
+CONFIG_IMX_WATCHDOG=y
Signature · 4 lines
2.43.0

base-commit: 7a18328d70cddf8d9ffab046ff38def5d2f61add
branch: next
#2 lore raw

PATCH 3/3 arm: dts: imx6ulz-bsh-smm-m2: Fix reset using wdt-reboot driver

In reply to Michael Trimarchi

commit 68dcbdd594d4 ("ARM: imx: Add weak default reset_cpu()") introduced a regression that 'reset' command unable to reset imx6ulz based BSH module's modules in the u-boot.

BSH module's imx6, imx6ulz-bsh-smm-m2.dts

Fixes 68dcbdd594d4 ("ARM: imx: Add weak default reset_cpu()")

---

 arch/arm/dts/imx6ulz-bsh-smm-m2-u-boot.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)
arch/arm/dts/imx6ulz-bsh-smm-m2-u-boot.dtsi +8 -0
index c67622821e7..faf596255f1 100644
@@ -5,6 +5,14 @@
  * Author: Michael Trimarchi <[email protected]>
  */
 
+/ {
+	wdt-reboot {
+		compatible = "wdt-reboot";
+		wdt = <&wdog1>;
+		bootph-pre-ram;
+	};
+};
+
 &aips2 {
 	bootph-all;
 };
Signature · 4 lines
2.43.0

base-commit: 7a18328d70cddf8d9ffab046ff38def5d2f61add
branch: next