ARM: dts: r8a7744: Add xhci support
authorBiju Das <biju.das@bp.renesas.com>
Tue, 27 Nov 2018 11:56:34 +0000 (11:56 +0000)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 4 Dec 2018 14:34:39 +0000 (06:34 -0800)
Add a device node for the xhci controller on the Renesas
RZ/G1N (r8a7744) SoC.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7744.dtsi

index 992d622..33e15c5 100644 (file)
                        dma-channels = <13>;
                };
 
+               /*
+                * pci1 and xhci share the same phy, therefore only one of them
+                * can be active at any one time. If both of them are enabled,
+                * a race condition will determine who'll control the phy.
+                * A firmware file is needed by the xhci driver in order for
+                * USB 3.0 to work properly.
+                */
+               xhci: usb@ee000000 {
+                       compatible = "renesas,xhci-r8a7744",
+                                    "renesas,rcar-gen2-xhci";
+                       reg = <0 0xee000000 0 0xc00>;
+                       interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 328>;
+                       power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
+                       resets = <&cpg 328>;
+                       phys = <&usb2 1>;
+                       phy-names = "usb";
+                       status = "disabled";
+               };
+
                pci0: pci@ee090000 {
                        compatible = "renesas,pci-r8a7744",
                                     "renesas,pci-rcar-gen2";