ARM: dts: r8a7743: Add USB PHY DT support
authorBiju Das <biju.das@bp.renesas.com>
Wed, 30 Aug 2017 13:41:10 +0000 (14:41 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 19 Sep 2017 09:20:01 +0000 (11:20 +0200)
Define the r8a7743 generic part of the USB PHY device node.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7743.dtsi

index 3f1faad..a81d70e 100644 (file)
                        status = "disabled";
                };
 
+               usbphy: usb-phy@e6590100 {
+                       compatible = "renesas,usb-phy-r8a7743",
+                                    "renesas,rcar-gen2-usb-phy";
+                       reg = <0 0xe6590100 0 0x100>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       clocks = <&cpg CPG_MOD 704>;
+                       clock-names = "usbhs";
+                       power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
+                       resets = <&cpg 704>;
+                       status = "disabled";
+
+                       usb0: usb-channel@0 {
+                               reg = <0>;
+                               #phy-cells = <1>;
+                       };
+                       usb2: usb-channel@2 {
+                               reg = <2>;
+                               #phy-cells = <1>;
+                       };
+               };
+
                pci0: pci@ee090000 {
                        compatible = "renesas,pci-r8a7743",
                                     "renesas,pci-rcar-gen2";