]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: dts: Add twl4030-usb data
authorKishon Vijay Abraham I <kishon@ti.com>
Wed, 19 Sep 2012 09:32:07 +0000 (15:02 +0530)
committerBenoit Cousson <b-cousson@ti.com>
Mon, 29 Oct 2012 15:56:29 +0000 (16:56 +0100)
Add twl4030-usb data node in twl4030 device tree file. twl4030-usb is the phy
driver for MUSB used in omap3 chipsets. The dt data is comprised of two
interrupts, one for ID and one for VBUS and three phandles to regulator.

Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
arch/arm/boot/dts/twl4030.dtsi

index c5337d4d073cec58b740d2d989be3594e9f45d4b..63411b036932011e6fe1b8764c7fa9ecdd0ee48f 100644 (file)
                regulator-max-microvolt = <3150000>;
        };
 
+       vusb1v5: regulator-vusb1v5 {
+               compatible = "ti,twl4030-vusb1v5";
+       };
+
+       vusb1v8: regulator-vusb1v8 {
+               compatible = "ti,twl4030-vusb1v8";
+       };
+
+       vusb3v1: regulator-vusb3v1 {
+               compatible = "ti,twl4030-vusb3v1";
+       };
+
        vsim: regulator-vsim {
                compatible = "ti,twl4030-vsim";
                regulator-min-microvolt = <1800000>;
                interrupt-controller;
                #interrupt-cells = <1>;
        };
+
+       twl4030-usb {
+               compatible = "ti,twl4030-usb";
+               interrupts = <10>, <4>;
+               usb1v5-supply = <&vusb1v5>;
+               usb1v8-supply = <&vusb1v8>;
+               usb3v1-supply = <&vusb3v1>;
+               usb_mode = <1>;
+       };
 };