]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
exynos: dts: Add USB VBUS GPIOs to the device tree
authorJulius Werner <jwerner@chromium.org>
Sat, 14 Sep 2013 08:32:53 +0000 (14:02 +0530)
committerMarek Vasut <marex@denx.de>
Sun, 20 Oct 2013 21:42:38 +0000 (23:42 +0200)
This patch adds a new samsung,vbus-gpio parameter to the device tree, in
preparation of replacing the currently hardcoded VBUS GPIO mechanism in
exynos5-dt.c with a device tree controlled solution, just as it already
exists in the Linux kernel.

Signed-off-by: Julius Werner <jwerner@chromium.org>
Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Minkyu Kang <mk7.kang@samsung.com>
Cc: Marek Vasut <marex@denx.de>
board/samsung/dts/exynos5250-smdk5250.dts
board/samsung/dts/exynos5250-snow.dts

index b1bba9662e5bba3ee9d24072b8055936d79092b3..c4ed3467cb14a7a115adf8e5833c1e37bfe2ec51 100644 (file)
        mmc@12230000 {
                status = "disabled";
        };
+
+       ehci@12110000 {
+               samsung,vbus-gpio = <&gpio 0xbe 0>; /* X26 */
+       };
 };
index 12cd67e49cca1a60b89d1e70ad8d525b03c8656f..091cdb9e868b52e0b43e589c4146d3f65c4e6044 100644 (file)
                status = "disabled";
        };
 
+       ehci@12110000 {
+               samsung,vbus-gpio = <&gpio 0xb1 0>; /* X11 */
+       };
+
+       xhci@12000000 {
+               samsung,vbus-gpio = <&gpio 0xbf 0>; /* X27 */
+       };
+
        tmu@10060000 {
                samsung,min-temp        = <25>;
                samsung,max-temp        = <125>;