Commit d80162ec authored by Tomasz Figa's avatar Tomasz Figa Committed by Kukjin Kim

ARM: dts: Use drive strength 3 for SD pins for exynos4

This patch modifies pin control groups of SD pins on EXYNOS4210
and EXYNOS4X12 to use drive strength 3 as a default value which
corresponds to S5P_GPIO_DRVSTR_LV4 in legacy non-DT code.

This is needed at least on Origen board for sdhci2 to work and
if any other drive strength is required on each board, we can
overide it.
Signed-off-by: default avatarTomasz Figa <t.figa@samsung.com>
Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
[kgene.kim@samsung.com: edited commit message]
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
parent 91d88f03
...@@ -482,196 +482,196 @@ sd0_clk: sd0-clk { ...@@ -482,196 +482,196 @@ sd0_clk: sd0-clk {
samsung,pins = "gpk0-0"; samsung,pins = "gpk0-0";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <0>; samsung,pin-pud = <0>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd0_cmd: sd0-cmd { sd0_cmd: sd0-cmd {
samsung,pins = "gpk0-1"; samsung,pins = "gpk0-1";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <0>; samsung,pin-pud = <0>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd0_cd: sd0-cd { sd0_cd: sd0-cd {
samsung,pins = "gpk0-2"; samsung,pins = "gpk0-2";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <3>; samsung,pin-pud = <3>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd0_bus1: sd0-bus-width1 { sd0_bus1: sd0-bus-width1 {
samsung,pins = "gpk0-3"; samsung,pins = "gpk0-3";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <3>; samsung,pin-pud = <3>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd0_bus4: sd0-bus-width4 { sd0_bus4: sd0-bus-width4 {
samsung,pins = "gpk0-3", "gpk0-4", "gpk0-5", "gpk0-6"; samsung,pins = "gpk0-3", "gpk0-4", "gpk0-5", "gpk0-6";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <3>; samsung,pin-pud = <3>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd0_bus8: sd0-bus-width8 { sd0_bus8: sd0-bus-width8 {
samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6"; samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6";
samsung,pin-function = <3>; samsung,pin-function = <3>;
samsung,pin-pud = <3>; samsung,pin-pud = <3>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd4_clk: sd4-clk { sd4_clk: sd4-clk {
samsung,pins = "gpk0-0"; samsung,pins = "gpk0-0";
samsung,pin-function = <3>; samsung,pin-function = <3>;
samsung,pin-pud = <0>; samsung,pin-pud = <0>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd4_cmd: sd4-cmd { sd4_cmd: sd4-cmd {
samsung,pins = "gpk0-1"; samsung,pins = "gpk0-1";
samsung,pin-function = <3>; samsung,pin-function = <3>;
samsung,pin-pud = <0>; samsung,pin-pud = <0>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd4_cd: sd4-cd { sd4_cd: sd4-cd {
samsung,pins = "gpk0-2"; samsung,pins = "gpk0-2";
samsung,pin-function = <3>; samsung,pin-function = <3>;
samsung,pin-pud = <3>; samsung,pin-pud = <3>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd4_bus1: sd4-bus-width1 { sd4_bus1: sd4-bus-width1 {
samsung,pins = "gpk0-3"; samsung,pins = "gpk0-3";
samsung,pin-function = <3>; samsung,pin-function = <3>;
samsung,pin-pud = <3>; samsung,pin-pud = <3>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd4_bus4: sd4-bus-width4 { sd4_bus4: sd4-bus-width4 {
samsung,pins = "gpk0-3", "gpk0-4", "gpk0-5", "gpk0-6"; samsung,pins = "gpk0-3", "gpk0-4", "gpk0-5", "gpk0-6";
samsung,pin-function = <3>; samsung,pin-function = <3>;
samsung,pin-pud = <3>; samsung,pin-pud = <3>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd4_bus8: sd4-bus-width8 { sd4_bus8: sd4-bus-width8 {
samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6"; samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6";
samsung,pin-function = <3>; samsung,pin-function = <3>;
samsung,pin-pud = <4>; samsung,pin-pud = <4>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd1_clk: sd1-clk { sd1_clk: sd1-clk {
samsung,pins = "gpk1-0"; samsung,pins = "gpk1-0";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <0>; samsung,pin-pud = <0>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd1_cmd: sd1-cmd { sd1_cmd: sd1-cmd {
samsung,pins = "gpk1-1"; samsung,pins = "gpk1-1";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <0>; samsung,pin-pud = <0>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd1_cd: sd1-cd { sd1_cd: sd1-cd {
samsung,pins = "gpk1-2"; samsung,pins = "gpk1-2";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <3>; samsung,pin-pud = <3>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd1_bus1: sd1-bus-width1 { sd1_bus1: sd1-bus-width1 {
samsung,pins = "gpk1-3"; samsung,pins = "gpk1-3";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <3>; samsung,pin-pud = <3>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd1_bus4: sd1-bus-width4 { sd1_bus4: sd1-bus-width4 {
samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6"; samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <3>; samsung,pin-pud = <3>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd2_clk: sd2-clk { sd2_clk: sd2-clk {
samsung,pins = "gpk2-0"; samsung,pins = "gpk2-0";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <0>; samsung,pin-pud = <0>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd2_cmd: sd2-cmd { sd2_cmd: sd2-cmd {
samsung,pins = "gpk2-1"; samsung,pins = "gpk2-1";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <0>; samsung,pin-pud = <0>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd2_cd: sd2-cd { sd2_cd: sd2-cd {
samsung,pins = "gpk2-2"; samsung,pins = "gpk2-2";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <3>; samsung,pin-pud = <3>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd2_bus1: sd2-bus-width1 { sd2_bus1: sd2-bus-width1 {
samsung,pins = "gpk2-3"; samsung,pins = "gpk2-3";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <3>; samsung,pin-pud = <3>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd2_bus4: sd2-bus-width4 { sd2_bus4: sd2-bus-width4 {
samsung,pins = "gpk2-3", "gpk2-4", "gpk2-5", "gpk2-6"; samsung,pins = "gpk2-3", "gpk2-4", "gpk2-5", "gpk2-6";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <3>; samsung,pin-pud = <3>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd2_bus8: sd2-bus-width8 { sd2_bus8: sd2-bus-width8 {
samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6"; samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6";
samsung,pin-function = <3>; samsung,pin-function = <3>;
samsung,pin-pud = <3>; samsung,pin-pud = <3>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd3_clk: sd3-clk { sd3_clk: sd3-clk {
samsung,pins = "gpk3-0"; samsung,pins = "gpk3-0";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <0>; samsung,pin-pud = <0>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd3_cmd: sd3-cmd { sd3_cmd: sd3-cmd {
samsung,pins = "gpk3-1"; samsung,pins = "gpk3-1";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <0>; samsung,pin-pud = <0>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd3_cd: sd3-cd { sd3_cd: sd3-cd {
samsung,pins = "gpk3-2"; samsung,pins = "gpk3-2";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <3>; samsung,pin-pud = <3>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd3_bus1: sd3-bus-width1 { sd3_bus1: sd3-bus-width1 {
samsung,pins = "gpk3-3"; samsung,pins = "gpk3-3";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <3>; samsung,pin-pud = <3>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd3_bus4: sd3-bus-width4 { sd3_bus4: sd3-bus-width4 {
samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6"; samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <3>; samsung,pin-pud = <3>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
eint0: ext-int0 { eint0: ext-int0 {
......
...@@ -586,196 +586,196 @@ sd0_clk: sd0-clk { ...@@ -586,196 +586,196 @@ sd0_clk: sd0-clk {
samsung,pins = "gpk0-0"; samsung,pins = "gpk0-0";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <0>; samsung,pin-pud = <0>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd0_cmd: sd0-cmd { sd0_cmd: sd0-cmd {
samsung,pins = "gpk0-1"; samsung,pins = "gpk0-1";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <0>; samsung,pin-pud = <0>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd0_cd: sd0-cd { sd0_cd: sd0-cd {
samsung,pins = "gpk0-2"; samsung,pins = "gpk0-2";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <3>; samsung,pin-pud = <3>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd0_bus1: sd0-bus-width1 { sd0_bus1: sd0-bus-width1 {
samsung,pins = "gpk0-3"; samsung,pins = "gpk0-3";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <3>; samsung,pin-pud = <3>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd0_bus4: sd0-bus-width4 { sd0_bus4: sd0-bus-width4 {
samsung,pins = "gpk0-3", "gpk0-4", "gpk0-5", "gpk0-6"; samsung,pins = "gpk0-3", "gpk0-4", "gpk0-5", "gpk0-6";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <3>; samsung,pin-pud = <3>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd0_bus8: sd0-bus-width8 { sd0_bus8: sd0-bus-width8 {
samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6"; samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6";
samsung,pin-function = <3>; samsung,pin-function = <3>;
samsung,pin-pud = <3>; samsung,pin-pud = <3>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd4_clk: sd4-clk { sd4_clk: sd4-clk {
samsung,pins = "gpk0-0"; samsung,pins = "gpk0-0";
samsung,pin-function = <3>; samsung,pin-function = <3>;
samsung,pin-pud = <0>; samsung,pin-pud = <0>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd4_cmd: sd4-cmd { sd4_cmd: sd4-cmd {
samsung,pins = "gpk0-1"; samsung,pins = "gpk0-1";
samsung,pin-function = <3>; samsung,pin-function = <3>;
samsung,pin-pud = <0>; samsung,pin-pud = <0>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd4_cd: sd4-cd { sd4_cd: sd4-cd {
samsung,pins = "gpk0-2"; samsung,pins = "gpk0-2";
samsung,pin-function = <3>; samsung,pin-function = <3>;
samsung,pin-pud = <3>; samsung,pin-pud = <3>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd4_bus1: sd4-bus-width1 { sd4_bus1: sd4-bus-width1 {
samsung,pins = "gpk0-3"; samsung,pins = "gpk0-3";
samsung,pin-function = <3>; samsung,pin-function = <3>;
samsung,pin-pud = <3>; samsung,pin-pud = <3>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd4_bus4: sd4-bus-width4 { sd4_bus4: sd4-bus-width4 {
samsung,pins = "gpk0-3", "gpk0-4", "gpk0-5", "gpk0-6"; samsung,pins = "gpk0-3", "gpk0-4", "gpk0-5", "gpk0-6";
samsung,pin-function = <3>; samsung,pin-function = <3>;
samsung,pin-pud = <3>; samsung,pin-pud = <3>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd4_bus8: sd4-bus-width8 { sd4_bus8: sd4-bus-width8 {
samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6"; samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6";
samsung,pin-function = <3>; samsung,pin-function = <3>;
samsung,pin-pud = <4>; samsung,pin-pud = <4>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd1_clk: sd1-clk { sd1_clk: sd1-clk {
samsung,pins = "gpk1-0"; samsung,pins = "gpk1-0";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <0>; samsung,pin-pud = <0>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd1_cmd: sd1-cmd { sd1_cmd: sd1-cmd {
samsung,pins = "gpk1-1"; samsung,pins = "gpk1-1";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <0>; samsung,pin-pud = <0>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd1_cd: sd1-cd { sd1_cd: sd1-cd {
samsung,pins = "gpk1-2"; samsung,pins = "gpk1-2";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <3>; samsung,pin-pud = <3>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd1_bus1: sd1-bus-width1 { sd1_bus1: sd1-bus-width1 {
samsung,pins = "gpk1-3"; samsung,pins = "gpk1-3";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <3>; samsung,pin-pud = <3>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd1_bus4: sd1-bus-width4 { sd1_bus4: sd1-bus-width4 {
samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6"; samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <3>; samsung,pin-pud = <3>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd2_clk: sd2-clk { sd2_clk: sd2-clk {
samsung,pins = "gpk2-0"; samsung,pins = "gpk2-0";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <0>; samsung,pin-pud = <0>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd2_cmd: sd2-cmd { sd2_cmd: sd2-cmd {
samsung,pins = "gpk2-1"; samsung,pins = "gpk2-1";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <0>; samsung,pin-pud = <0>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd2_cd: sd2-cd { sd2_cd: sd2-cd {
samsung,pins = "gpk2-2"; samsung,pins = "gpk2-2";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <3>; samsung,pin-pud = <3>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd2_bus1: sd2-bus-width1 { sd2_bus1: sd2-bus-width1 {
samsung,pins = "gpk2-3"; samsung,pins = "gpk2-3";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <3>; samsung,pin-pud = <3>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd2_bus4: sd2-bus-width4 { sd2_bus4: sd2-bus-width4 {
samsung,pins = "gpk2-3", "gpk2-4", "gpk2-5", "gpk2-6"; samsung,pins = "gpk2-3", "gpk2-4", "gpk2-5", "gpk2-6";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <3>; samsung,pin-pud = <3>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd2_bus8: sd2-bus-width8 { sd2_bus8: sd2-bus-width8 {
samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6"; samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6";
samsung,pin-function = <3>; samsung,pin-function = <3>;
samsung,pin-pud = <3>; samsung,pin-pud = <3>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd3_clk: sd3-clk { sd3_clk: sd3-clk {
samsung,pins = "gpk3-0"; samsung,pins = "gpk3-0";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <0>; samsung,pin-pud = <0>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd3_cmd: sd3-cmd { sd3_cmd: sd3-cmd {
samsung,pins = "gpk3-1"; samsung,pins = "gpk3-1";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <0>; samsung,pin-pud = <0>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd3_cd: sd3-cd { sd3_cd: sd3-cd {
samsung,pins = "gpk3-2"; samsung,pins = "gpk3-2";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <3>; samsung,pin-pud = <3>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd3_bus1: sd3-bus-width1 { sd3_bus1: sd3-bus-width1 {
samsung,pins = "gpk3-3"; samsung,pins = "gpk3-3";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <3>; samsung,pin-pud = <3>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
sd3_bus4: sd3-bus-width4 { sd3_bus4: sd3-bus-width4 {
samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6"; samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6";
samsung,pin-function = <2>; samsung,pin-function = <2>;
samsung,pin-pud = <3>; samsung,pin-pud = <3>;
samsung,pin-drv = <0>; samsung,pin-drv = <3>;
}; };
keypad_col0: keypad-col0 { keypad_col0: keypad-col0 {
......
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