Message ID | 20230103042110.1092122-5-vigneshr@ti.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | arm64: dts: ti: Enable misc peripherals | expand |
On 03/01/23 09:51, Vignesh Raghavendra wrote: > Enable USB1 host port on AM62A7 SK. > > Co-developed-by: Bryan Brattlof <bb@ti.com> > Signed-off-by: Bryan Brattlof <bb@ti.com> > Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com> > --- For the series, Acked-by: Dhruva Gole <d-gole@ti.com> > 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";
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";