arm64: dts: renesas: r8a77961: Add USB3.0 device nodes
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Wed, 25 Mar 2020 06:24:30 +0000 (15:24 +0900)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 14 Apr 2020 07:35:14 +0000 (09:35 +0200)
This patch adds USB3.0 related device nodes for r8a77961 (R-Car M3-W+).

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/1585117470-8625-3-git-send-email-yoshihiro.shimoda.uh@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/r8a77961.dtsi

index d3e0861ed0c66df31c9cd782d6ce0bded6bfb59c..de27b2fa506c51ba59eae92922473fec7c76a2c1 100644 (file)
                };
 
                usb3_phy0: usb-phy@e65ee000 {
+                       compatible = "renesas,r8a77961-usb3-phy",
+                                    "renesas,rcar-gen3-usb3-phy";
                        reg = <0 0xe65ee000 0 0x90>;
+                       clocks = <&cpg CPG_MOD 328>, <&usb3s0_clk>,
+                                <&usb_extal_clk>;
+                       clock-names = "usb3-if", "usb3s_clk", "usb_extal";
+                       power-domains = <&sysc R8A77961_PD_ALWAYS_ON>;
+                       resets = <&cpg 328>;
                        #phy-cells = <0>;
-                       /* placeholder */
+                       status = "disabled";
                };
 
                arm_cc630p: crypto@e6601000 {
                };
 
                xhci0: usb@ee000000 {
+                       compatible = "renesas,xhci-r8a77961",
+                                    "renesas,rcar-gen3-xhci";
                        reg = <0 0xee000000 0 0xc00>;
-                       /* placeholder */
+                       interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 328>;
+                       power-domains = <&sysc R8A77961_PD_ALWAYS_ON>;
+                       resets = <&cpg 328>;
+                       status = "disabled";
                };
 
                usb3_peri0: usb@ee020000 {
+                       compatible = "renesas,r8a77961-usb3-peri",
+                                    "renesas,rcar-gen3-usb3-peri";
                        reg = <0 0xee020000 0 0x400>;
-                       /* placeholder */
+                       interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 328>;
+                       power-domains = <&sysc R8A77961_PD_ALWAYS_ON>;
+                       resets = <&cpg 328>;
+                       status = "disabled";
                };
 
                ohci0: usb@ee080000 {