]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: sama5d27_wlsom1_ek: Add pinctrl nodes for USB DT nodes
authorSergiu Moga <sergiu.moga@microchip.com>
Wed, 4 Jan 2023 14:04:18 +0000 (16:04 +0200)
committerEugen Hristev <eugen.hristev@microchip.com>
Thu, 5 Jan 2023 08:04:57 +0000 (10:04 +0200)
Add the pinctrl nodes required by the USB related DT nodes.

Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
arch/arm/dts/at91-sama5d27_wlsom1_ek.dts

index eec183d5de70f4c6801a85c001d2e961d814bf15..6d4b35ea96615460a1d5dd3214345b98c3f2c37b 100644 (file)
                                        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";
+};