arm64: dts: renesas: r8a7795: add usb2.0 host ch3 device nodes
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Wed, 26 Jul 2017 11:29:38 +0000 (20:29 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 27 Jul 2017 15:18:33 +0000 (17:18 +0200)
This patch adds support for usb2.0 host ch3 device nodes for R-Car
H3 ES2.0.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi
arch/arm64/boot/dts/renesas/r8a7795.dtsi

index 2c249430e1a4c29b47d387571ae692f945432448..1eccc7c795dfb1ae6ba2b8bae37c99b08117a24d 100644 (file)
@@ -22,6 +22,8 @@
        };
 
        /delete-node/ usb-phy@ee0e0200;
+       /delete-node/ usb@ee0e0100;
+       /delete-node/ usb@ee0e0000;
 
        fcpf2: fcp@fe952000 {
                compatible = "renesas,fcpf";
index 0d9f311d15d13e8241340a50f6f99ca5acbc3643..cf9ed0d0a1fb8a31a19971e75f258501f53de376 100644 (file)
                        status = "disabled";
                };
 
+               ehci3: usb@ee0e0100 {
+                       compatible = "generic-ehci";
+                       reg = <0 0xee0e0100 0 0x100>;
+                       interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 700>;
+                       phys = <&usb2_phy3>;
+                       phy-names = "usb";
+                       companion= <&ohci3>;
+                       power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
+                       resets = <&cpg 700>;
+                       status = "disabled";
+               };
+
                ohci0: usb@ee080000 {
                        compatible = "generic-ohci";
                        reg = <0 0xee080000 0 0x100>;
                        status = "disabled";
                };
 
+               ohci3: usb@ee0e0000 {
+                       compatible = "generic-ohci";
+                       reg = <0 0xee0e0000 0 0x100>;
+                       interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 700>;
+                       phys = <&usb2_phy3>;
+                       phy-names = "usb";
+                       power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
+                       resets = <&cpg 700>;
+                       status = "disabled";
+               };
+
                hsusb: usb@e6590000 {
                        compatible = "renesas,usbhs-r8a7795",
                                     "renesas,rcar-gen3-usbhs";