ARM: dts: stm32: Add USB OTG support to DH PDK2
PATCH 1/1 ARM: dts: stm32: Add USB OTG support to DH PDK2
The DH PDK2 board is capable of USB OTG on the X14 USB Mini-AB connector, fill in the missing bits to make USB OTG possible instead of peripheral.
Signed-off-by Marek Vasut <[email protected]>
Cc Alexandre Torgue <[email protected]>
Cc Maxime Coquelin <[email protected]>
Cc Patrice Chotard <[email protected]>
Cc Patrick Delaunay <[email protected]>
--- arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi +5 -2
@@ -304,9 +304,12 @@ }; &usbotg_hs { - dr_mode = "peripheral"; - phys = <&usbphyc_port1 0>; + dr_mode = "otg"; + pinctrl-0 = <&usbotg_hs_pins_a>; + pinctrl-names = "default"; phy-names = "usb2-phy"; + phys = <&usbphyc_port1 0>; + vbus-supply = <&vbus_otg>; status = "okay"; };
Signature · 7 lines
2.27.0 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Hi
Quoted 24 lines · Marek Vasut
The DH PDK2 board is capable of USB OTG on the X14 USB Mini-AB connector, fill in the missing bits to make USB OTG possible instead of peripheral.
Signed-off-by Marek Vasut <[email protected]>Cc Alexandre Torgue <[email protected]>Cc Maxime Coquelin <[email protected]>Cc Patrice Chotard <[email protected]>Cc Patrick Delaunay <[email protected]>--- arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi +0
-1@@ -304,9 +304,12 @@ }; &usbotg_hs { - dr_mode = "peripheral";
arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi line 315
Quoted 10 lines
arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi +5
-1- phys = <&usbphyc_port1 0>; + dr_mode = "otg"; + pinctrl-0 = <&usbotg_hs_pins_a>; + pinctrl-names = "default"; phy-names = "usb2-phy"; + phys = <&usbphyc_port1 0>; + vbus-supply = <&vbus_otg>; status = "okay"; };
Applied on stm32-next.
Thanks.
Alex
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel