mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 23:47:24 +00:00
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>
This commit is contained in:
parent
3631be3ed6
commit
445ff8bb5a
1 changed files with 21 additions and 0 deletions
|
@ -49,6 +49,13 @@
|
||||||
atmel,pins =
|
atmel,pins =
|
||||||
<AT91_PIOD 14 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
|
<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";
|
phy-mode = "rmii";
|
||||||
status = "okay";
|
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";
|
||||||
|
};
|
||||||
|
|
Loading…
Reference in a new issue