aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/exynos5250-snow.dts
diff options
context:
space:
mode:
authorThomas Abraham <thomas.abraham@linaro.org>2013-04-04 14:16:11 +0900
committerKukjin Kim <kgene.kim@samsung.com>2013-04-09 01:15:26 +0900
commitf8bfe2b050f3ce266427486a052d010c53241ce4 (patch)
tree68427716e0571de49f6ba3c13c6dd9eee64ad2a7 /arch/arm/boot/dts/exynos5250-snow.dts
parent045c8f635a3fb0323d05822c0958ab6513924205 (diff)
ARM: dts: add pin state information in client nodes for Exynos5 platforms
Add default pin state information for all client nodes that require pin configuration support using pinctrl interface. Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Tested-by: Doug Anderson <dianders@chromium.org> Reviewed-by: Doug Anderson <dianders@chromium.org> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/boot/dts/exynos5250-snow.dts')
-rw-r--r--arch/arm/boot/dts/exynos5250-snow.dts22
1 files changed, 18 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/exynos5250-snow.dts b/arch/arm/boot/dts/exynos5250-snow.dts
index babd9f9b1bf..581ffae27e1 100644
--- a/arch/arm/boot/dts/exynos5250-snow.dts
+++ b/arch/arm/boot/dts/exynos5250-snow.dts
@@ -16,12 +16,27 @@
model = "Google Snow";
compatible = "google,snow", "samsung,exynos5250";
+ pinctrl@11400000 {
+ sd3_clk: sd3-clk {
+ samsung,pin-drv = <0>;
+ };
+
+ sd3_cmd: sd3-cmd {
+ samsung,pin-pud = <3>;
+ samsung,pin-drv = <0>;
+ };
+
+ sd3_bus4: sd3-bus-width4 {
+ samsung,pin-drv = <0>;
+ };
+ };
+
gpio-keys {
compatible = "gpio-keys";
lid-switch {
label = "Lid";
- gpios = <&gpx3 5 0 0x10000 0>;
+ gpios = <&gpx3 5 1>;
linux,input-type = <5>; /* EV_SW */
linux,code = <0>; /* SW_LID */
debounce-interval = <1>;
@@ -35,9 +50,8 @@
*/
dwmmc3@12230000 {
slot@0 {
- gpios = <&gpc4 0 2 0 0>, <&gpc4 1 2 3 0>,
- <&gpc4 3 2 3 0>, <&gpc4 4 2 3 0>,
- <&gpc4 5 2 3 0>, <&gpc4 6 2 3 0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_bus4>;
};
};