From: Faiz Abbas Date: Mon, 3 Aug 2020 06:05:12 +0000 (+0530) Subject: arm: dts: k3-am654-base-board: Add support for USB0 in SPL X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=c20aee3e28cda2c640b756ee7659cc1e1d96897a;p=u-boot.git arm: dts: k3-am654-base-board: Add support for USB0 in SPL Add nodes for USB0 in SPL to enable USB host boot mode Signed-off-by: Faiz Abbas --- diff --git a/arch/arm/dts/k3-am654-base-board-u-boot.dtsi b/arch/arm/dts/k3-am654-base-board-u-boot.dtsi index a30680d3e0..d75d1b1c28 100644 --- a/arch/arm/dts/k3-am654-base-board-u-boot.dtsi +++ b/arch/arm/dts/k3-am654-base-board-u-boot.dtsi @@ -139,6 +139,12 @@ u-boot,dm-spl; }; + usb0_pins_default: usb0_pins_default { + pinctrl-single,pins = < + AM65X_IOPAD(0x02bc, PIN_OUTPUT, 0) /* (AD9) USB0_DRVVBUS */ + >; + u-boot,dm-spl; + }; }; &main_pmx1 { @@ -250,3 +256,24 @@ &chipid { u-boot,dm-spl; }; + +&dwc3_0 { + status = "okay"; + u-boot,dm-spl; +}; + +&usb0_phy { + status = "okay"; + u-boot,dm-spl; +}; + +&usb0 { + pinctrl-names = "default"; + pinctrl-0 = <&usb0_pins_default>; + dr_mode = "peripheral"; + u-boot,dm-spl; +}; + +&scm_conf { + u-boot,dm-spl; +};