[PATCH 09/10] dts: imx: Enable USB OTG mode on BSH SMM-M2 and SMM-S2
From: Haoning Cheng
Date: Wed Nov 04 2026 - 02:42:14 EST
From: Florian Ager <florian.ager@xxxxxxxx>
Configure USB OTG1 in OTG mode instead of peripheral-only mode
on the BSH SMM-M2 and SMM-S2 board variants.
Remove the SRP, HNP and ADP disable properties from the SMM-M2
configuration.
Signed-off-by: Florian Ager <florian.ager@xxxxxxxx>
Signed-off-by: Haoning Cheng <Haoning.CHENG@xxxxxxxxxxxx>
---
arch/arm/boot/dts/nxp/imx/imx6ulz-bsh-smm-m2-common.dtsi | 5 +----
arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-common.dtsi | 2 +-
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/arch/arm/boot/dts/nxp/imx/imx6ulz-bsh-smm-m2-common.dtsi b/arch/arm/boot/dts/nxp/imx/imx6ulz-bsh-smm-m2-common.dtsi
index 93d662ec875f..cc6b53268043 100644
--- a/arch/arm/boot/dts/nxp/imx/imx6ulz-bsh-smm-m2-common.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx6ulz-bsh-smm-m2-common.dtsi
@@ -46,10 +46,7 @@ &uart4 {
};
&usbotg1 {
- dr_mode = "peripheral";
- srp-disable;
- hnp-disable;
- adp-disable;
+ dr_mode = "otg";
status = "okay";
};
diff --git a/arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-common.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-common.dtsi
index d20393c2d901..7a121459f95c 100644
--- a/arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-common.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-common.dtsi
@@ -248,7 +248,7 @@ &uart4 {
};
&usbotg1 {
- dr_mode = "peripheral";
+ dr_mode = "otg";
disable-over-current;
status = "okay";
};
--
2.43.0