[PATCH v7 9/9] arm64: dts: renesas: r9a08g046l48-smarc: Enable USB2.0 function support
From: Biju
Date: Wed Aug 12 2026 - 10:24:40 EST
From: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
Switch ehci0 and ohci0 from dr_mode = "host" to "otg", and enable
the hsusb0 USB2.0 function controller node with dr_mode = "otg" and
status = "okay", so USB2.0 device/OTG mode is supported on the
RZ/G3L SMARC (r9a08g046l48) board.
Signed-off-by: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
---
v7:
* Moved the patch from [1]
* Updated commit description
* Updated dr_mode = "host" to "otg" in {e,o}hci0 device nodes.
* Retained the tag as change is trivial.
[1] https://lore.kernel.org/all/20260707145135.247565-4-biju.das.jz@xxxxxxxxxxxxxx/
---
arch/arm64/boot/dts/renesas/r9a08g046l48-smarc.dts | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/renesas/r9a08g046l48-smarc.dts b/arch/arm64/boot/dts/renesas/r9a08g046l48-smarc.dts
index 522cfde4b66a..a3c491778aba 100644
--- a/arch/arm64/boot/dts/renesas/r9a08g046l48-smarc.dts
+++ b/arch/arm64/boot/dts/renesas/r9a08g046l48-smarc.dts
@@ -88,7 +88,7 @@ vqmmc_sd1_pvdd: regulator-vqmmc-sd1-pvdd {
};
&ehci0 {
- dr_mode = "host";
+ dr_mode = "otg";
status = "okay";
};
@@ -97,6 +97,11 @@ &ehci1 {
status = "okay";
};
+&hsusb0 {
+ dr_mode = "otg";
+ status = "okay";
+};
+
&i2c2 {
pinctrl-0 = <&i2c2_pins>;
pinctrl-names = "default";
@@ -149,7 +154,7 @@ &keys {
};
&ohci0 {
- dr_mode = "host";
+ dr_mode = "otg";
status = "okay";
};
--
2.43.0