@@ -18,6 +18,7 @@ OMAP MUSB GLUE
represents PERIPHERAL.
- power : Should be "50". This signifies the controller can supply upto
100mA when operating in host mode.
+ - usb_phy : the phandle for the PHY device
SOC specific device node entry
usb_otg_hs: usb_otg_hs@4a0ab000 {
@@ -27,6 +28,7 @@ usb_otg_hs: usb_otg_hs@4a0ab000 {
multipoint = <1>;
num_eps = <16>;
ram_bits = <12>;
+ usb_phy = <&phy>;
};
Board specific device node entry
@@ -404,6 +404,7 @@
interrupts = <0 92 0x4>, <0 93 0x4>;
interrupt-names = "mc", "dma";
ti,hwmods = "usb_otg_hs";
+ usb_phy = <&phy>;
multipoint = <1>;
num_eps = <16>;
ram_bits = <12>;
@@ -438,7 +438,7 @@
#size-cells = <1>;
ranges;
ti,hwmods = "ocp2scp_usb_phy";
- usb2phy@4a0ad080 {
+ phy: usb2phy@4a0ad080 {
compatible = "ti,omap-usb2";
reg = <0x4a0ad080 0x58>;
};
@@ -540,6 +540,7 @@
interrupts = <0 92 0x4>, <0 93 0x4>;
interrupt-names = "mc", "dma";
ti,hwmods = "usb_otg_hs";
+ usb_phy = <&phy>;
multipoint = <1>;
num_eps = <16>;
ram_bits = <12>;
@@ -67,7 +67,7 @@
#interrupt-cells = <1>;
};
- twl4030-usb {
+ phy: twl4030-usb {
compatible = "ti,twl4030-usb";
interrupts = <10>, <4>;
usb1v5-supply = <&vusb1v5>;
Added a phandle in the dt node for usb_otg to bind the PHY with the USB controller and also updated the documentation with the binding information. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> --- I'll add this patch in this series "usb: musb: add driver for control module" which contains the dt data to get MUSB working in dt boot in OMAP platforms. Documentation/devicetree/bindings/usb/omap-usb.txt | 2 ++ arch/arm/boot/dts/omap3.dtsi | 1 + arch/arm/boot/dts/omap4.dtsi | 3 ++- arch/arm/boot/dts/twl4030.dtsi | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-)