arm: dts: rockchip: add u2phy1 otg-port node for rk322x SoC
authorWilliam Wu <william.wu@rock-chips.com>
Wed, 17 May 2017 08:56:50 +0000 (16:56 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 18 May 2017 03:34:14 +0000 (11:34 +0800)
Change-Id: I42efd4227428df38c643c174fb2babcd61064a72
Signed-off-by: William Wu <william.wu@rock-chips.com>
arch/arm/boot/dts/rk322x.dtsi

index e102ec692575994f0ddfbe6188b09fc984e5ad96..3946c8c0697ab6c670b370ad231ccdc0d85226df 100644 (file)
                        clock-output-names = "usb480m_phy1";
                        status = "disabled";
 
+                       u2phy1_otg: otg-port {
+                               #phy-cells = <0>;
+                               interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
+                               interrupt-names = "linestate";
+                               status = "disabled";
+                       };
+
                        u2phy1_host: host-port {
                                #phy-cells = <0>;
                                interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
                reg = <0x30100000 0x20000>;
                interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&cru HCLK_HOST2>, <&u2phy1>;
+               phys = <&u2phy1_otg>;
+               phy-names = "usb";
                clock-names = "usbhost", "utmi";
                status = "disabled";
        };
                interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&cru HCLK_HOST2>, <&u2phy1>;
                clock-names = "usbhost", "utmi";
+               phys = <&u2phy1_otg>;
+               phy-names = "usb";
                status = "disabled";
        };