Skip to content

Commit 4bb224a

Browse files
cristibirsanehristev
authored andcommitted
ARM: dts: at91: sama5d27_wlsom1_ek: add USB device node
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>
1 parent 8d17e14 commit 4bb224a

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,11 @@
186186
pinmux = <PIN_PA10__GPIO>;
187187
bias-disable;
188188
};
189+
190+
pinctrl_usba_vbus: usba_vbus {
191+
pinmux = <PIN_PA16__GPIO>;
192+
bias-disable;
193+
};
189194
};
190195

191196
&pwm0 {
@@ -248,6 +253,13 @@
248253
status = "okay";
249254
};
250255

256+
&usb0 {
257+
atmel,vbus-gpio = <&pioA PIN_PA16 GPIO_ACTIVE_HIGH>;
258+
pinctrl-names = "default";
259+
pinctrl-0 = <&pinctrl_usba_vbus>;
260+
status = "okay";
261+
};
262+
251263
&usb1 {
252264
num-ports = <3>;
253265
atmel,vbus-gpio = <0

0 commit comments

Comments
 (0)