Add the pinctrl nodes required by the USB related DT nodes.

Signed-off-by: Sergiu Moga <sergiu.m...@microchip.com>
---

v1 -> v3:
- nothing


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

diff --git a/arch/arm/dts/at91-sama5d27_wlsom1_ek.dts 
b/arch/arm/dts/at91-sama5d27_wlsom1_ek.dts
index eec183d5de..6d4b35ea96 100644
--- a/arch/arm/dts/at91-sama5d27_wlsom1_ek.dts
+++ b/arch/arm/dts/at91-sama5d27_wlsom1_ek.dts
@@ -143,7 +143,32 @@
                                        pinmux = <PIN_PC9__GPIO>;
                                        bias-pull-up;
                                };
+
+                               pinctrl_usb_default: usb_default {
+                                       pinmux = <PIN_PA10__GPIO>;
+                                       bias-disable;
+                               };
+
+                               pinctrl_usba_vbus: usba_vbus {
+                                       pinmux = <PIN_PA16__GPIO>;
+                                       bias-disable;
+                               };
                        };
                };
        };
 };
+
+&usb1 {
+       num-ports = <3>;
+       atmel,vbus-gpio = <0
+                          &pioA PIN_PA10 GPIO_ACTIVE_HIGH
+                          0
+                         >;
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_usb_default>;
+       status = "okay";
+};
+
+&usb2 {
+       status = "okay";
+};
-- 
2.34.1

Reply via email to