ARM: dts: Enabling ehci-s5p driver for EXYNOS5250
authorVivek Gautam <gautam.vivek@samsung.com>
Tue, 12 Feb 2013 23:24:15 +0000 (15:24 -0800)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 7 Mar 2013 10:47:12 +0000 (19:47 +0900)
Adding EHCI device tree node for Exynos5250 along with
the device base adress and gpio line for vbus.

Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
Acked-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Documentation/devicetree/bindings/usb/exynos-usb.txt [new file with mode: 0644]
arch/arm/boot/dts/exynos5250-smdk5250.dts
arch/arm/boot/dts/exynos5250-snow.dts
arch/arm/boot/dts/exynos5250.dtsi

diff --git a/Documentation/devicetree/bindings/usb/exynos-usb.txt b/Documentation/devicetree/bindings/usb/exynos-usb.txt
new file mode 100644 (file)
index 0000000..e8bbb47
--- /dev/null
@@ -0,0 +1,25 @@
+Samsung Exynos SoC USB controller
+
+The USB devices interface with USB controllers on Exynos SOCs.
+The device node has following properties.
+
+EHCI
+Required properties:
+ - compatible: should be "samsung,exynos4210-ehci" for USB 2.0
+   EHCI controller in host mode.
+ - reg: physical base address of the controller and length of memory mapped
+   region.
+ - interrupts: interrupt number to the cpu.
+
+Optional properties:
+ - samsung,vbus-gpio:  if present, specifies the GPIO that
+   needs to be pulled up for the bus to be powered.
+
+Example:
+
+       usb@12110000 {
+               compatible = "samsung,exynos4210-ehci";
+               reg = <0x12110000 0x100>;
+               interrupts = <0 71 0>;
+               samsung,vbus-gpio = <&gpx2 6 1 3 3>;
+       };
index 907d404b21208ef161ec183e19c45264b800ff36..a8d7233866fab8720e95578751629cfef5cb637b 100644 (file)
                samsung,audio-codec = <&wm8994>;
        };
 
+       usb@12110000 {
+               samsung,vbus-gpio = <&gpx2 6 1 3 3>;
+       };
+
        dp-controller {
                samsung,color-space = <0>;
                samsung,dynamic-range = <0>;
index 17dd951c1cd2a38787b76aacf09384a9a1bdfcb8..47b6b847b4a57eb8c9bcdc2211b6f1d771e0bc48 100644 (file)
@@ -40,4 +40,8 @@
                                <&gpc4 5 2 3 0>, <&gpc4 6 2 3 0>;
                };
        };
+
+       usb@12110000 {
+               samsung,vbus-gpio = <&gpx1 1 1 3 3>;
+       };
 };
index 56159a2f576578c06d58b2d58ca39e766fe2b95a..5f1c1f3ea0097d3f4ac6ce994da1efe0bbae6eb2 100644 (file)
                dma-names = "tx", "rx";
        };
 
+       usb@12110000 {
+               compatible = "samsung,exynos4210-ehci";
+               reg = <0x12110000 0x100>;
+               interrupts = <0 71 0>;
+       };
+
        amba {
                #address-cells = <1>;
                #size-cells = <1>;