ARM: dts: stm32: add USB OTG pinctrl to stm32mp15
authorAmelie Delaunay <amelie.delaunay@st.com>
Tue, 4 Feb 2020 13:26:05 +0000 (14:26 +0100)
committerAlexandre Torgue <alexandre.torgue@st.com>
Mon, 10 Feb 2020 16:40:17 +0000 (17:40 +0100)
Add pinctrl definition for USB High-Speed OTG ID pin and USB Full-Speed OTG
DP and DM lines that can be used on stm32mp15.

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32mp15-pinctrl.dtsi

index 024a86e..73c07f0 100644 (file)
                        bias-disable;
                };
        };
+
+       usbotg_hs_pins_a: usbotg-hs-0 {
+               pins {
+                       pinmux = <STM32_PINMUX('A', 10, ANALOG)>; /* OTG_ID */
+               };
+       };
+
+       usbotg_fs_dp_dm_pins_a: usbotg-fs-dp-dm-0 {
+               pins {
+                       pinmux = <STM32_PINMUX('A', 11, ANALOG)>, /* OTG_FS_DM */
+                                <STM32_PINMUX('A', 12, ANALOG)>; /* OTG_FS_DP */
+               };
+       };
 };
 
 &pinctrl_z {