From 46b4d6fe18b00bc0a784351a7df1701fe68cb58f Mon Sep 17 00:00:00 2001 From: Fabrice Gasnier Date: Tue, 26 Sep 2023 17:09:19 +0200 Subject: [PATCH] ARM: dts: stm32: force b-session-valid for otg on stm32mp135f-dk board stm32mp135f-dk board has a type-c connector to retrieve the connection state. For now, simply force an active peripheral mode in u-boot for flashing. Signed-off-by: Fabrice Gasnier Signed-off-by: Patrice Chotard Reviewed-by: Patrick Delaunay --- arch/arm/dts/stm32mp135f-dk-u-boot.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/stm32mp135f-dk-u-boot.dtsi b/arch/arm/dts/stm32mp135f-dk-u-boot.dtsi index 48605ff8bb..ba0c02489d 100644 --- a/arch/arm/dts/stm32mp135f-dk-u-boot.dtsi +++ b/arch/arm/dts/stm32mp135f-dk-u-boot.dtsi @@ -38,3 +38,7 @@ bootph-all; }; }; + +&usbotg_hs { + u-boot,force-b-session-valid; +}; -- 2.39.5