Re: [PATCH 4/4] arm64: dts: ti: k3-am62a7-sk: Enable USB1 node

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 03/01/23 09:51, Vignesh Raghavendra wrote:
Enable USB1 host port on AM62A7 SK.

Co-developed-by: Bryan Brattlof <bb@xxxxxx>
Signed-off-by: Bryan Brattlof <bb@xxxxxx>
Signed-off-by: Vignesh Raghavendra <vigneshr@xxxxxx>
---

For the series,

Acked-by: Dhruva Gole <d-gole@xxxxxx>

  arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 16 ++++++++++++++++
  1 file changed, 16 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
index bdc363fcbb4b..5c9012141ee2 100644
--- a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
+++ b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
@@ -160,6 +160,12 @@ AM62AX_IOPAD(0x244, PIN_OUTPUT, 7) /* (D18) MMC1_SDWP.GPIO1_49 */
  		>;
  	};
+ main_usb1_pins_default: main-usb1-pins-default {
+		pinctrl-single,pins = <
+			AM62AX_IOPAD(0x0258, PIN_OUTPUT, 0) /* (F18) USB1_DRVVBUS */
+		>;
+	};
+
  	main_mdio1_pins_default: main-mdio1-pins-default {
  		pinctrl-single,pins = <
  			AM62AX_IOPAD(0x160, PIN_OUTPUT, 0) /* (V12) MDIO0_MDC */
@@ -247,6 +253,16 @@ &main_uart0 {
  	pinctrl-0 = <&main_uart0_pins_default>;
  };
+&usbss1 {
+	status = "okay";
+};
+
+&usb1 {
+	dr_mode = "host";
+	pinctrl-names = "default";
+	pinctrl-0 = <&main_usb1_pins_default>;
+};
+
  &cpsw3g {
  	status = "okay";
  	pinctrl-names = "default";

--
Thanks and Regards,
Dhruva Gole



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux