OSDN Git Service

ARM: dts: omap5: added dt properties to adapt to the new phy framwork
authorKishon Vijay Abraham I <kishon@ti.com>
Mon, 3 Mar 2014 11:38:15 +0000 (17:08 +0530)
committerTony Lindgren <tony@atomide.com>
Wed, 5 Mar 2014 19:40:04 +0000 (11:40 -0800)
Added device tree bindings for dwc3, usb2 and usb3 PHYs. The documentation
of these can be found at Documentation/devicetree/bindings/phy/phy-bindings.txt
and Documentation/devicetree/bindings/phy/ti-phy.txt.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap5.dtsi

index 0523697..859a800 100644 (file)
                                compatible = "snps,dwc3";
                                reg = <0x4a030000 0x10000>;
                                interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
-                               usb-phy = <&usb2_phy>, <&usb3_phy>;
+                               phys = <&usb2_phy>, <&usb3_phy>;
+                               phy-names = "usb2-phy", "usb3-phy";
                                dr_mode = "peripheral";
                                tx-fifo-resize;
                        };
                                compatible = "ti,omap-usb2";
                                reg = <0x4a084000 0x7c>;
                                ctrl-module = <&omap_control_usb2phy>;
+                               #phy-cells = <0>;
                        };
 
                        usb3_phy: usb3phy@4a084400 {
                                      <0x4a084c00 0x40>;
                                reg-names = "phy_rx", "phy_tx", "pll_ctrl";
                                ctrl-module = <&omap_control_usb3phy>;
+                               #phy-cells = <0>;
                        };
                };