]> Git Repo - linux.git/commitdiff
ARM: dts: at91: sama5d27_wlsom1_ek: add USB device node
authorCristian Birsan <[email protected]>
Wed, 18 Mar 2020 10:42:36 +0000 (12:42 +0200)
committerAlexandre Belloni <[email protected]>
Fri, 20 Mar 2020 22:58:14 +0000 (23:58 +0100)
Add USB device node for WLSoM1 EK and enable it.

Signed-off-by: Cristian Birsan <[email protected]>
[[email protected]: ported to 5.4]
Signed-off-by: Eugen Hristev <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexandre Belloni <[email protected]>
arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dts

index 0b9fa2942dff7a92c0b8268b33aaa328488e1fd0..6b8461278950ab5d58f4428e67d94b92dadbe68f 100644 (file)
                pinmux = <PIN_PA10__GPIO>;
                bias-disable;
        };
+
+       pinctrl_usba_vbus: usba_vbus {
+               pinmux = <PIN_PA16__GPIO>;
+               bias-disable;
+       };
 };
 
 &pwm0 {
        status = "okay";
 };
 
+&usb0 {
+       atmel,vbus-gpio = <&pioA PIN_PA16 GPIO_ACTIVE_HIGH>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_usba_vbus>;
+       status = "okay";
+};
+
 &usb1 {
        num-ports = <3>;
        atmel,vbus-gpio = <0
This page took 0.059366 seconds and 4 git commands to generate.