mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
arm64: dts: renesas: rzg3s-smarc: Enable USB support
Enable USB support (host, device, USB PHYs). Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> Link: https://patch.msgid.link/20251023135810.1688415-8-claudiu.beznea.uj@bp.renesas.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
This commit is contained in:
committed by
Geert Uytterhoeven
parent
c837ad879e
commit
0926e6e698
@@ -92,6 +92,20 @@
|
||||
clock-frequency = <12288000>;
|
||||
};
|
||||
|
||||
&ehci0 {
|
||||
dr_mode = "otg";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ehci1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&hsusb {
|
||||
dr_mode = "otg";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c0 {
|
||||
status = "okay";
|
||||
|
||||
@@ -132,6 +146,19 @@
|
||||
};
|
||||
};
|
||||
|
||||
&ohci0 {
|
||||
dr_mode = "otg";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&phyrst {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
audio_clock_pins: audio-clock {
|
||||
pins = "AUDIO_CLK1", "AUDIO_CLK2";
|
||||
@@ -207,6 +234,23 @@
|
||||
<RZG2L_PORT_PINMUX(18, 4, 8)>, /* TXD */
|
||||
<RZG2L_PORT_PINMUX(18, 5, 8)>; /* RXD */
|
||||
};
|
||||
|
||||
usb0_pins: usb0 {
|
||||
peri {
|
||||
pinmux = <RZG2L_PORT_PINMUX(5, 0, 1)>, /* VBUS */
|
||||
<RZG2L_PORT_PINMUX(5, 2, 1)>; /* OVC */
|
||||
};
|
||||
|
||||
otg {
|
||||
pinmux = <RZG2L_PORT_PINMUX(5, 3, 1)>; /* OTG_ID */
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
usb1_pins: usb1 {
|
||||
pinmux = <RZG2L_PORT_PINMUX(5, 4, 5)>, /* OVC */
|
||||
<RZG2L_PORT_PINMUX(6, 0, 1)>; /* VBUS */
|
||||
};
|
||||
};
|
||||
|
||||
&scif0 {
|
||||
@@ -242,3 +286,16 @@
|
||||
pinctrl-0 = <&ssi3_pins>, <&audio_clock_pins>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usb2_phy0 {
|
||||
pinctrl-0 = <&usb0_pins>;
|
||||
pinctrl-names = "default";
|
||||
vbus-supply = <&usb0_vbus_otg>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usb2_phy1 {
|
||||
pinctrl-0 = <&usb1_pins>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user