diff options
author | Thomas Abraham <thomas.abraham@linaro.org> | 2013-04-04 07:16:11 +0200 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2013-04-08 18:15:26 +0200 |
commit | f8bfe2b050f3ce266427486a052d010c53241ce4 (patch) | |
tree | 68427716e0571de49f6ba3c13c6dd9eee64ad2a7 /arch/arm/boot/dts/exynos5250-snow.dts | |
parent | ARM: dts: add pin state information in client nodes for Exynos4 platforms (diff) | |
download | linux-f8bfe2b050f3ce266427486a052d010c53241ce4.tar.xz linux-f8bfe2b050f3ce266427486a052d010c53241ce4.zip |
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.dts | 22 |
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 babd9f9b1bf9..581ffae27e13 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>; }; }; |