arm64: dts: renesas: r9a07g044: Add USB2.0 device support
authorBiju Das <biju.das.jz@bp.renesas.com>
Thu, 12 Aug 2021 15:18:08 +0000 (16:18 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 20 Sep 2021 10:07:06 +0000 (12:07 +0200)
Add USB2.0 device support to RZ/G2L SoC DT.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Link: https://lore.kernel.org/r/20210812151808.7916-4-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/r9a07g044.dtsi

index ca1f5e7..2fa29d8 100644 (file)
                        power-domains = <&cpg>;
                        status = "disabled";
                };
+
+               hsusb: usb@11c60000 {
+                       compatible = "renesas,usbhs-r9a07g044",
+                                    "renesas,rza2-usbhs";
+                       reg = <0 0x11c60000 0 0x10000>;
+                       interrupts = <GIC_SPI 100 IRQ_TYPE_EDGE_RISING>,
+                                    <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD R9A07G044_USB_PCLK>,
+                                <&cpg CPG_MOD R9A07G044_USB_U2P_EXR_CPUCLK>;
+                       resets = <&phyrst 0>,
+                                <&cpg R9A07G044_USB_U2P_EXL_SYSRST>;
+                       renesas,buswait = <7>;
+                       phys = <&usb2_phy0 3>;
+                       phy-names = "usb";
+                       power-domains = <&cpg>;
+                       status = "disabled";
+               };
        };
 
        timer {