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

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

index 2dffae9c5cad08199876f702ac05adb379a1691e..4f796c6c9493efc6c4e10ee47d59a30e3380cc57 100644 (file)
                                                 <PIN_PA13__SDMMC0_CD>;
                                        bias-disable;
                                };
+
+                               pinctrl_usb_default: usb_default {
+                                       pinmux = <PIN_PC17__GPIO>;
+                                       bias-disable;
+                               };
+
+                               pinctrl_usba_vbus: usba_vbus {
+                                       pinmux = <PIN_PD23__GPIO>;
+                                       bias-disable;
+                               };
                        };
                };
        };
 };
+
+&usb1 {
+       num-ports = <3>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_usb_default>;
+       status = "okay";
+};
+
+&usb2 {
+       phy_type = "hsic";
+       status = "okay";
+};