]> git.sur5r.net Git - u-boot/commitdiff
exynos5250: usb: Fix VBus gpio numbers for ehci and xhci controllers
authorVivek Gautam <gautam.vivek@samsung.com>
Fri, 3 Jan 2014 10:40:52 +0000 (16:10 +0530)
committerMinkyu Kang <mk7.kang@samsung.com>
Mon, 3 Feb 2014 04:28:23 +0000 (13:28 +0900)
The gpio_*() apis require the exact gpio line number to deduce
the gpio bank and the gpio pin addresses.
So fix the gpio number for VBUS used for EHCI ports as well as
XHCI ports on exynos5250 boards.

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

index c4ed3467cb14a7a115adf8e5833c1e37bfe2ec51..9020382d97cf4df92f7ba13513248c58a8f5f5f1 100644 (file)
        };
 
        ehci@12110000 {
-               samsung,vbus-gpio = <&gpio 0xbe 0>; /* X26 */
+               samsung,vbus-gpio = <&gpio 0x316 0>; /* X26 */
        };
 };
index 091cdb9e868b52e0b43e589c4146d3f65c4e6044..9b48a0ccd859d227f8c380482c0be9c707c529b5 100644 (file)
        };
 
        ehci@12110000 {
-               samsung,vbus-gpio = <&gpio 0xb1 0>; /* X11 */
+               samsung,vbus-gpio = <&gpio 0x309 0>; /* X11 */
        };
 
        xhci@12000000 {
-               samsung,vbus-gpio = <&gpio 0xbf 0>; /* X27 */
+               samsung,vbus-gpio = <&gpio 0x317 0>; /* X27 */
        };
 
        tmu@10060000 {