Commit 045c8f63 authored by Thomas Abraham's avatar Thomas Abraham Committed by Kukjin Kim

ARM: dts: add pin state information in client nodes for Exynos4 platforms

Add default pin state information for all client nodes that require
pin configuration support using pinctrl interface.
Signed-off-by: default avatarThomas Abraham <thomas.abraham@linaro.org>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
parent 81b6eb40
...@@ -197,6 +197,8 @@ i2c_0: i2c@13860000 { ...@@ -197,6 +197,8 @@ i2c_0: i2c@13860000 {
interrupts = <0 58 0>; interrupts = <0 58 0>;
clocks = <&clock 317>; clocks = <&clock 317>;
clock-names = "i2c"; clock-names = "i2c";
pinctrl-names = "default";
pinctrl-0 = <&i2c0_bus>;
status = "disabled"; status = "disabled";
}; };
...@@ -208,6 +210,8 @@ i2c_1: i2c@13870000 { ...@@ -208,6 +210,8 @@ i2c_1: i2c@13870000 {
interrupts = <0 59 0>; interrupts = <0 59 0>;
clocks = <&clock 318>; clocks = <&clock 318>;
clock-names = "i2c"; clock-names = "i2c";
pinctrl-names = "default";
pinctrl-0 = <&i2c1_bus>;
status = "disabled"; status = "disabled";
}; };
...@@ -287,6 +291,8 @@ spi_0: spi@13920000 { ...@@ -287,6 +291,8 @@ spi_0: spi@13920000 {
#size-cells = <0>; #size-cells = <0>;
clocks = <&clock 327>, <&clock 159>; clocks = <&clock 327>, <&clock 159>;
clock-names = "spi", "spi_busclk0"; clock-names = "spi", "spi_busclk0";
pinctrl-names = "default";
pinctrl-0 = <&spi0_bus>;
status = "disabled"; status = "disabled";
}; };
...@@ -300,6 +306,8 @@ spi_1: spi@13930000 { ...@@ -300,6 +306,8 @@ spi_1: spi@13930000 {
#size-cells = <0>; #size-cells = <0>;
clocks = <&clock 328>, <&clock 160>; clocks = <&clock 328>, <&clock 160>;
clock-names = "spi", "spi_busclk0"; clock-names = "spi", "spi_busclk0";
pinctrl-names = "default";
pinctrl-0 = <&spi1_bus>;
status = "disabled"; status = "disabled";
}; };
...@@ -313,6 +321,8 @@ spi_2: spi@13940000 { ...@@ -313,6 +321,8 @@ spi_2: spi@13940000 {
#size-cells = <0>; #size-cells = <0>;
clocks = <&clock 329>, <&clock 161>; clocks = <&clock 329>, <&clock 161>;
clock-names = "spi", "spi_busclk0"; clock-names = "spi", "spi_busclk0";
pinctrl-names = "default";
pinctrl-0 = <&spi2_bus>;
status = "disabled"; status = "disabled";
}; };
......
...@@ -30,16 +30,9 @@ chosen { ...@@ -30,16 +30,9 @@ chosen {
}; };
sdhci@12530000 { sdhci@12530000 {
samsung,sdhci-bus-width = <4>; bus-width = <4>;
linux,mmc_cap_4_bit_data; pinctrl-names = "default";
samsung,sdhci-cd-internal; pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
gpio-cd = <&gpk2 2 2 3 3>;
gpios = <&gpk2 0 2 0 3>,
<&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";
}; };
...@@ -69,25 +62,32 @@ serial@13830000 { ...@@ -69,25 +62,32 @@ serial@13830000 {
status = "okay"; status = "okay";
}; };
pinctrl@11000000 {
keypad_rows: keypad-rows {
samsung,pins = "gpx2-0", "gpx2-1";
samsung,pin-function = <3>;
samsung,pin-pud = <3>;
samsung,pin-drv = <0>;
};
keypad_cols: keypad-cols {
samsung,pins = "gpx1-0", "gpx1-1", "gpx1-2", "gpx1-3",
"gpx1-4", "gpx1-5", "gpx1-6", "gpx1-7";
samsung,pin-function = <3>;
samsung,pin-pud = <0>;
samsung,pin-drv = <0>;
};
};
keypad@100A0000 { keypad@100A0000 {
samsung,keypad-num-rows = <2>; samsung,keypad-num-rows = <2>;
samsung,keypad-num-columns = <8>; samsung,keypad-num-columns = <8>;
linux,keypad-no-autorepeat; linux,keypad-no-autorepeat;
linux,keypad-wakeup; linux,keypad-wakeup;
pinctrl-names = "default";
pinctrl-0 = <&keypad_rows &keypad_cols>;
status = "okay"; status = "okay";
row-gpios = <&gpx2 0 3 3 0>,
<&gpx2 1 3 3 0>;
col-gpios = <&gpx1 0 3 0 0>,
<&gpx1 1 3 0 0>,
<&gpx1 2 3 0 0>,
<&gpx1 3 3 0 0>,
<&gpx1 4 3 0 0>,
<&gpx1 5 3 0 0>,
<&gpx1 6 3 0 0>,
<&gpx1 7 3 0 0>;
key_1 { key_1 {
keypad,row = <0>; keypad,row = <0>;
keypad,column = <3>; keypad,column = <3>;
...@@ -153,9 +153,7 @@ i2c@13860000 { ...@@ -153,9 +153,7 @@ i2c@13860000 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
samsung,i2c-sda-delay = <100>; samsung,i2c-sda-delay = <100>;
samsung,i2c-max-bus-freq = <20000>; samsung,i2c-max-bus-freq = <100000>;
gpios = <&gpd1 0 2 3 0>,
<&gpd1 1 2 3 0>;
status = "okay"; status = "okay";
eeprom@50 { eeprom@50 {
...@@ -170,9 +168,6 @@ eeprom@52 { ...@@ -170,9 +168,6 @@ eeprom@52 {
}; };
spi_2: spi@13940000 { spi_2: spi@13940000 {
gpios = <&gpc1 1 5 3 0>,
<&gpc1 3 5 3 0>,
<&gpc1 4 5 3 0>;
status = "okay"; status = "okay";
w25x80@0 { w25x80@0 {
...@@ -183,7 +178,7 @@ w25x80@0 { ...@@ -183,7 +178,7 @@ w25x80@0 {
spi-max-frequency = <1000000>; spi-max-frequency = <1000000>;
controller-data { controller-data {
cs-gpio = <&gpc1 2 1 0 3>; cs-gpio = <&gpc1 2 0>;
samsung,spi-feedback-delay = <0>; samsung,spi-feedback-delay = <0>;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment