]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
ARM: shmobile: r8a7794: add HS-USB DT support
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Wed, 16 Sep 2015 23:53:58 +0000 (02:53 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 5 Oct 2015 03:01:42 +0000 (12:01 +0900)
Define the R8A7794 generic part of the HS-USB device node.
It is up to the board file to enable the device.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7794.dtsi

index efc3548511c45d80109904038692eb2810e1924c..a9977d6ee81af21fbb3c2268a2deb8588c300ecf 100644 (file)
                };
        };
 
+       hsusb: usb@e6590000 {
+               compatible = "renesas,usbhs-r8a7794";
+               reg = <0 0xe6590000 0 0x100>;
+               interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>;
+               clocks = <&mstp7_clks R8A7794_CLK_HSUSB>;
+               power-domains = <&cpg_clocks>;
+               renesas,buswait = <4>;
+               phys = <&usb0 1>;
+               phy-names = "usb";
+               status = "disabled";
+       };
+
        usbphy: usb-phy@e6590100 {
                compatible = "renesas,usb-phy-r8a7794";
                reg = <0 0xe6590100 0 0x100>;