aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergiu Moga <sergiu.moga@microchip.com>2023-01-04 16:04:11 +0200
committerEugen Hristev <eugen.hristev@microchip.com>2023-01-05 10:04:57 +0200
commit445ff8bb5aeec98df356c4a474a54fb42af8c674 (patch)
tree1c45382add649851d65c63c38ceac9fa714cec28
parent3631be3ed66aa2110adcc8d4ce09d042e6c7e78a (diff)
downloadu-boot-445ff8bb5aeec98df356c4a474a54fb42af8c674.zip
u-boot-445ff8bb5aeec98df356c4a474a54fb42af8c674.tar.gz
u-boot-445ff8bb5aeec98df356c4a474a54fb42af8c674.tar.bz2
ARM: dts: sam9x60_curiosity: Add pinctrl and gpio properties for USB
Add the required pinctrl and gpio properties needed by the USB DT nodes of the sam9x60_curiosity boards. Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
-rw-r--r--arch/arm/dts/at91-sam9x60_curiosity.dts21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/dts/at91-sam9x60_curiosity.dts b/arch/arm/dts/at91-sam9x60_curiosity.dts
index 7c5b6ae..d6ae3d6 100644
--- a/arch/arm/dts/at91-sam9x60_curiosity.dts
+++ b/arch/arm/dts/at91-sam9x60_curiosity.dts
@@ -49,6 +49,13 @@
atmel,pins =
<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 18 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
+ };
+ };
};
};
};
@@ -89,3 +96,17 @@
phy-mode = "rmii";
status = "okay";
};
+
+&usb1 {
+ num-ports = <3>;
+ atmel,vbus-gpio = <0
+ &pioD 15 GPIO_ACTIVE_HIGH
+ &pioD 18 GPIO_ACTIVE_HIGH>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_usb_default>;
+ status = "okay";
+};
+
+&usb2 {
+ status = "okay";
+};