Skip to content

Commit

Permalink
ARM: dts: Enabling ehci-s5p driver for EXYNOS5250
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vivek Gautam authored and Kukjin Kim committed Mar 7, 2013
1 parent ad4aebe commit 13cbd1e
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 0 deletions.
25 changes: 25 additions & 0 deletions Documentation/devicetree/bindings/usb/exynos-usb.txt
Original file line number Diff line number Diff line change
@@ -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>;
};
4 changes: 4 additions & 0 deletions arch/arm/boot/dts/exynos5250-smdk5250.dts
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,10 @@
samsung,audio-codec = <&wm8994>;
};

usb@12110000 {
samsung,vbus-gpio = <&gpx2 6 1 3 3>;
};

dp-controller {
samsung,color-space = <0>;
samsung,dynamic-range = <0>;
Expand Down
4 changes: 4 additions & 0 deletions arch/arm/boot/dts/exynos5250-snow.dts
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,8 @@
<&gpc4 5 2 3 0>, <&gpc4 6 2 3 0>;
};
};

usb@12110000 {
samsung,vbus-gpio = <&gpx1 1 1 3 3>;
};
};
6 changes: 6 additions & 0 deletions arch/arm/boot/dts/exynos5250.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,12 @@
dma-names = "tx", "rx";
};

usb@12110000 {
compatible = "samsung,exynos4210-ehci";
reg = <0x12110000 0x100>;
interrupts = <0 71 0>;
};

amba {
#address-cells = <1>;
#size-cells = <1>;
Expand Down

0 comments on commit 13cbd1e

Please sign in to comment.