ARM: dts: r8a7743: Add xhci support to SoC dtsi
authorFabrizio Castro <fabrizio.castro@bp.renesas.com>
Mon, 16 Oct 2017 10:12:49 +0000 (11:12 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 18 Oct 2017 05:21:36 +0000 (07:21 +0200)
Add node for xhci. Boards DT files will enable it if needed.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7743.dtsi

index 4db4f61..7bbba4a 100644 (file)
                        status = "disabled";
                };
 
+               /*
+                * 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-r8a7743",
+                                    "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 R8A7743_PD_ALWAYS_ON>;
+                       resets = <&cpg 328>;
+                       phys = <&usb2 1>;
+                       phy-names = "usb";
+                       status = "disabled";
+               };
+
                sdhi0: sd@ee100000 {
                        compatible = "renesas,sdhi-r8a7743";
                        reg = <0 0xee100000 0 0x328>;