ARM: dts: at91: sama5d27_wlsom1_ek: add USB device node
authorCristian Birsan <cristian.birsan@microchip.com>
Wed, 18 Mar 2020 10:42:36 +0000 (12:42 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
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 <cristian.birsan@microchip.com>
[eugen.hristev@microchip.com: ported to 5.4]
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Link: https://lore.kernel.org/r/20200318104236.21114-1-eugen.hristev@microchip.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
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