]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: renesas: r8a77990: Enable USB3.0 host for Ebisu board
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Wed, 18 Jul 2018 04:54:14 +0000 (13:54 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 20 Jul 2018 11:47:33 +0000 (13:47 +0200)
This patch adds and USB3.0 host device node and enable it for
R-Car E3 Ebisu board.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts
arch/arm64/boot/dts/renesas/r8a77990.dtsi

index 5e28c1b94b77809423820b2ab02d251e466435aa..2bc3a4884b0031f713391f046dabc2712f54f0aa 100644 (file)
@@ -71,6 +71,11 @@ usb0_pins: usb {
                groups = "usb0_b";
                function = "usb0";
        };
+
+       usb30_pins: usb30 {
+               groups = "usb30";
+               function = "usb30";
+       };
 };
 
 &rwdt {
@@ -88,3 +93,10 @@ &usb2_phy0 {
 
        status = "okay";
 };
+
+&xhci0 {
+       pinctrl-0 = <&usb30_pins>;
+       pinctrl-names = "default";
+
+       status = "okay";
+};
index 28eccd1d3980a3611d0792c4886f91032e508e14..ae89260baad9fd4d3ad1ec6dbef9c6a7bf1e118f 100644 (file)
@@ -349,6 +349,17 @@ scif2: serial@e6e88000 {
                        status = "disabled";
                };
 
+               xhci0: usb@ee000000 {
+                       compatible = "renesas,xhci-r8a77990",
+                                    "renesas,rcar-gen3-xhci";
+                       reg = <0 0xee000000 0 0xc00>;
+                       interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 328>;
+                       power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
+                       resets = <&cpg 328>;
+                       status = "disabled";
+               };
+
                ohci0: usb@ee080000 {
                        compatible = "generic-ohci";
                        reg = <0 0xee080000 0 0x100>;