]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
arm64: dts: renesas: r8a77995: add USB2.0 Host (EHCI/OHCI) device node
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Thu, 14 Sep 2017 10:30:41 +0000 (19:30 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 21 Sep 2017 08:50:13 +0000 (10:50 +0200)
This patch adds USB2.0 Host (EHCI/OHCI) device node for r8a77995.

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/r8a77995.dtsi

index 59ed1303bd93b0c467fc9854be95bc4174b0ceee..56e42921e879673d4616b6fc9d199af85a8ef05c 100644 (file)
                        status = "disabled";
                };
 
+               ehci0: usb@ee080100 {
+                       compatible = "generic-ehci";
+                       reg = <0 0xee080100 0 0x100>;
+                       interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 703>;
+                       phys = <&usb2_phy0>;
+                       phy-names = "usb";
+                       companion = <&ohci0>;
+                       power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
+                       resets = <&cpg 703>;
+                       status = "disabled";
+               };
+
+               ohci0: usb@ee080000 {
+                       compatible = "generic-ohci";
+                       reg = <0 0xee080000 0 0x100>;
+                       interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 703>;
+                       phys = <&usb2_phy0>;
+                       phy-names = "usb";
+                       power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
+                       resets = <&cpg 703>;
+                       status = "disabled";
+               };
+
                usb2_phy0: usb-phy@ee080200 {
                        compatible = "renesas,usb2-phy-r8a77995",
                                     "renesas,rcar-gen3-usb2-phy";