[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200318104236.21114-1-eugen.hristev@microchip.com>
Date: Wed, 18 Mar 2020 12:42:36 +0200
From: Eugen Hristev <eugen.hristev@...rochip.com>
To: <alexandre.belloni@...tlin.com>, <ludovic.desroches@...rochip.com>,
<linux-arm-kernel@...ts.infradead.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>
CC: <eugen.hristev@...rochip.com>, <cristian.birsan@...rochip.com>
Subject: [PATCH] ARM: dts: at91: sama5d27_wlsom1_ek: add USB device node
From: Cristian Birsan <cristian.birsan@...rochip.com>
Add USB device node for WLSoM1 EK and enable it.
Signed-off-by: Cristian Birsan <cristian.birsan@...rochip.com>
[eugen.hristev@...rochip.com: ported to 5.4]
Signed-off-by: Eugen Hristev <eugen.hristev@...rochip.com>
---
arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dts | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dts b/arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dts
index 0b9fa2942dff..6b8461278950 100644
--- a/arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dts
+++ b/arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dts
@@ -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
--
2.20.1
Powered by blists - more mailing lists