ARM: dts: Update for pinctrl-samsung driver for exynos4210-origen

This patch updates all parts of Origen dts related to pin configuration
to use new GPIO and pinctrl bindings, instead of (now unsupported on
Exynos4) legacy gpio-samsung bindings.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
This commit is contained in:
Tomasz Figa 2012-11-22 00:15:40 +09:00 committed by Kukjin Kim
parent 49ed67a42d
commit 41d8bdf67c
1 changed files with 10 additions and 20 deletions

View File

@ -36,13 +36,8 @@
samsung,sdhci-bus-width = <4>; samsung,sdhci-bus-width = <4>;
linux,mmc_cap_4_bit_data; linux,mmc_cap_4_bit_data;
samsung,sdhci-cd-internal; samsung,sdhci-cd-internal;
gpio-cd = <&gpk2 2 2 3 3>; pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sd2_cd>;
gpios = <&gpk2 0 2 0 3>, pinctrl-names = "default";
<&gpk2 1 2 0 3>,
<&gpk2 3 2 3 3>,
<&gpk2 4 2 3 3>,
<&gpk2 5 2 3 3>,
<&gpk2 6 2 3 3>;
status = "okay"; status = "okay";
}; };
@ -50,13 +45,8 @@
samsung,sdhci-bus-width = <4>; samsung,sdhci-bus-width = <4>;
linux,mmc_cap_4_bit_data; linux,mmc_cap_4_bit_data;
samsung,sdhci-cd-internal; samsung,sdhci-cd-internal;
gpio-cd = <&gpk0 2 2 3 3>; pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_cd>;
gpios = <&gpk0 0 2 0 3>, pinctrl-names = "default";
<&gpk0 1 2 0 3>,
<&gpk0 3 2 3 3>,
<&gpk0 4 2 3 3>,
<&gpk0 5 2 3 3>,
<&gpk0 6 2 3 3>;
status = "okay"; status = "okay";
}; };
@ -83,35 +73,35 @@
up { up {
label = "Up"; label = "Up";
gpios = <&gpx2 0 0 0x10000 2>; gpios = <&gpx2 0 1>;
linux,code = <103>; linux,code = <103>;
gpio-key,wakeup; gpio-key,wakeup;
}; };
down { down {
label = "Down"; label = "Down";
gpios = <&gpx2 1 0 0x10000 2>; gpios = <&gpx2 1 1>;
linux,code = <108>; linux,code = <108>;
gpio-key,wakeup; gpio-key,wakeup;
}; };
back { back {
label = "Back"; label = "Back";
gpios = <&gpx1 7 0 0x10000 2>; gpios = <&gpx1 7 1>;
linux,code = <158>; linux,code = <158>;
gpio-key,wakeup; gpio-key,wakeup;
}; };
home { home {
label = "Home"; label = "Home";
gpios = <&gpx1 6 0 0x10000 2>; gpios = <&gpx1 6 1>;
linux,code = <102>; linux,code = <102>;
gpio-key,wakeup; gpio-key,wakeup;
}; };
menu { menu {
label = "Menu"; label = "Menu";
gpios = <&gpx1 5 0 0x10000 2>; gpios = <&gpx1 5 1>;
linux,code = <139>; linux,code = <139>;
gpio-key,wakeup; gpio-key,wakeup;
}; };
@ -120,7 +110,7 @@
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
status { status {
gpios = <&gpx1 3 0 0x10000 2>; gpios = <&gpx1 3 1>;
linux,default-trigger = "heartbeat"; linux,default-trigger = "heartbeat";
}; };
}; };