Skip to contentSkip to conversation

ARM: dts: at91: sama5d27_wlsom1_ek: add USB device node

PATCH Applied Eugen Hristev 2 participants 2 messages Mar 18, 2020 – Mar 20, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: at91: sama5d27_wlsom1_ek: add USB device node

From: Cristian Birsan <[email protected]>

Add USB device node for WLSoM1 EK and enable it.

---
 arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)
arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dts +12 -0
index 0b9fa2942dff..6b8461278950 100644
@@ -186,6 +186,11 @@
 		pinmux = <PIN_PA10__GPIO>;
 		bias-disable;
 	};
+
+	pinctrl_usba_vbus: usba_vbus {
+		pinmux = <PIN_PA16__GPIO>;
+		bias-disable;
+	};
 };
 
 &pwm0 {
@@ -248,6 +253,13 @@
 	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
Signature · 1 line
2.20.1
maintainer Applied
#1 lore raw
Quoted 11 lines · Eugen Hristev

From: Cristian Birsan <[email protected]>

Add USB device node for WLSoM1 EK and enable it.

---
 arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

Applied, thanks.

Signature · 3 lines
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com