summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergiu Moga <sergiu.moga@microchip.com>2023-01-04 16:04:12 +0200
committerEugen Hristev <eugen.hristev@microchip.com>2023-01-05 10:04:57 +0200
commit205ecbdccd3d3359f94c4b576992cec3f37fb306 (patch)
tree3d271b61565a8ab58005e049e51b58daa75cb8da
parent445ff8bb5aeec98df356c4a474a54fb42af8c674 (diff)
ARM: dts: sam9x60ek: Add pinctrl and gpio properties for USB
Add the required pinctrl and gpio properties required by the USB DT nodes of the sam9x60ek boards. Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
-rw-r--r--arch/arm/dts/sam9x60ek.dts21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/dts/sam9x60ek.dts b/arch/arm/dts/sam9x60ek.dts
index 1a02e2cb79e..45e2f4cc406 100644
--- a/arch/arm/dts/sam9x60ek.dts
+++ b/arch/arm/dts/sam9x60ek.dts
@@ -139,6 +139,13 @@
<AT91_PIOD 14 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
};
+ usb1 {
+ pinctrl_usb_default: usb_default {
+ atmel,pins = <AT91_PIOD 15 AT91_PERIPH_GPIO AT91_PINCTRL_NONE
+ AT91_PIOD 16 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
+ };
+ };
+
};
};
};
@@ -213,3 +220,17 @@
phy-mode = "rmii";
status = "okay";
};
+
+&usb1 {
+ num-ports = <3>;
+ atmel,vbus-gpio = <0
+ &pioD 15 GPIO_ACTIVE_HIGH
+ &pioD 16 GPIO_ACTIVE_HIGH>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_usb_default>;
+ status = "okay";
+};
+
+&usb2 {
+ status = "okay";
+};