]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: renesas: r9a09g087: Add USB2.0 support
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Thu, 21 Aug 2025 16:19:45 +0000 (17:19 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 12 Sep 2025 09:14:59 +0000 (11:14 +0200)
Add EHCI, OHCI, PHY and HSUSB nodes to RZ/N2H (R9A09G087) SoC DTSI.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/20250821161946.1096033-6-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/r9a09g087.dtsi

index b669c1a506d39472082772a4dbdcbbf176c165aa..f06c19c73adb8756903c63df10a80b5cd82896ba 100644 (file)
                        interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_LOW>;
                };
 
+               ohci: usb@92040000 {
+                       compatible = "generic-ohci";
+                       reg = <0 0x92040000 0 0x100>;
+                       interrupts = <GIC_SPI 586 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 408>;
+                       phys = <&usb2_phy 1>;
+                       phy-names = "usb";
+                       power-domains = <&cpg>;
+                       status = "disabled";
+               };
+
+               ehci: usb@92040100 {
+                       compatible = "generic-ehci";
+                       reg = <0 0x92040100 0 0x100>;
+                       interrupts = <GIC_SPI 586 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 408>;
+                       phys = <&usb2_phy 2>;
+                       phy-names = "usb";
+                       companion = <&ohci>;
+                       power-domains = <&cpg>;
+                       status = "disabled";
+               };
+
+               usb2_phy: usb-phy@92040200 {
+                       compatible = "renesas,usb2-phy-r9a09g087", "renesas,usb2-phy-r9a09g077";
+                       reg = <0 0x92040200 0 0x700>;
+                       interrupts = <GIC_SPI 586 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 408>,
+                                <&cpg CPG_CORE R9A09G087_USB_CLK>;
+                       #phy-cells = <1>;
+                       power-domains = <&cpg>;
+                       status = "disabled";
+               };
+
+               hsusb: usb@92041000 {
+                       compatible = "renesas,usbhs-r9a09g087", "renesas,usbhs-r9a09g077";
+                       reg = <0 0x92041000 0 0x1000>;
+                       interrupts = <GIC_SPI 587 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 588 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 589 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 408>;
+                       phys = <&usb2_phy 3>;
+                       phy-names = "usb";
+                       power-domains = <&cpg>;
+                       status = "disabled";
+               };
+
                sdhi0: mmc@92080000  {
                        compatible = "renesas,sdhi-r9a09g087",
                                     "renesas,sdhi-r9a09g057";