summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Werner <[email protected]>2013-09-14 14:02:53 +0530
committerMarek Vasut <[email protected]>2013-10-20 23:42:38 +0200
commitec89e0a68a72c6fe930637f29bb8dd3fd4835dce (patch)
tree9aad754cfac36a19e2860789f340629bc559d0da
parent4a271cb1b4ffdf33073c0dc8ee1e185c037275f4 (diff)
exynos: dts: Add USB VBUS GPIOs to the device tree
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 <[email protected]> Signed-off-by: Vivek Gautam <[email protected]> Cc: Simon Glass <[email protected]> Cc: Minkyu Kang <[email protected]> Cc: Marek Vasut <[email protected]>
-rw-r--r--board/samsung/dts/exynos5250-smdk5250.dts4
-rw-r--r--board/samsung/dts/exynos5250-snow.dts8
2 files changed, 12 insertions, 0 deletions
diff --git a/board/samsung/dts/exynos5250-smdk5250.dts b/board/samsung/dts/exynos5250-smdk5250.dts
index b1bba9662e5..c4ed3467cb1 100644
--- a/board/samsung/dts/exynos5250-smdk5250.dts
+++ b/board/samsung/dts/exynos5250-smdk5250.dts
@@ -144,4 +144,8 @@
mmc@12230000 {
status = "disabled";
};
+
+ ehci@12110000 {
+ samsung,vbus-gpio = <&gpio 0xbe 0>; /* X26 */
+ };
};
diff --git a/board/samsung/dts/exynos5250-snow.dts b/board/samsung/dts/exynos5250-snow.dts
index 12cd67e49cc..091cdb9e868 100644
--- a/board/samsung/dts/exynos5250-snow.dts
+++ b/board/samsung/dts/exynos5250-snow.dts
@@ -109,6 +109,14 @@
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>;