ARM: shmobile: r8a7794: add USB PHY DT support
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Thu, 1 Oct 2015 22:05:12 +0000 (01:05 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 2 Oct 2015 01:22:28 +0000 (10:22 +0900)
Define the R8A7794 generic part of the USB PHY 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 a0747d749bb1628684ae9844722482ca34e99588..6ba0fa4890d0941ff245e3dc917d6bef68b06a6d 100644 (file)
                                 0x1000 0 0 2 &gic 0 113 IRQ_TYPE_LEVEL_HIGH>;
        };
 
+       usbphy: usb-phy@e6590100 {
+               compatible = "renesas,usb-phy-r8a7794";
+               reg = <0 0xe6590100 0 0x100>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               clocks = <&mstp7_clks R8A7794_CLK_HSUSB>;
+               clock-names = "usbhs";
+               power-domains = <&cpg_clocks>;
+               status = "disabled";
+
+               usb0: usb-channel@0 {
+                       reg = <0>;
+                       #phy-cells = <1>;
+               };
+               usb2: usb-channel@2 {
+                       reg = <2>;
+                       #phy-cells = <1>;
+               };
+       };
+
        clocks {
                #address-cells = <2>;
                #size-cells = <2>;
This page took 0.028062 seconds and 5 git commands to generate.