arm: dts: k3-am654-base-board: enable USB1

Add pinmux for USB1 and enable it as a peripheral port in U-Boot
specific dtsi since U-Boot does not support OTG.
Disable USB0 as its not available on the baseboard.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
This commit is contained in:
Vignesh Raghavendra 2019-12-09 10:37:33 +05:30 committed by Lokesh Vutla
parent a1ac85dad2
commit 60120071da
2 changed files with 32 additions and 0 deletions

View File

@ -361,3 +361,7 @@
&wkup_i2c0 {
u-boot,dm-spl;
};
&usb1 {
dr_mode = "peripheral";
};

View File

@ -58,6 +58,12 @@
AM65X_IOPAD(0x01b0, PIN_INPUT, 0) /* (C25) MMC0_DS */
>;
};
usb1_pins_default: usb1_pins_default {
pinctrl-single,pins = <
AM65X_IOPAD(0x02c0, PIN_OUTPUT, 0) /* (AC8) USB1_DRVVBUS */
>;
};
};
&wkup_pmx0 {
@ -89,3 +95,25 @@
#gpio-cells = <2>;
};
};
&dwc3_1 {
status = "okay";
};
&usb1_phy {
status = "okay";
};
&usb1 {
pinctrl-names = "default";
pinctrl-0 = <&usb1_pins_default>;
dr_mode = "otg";
};
&dwc3_0 {
status = "disabled";
};
&usb0_phy {
status = "disabled";
};