aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-09-19 11:46:56 -0400
committerArnd Bergmann <arnd@arndb.de>2016-09-19 11:46:56 -0400
commit2008ee090c1b76dbbc435a39a6932854ee98d213 (patch)
tree543a7124d350364e4f63ac079ad3c7eecfb1787d /arch/arm/boot
parentb994738bd2b38bbf60b9410bafc977858c801d7a (diff)
parentd13799237dee34e1b9cd377f0ced7bee24ac810f (diff)
Merge tag 'samsung-dt-pinctrl-4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into next/dt
Pull "Topic branch for Samsung DeviceTree cleanup for 4.9" from Krzysztof Kozłowski: Replace in DT sources hard-coded values for pinctrl configuration like pull up/down, drive strength and function. This makes the DTS easier to read, especially that some drive strengths values are quite non-obvious. * tag 'samsung-dt-pinctrl-4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux: ARM: dts: s3c64xx: Use macros for pinctrl configuration ARM: dts: s3c2416: Use macros for pinctrl configuration ARM: dts: s5pv210: Use macros for pinctrl configuration ARM: dts: s3c64xx: Use common macros for pinctrl configuration ARM: dts: exynos: Fix mismatched values of SD drive strengh configuration on exynos4415 ARM: dts: exynos: Fix mismatched value for SD4 pull up/down configuration on exynos4210 ARM: dts: exynos: Use macros for pinctrl configuration on exynos542x/exynos5800 ARM: dts: exynos: Use macros for pinctrl configuration on exynos5410 ARM: dts: exynos: Use macros for pinctrl configuration on exynos5260 ARM: dts: exynos: Use macros for pinctrl configuration on exynos5250 ARM: dts: exynos: Use macros for pinctrl configuration on exynos4415 ARM: dts: exynos: Use macros for pinctrl configuration on exynos4x12 ARM: dts: exynos: Use macros for pinctrl configuration on exynos4210 ARM: dts: exynos: Use macros for pinctrl configuration on exynos3250 ARM: dts: exynos: Use common macros for pinctrl configuration pinctrl: dt-bindings: samsung: Update documentation with new macros pinctrl: dt-bindings: samsung: Add header with values used for configuration
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/exynos3250-pinctrl.dtsi346
-rw-r--r--arch/arm/boot/dts/exynos4210-pinctrl.dtsi458
-rw-r--r--arch/arm/boot/dts/exynos4210-smdkv310.dts12
-rw-r--r--arch/arm/boot/dts/exynos4210-universal_c210.dts8
-rw-r--r--arch/arm/boot/dts/exynos4412-odroid-common.dtsi14
-rw-r--r--arch/arm/boot/dts/exynos4412-odroidx.dts2
-rw-r--r--arch/arm/boot/dts/exynos4412-origen.dts12
-rw-r--r--arch/arm/boot/dts/exynos4412-smdk4412.dts12
-rw-r--r--arch/arm/boot/dts/exynos4415-pinctrl.dtsi296
-rw-r--r--arch/arm/boot/dts/exynos4x12-pinctrl.dtsi525
-rw-r--r--arch/arm/boot/dts/exynos5250-pinctrl.dtsi404
-rw-r--r--arch/arm/boot/dts/exynos5250-smdk5250.dts6
-rw-r--r--arch/arm/boot/dts/exynos5250-snow-common.dtsi76
-rw-r--r--arch/arm/boot/dts/exynos5250-snow-rev5.dts6
-rw-r--r--arch/arm/boot/dts/exynos5250-snow.dts6
-rw-r--r--arch/arm/boot/dts/exynos5250-spring.dts72
-rw-r--r--arch/arm/boot/dts/exynos5260-pinctrl.dtsi280
-rw-r--r--arch/arm/boot/dts/exynos5260-xyref5260.dts6
-rw-r--r--arch/arm/boot/dts/exynos5410-odroidxu.dts30
-rw-r--r--arch/arm/boot/dts/exynos5410-pinctrl.dtsi182
-rw-r--r--arch/arm/boot/dts/exynos5410-smdk5410.dts10
-rw-r--r--arch/arm/boot/dts/exynos5420-arndale-octa.dts6
-rw-r--r--arch/arm/boot/dts/exynos5420-peach-pit.dts126
-rw-r--r--arch/arm/boot/dts/exynos5420-pinctrl.dtsi356
-rw-r--r--arch/arm/boot/dts/exynos5420-smdk5420.dts18
-rw-r--r--arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi18
-rw-r--r--arch/arm/boot/dts/exynos5800-peach-pi.dts126
-rw-r--r--arch/arm/boot/dts/s3c2416-pinctrl.dtsi38
-rw-r--r--arch/arm/boot/dts/s3c6410-mini6410.dts4
-rw-r--r--arch/arm/boot/dts/s3c64xx-pinctrl.dtsi356
-rw-r--r--arch/arm/boot/dts/s5pv210-aquila.dts4
-rw-r--r--arch/arm/boot/dts/s5pv210-pinctrl.dtsi476
32 files changed, 2141 insertions, 2150 deletions
diff --git a/arch/arm/boot/dts/exynos3250-pinctrl.dtsi b/arch/arm/boot/dts/exynos3250-pinctrl.dtsi
index 40ea7de44933..ec331169c3d9 100644
--- a/arch/arm/boot/dts/exynos3250-pinctrl.dtsi
+++ b/arch/arm/boot/dts/exynos3250-pinctrl.dtsi
@@ -12,58 +12,46 @@
12 * published by the Free Software Foundation. 12 * published by the Free Software Foundation.
13*/ 13*/
14 14
15#define PIN_PULL_NONE 0 15#include <dt-bindings/pinctrl/samsung.h>
16#define PIN_PULL_DOWN 1 16
17#define PIN_PULL_UP 3 17#define PIN_IN(_pin, _pull, _drv) \
18 18 _pin { \
19#define PIN_DRV_LV1 0 19 samsung,pins = #_pin; \
20#define PIN_DRV_LV2 2 20 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; \
21#define PIN_DRV_LV3 1 21 samsung,pin-pud = <EXYNOS_PIN_PULL_ ##_pull>; \
22#define PIN_DRV_LV4 3 22 samsung,pin-drv = <EXYNOS4_PIN_DRV_ ##_drv>; \
23
24#define PIN_PDN_OUT0 0
25#define PIN_PDN_OUT1 1
26#define PIN_PDN_INPUT 2
27#define PIN_PDN_PREV 3
28
29#define PIN_IN(_pin, _pull, _drv) \
30 _pin { \
31 samsung,pins = #_pin; \
32 samsung,pin-function = <0>; \
33 samsung,pin-pud = <PIN_PULL_ ##_pull>; \
34 samsung,pin-drv = <PIN_DRV_ ##_drv>; \
35 } 23 }
36 24
37#define PIN_OUT(_pin, _drv) \ 25#define PIN_OUT(_pin, _drv) \
38 _pin { \ 26 _pin { \
39 samsung,pins = #_pin; \ 27 samsung,pins = #_pin; \
40 samsung,pin-function = <1>; \ 28 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; \
41 samsung,pin-pud = <0>; \ 29 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; \
42 samsung,pin-drv = <PIN_DRV_ ##_drv>; \ 30 samsung,pin-drv = <EXYNOS4_PIN_DRV_ ##_drv>; \
43 } 31 }
44 32
45#define PIN_OUT_SET(_pin, _val, _drv) \ 33#define PIN_OUT_SET(_pin, _val, _drv) \
46 _pin { \ 34 _pin { \
47 samsung,pins = #_pin; \ 35 samsung,pins = #_pin; \
48 samsung,pin-function = <1>; \ 36 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; \
49 samsung,pin-pud = <0>; \ 37 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; \
50 samsung,pin-drv = <PIN_DRV_ ##_drv>; \ 38 samsung,pin-drv = <EXYNOS4_PIN_DRV_ ##_drv>; \
51 samsung,pin-val = <_val>; \ 39 samsung,pin-val = <_val>; \
52 } 40 }
53 41
54#define PIN_CFG(_pin, _sel, _pull, _drv) \ 42#define PIN_CFG(_pin, _sel, _pull, _drv) \
55 _pin { \ 43 _pin { \
56 samsung,pins = #_pin; \ 44 samsung,pins = #_pin; \
57 samsung,pin-function = <_sel>; \ 45 samsung,pin-function = <_sel>; \
58 samsung,pin-pud = <PIN_PULL_ ##_pull>; \ 46 samsung,pin-pud = <EXYNOS_PIN_PULL_ ##_pull>; \
59 samsung,pin-drv = <PIN_DRV_ ##_drv>; \ 47 samsung,pin-drv = <EXYNOS4_PIN_DRV_ ##_drv>; \
60 } 48 }
61 49
62#define PIN_SLP(_pin, _mode, _pull) \ 50#define PIN_SLP(_pin, _mode, _pull) \
63 _pin { \ 51 _pin { \
64 samsung,pins = #_pin; \ 52 samsung,pins = #_pin; \
65 samsung,pin-con-pdn = <PIN_PDN_ ##_mode>; \ 53 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_ ##_mode>; \
66 samsung,pin-pud-pdn = <PIN_PULL_ ##_pull>; \ 54 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_ ##_pull>; \
67 } 55 }
68 56
69&pinctrl_0 { 57&pinctrl_0 {
@@ -125,158 +113,158 @@
125 113
126 uart0_data: uart0-data { 114 uart0_data: uart0-data {
127 samsung,pins = "gpa0-0", "gpa0-1"; 115 samsung,pins = "gpa0-0", "gpa0-1";
128 samsung,pin-function = <0x2>; 116 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
129 samsung,pin-pud = <0>; 117 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
130 samsung,pin-drv = <0>; 118 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
131 }; 119 };
132 120
133 uart0_fctl: uart0-fctl { 121 uart0_fctl: uart0-fctl {
134 samsung,pins = "gpa0-2", "gpa0-3"; 122 samsung,pins = "gpa0-2", "gpa0-3";
135 samsung,pin-function = <2>; 123 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
136 samsung,pin-pud = <0>; 124 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
137 samsung,pin-drv = <0>; 125 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
138 }; 126 };
139 127
140 uart1_data: uart1-data { 128 uart1_data: uart1-data {
141 samsung,pins = "gpa0-4", "gpa0-5"; 129 samsung,pins = "gpa0-4", "gpa0-5";
142 samsung,pin-function = <2>; 130 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
143 samsung,pin-pud = <0>; 131 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
144 samsung,pin-drv = <0>; 132 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
145 }; 133 };
146 134
147 uart1_fctl: uart1-fctl { 135 uart1_fctl: uart1-fctl {
148 samsung,pins = "gpa0-6", "gpa0-7"; 136 samsung,pins = "gpa0-6", "gpa0-7";
149 samsung,pin-function = <2>; 137 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
150 samsung,pin-pud = <0>; 138 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
151 samsung,pin-drv = <0>; 139 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
152 }; 140 };
153 141
154 i2c2_bus: i2c2-bus { 142 i2c2_bus: i2c2-bus {
155 samsung,pins = "gpa0-6", "gpa0-7"; 143 samsung,pins = "gpa0-6", "gpa0-7";
156 samsung,pin-function = <3>; 144 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
157 samsung,pin-pud = <3>; 145 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
158 samsung,pin-drv = <0>; 146 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
159 }; 147 };
160 148
161 uart2_data: uart2-data { 149 uart2_data: uart2-data {
162 samsung,pins = "gpa1-0", "gpa1-1"; 150 samsung,pins = "gpa1-0", "gpa1-1";
163 samsung,pin-function = <2>; 151 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
164 samsung,pin-pud = <0>; 152 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
165 samsung,pin-drv = <0>; 153 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
166 }; 154 };
167 155
168 i2c3_bus: i2c3-bus { 156 i2c3_bus: i2c3-bus {
169 samsung,pins = "gpa1-2", "gpa1-3"; 157 samsung,pins = "gpa1-2", "gpa1-3";
170 samsung,pin-function = <3>; 158 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
171 samsung,pin-pud = <3>; 159 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
172 samsung,pin-drv = <0>; 160 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
173 }; 161 };
174 162
175 spi0_bus: spi0-bus { 163 spi0_bus: spi0-bus {
176 samsung,pins = "gpb-0", "gpb-2", "gpb-3"; 164 samsung,pins = "gpb-0", "gpb-2", "gpb-3";
177 samsung,pin-function = <2>; 165 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
178 samsung,pin-pud = <3>; 166 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
179 samsung,pin-drv = <0>; 167 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
180 }; 168 };
181 169
182 i2c4_bus: i2c4-bus { 170 i2c4_bus: i2c4-bus {
183 samsung,pins = "gpb-0", "gpb-1"; 171 samsung,pins = "gpb-0", "gpb-1";
184 samsung,pin-function = <3>; 172 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
185 samsung,pin-pud = <3>; 173 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
186 samsung,pin-drv = <0>; 174 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
187 }; 175 };
188 176
189 spi1_bus: spi1-bus { 177 spi1_bus: spi1-bus {
190 samsung,pins = "gpb-4", "gpb-6", "gpb-7"; 178 samsung,pins = "gpb-4", "gpb-6", "gpb-7";
191 samsung,pin-function = <2>; 179 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
192 samsung,pin-pud = <3>; 180 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
193 samsung,pin-drv = <0>; 181 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
194 }; 182 };
195 183
196 i2c5_bus: i2c5-bus { 184 i2c5_bus: i2c5-bus {
197 samsung,pins = "gpb-2", "gpb-3"; 185 samsung,pins = "gpb-2", "gpb-3";
198 samsung,pin-function = <3>; 186 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
199 samsung,pin-pud = <3>; 187 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
200 samsung,pin-drv = <0>; 188 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
201 }; 189 };
202 190
203 i2s2_bus: i2s2-bus { 191 i2s2_bus: i2s2-bus {
204 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3", 192 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3",
205 "gpc1-4"; 193 "gpc1-4";
206 samsung,pin-function = <2>; 194 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
207 samsung,pin-pud = <0>; 195 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
208 samsung,pin-drv = <0>; 196 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
209 }; 197 };
210 198
211 pcm2_bus: pcm2-bus { 199 pcm2_bus: pcm2-bus {
212 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3", 200 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3",
213 "gpc1-4"; 201 "gpc1-4";
214 samsung,pin-function = <3>; 202 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
215 samsung,pin-pud = <0>; 203 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
216 samsung,pin-drv = <0>; 204 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
217 }; 205 };
218 206
219 i2c6_bus: i2c6-bus { 207 i2c6_bus: i2c6-bus {
220 samsung,pins = "gpc1-3", "gpc1-4"; 208 samsung,pins = "gpc1-3", "gpc1-4";
221 samsung,pin-function = <4>; 209 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
222 samsung,pin-pud = <3>; 210 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
223 samsung,pin-drv = <0>; 211 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
224 }; 212 };
225 213
226 pwm0_out: pwm0-out { 214 pwm0_out: pwm0-out {
227 samsung,pins = "gpd0-0"; 215 samsung,pins = "gpd0-0";
228 samsung,pin-function = <2>; 216 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
229 samsung,pin-pud = <0>; 217 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
230 samsung,pin-drv = <0>; 218 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
231 }; 219 };
232 220
233 pwm1_out: pwm1-out { 221 pwm1_out: pwm1-out {
234 samsung,pins = "gpd0-1"; 222 samsung,pins = "gpd0-1";
235 samsung,pin-function = <2>; 223 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
236 samsung,pin-pud = <0>; 224 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
237 samsung,pin-drv = <0>; 225 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
238 }; 226 };
239 227
240 i2c7_bus: i2c7-bus { 228 i2c7_bus: i2c7-bus {
241 samsung,pins = "gpd0-2", "gpd0-3"; 229 samsung,pins = "gpd0-2", "gpd0-3";
242 samsung,pin-function = <3>; 230 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
243 samsung,pin-pud = <3>; 231 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
244 samsung,pin-drv = <0>; 232 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
245 }; 233 };
246 234
247 pwm2_out: pwm2-out { 235 pwm2_out: pwm2-out {
248 samsung,pins = "gpd0-2"; 236 samsung,pins = "gpd0-2";
249 samsung,pin-function = <2>; 237 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
250 samsung,pin-pud = <0>; 238 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
251 samsung,pin-drv = <0>; 239 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
252 }; 240 };
253 241
254 pwm3_out: pwm3-out { 242 pwm3_out: pwm3-out {
255 samsung,pins = "gpd0-3"; 243 samsung,pins = "gpd0-3";
256 samsung,pin-function = <2>; 244 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
257 samsung,pin-pud = <0>; 245 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
258 samsung,pin-drv = <0>; 246 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
259 }; 247 };
260 248
261 i2c0_bus: i2c0-bus { 249 i2c0_bus: i2c0-bus {
262 samsung,pins = "gpd1-0", "gpd1-1"; 250 samsung,pins = "gpd1-0", "gpd1-1";
263 samsung,pin-function = <2>; 251 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
264 samsung,pin-pud = <3>; 252 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
265 samsung,pin-drv = <0>; 253 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
266 }; 254 };
267 255
268 mipi0_clk: mipi0-clk { 256 mipi0_clk: mipi0-clk {
269 samsung,pins = "gpd1-0", "gpd1-1"; 257 samsung,pins = "gpd1-0", "gpd1-1";
270 samsung,pin-function = <3>; 258 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
271 samsung,pin-pud = <0>; 259 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
272 samsung,pin-drv = <0>; 260 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
273 }; 261 };
274 262
275 i2c1_bus: i2c1-bus { 263 i2c1_bus: i2c1-bus {
276 samsung,pins = "gpd1-2", "gpd1-3"; 264 samsung,pins = "gpd1-2", "gpd1-3";
277 samsung,pin-function = <2>; 265 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
278 samsung,pin-pud = <3>; 266 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
279 samsung,pin-drv = <0>; 267 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
280 }; 268 };
281}; 269};
282 270
@@ -408,164 +396,164 @@
408 396
409 sd0_clk: sd0-clk { 397 sd0_clk: sd0-clk {
410 samsung,pins = "gpk0-0"; 398 samsung,pins = "gpk0-0";
411 samsung,pin-function = <2>; 399 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
412 samsung,pin-pud = <0>; 400 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
413 samsung,pin-drv = <3>; 401 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
414 }; 402 };
415 403
416 sd0_cmd: sd0-cmd { 404 sd0_cmd: sd0-cmd {
417 samsung,pins = "gpk0-1"; 405 samsung,pins = "gpk0-1";
418 samsung,pin-function = <2>; 406 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
419 samsung,pin-pud = <0>; 407 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
420 samsung,pin-drv = <3>; 408 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
421 }; 409 };
422 410
423 sd0_cd: sd0-cd { 411 sd0_cd: sd0-cd {
424 samsung,pins = "gpk0-2"; 412 samsung,pins = "gpk0-2";
425 samsung,pin-function = <2>; 413 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
426 samsung,pin-pud = <3>; 414 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
427 samsung,pin-drv = <3>; 415 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
428 }; 416 };
429 417
430 sd0_rdqs: sd0-rdqs { 418 sd0_rdqs: sd0-rdqs {
431 samsung,pins = "gpk0-7"; 419 samsung,pins = "gpk0-7";
432 samsung,pin-function = <2>; 420 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
433 samsung,pin-pud = <0>; 421 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
434 samsung,pin-drv = <3>; 422 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
435 }; 423 };
436 424
437 sd0_bus1: sd0-bus-width1 { 425 sd0_bus1: sd0-bus-width1 {
438 samsung,pins = "gpk0-3"; 426 samsung,pins = "gpk0-3";
439 samsung,pin-function = <2>; 427 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
440 samsung,pin-pud = <3>; 428 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
441 samsung,pin-drv = <3>; 429 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
442 }; 430 };
443 431
444 sd0_bus4: sd0-bus-width4 { 432 sd0_bus4: sd0-bus-width4 {
445 samsung,pins = "gpk0-4", "gpk0-5", "gpk0-6"; 433 samsung,pins = "gpk0-4", "gpk0-5", "gpk0-6";
446 samsung,pin-function = <2>; 434 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
447 samsung,pin-pud = <3>; 435 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
448 samsung,pin-drv = <3>; 436 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
449 }; 437 };
450 438
451 sd0_bus8: sd0-bus-width8 { 439 sd0_bus8: sd0-bus-width8 {
452 samsung,pins = "gpl0-0", "gpl0-1", "gpl0-2", "gpl0-3"; 440 samsung,pins = "gpl0-0", "gpl0-1", "gpl0-2", "gpl0-3";
453 samsung,pin-function = <2>; 441 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
454 samsung,pin-pud = <3>; 442 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
455 samsung,pin-drv = <3>; 443 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
456 }; 444 };
457 445
458 sd1_clk: sd1-clk { 446 sd1_clk: sd1-clk {
459 samsung,pins = "gpk1-0"; 447 samsung,pins = "gpk1-0";
460 samsung,pin-function = <2>; 448 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
461 samsung,pin-pud = <0>; 449 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
462 samsung,pin-drv = <3>; 450 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
463 }; 451 };
464 452
465 sd1_cmd: sd1-cmd { 453 sd1_cmd: sd1-cmd {
466 samsung,pins = "gpk1-1"; 454 samsung,pins = "gpk1-1";
467 samsung,pin-function = <2>; 455 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
468 samsung,pin-pud = <0>; 456 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
469 samsung,pin-drv = <3>; 457 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
470 }; 458 };
471 459
472 sd1_cd: sd1-cd { 460 sd1_cd: sd1-cd {
473 samsung,pins = "gpk1-2"; 461 samsung,pins = "gpk1-2";
474 samsung,pin-function = <2>; 462 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
475 samsung,pin-pud = <3>; 463 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
476 samsung,pin-drv = <3>; 464 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
477 }; 465 };
478 466
479 sd1_bus1: sd1-bus-width1 { 467 sd1_bus1: sd1-bus-width1 {
480 samsung,pins = "gpk1-3"; 468 samsung,pins = "gpk1-3";
481 samsung,pin-function = <2>; 469 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
482 samsung,pin-pud = <3>; 470 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
483 samsung,pin-drv = <3>; 471 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
484 }; 472 };
485 473
486 sd1_bus4: sd1-bus-width4 { 474 sd1_bus4: sd1-bus-width4 {
487 samsung,pins = "gpk1-4", "gpk1-5", "gpk1-6"; 475 samsung,pins = "gpk1-4", "gpk1-5", "gpk1-6";
488 samsung,pin-function = <2>; 476 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
489 samsung,pin-pud = <3>; 477 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
490 samsung,pin-drv = <3>; 478 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
491 }; 479 };
492 480
493 sd2_clk: sd2-clk { 481 sd2_clk: sd2-clk {
494 samsung,pins = "gpk2-0"; 482 samsung,pins = "gpk2-0";
495 samsung,pin-function = <2>; 483 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
496 samsung,pin-pud = <0>; 484 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
497 samsung,pin-drv = <3>; 485 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
498 }; 486 };
499 487
500 sd2_cmd: sd2-cmd { 488 sd2_cmd: sd2-cmd {
501 samsung,pins = "gpk2-1"; 489 samsung,pins = "gpk2-1";
502 samsung,pin-function = <2>; 490 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
503 samsung,pin-pud = <0>; 491 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
504 samsung,pin-drv = <3>; 492 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
505 }; 493 };
506 494
507 sd2_cd: sd2-cd { 495 sd2_cd: sd2-cd {
508 samsung,pins = "gpk2-2"; 496 samsung,pins = "gpk2-2";
509 samsung,pin-function = <2>; 497 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
510 samsung,pin-pud = <3>; 498 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
511 samsung,pin-drv = <3>; 499 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
512 }; 500 };
513 501
514 sd2_bus1: sd2-bus-width1 { 502 sd2_bus1: sd2-bus-width1 {
515 samsung,pins = "gpk2-3"; 503 samsung,pins = "gpk2-3";
516 samsung,pin-function = <2>; 504 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
517 samsung,pin-pud = <3>; 505 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
518 samsung,pin-drv = <3>; 506 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
519 }; 507 };
520 508
521 sd2_bus4: sd2-bus-width4 { 509 sd2_bus4: sd2-bus-width4 {
522 samsung,pins = "gpk2-4", "gpk2-5", "gpk2-6"; 510 samsung,pins = "gpk2-4", "gpk2-5", "gpk2-6";
523 samsung,pin-function = <2>; 511 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
524 samsung,pin-pud = <3>; 512 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
525 samsung,pin-drv = <3>; 513 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
526 }; 514 };
527 515
528 cam_port_b_io: cam-port-b-io { 516 cam_port_b_io: cam-port-b-io {
529 samsung,pins = "gpm0-0", "gpm0-1", "gpm0-2", "gpm0-3", 517 samsung,pins = "gpm0-0", "gpm0-1", "gpm0-2", "gpm0-3",
530 "gpm0-4", "gpm0-5", "gpm0-6", "gpm0-7", 518 "gpm0-4", "gpm0-5", "gpm0-6", "gpm0-7",
531 "gpm1-0", "gpm1-1", "gpm2-0", "gpm2-1"; 519 "gpm1-0", "gpm1-1", "gpm2-0", "gpm2-1";
532 samsung,pin-function = <3>; 520 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
533 samsung,pin-pud = <3>; 521 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
534 samsung,pin-drv = <0>; 522 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
535 }; 523 };
536 524
537 cam_port_b_clk_active: cam-port-b-clk-active { 525 cam_port_b_clk_active: cam-port-b-clk-active {
538 samsung,pins = "gpm2-2"; 526 samsung,pins = "gpm2-2";
539 samsung,pin-function = <3>; 527 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
540 samsung,pin-pud = <0>; 528 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
541 samsung,pin-drv = <3>; 529 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
542 }; 530 };
543 531
544 cam_port_b_clk_idle: cam-port-b-clk-idle { 532 cam_port_b_clk_idle: cam-port-b-clk-idle {
545 samsung,pins = "gpm2-2"; 533 samsung,pins = "gpm2-2";
546 samsung,pin-function = <0>; 534 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
547 samsung,pin-pud = <0>; 535 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
548 samsung,pin-drv = <0>; 536 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
549 }; 537 };
550 538
551 fimc_is_i2c0: fimc-is-i2c0 { 539 fimc_is_i2c0: fimc-is-i2c0 {
552 samsung,pins = "gpm4-0", "gpm4-1"; 540 samsung,pins = "gpm4-0", "gpm4-1";
553 samsung,pin-function = <2>; 541 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
554 samsung,pin-pud = <0>; 542 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
555 samsung,pin-drv = <0>; 543 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
556 }; 544 };
557 545
558 fimc_is_i2c1: fimc-is-i2c1 { 546 fimc_is_i2c1: fimc-is-i2c1 {
559 samsung,pins = "gpm4-2", "gpm4-3"; 547 samsung,pins = "gpm4-2", "gpm4-3";
560 samsung,pin-function = <2>; 548 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
561 samsung,pin-pud = <0>; 549 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
562 samsung,pin-drv = <0>; 550 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
563 }; 551 };
564 552
565 fimc_is_uart: fimc-is-uart { 553 fimc_is_uart: fimc-is-uart {
566 samsung,pins = "gpm3-5", "gpm3-7"; 554 samsung,pins = "gpm3-5", "gpm3-7";
567 samsung,pin-function = <3>; 555 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
568 samsung,pin-pud = <0>; 556 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
569 samsung,pin-drv = <0>; 557 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
570 }; 558 };
571}; 559};
diff --git a/arch/arm/boot/dts/exynos4210-pinctrl.dtsi b/arch/arm/boot/dts/exynos4210-pinctrl.dtsi
index 9331c6252eff..d9b6d25e4abe 100644
--- a/arch/arm/boot/dts/exynos4210-pinctrl.dtsi
+++ b/arch/arm/boot/dts/exynos4210-pinctrl.dtsi
@@ -14,6 +14,8 @@
14 * published by the Free Software Foundation. 14 * published by the Free Software Foundation.
15*/ 15*/
16 16
17#include <dt-bindings/pinctrl/samsung.h>
18
17/ { 19/ {
18 pinctrl@11400000 { 20 pinctrl@11400000 {
19 gpa0: gpa0 { 21 gpa0: gpa0 {
@@ -146,245 +148,245 @@
146 148
147 uart0_data: uart0-data { 149 uart0_data: uart0-data {
148 samsung,pins = "gpa0-0", "gpa0-1"; 150 samsung,pins = "gpa0-0", "gpa0-1";
149 samsung,pin-function = <0x2>; 151 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
150 samsung,pin-pud = <0>; 152 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
151 samsung,pin-drv = <0>; 153 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
152 }; 154 };
153 155
154 uart0_fctl: uart0-fctl { 156 uart0_fctl: uart0-fctl {
155 samsung,pins = "gpa0-2", "gpa0-3"; 157 samsung,pins = "gpa0-2", "gpa0-3";
156 samsung,pin-function = <2>; 158 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
157 samsung,pin-pud = <0>; 159 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
158 samsung,pin-drv = <0>; 160 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
159 }; 161 };
160 162
161 uart1_data: uart1-data { 163 uart1_data: uart1-data {
162 samsung,pins = "gpa0-4", "gpa0-5"; 164 samsung,pins = "gpa0-4", "gpa0-5";
163 samsung,pin-function = <2>; 165 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
164 samsung,pin-pud = <0>; 166 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
165 samsung,pin-drv = <0>; 167 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
166 }; 168 };
167 169
168 uart1_fctl: uart1-fctl { 170 uart1_fctl: uart1-fctl {
169 samsung,pins = "gpa0-6", "gpa0-7"; 171 samsung,pins = "gpa0-6", "gpa0-7";
170 samsung,pin-function = <2>; 172 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
171 samsung,pin-pud = <0>; 173 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
172 samsung,pin-drv = <0>; 174 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
173 }; 175 };
174 176
175 i2c2_bus: i2c2-bus { 177 i2c2_bus: i2c2-bus {
176 samsung,pins = "gpa0-6", "gpa0-7"; 178 samsung,pins = "gpa0-6", "gpa0-7";
177 samsung,pin-function = <3>; 179 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
178 samsung,pin-pud = <3>; 180 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
179 samsung,pin-drv = <0>; 181 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
180 }; 182 };
181 183
182 uart2_data: uart2-data { 184 uart2_data: uart2-data {
183 samsung,pins = "gpa1-0", "gpa1-1"; 185 samsung,pins = "gpa1-0", "gpa1-1";
184 samsung,pin-function = <2>; 186 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
185 samsung,pin-pud = <0>; 187 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
186 samsung,pin-drv = <0>; 188 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
187 }; 189 };
188 190
189 uart2_fctl: uart2-fctl { 191 uart2_fctl: uart2-fctl {
190 samsung,pins = "gpa1-2", "gpa1-3"; 192 samsung,pins = "gpa1-2", "gpa1-3";
191 samsung,pin-function = <2>; 193 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
192 samsung,pin-pud = <0>; 194 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
193 samsung,pin-drv = <0>; 195 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
194 }; 196 };
195 197
196 uart_audio_a: uart-audio-a { 198 uart_audio_a: uart-audio-a {
197 samsung,pins = "gpa1-0", "gpa1-1"; 199 samsung,pins = "gpa1-0", "gpa1-1";
198 samsung,pin-function = <4>; 200 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
199 samsung,pin-pud = <0>; 201 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
200 samsung,pin-drv = <0>; 202 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
201 }; 203 };
202 204
203 i2c3_bus: i2c3-bus { 205 i2c3_bus: i2c3-bus {
204 samsung,pins = "gpa1-2", "gpa1-3"; 206 samsung,pins = "gpa1-2", "gpa1-3";
205 samsung,pin-function = <3>; 207 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
206 samsung,pin-pud = <3>; 208 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
207 samsung,pin-drv = <0>; 209 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
208 }; 210 };
209 211
210 uart3_data: uart3-data { 212 uart3_data: uart3-data {
211 samsung,pins = "gpa1-4", "gpa1-5"; 213 samsung,pins = "gpa1-4", "gpa1-5";
212 samsung,pin-function = <2>; 214 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
213 samsung,pin-pud = <0>; 215 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
214 samsung,pin-drv = <0>; 216 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
215 }; 217 };
216 218
217 uart_audio_b: uart-audio-b { 219 uart_audio_b: uart-audio-b {
218 samsung,pins = "gpa1-4", "gpa1-5"; 220 samsung,pins = "gpa1-4", "gpa1-5";
219 samsung,pin-function = <4>; 221 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
220 samsung,pin-pud = <0>; 222 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
221 samsung,pin-drv = <0>; 223 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
222 }; 224 };
223 225
224 spi0_bus: spi0-bus { 226 spi0_bus: spi0-bus {
225 samsung,pins = "gpb-0", "gpb-2", "gpb-3"; 227 samsung,pins = "gpb-0", "gpb-2", "gpb-3";
226 samsung,pin-function = <2>; 228 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
227 samsung,pin-pud = <3>; 229 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
228 samsung,pin-drv = <0>; 230 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
229 }; 231 };
230 232
231 i2c4_bus: i2c4-bus { 233 i2c4_bus: i2c4-bus {
232 samsung,pins = "gpb-2", "gpb-3"; 234 samsung,pins = "gpb-2", "gpb-3";
233 samsung,pin-function = <3>; 235 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
234 samsung,pin-pud = <3>; 236 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
235 samsung,pin-drv = <0>; 237 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
236 }; 238 };
237 239
238 spi1_bus: spi1-bus { 240 spi1_bus: spi1-bus {
239 samsung,pins = "gpb-4", "gpb-6", "gpb-7"; 241 samsung,pins = "gpb-4", "gpb-6", "gpb-7";
240 samsung,pin-function = <2>; 242 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
241 samsung,pin-pud = <3>; 243 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
242 samsung,pin-drv = <0>; 244 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
243 }; 245 };
244 246
245 i2c5_bus: i2c5-bus { 247 i2c5_bus: i2c5-bus {
246 samsung,pins = "gpb-6", "gpb-7"; 248 samsung,pins = "gpb-6", "gpb-7";
247 samsung,pin-function = <3>; 249 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
248 samsung,pin-pud = <3>; 250 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
249 samsung,pin-drv = <0>; 251 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
250 }; 252 };
251 253
252 i2s1_bus: i2s1-bus { 254 i2s1_bus: i2s1-bus {
253 samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3", 255 samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3",
254 "gpc0-4"; 256 "gpc0-4";
255 samsung,pin-function = <2>; 257 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
256 samsung,pin-pud = <0>; 258 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
257 samsung,pin-drv = <0>; 259 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
258 }; 260 };
259 261
260 pcm1_bus: pcm1-bus { 262 pcm1_bus: pcm1-bus {
261 samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3", 263 samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3",
262 "gpc0-4"; 264 "gpc0-4";
263 samsung,pin-function = <3>; 265 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
264 samsung,pin-pud = <0>; 266 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
265 samsung,pin-drv = <0>; 267 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
266 }; 268 };
267 269
268 ac97_bus: ac97-bus { 270 ac97_bus: ac97-bus {
269 samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3", 271 samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3",
270 "gpc0-4"; 272 "gpc0-4";
271 samsung,pin-function = <4>; 273 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
272 samsung,pin-pud = <0>; 274 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
273 samsung,pin-drv = <0>; 275 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
274 }; 276 };
275 277
276 i2s2_bus: i2s2-bus { 278 i2s2_bus: i2s2-bus {
277 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3", 279 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3",
278 "gpc1-4"; 280 "gpc1-4";
279 samsung,pin-function = <2>; 281 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
280 samsung,pin-pud = <0>; 282 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
281 samsung,pin-drv = <0>; 283 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
282 }; 284 };
283 285
284 pcm2_bus: pcm2-bus { 286 pcm2_bus: pcm2-bus {
285 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3", 287 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3",
286 "gpc1-4"; 288 "gpc1-4";
287 samsung,pin-function = <3>; 289 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
288 samsung,pin-pud = <0>; 290 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
289 samsung,pin-drv = <0>; 291 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
290 }; 292 };
291 293
292 spdif_bus: spdif-bus { 294 spdif_bus: spdif-bus {
293 samsung,pins = "gpc1-0", "gpc1-1"; 295 samsung,pins = "gpc1-0", "gpc1-1";
294 samsung,pin-function = <4>; 296 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
295 samsung,pin-pud = <0>; 297 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
296 samsung,pin-drv = <0>; 298 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
297 }; 299 };
298 300
299 i2c6_bus: i2c6-bus { 301 i2c6_bus: i2c6-bus {
300 samsung,pins = "gpc1-3", "gpc1-4"; 302 samsung,pins = "gpc1-3", "gpc1-4";
301 samsung,pin-function = <4>; 303 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
302 samsung,pin-pud = <3>; 304 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
303 samsung,pin-drv = <0>; 305 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
304 }; 306 };
305 307
306 spi2_bus: spi2-bus { 308 spi2_bus: spi2-bus {
307 samsung,pins = "gpc1-1", "gpc1-2", "gpc1-3", "gpc1-4"; 309 samsung,pins = "gpc1-1", "gpc1-2", "gpc1-3", "gpc1-4";
308 samsung,pin-function = <5>; 310 samsung,pin-function = <EXYNOS_PIN_FUNC_5>;
309 samsung,pin-pud = <3>; 311 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
310 samsung,pin-drv = <0>; 312 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
311 }; 313 };
312 314
313 i2c7_bus: i2c7-bus { 315 i2c7_bus: i2c7-bus {
314 samsung,pins = "gpd0-2", "gpd0-3"; 316 samsung,pins = "gpd0-2", "gpd0-3";
315 samsung,pin-function = <3>; 317 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
316 samsung,pin-pud = <3>; 318 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
317 samsung,pin-drv = <0>; 319 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
318 }; 320 };
319 321
320 i2c0_bus: i2c0-bus { 322 i2c0_bus: i2c0-bus {
321 samsung,pins = "gpd1-0", "gpd1-1"; 323 samsung,pins = "gpd1-0", "gpd1-1";
322 samsung,pin-function = <2>; 324 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
323 samsung,pin-pud = <3>; 325 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
324 samsung,pin-drv = <0>; 326 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
325 }; 327 };
326 328
327 i2c1_bus: i2c1-bus { 329 i2c1_bus: i2c1-bus {
328 samsung,pins = "gpd1-2", "gpd1-3"; 330 samsung,pins = "gpd1-2", "gpd1-3";
329 samsung,pin-function = <2>; 331 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
330 samsung,pin-pud = <3>; 332 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
331 samsung,pin-drv = <0>; 333 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
332 }; 334 };
333 335
334 pwm0_out: pwm0-out { 336 pwm0_out: pwm0-out {
335 samsung,pins = "gpd0-0"; 337 samsung,pins = "gpd0-0";
336 samsung,pin-function = <2>; 338 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
337 samsung,pin-pud = <0>; 339 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
338 samsung,pin-drv = <0>; 340 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
339 }; 341 };
340 342
341 pwm1_out: pwm1-out { 343 pwm1_out: pwm1-out {
342 samsung,pins = "gpd0-1"; 344 samsung,pins = "gpd0-1";
343 samsung,pin-function = <2>; 345 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
344 samsung,pin-pud = <0>; 346 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
345 samsung,pin-drv = <0>; 347 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
346 }; 348 };
347 349
348 pwm2_out: pwm2-out { 350 pwm2_out: pwm2-out {
349 samsung,pins = "gpd0-2"; 351 samsung,pins = "gpd0-2";
350 samsung,pin-function = <2>; 352 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
351 samsung,pin-pud = <0>; 353 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
352 samsung,pin-drv = <0>; 354 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
353 }; 355 };
354 356
355 pwm3_out: pwm3-out { 357 pwm3_out: pwm3-out {
356 samsung,pins = "gpd0-3"; 358 samsung,pins = "gpd0-3";
357 samsung,pin-function = <2>; 359 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
358 samsung,pin-pud = <0>; 360 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
359 samsung,pin-drv = <0>; 361 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
360 }; 362 };
361 363
362 lcd_ctrl: lcd-ctrl { 364 lcd_ctrl: lcd-ctrl {
363 samsung,pins = "gpd0-0", "gpd0-1"; 365 samsung,pins = "gpd0-0", "gpd0-1";
364 samsung,pin-function = <3>; 366 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
365 samsung,pin-pud = <0>; 367 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
366 samsung,pin-drv = <0>; 368 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
367 }; 369 };
368 370
369 lcd_sync: lcd-sync { 371 lcd_sync: lcd-sync {
370 samsung,pins = "gpf0-0", "gpf0-1"; 372 samsung,pins = "gpf0-0", "gpf0-1";
371 samsung,pin-function = <2>; 373 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
372 samsung,pin-pud = <0>; 374 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
373 samsung,pin-drv = <0>; 375 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
374 }; 376 };
375 377
376 lcd_en: lcd-en { 378 lcd_en: lcd-en {
377 samsung,pins = "gpe3-4"; 379 samsung,pins = "gpe3-4";
378 samsung,pin-function = <2>; 380 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
379 samsung,pin-pud = <0>; 381 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
380 samsung,pin-drv = <0>; 382 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
381 }; 383 };
382 384
383 lcd_clk: lcd-clk { 385 lcd_clk: lcd-clk {
384 samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3"; 386 samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3";
385 samsung,pin-function = <2>; 387 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
386 samsung,pin-pud = <0>; 388 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
387 samsung,pin-drv = <0>; 389 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
388 }; 390 };
389 391
390 lcd_data16: lcd-data-width16 { 392 lcd_data16: lcd-data-width16 {
@@ -392,9 +394,9 @@
392 "gpf1-3", "gpf1-6", "gpf1-7", "gpf2-0", 394 "gpf1-3", "gpf1-6", "gpf1-7", "gpf2-0",
393 "gpf2-1", "gpf2-2", "gpf2-3", "gpf2-7", 395 "gpf2-1", "gpf2-2", "gpf2-3", "gpf2-7",
394 "gpf3-0", "gpf3-1", "gpf3-2", "gpf3-3"; 396 "gpf3-0", "gpf3-1", "gpf3-2", "gpf3-3";
395 samsung,pin-function = <2>; 397 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
396 samsung,pin-pud = <0>; 398 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
397 samsung,pin-drv = <0>; 399 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
398 }; 400 };
399 401
400 lcd_data18: lcd-data-width18 { 402 lcd_data18: lcd-data-width18 {
@@ -403,9 +405,9 @@
403 "gpf2-0", "gpf2-1", "gpf2-2", "gpf2-3", 405 "gpf2-0", "gpf2-1", "gpf2-2", "gpf2-3",
404 "gpf2-6", "gpf2-7", "gpf3-0", "gpf3-1", 406 "gpf2-6", "gpf2-7", "gpf3-0", "gpf3-1",
405 "gpf3-2", "gpf3-3"; 407 "gpf3-2", "gpf3-3";
406 samsung,pin-function = <2>; 408 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
407 samsung,pin-pud = <0>; 409 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
408 samsung,pin-drv = <0>; 410 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
409 }; 411 };
410 412
411 lcd_data24: lcd-data-width24 { 413 lcd_data24: lcd-data-width24 {
@@ -415,9 +417,9 @@
415 "gpf2-0", "gpf2-1", "gpf2-2", "gpf2-3", 417 "gpf2-0", "gpf2-1", "gpf2-2", "gpf2-3",
416 "gpf2-4", "gpf2-5", "gpf2-6", "gpf2-7", 418 "gpf2-4", "gpf2-5", "gpf2-6", "gpf2-7",
417 "gpf3-0", "gpf3-1", "gpf3-2", "gpf3-3"; 419 "gpf3-0", "gpf3-1", "gpf3-2", "gpf3-3";
418 samsung,pin-function = <2>; 420 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
419 samsung,pin-pud = <0>; 421 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
420 samsung,pin-drv = <0>; 422 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
421 }; 423 };
422 }; 424 };
423 425
@@ -569,263 +571,263 @@
569 571
570 sd0_clk: sd0-clk { 572 sd0_clk: sd0-clk {
571 samsung,pins = "gpk0-0"; 573 samsung,pins = "gpk0-0";
572 samsung,pin-function = <2>; 574 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
573 samsung,pin-pud = <0>; 575 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
574 samsung,pin-drv = <3>; 576 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
575 }; 577 };
576 578
577 sd0_cmd: sd0-cmd { 579 sd0_cmd: sd0-cmd {
578 samsung,pins = "gpk0-1"; 580 samsung,pins = "gpk0-1";
579 samsung,pin-function = <2>; 581 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
580 samsung,pin-pud = <0>; 582 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
581 samsung,pin-drv = <3>; 583 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
582 }; 584 };
583 585
584 sd0_cd: sd0-cd { 586 sd0_cd: sd0-cd {
585 samsung,pins = "gpk0-2"; 587 samsung,pins = "gpk0-2";
586 samsung,pin-function = <2>; 588 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
587 samsung,pin-pud = <3>; 589 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
588 samsung,pin-drv = <3>; 590 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
589 }; 591 };
590 592
591 sd0_bus1: sd0-bus-width1 { 593 sd0_bus1: sd0-bus-width1 {
592 samsung,pins = "gpk0-3"; 594 samsung,pins = "gpk0-3";
593 samsung,pin-function = <2>; 595 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
594 samsung,pin-pud = <3>; 596 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
595 samsung,pin-drv = <3>; 597 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
596 }; 598 };
597 599
598 sd0_bus4: sd0-bus-width4 { 600 sd0_bus4: sd0-bus-width4 {
599 samsung,pins = "gpk0-3", "gpk0-4", "gpk0-5", "gpk0-6"; 601 samsung,pins = "gpk0-3", "gpk0-4", "gpk0-5", "gpk0-6";
600 samsung,pin-function = <2>; 602 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
601 samsung,pin-pud = <3>; 603 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
602 samsung,pin-drv = <3>; 604 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
603 }; 605 };
604 606
605 sd0_bus8: sd0-bus-width8 { 607 sd0_bus8: sd0-bus-width8 {
606 samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6"; 608 samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6";
607 samsung,pin-function = <3>; 609 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
608 samsung,pin-pud = <3>; 610 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
609 samsung,pin-drv = <3>; 611 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
610 }; 612 };
611 613
612 sd4_clk: sd4-clk { 614 sd4_clk: sd4-clk {
613 samsung,pins = "gpk0-0"; 615 samsung,pins = "gpk0-0";
614 samsung,pin-function = <3>; 616 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
615 samsung,pin-pud = <0>; 617 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
616 samsung,pin-drv = <3>; 618 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
617 }; 619 };
618 620
619 sd4_cmd: sd4-cmd { 621 sd4_cmd: sd4-cmd {
620 samsung,pins = "gpk0-1"; 622 samsung,pins = "gpk0-1";
621 samsung,pin-function = <3>; 623 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
622 samsung,pin-pud = <0>; 624 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
623 samsung,pin-drv = <3>; 625 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
624 }; 626 };
625 627
626 sd4_cd: sd4-cd { 628 sd4_cd: sd4-cd {
627 samsung,pins = "gpk0-2"; 629 samsung,pins = "gpk0-2";
628 samsung,pin-function = <3>; 630 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
629 samsung,pin-pud = <3>; 631 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
630 samsung,pin-drv = <3>; 632 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
631 }; 633 };
632 634
633 sd4_bus1: sd4-bus-width1 { 635 sd4_bus1: sd4-bus-width1 {
634 samsung,pins = "gpk0-3"; 636 samsung,pins = "gpk0-3";
635 samsung,pin-function = <3>; 637 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
636 samsung,pin-pud = <3>; 638 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
637 samsung,pin-drv = <3>; 639 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
638 }; 640 };
639 641
640 sd4_bus4: sd4-bus-width4 { 642 sd4_bus4: sd4-bus-width4 {
641 samsung,pins = "gpk0-3", "gpk0-4", "gpk0-5", "gpk0-6"; 643 samsung,pins = "gpk0-3", "gpk0-4", "gpk0-5", "gpk0-6";
642 samsung,pin-function = <3>; 644 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
643 samsung,pin-pud = <3>; 645 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
644 samsung,pin-drv = <3>; 646 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
645 }; 647 };
646 648
647 sd4_bus8: sd4-bus-width8 { 649 sd4_bus8: sd4-bus-width8 {
648 samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6"; 650 samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6";
649 samsung,pin-function = <3>; 651 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
650 samsung,pin-pud = <4>; 652 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
651 samsung,pin-drv = <3>; 653 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
652 }; 654 };
653 655
654 sd1_clk: sd1-clk { 656 sd1_clk: sd1-clk {
655 samsung,pins = "gpk1-0"; 657 samsung,pins = "gpk1-0";
656 samsung,pin-function = <2>; 658 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
657 samsung,pin-pud = <0>; 659 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
658 samsung,pin-drv = <3>; 660 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
659 }; 661 };
660 662
661 sd1_cmd: sd1-cmd { 663 sd1_cmd: sd1-cmd {
662 samsung,pins = "gpk1-1"; 664 samsung,pins = "gpk1-1";
663 samsung,pin-function = <2>; 665 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
664 samsung,pin-pud = <0>; 666 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
665 samsung,pin-drv = <3>; 667 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
666 }; 668 };
667 669
668 sd1_cd: sd1-cd { 670 sd1_cd: sd1-cd {
669 samsung,pins = "gpk1-2"; 671 samsung,pins = "gpk1-2";
670 samsung,pin-function = <2>; 672 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
671 samsung,pin-pud = <3>; 673 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
672 samsung,pin-drv = <3>; 674 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
673 }; 675 };
674 676
675 sd1_bus1: sd1-bus-width1 { 677 sd1_bus1: sd1-bus-width1 {
676 samsung,pins = "gpk1-3"; 678 samsung,pins = "gpk1-3";
677 samsung,pin-function = <2>; 679 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
678 samsung,pin-pud = <3>; 680 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
679 samsung,pin-drv = <3>; 681 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
680 }; 682 };
681 683
682 sd1_bus4: sd1-bus-width4 { 684 sd1_bus4: sd1-bus-width4 {
683 samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6"; 685 samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6";
684 samsung,pin-function = <2>; 686 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
685 samsung,pin-pud = <3>; 687 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
686 samsung,pin-drv = <3>; 688 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
687 }; 689 };
688 690
689 sd2_clk: sd2-clk { 691 sd2_clk: sd2-clk {
690 samsung,pins = "gpk2-0"; 692 samsung,pins = "gpk2-0";
691 samsung,pin-function = <2>; 693 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
692 samsung,pin-pud = <0>; 694 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
693 samsung,pin-drv = <3>; 695 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
694 }; 696 };
695 697
696 sd2_cmd: sd2-cmd { 698 sd2_cmd: sd2-cmd {
697 samsung,pins = "gpk2-1"; 699 samsung,pins = "gpk2-1";
698 samsung,pin-function = <2>; 700 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
699 samsung,pin-pud = <0>; 701 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
700 samsung,pin-drv = <3>; 702 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
701 }; 703 };
702 704
703 sd2_cd: sd2-cd { 705 sd2_cd: sd2-cd {
704 samsung,pins = "gpk2-2"; 706 samsung,pins = "gpk2-2";
705 samsung,pin-function = <2>; 707 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
706 samsung,pin-pud = <3>; 708 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
707 samsung,pin-drv = <3>; 709 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
708 }; 710 };
709 711
710 sd2_bus1: sd2-bus-width1 { 712 sd2_bus1: sd2-bus-width1 {
711 samsung,pins = "gpk2-3"; 713 samsung,pins = "gpk2-3";
712 samsung,pin-function = <2>; 714 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
713 samsung,pin-pud = <3>; 715 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
714 samsung,pin-drv = <3>; 716 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
715 }; 717 };
716 718
717 sd2_bus4: sd2-bus-width4 { 719 sd2_bus4: sd2-bus-width4 {
718 samsung,pins = "gpk2-3", "gpk2-4", "gpk2-5", "gpk2-6"; 720 samsung,pins = "gpk2-3", "gpk2-4", "gpk2-5", "gpk2-6";
719 samsung,pin-function = <2>; 721 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
720 samsung,pin-pud = <3>; 722 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
721 samsung,pin-drv = <3>; 723 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
722 }; 724 };
723 725
724 sd2_bus8: sd2-bus-width8 { 726 sd2_bus8: sd2-bus-width8 {
725 samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6"; 727 samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6";
726 samsung,pin-function = <3>; 728 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
727 samsung,pin-pud = <3>; 729 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
728 samsung,pin-drv = <3>; 730 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
729 }; 731 };
730 732
731 sd3_clk: sd3-clk { 733 sd3_clk: sd3-clk {
732 samsung,pins = "gpk3-0"; 734 samsung,pins = "gpk3-0";
733 samsung,pin-function = <2>; 735 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
734 samsung,pin-pud = <0>; 736 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
735 samsung,pin-drv = <3>; 737 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
736 }; 738 };
737 739
738 sd3_cmd: sd3-cmd { 740 sd3_cmd: sd3-cmd {
739 samsung,pins = "gpk3-1"; 741 samsung,pins = "gpk3-1";
740 samsung,pin-function = <2>; 742 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
741 samsung,pin-pud = <0>; 743 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
742 samsung,pin-drv = <3>; 744 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
743 }; 745 };
744 746
745 sd3_cd: sd3-cd { 747 sd3_cd: sd3-cd {
746 samsung,pins = "gpk3-2"; 748 samsung,pins = "gpk3-2";
747 samsung,pin-function = <2>; 749 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
748 samsung,pin-pud = <3>; 750 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
749 samsung,pin-drv = <3>; 751 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
750 }; 752 };
751 753
752 sd3_bus1: sd3-bus-width1 { 754 sd3_bus1: sd3-bus-width1 {
753 samsung,pins = "gpk3-3"; 755 samsung,pins = "gpk3-3";
754 samsung,pin-function = <2>; 756 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
755 samsung,pin-pud = <3>; 757 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
756 samsung,pin-drv = <3>; 758 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
757 }; 759 };
758 760
759 sd3_bus4: sd3-bus-width4 { 761 sd3_bus4: sd3-bus-width4 {
760 samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6"; 762 samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6";
761 samsung,pin-function = <2>; 763 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
762 samsung,pin-pud = <3>; 764 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
763 samsung,pin-drv = <3>; 765 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
764 }; 766 };
765 767
766 eint0: ext-int0 { 768 eint0: ext-int0 {
767 samsung,pins = "gpx0-0"; 769 samsung,pins = "gpx0-0";
768 samsung,pin-function = <0xf>; 770 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
769 samsung,pin-pud = <0>; 771 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
770 samsung,pin-drv = <0>; 772 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
771 }; 773 };
772 774
773 eint8: ext-int8 { 775 eint8: ext-int8 {
774 samsung,pins = "gpx1-0"; 776 samsung,pins = "gpx1-0";
775 samsung,pin-function = <0xf>; 777 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
776 samsung,pin-pud = <0>; 778 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
777 samsung,pin-drv = <0>; 779 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
778 }; 780 };
779 781
780 eint15: ext-int15 { 782 eint15: ext-int15 {
781 samsung,pins = "gpx1-7"; 783 samsung,pins = "gpx1-7";
782 samsung,pin-function = <0xf>; 784 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
783 samsung,pin-pud = <0>; 785 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
784 samsung,pin-drv = <0>; 786 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
785 }; 787 };
786 788
787 eint16: ext-int16 { 789 eint16: ext-int16 {
788 samsung,pins = "gpx2-0"; 790 samsung,pins = "gpx2-0";
789 samsung,pin-function = <0xf>; 791 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
790 samsung,pin-pud = <0>; 792 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
791 samsung,pin-drv = <0>; 793 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
792 }; 794 };
793 795
794 eint31: ext-int31 { 796 eint31: ext-int31 {
795 samsung,pins = "gpx3-7"; 797 samsung,pins = "gpx3-7";
796 samsung,pin-function = <0xf>; 798 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
797 samsung,pin-pud = <0>; 799 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
798 samsung,pin-drv = <0>; 800 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
799 }; 801 };
800 802
801 cam_port_a_io: cam-port-a-io { 803 cam_port_a_io: cam-port-a-io {
802 samsung,pins = "gpj0-0", "gpj0-1", "gpj0-2", "gpj0-3", 804 samsung,pins = "gpj0-0", "gpj0-1", "gpj0-2", "gpj0-3",
803 "gpj0-4", "gpj0-5", "gpj0-6", "gpj0-7", 805 "gpj0-4", "gpj0-5", "gpj0-6", "gpj0-7",
804 "gpj1-0", "gpj1-1", "gpj1-2", "gpj1-4"; 806 "gpj1-0", "gpj1-1", "gpj1-2", "gpj1-4";
805 samsung,pin-function = <2>; 807 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
806 samsung,pin-pud = <0>; 808 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
807 samsung,pin-drv = <0>; 809 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
808 }; 810 };
809 811
810 cam_port_a_clk_active: cam-port-a-clk-active { 812 cam_port_a_clk_active: cam-port-a-clk-active {
811 samsung,pins = "gpj1-3"; 813 samsung,pins = "gpj1-3";
812 samsung,pin-function = <2>; 814 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
813 samsung,pin-pud = <0>; 815 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
814 samsung,pin-drv = <3>; 816 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
815 }; 817 };
816 818
817 cam_port_a_clk_idle: cam-port-a-clk-idle { 819 cam_port_a_clk_idle: cam-port-a-clk-idle {
818 samsung,pins = "gpj1-3"; 820 samsung,pins = "gpj1-3";
819 samsung,pin-function = <0>; 821 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
820 samsung,pin-pud = <1>; 822 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
821 samsung,pin-drv = <0>; 823 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
822 }; 824 };
823 825
824 hdmi_cec: hdmi-cec { 826 hdmi_cec: hdmi-cec {
825 samsung,pins = "gpx3-6"; 827 samsung,pins = "gpx3-6";
826 samsung,pin-function = <3>; 828 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
827 samsung,pin-pud = <0>; 829 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
828 samsung,pin-drv = <0>; 830 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
829 }; 831 };
830 }; 832 };
831 833
@@ -838,17 +840,17 @@
838 i2s0_bus: i2s0-bus { 840 i2s0_bus: i2s0-bus {
839 samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3", 841 samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3",
840 "gpz-4", "gpz-5", "gpz-6"; 842 "gpz-4", "gpz-5", "gpz-6";
841 samsung,pin-function = <0x2>; 843 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
842 samsung,pin-pud = <0>; 844 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
843 samsung,pin-drv = <0>; 845 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
844 }; 846 };
845 847
846 pcm0_bus: pcm0-bus { 848 pcm0_bus: pcm0-bus {
847 samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3", 849 samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3",
848 "gpz-4"; 850 "gpz-4";
849 samsung,pin-function = <0x3>; 851 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
850 samsung,pin-pud = <0>; 852 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
851 samsung,pin-drv = <0>; 853 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
852 }; 854 };
853 }; 855 };
854}; 856};
diff --git a/arch/arm/boot/dts/exynos4210-smdkv310.dts b/arch/arm/boot/dts/exynos4210-smdkv310.dts
index af6ef3e6214d..9c98a3724396 100644
--- a/arch/arm/boot/dts/exynos4210-smdkv310.dts
+++ b/arch/arm/boot/dts/exynos4210-smdkv310.dts
@@ -137,17 +137,17 @@
137&pinctrl_1 { 137&pinctrl_1 {
138 keypad_rows: keypad-rows { 138 keypad_rows: keypad-rows {
139 samsung,pins = "gpx2-0", "gpx2-1"; 139 samsung,pins = "gpx2-0", "gpx2-1";
140 samsung,pin-function = <3>; 140 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
141 samsung,pin-pud = <3>; 141 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
142 samsung,pin-drv = <0>; 142 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
143 }; 143 };
144 144
145 keypad_cols: keypad-cols { 145 keypad_cols: keypad-cols {
146 samsung,pins = "gpx1-0", "gpx1-1", "gpx1-2", "gpx1-3", 146 samsung,pins = "gpx1-0", "gpx1-1", "gpx1-2", "gpx1-3",
147 "gpx1-4", "gpx1-5", "gpx1-6", "gpx1-7"; 147 "gpx1-4", "gpx1-5", "gpx1-6", "gpx1-7";
148 samsung,pin-function = <3>; 148 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
149 samsung,pin-pud = <0>; 149 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
150 samsung,pin-drv = <0>; 150 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
151 }; 151 };
152}; 152};
153 153
diff --git a/arch/arm/boot/dts/exynos4210-universal_c210.dts b/arch/arm/boot/dts/exynos4210-universal_c210.dts
index f1172be318cd..0c89ea99de54 100644
--- a/arch/arm/boot/dts/exynos4210-universal_c210.dts
+++ b/arch/arm/boot/dts/exynos4210-universal_c210.dts
@@ -522,16 +522,16 @@
522&pinctrl_1 { 522&pinctrl_1 {
523 hdmi_hpd: hdmi-hpd { 523 hdmi_hpd: hdmi-hpd {
524 samsung,pins = "gpx3-7"; 524 samsung,pins = "gpx3-7";
525 samsung,pin-pud = <0>; 525 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
526 }; 526 };
527}; 527};
528 528
529&pinctrl_0 { 529&pinctrl_0 {
530 i2c_ddc_bus: i2c-ddc-bus { 530 i2c_ddc_bus: i2c-ddc-bus {
531 samsung,pins = "gpe4-2", "gpe4-3"; 531 samsung,pins = "gpe4-2", "gpe4-3";
532 samsung,pin-function = <2>; 532 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
533 samsung,pin-pud = <3>; 533 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
534 samsung,pin-drv = <0>; 534 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
535 }; 535 };
536}; 536};
537 537
diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
index be644fe6a0fd..8aa19ba14436 100644
--- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
+++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
@@ -163,26 +163,26 @@
163 163
164/* RSTN signal for eMMC */ 164/* RSTN signal for eMMC */
165&sd1_cd { 165&sd1_cd {
166 samsung,pin-pud = <0>; 166 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
167 samsung,pin-drv = <0>; 167 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
168}; 168};
169 169
170&pinctrl_1 { 170&pinctrl_1 {
171 gpio_power_key: power_key { 171 gpio_power_key: power_key {
172 samsung,pins = "gpx1-3"; 172 samsung,pins = "gpx1-3";
173 samsung,pin-pud = <0>; 173 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
174 }; 174 };
175 175
176 max77686_irq: max77686-irq { 176 max77686_irq: max77686-irq {
177 samsung,pins = "gpx3-2"; 177 samsung,pins = "gpx3-2";
178 samsung,pin-function = <0>; 178 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
179 samsung,pin-pud = <0>; 179 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
180 samsung,pin-drv = <0>; 180 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
181 }; 181 };
182 182
183 hdmi_hpd: hdmi-hpd { 183 hdmi_hpd: hdmi-hpd {
184 samsung,pins = "gpx3-7"; 184 samsung,pins = "gpx3-7";
185 samsung,pin-pud = <1>; 185 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
186 }; 186 };
187}; 187};
188 188
diff --git a/arch/arm/boot/dts/exynos4412-odroidx.dts b/arch/arm/boot/dts/exynos4412-odroidx.dts
index d0a07673ae8b..61906b35ea7a 100644
--- a/arch/arm/boot/dts/exynos4412-odroidx.dts
+++ b/arch/arm/boot/dts/exynos4412-odroidx.dts
@@ -84,7 +84,7 @@
84&pinctrl_1 { 84&pinctrl_1 {
85 gpio_home_key: home_key { 85 gpio_home_key: home_key {
86 samsung,pins = "gpx2-2"; 86 samsung,pins = "gpx2-2";
87 samsung,pin-pud = <0>; 87 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
88 }; 88 };
89}; 89};
90 90
diff --git a/arch/arm/boot/dts/exynos4412-origen.dts b/arch/arm/boot/dts/exynos4412-origen.dts
index 54a9f6906ed2..a1ab6f94bb64 100644
--- a/arch/arm/boot/dts/exynos4412-origen.dts
+++ b/arch/arm/boot/dts/exynos4412-origen.dts
@@ -501,16 +501,16 @@
501&pinctrl_1 { 501&pinctrl_1 {
502 keypad_rows: keypad-rows { 502 keypad_rows: keypad-rows {
503 samsung,pins = "gpx2-0", "gpx2-1", "gpx2-2"; 503 samsung,pins = "gpx2-0", "gpx2-1", "gpx2-2";
504 samsung,pin-function = <3>; 504 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
505 samsung,pin-pud = <3>; 505 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
506 samsung,pin-drv = <0>; 506 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
507 }; 507 };
508 508
509 keypad_cols: keypad-cols { 509 keypad_cols: keypad-cols {
510 samsung,pins = "gpx1-0", "gpx1-1"; 510 samsung,pins = "gpx1-0", "gpx1-1";
511 samsung,pin-function = <3>; 511 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
512 samsung,pin-pud = <0>; 512 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
513 samsung,pin-drv = <0>; 513 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
514 }; 514 };
515}; 515};
516 516
diff --git a/arch/arm/boot/dts/exynos4412-smdk4412.dts b/arch/arm/boot/dts/exynos4412-smdk4412.dts
index 2e208d84ff6a..7fcb43431b59 100644
--- a/arch/arm/boot/dts/exynos4412-smdk4412.dts
+++ b/arch/arm/boot/dts/exynos4412-smdk4412.dts
@@ -116,17 +116,17 @@
116&pinctrl_1 { 116&pinctrl_1 {
117 keypad_rows: keypad-rows { 117 keypad_rows: keypad-rows {
118 samsung,pins = "gpx2-0", "gpx2-1", "gpx2-2"; 118 samsung,pins = "gpx2-0", "gpx2-1", "gpx2-2";
119 samsung,pin-function = <3>; 119 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
120 samsung,pin-pud = <3>; 120 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
121 samsung,pin-drv = <0>; 121 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
122 }; 122 };
123 123
124 keypad_cols: keypad-cols { 124 keypad_cols: keypad-cols {
125 samsung,pins = "gpx1-0", "gpx1-1", "gpx1-2", "gpx1-3", 125 samsung,pins = "gpx1-0", "gpx1-1", "gpx1-2", "gpx1-3",
126 "gpx1-4", "gpx1-5", "gpx1-6", "gpx1-7"; 126 "gpx1-4", "gpx1-5", "gpx1-6", "gpx1-7";
127 samsung,pin-function = <3>; 127 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
128 samsung,pin-pud = <0>; 128 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
129 samsung,pin-drv = <0>; 129 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
130 }; 130 };
131}; 131};
132 132
diff --git a/arch/arm/boot/dts/exynos4415-pinctrl.dtsi b/arch/arm/boot/dts/exynos4415-pinctrl.dtsi
index 75af9c56123e..76cfd872ead3 100644
--- a/arch/arm/boot/dts/exynos4415-pinctrl.dtsi
+++ b/arch/arm/boot/dts/exynos4415-pinctrl.dtsi
@@ -11,6 +11,8 @@
11 * published by the Free Software Foundation. 11 * published by the Free Software Foundation.
12*/ 12*/
13 13
14#include <dt-bindings/pinctrl/samsung.h>
15
14&pinctrl_0 { 16&pinctrl_0 {
15 gpa0: gpa0 { 17 gpa0: gpa0 {
16 gpio-controller; 18 gpio-controller;
@@ -94,180 +96,180 @@
94 96
95 uart0_data: uart0-data { 97 uart0_data: uart0-data {
96 samsung,pins = "gpa0-0", "gpa0-1"; 98 samsung,pins = "gpa0-0", "gpa0-1";
97 samsung,pin-function = <0x2>; 99 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
98 samsung,pin-pud = <0>; 100 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
99 samsung,pin-drv = <0>; 101 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
100 }; 102 };
101 103
102 uart0_fctl: uart0-fctl { 104 uart0_fctl: uart0-fctl {
103 samsung,pins = "gpa0-2", "gpa0-3"; 105 samsung,pins = "gpa0-2", "gpa0-3";
104 samsung,pin-function = <2>; 106 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
105 samsung,pin-pud = <0>; 107 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
106 samsung,pin-drv = <0>; 108 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
107 }; 109 };
108 110
109 uart1_data: uart1-data { 111 uart1_data: uart1-data {
110 samsung,pins = "gpa0-4", "gpa0-5"; 112 samsung,pins = "gpa0-4", "gpa0-5";
111 samsung,pin-function = <2>; 113 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
112 samsung,pin-pud = <0>; 114 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
113 samsung,pin-drv = <0>; 115 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
114 }; 116 };
115 117
116 uart1_fctl: uart1-fctl { 118 uart1_fctl: uart1-fctl {
117 samsung,pins = "gpa0-6", "gpa0-7"; 119 samsung,pins = "gpa0-6", "gpa0-7";
118 samsung,pin-function = <2>; 120 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
119 samsung,pin-pud = <0>; 121 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
120 samsung,pin-drv = <0>; 122 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
121 }; 123 };
122 124
123 uart2_data: uart2-data { 125 uart2_data: uart2-data {
124 samsung,pins = "gpa1-0", "gpa1-1"; 126 samsung,pins = "gpa1-0", "gpa1-1";
125 samsung,pin-function = <2>; 127 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
126 samsung,pin-pud = <0>; 128 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
127 samsung,pin-drv = <0>; 129 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
128 }; 130 };
129 131
130 uart2_fctl: uart2-fctl { 132 uart2_fctl: uart2-fctl {
131 samsung,pins = "gpa1-2", "gpa1-3"; 133 samsung,pins = "gpa1-2", "gpa1-3";
132 samsung,pin-function = <2>; 134 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
133 samsung,pin-pud = <0>; 135 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
134 samsung,pin-drv = <0>; 136 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
135 }; 137 };
136 138
137 uart3_data: uart3-data { 139 uart3_data: uart3-data {
138 samsung,pins = "gpa1-4", "gpa1-5"; 140 samsung,pins = "gpa1-4", "gpa1-5";
139 samsung,pin-function = <2>; 141 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
140 samsung,pin-pud = <0>; 142 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
141 samsung,pin-drv = <0>; 143 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
142 }; 144 };
143 145
144 i2c2_bus: i2c2-bus { 146 i2c2_bus: i2c2-bus {
145 samsung,pins = "gpa0-6", "gpa0-7"; 147 samsung,pins = "gpa0-6", "gpa0-7";
146 samsung,pin-function = <3>; 148 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
147 samsung,pin-pud = <3>; 149 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
148 samsung,pin-drv = <0>; 150 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
149 }; 151 };
150 152
151 i2c3_bus: i2c3-bus { 153 i2c3_bus: i2c3-bus {
152 samsung,pins = "gpa1-2", "gpa1-3"; 154 samsung,pins = "gpa1-2", "gpa1-3";
153 samsung,pin-function = <3>; 155 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
154 samsung,pin-pud = <3>; 156 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
155 samsung,pin-drv = <0>; 157 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
156 }; 158 };
157 159
158 spi0_bus: spi0-bus { 160 spi0_bus: spi0-bus {
159 samsung,pins = "gpb-0", "gpb-2", "gpb-3"; 161 samsung,pins = "gpb-0", "gpb-2", "gpb-3";
160 samsung,pin-function = <2>; 162 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
161 samsung,pin-pud = <3>; 163 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
162 samsung,pin-drv = <0>; 164 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
163 }; 165 };
164 166
165 i2c4_bus: i2c4-bus { 167 i2c4_bus: i2c4-bus {
166 samsung,pins = "gpb-0", "gpb-1"; 168 samsung,pins = "gpb-0", "gpb-1";
167 samsung,pin-function = <3>; 169 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
168 samsung,pin-pud = <3>; 170 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
169 samsung,pin-drv = <0>; 171 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
170 }; 172 };
171 173
172 spi1_bus: spi1-bus { 174 spi1_bus: spi1-bus {
173 samsung,pins = "gpb-4", "gpb-6", "gpb-7"; 175 samsung,pins = "gpb-4", "gpb-6", "gpb-7";
174 samsung,pin-function = <2>; 176 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
175 samsung,pin-pud = <3>; 177 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
176 samsung,pin-drv = <0>; 178 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
177 }; 179 };
178 180
179 i2c5_bus: i2c5-bus { 181 i2c5_bus: i2c5-bus {
180 samsung,pins = "gpb-2", "gpb-3"; 182 samsung,pins = "gpb-2", "gpb-3";
181 samsung,pin-function = <3>; 183 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
182 samsung,pin-pud = <3>; 184 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
183 samsung,pin-drv = <0>; 185 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
184 }; 186 };
185 187
186 i2s1_bus: i2s1-bus { 188 i2s1_bus: i2s1-bus {
187 samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3", 189 samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3",
188 "gpc0-4"; 190 "gpc0-4";
189 samsung,pin-function = <2>; 191 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
190 samsung,pin-pud = <0>; 192 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
191 samsung,pin-drv = <0>; 193 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
192 }; 194 };
193 195
194 i2s2_bus: i2s2-bus { 196 i2s2_bus: i2s2-bus {
195 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3", 197 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3",
196 "gpc1-4"; 198 "gpc1-4";
197 samsung,pin-function = <2>; 199 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
198 samsung,pin-pud = <0>; 200 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
199 samsung,pin-drv = <0>; 201 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
200 }; 202 };
201 203
202 pcm2_bus: pcm2-bus { 204 pcm2_bus: pcm2-bus {
203 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3", 205 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3",
204 "gpc1-4"; 206 "gpc1-4";
205 samsung,pin-function = <3>; 207 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
206 samsung,pin-pud = <0>; 208 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
207 samsung,pin-drv = <0>; 209 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
208 }; 210 };
209 211
210 i2c6_bus: i2c6-bus { 212 i2c6_bus: i2c6-bus {
211 samsung,pins = "gpc1-3", "gpc1-4"; 213 samsung,pins = "gpc1-3", "gpc1-4";
212 samsung,pin-function = <4>; 214 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
213 samsung,pin-pud = <3>; 215 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
214 samsung,pin-drv = <0>; 216 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
215 }; 217 };
216 218
217 spi2_bus: spi2-bus { 219 spi2_bus: spi2-bus {
218 samsung,pins = "gpc1-1", "gpc1-3", "gpc1-4"; 220 samsung,pins = "gpc1-1", "gpc1-3", "gpc1-4";
219 samsung,pin-function = <5>; 221 samsung,pin-function = <EXYNOS_PIN_FUNC_5>;
220 samsung,pin-pud = <3>; 222 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
221 samsung,pin-drv = <0>; 223 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
222 }; 224 };
223 225
224 pwm0_out: pwm0-out { 226 pwm0_out: pwm0-out {
225 samsung,pins = "gpd0-0"; 227 samsung,pins = "gpd0-0";
226 samsung,pin-function = <2>; 228 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
227 samsung,pin-pud = <0>; 229 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
228 samsung,pin-drv = <0>; 230 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
229 }; 231 };
230 232
231 pwm1_out: pwm1-out { 233 pwm1_out: pwm1-out {
232 samsung,pins = "gpd0-1"; 234 samsung,pins = "gpd0-1";
233 samsung,pin-function = <2>; 235 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
234 samsung,pin-pud = <0>; 236 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
235 samsung,pin-drv = <0>; 237 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
236 }; 238 };
237 239
238 pwm2_out: pwm2-out { 240 pwm2_out: pwm2-out {
239 samsung,pins = "gpd0-2"; 241 samsung,pins = "gpd0-2";
240 samsung,pin-function = <2>; 242 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
241 samsung,pin-pud = <0>; 243 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
242 samsung,pin-drv = <0>; 244 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
243 }; 245 };
244 246
245 pwm3_out: pwm3-out { 247 pwm3_out: pwm3-out {
246 samsung,pins = "gpd0-3"; 248 samsung,pins = "gpd0-3";
247 samsung,pin-function = <2>; 249 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
248 samsung,pin-pud = <0>; 250 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
249 samsung,pin-drv = <0>; 251 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
250 }; 252 };
251 253
252 i2c7_bus: i2c7-bus { 254 i2c7_bus: i2c7-bus {
253 samsung,pins = "gpd0-2", "gpd0-3"; 255 samsung,pins = "gpd0-2", "gpd0-3";
254 samsung,pin-function = <3>; 256 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
255 samsung,pin-pud = <3>; 257 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
256 samsung,pin-drv = <0>; 258 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
257 }; 259 };
258 260
259 i2c0_bus: i2c0-bus { 261 i2c0_bus: i2c0-bus {
260 samsung,pins = "gpd1-0", "gpd1-1"; 262 samsung,pins = "gpd1-0", "gpd1-1";
261 samsung,pin-function = <2>; 263 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
262 samsung,pin-pud = <3>; 264 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
263 samsung,pin-drv = <0>; 265 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
264 }; 266 };
265 267
266 i2c1_bus: i2c1-bus { 268 i2c1_bus: i2c1-bus {
267 samsung,pins = "gpd1-2", "gpd1-3"; 269 samsung,pins = "gpd1-2", "gpd1-3";
268 samsung,pin-function = <2>; 270 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
269 samsung,pin-pud = <3>; 271 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
270 samsung,pin-drv = <0>; 272 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
271 }; 273 };
272}; 274};
273 275
@@ -392,165 +394,165 @@
392 394
393 sd0_clk: sd0-clk { 395 sd0_clk: sd0-clk {
394 samsung,pins = "gpk0-0"; 396 samsung,pins = "gpk0-0";
395 samsung,pin-function = <2>; 397 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
396 samsung,pin-pud = <0>; 398 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
397 samsung,pin-drv = <3>; 399 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
398 }; 400 };
399 401
400 sd0_cmd: sd0-cmd { 402 sd0_cmd: sd0-cmd {
401 samsung,pins = "gpk0-1"; 403 samsung,pins = "gpk0-1";
402 samsung,pin-function = <2>; 404 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
403 samsung,pin-pud = <0>; 405 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
404 samsung,pin-drv = <3>; 406 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
405 }; 407 };
406 408
407 sd0_cd: sd0-cd { 409 sd0_cd: sd0-cd {
408 samsung,pins = "gpk0-2"; 410 samsung,pins = "gpk0-2";
409 samsung,pin-function = <2>; 411 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
410 samsung,pin-pud = <3>; 412 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
411 samsung,pin-drv = <3>; 413 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
412 }; 414 };
413 415
414 sd0_rdqs: sd0-rdqs { 416 sd0_rdqs: sd0-rdqs {
415 samsung,pins = "gpk0-7"; 417 samsung,pins = "gpk0-7";
416 samsung,pin-function = <2>; 418 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
417 samsung,pin-pud = <0>; 419 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
418 samsung,pin-drv = <3>; 420 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
419 }; 421 };
420 422
421 sd0_bus1: sd0-bus-width1 { 423 sd0_bus1: sd0-bus-width1 {
422 samsung,pins = "gpk0-3"; 424 samsung,pins = "gpk0-3";
423 samsung,pin-function = <2>; 425 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
424 samsung,pin-pud = <3>; 426 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
425 samsung,pin-drv = <3>; 427 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
426 }; 428 };
427 429
428 sd0_bus4: sd0-bus-width4 { 430 sd0_bus4: sd0-bus-width4 {
429 samsung,pins = "gpk0-4", "gpk0-5", "gpk0-6"; 431 samsung,pins = "gpk0-4", "gpk0-5", "gpk0-6";
430 samsung,pin-function = <2>; 432 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
431 samsung,pin-pud = <3>; 433 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
432 samsung,pin-drv = <3>; 434 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
433 }; 435 };
434 436
435 sd0_bus8: sd0-bus-width8 { 437 sd0_bus8: sd0-bus-width8 {
436 samsung,pins = "gpl0-0", "gpl0-1", "gpl0-2", "gpl0-3"; 438 samsung,pins = "gpl0-0", "gpl0-1", "gpl0-2", "gpl0-3";
437 samsung,pin-function = <2>; 439 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
438 samsung,pin-pud = <3>; 440 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
439 samsung,pin-drv = <3>; 441 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
440 }; 442 };
441 443
442 sd1_clk: sd1-clk { 444 sd1_clk: sd1-clk {
443 samsung,pins = "gpk1-0"; 445 samsung,pins = "gpk1-0";
444 samsung,pin-function = <2>; 446 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
445 samsung,pin-pud = <0>; 447 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
446 samsung,pin-drv = <3>; 448 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
447 }; 449 };
448 450
449 sd1_cmd: sd1-cmd { 451 sd1_cmd: sd1-cmd {
450 samsung,pins = "gpk1-1"; 452 samsung,pins = "gpk1-1";
451 samsung,pin-function = <2>; 453 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
452 samsung,pin-pud = <0>; 454 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
453 samsung,pin-drv = <3>; 455 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
454 }; 456 };
455 457
456 sd1_cd: sd1-cd { 458 sd1_cd: sd1-cd {
457 samsung,pins = "gpk1-2"; 459 samsung,pins = "gpk1-2";
458 samsung,pin-function = <2>; 460 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
459 samsung,pin-pud = <3>; 461 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
460 samsung,pin-drv = <3>; 462 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
461 }; 463 };
462 464
463 sd1_bus1: sd1-bus-width1 { 465 sd1_bus1: sd1-bus-width1 {
464 samsung,pins = "gpk1-3"; 466 samsung,pins = "gpk1-3";
465 samsung,pin-function = <2>; 467 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
466 samsung,pin-pud = <3>; 468 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
467 samsung,pin-drv = <3>; 469 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
468 }; 470 };
469 471
470 sd1_bus4: sd1-bus-width4 { 472 sd1_bus4: sd1-bus-width4 {
471 samsung,pins = "gpk1-4", "gpk1-5", "gpk1-6"; 473 samsung,pins = "gpk1-4", "gpk1-5", "gpk1-6";
472 samsung,pin-function = <2>; 474 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
473 samsung,pin-pud = <3>; 475 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
474 samsung,pin-drv = <3>; 476 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
475 }; 477 };
476 478
477 sd2_clk: sd2-clk { 479 sd2_clk: sd2-clk {
478 samsung,pins = "gpk2-0"; 480 samsung,pins = "gpk2-0";
479 samsung,pin-function = <2>; 481 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
480 samsung,pin-pud = <0>; 482 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
481 samsung,pin-drv = <4>; 483 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
482 }; 484 };
483 485
484 sd2_cmd: sd2-cmd { 486 sd2_cmd: sd2-cmd {
485 samsung,pins = "gpk2-1"; 487 samsung,pins = "gpk2-1";
486 samsung,pin-function = <2>; 488 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
487 samsung,pin-pud = <0>; 489 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
488 samsung,pin-drv = <4>; 490 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
489 }; 491 };
490 492
491 sd2_cd: sd2-cd { 493 sd2_cd: sd2-cd {
492 samsung,pins = "gpk2-2"; 494 samsung,pins = "gpk2-2";
493 samsung,pin-function = <2>; 495 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
494 samsung,pin-pud = <3>; 496 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
495 samsung,pin-drv = <3>; 497 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
496 }; 498 };
497 499
498 sd2_bus1: sd2-bus-width1 { 500 sd2_bus1: sd2-bus-width1 {
499 samsung,pins = "gpk2-3"; 501 samsung,pins = "gpk2-3";
500 samsung,pin-function = <2>; 502 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
501 samsung,pin-pud = <3>; 503 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
502 samsung,pin-drv = <4>; 504 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
503 }; 505 };
504 506
505 sd2_bus4: sd2-bus-width4 { 507 sd2_bus4: sd2-bus-width4 {
506 samsung,pins = "gpk2-4", "gpk2-5", "gpk2-6"; 508 samsung,pins = "gpk2-4", "gpk2-5", "gpk2-6";
507 samsung,pin-function = <2>; 509 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
508 samsung,pin-pud = <3>; 510 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
509 samsung,pin-drv = <4>; 511 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
510 }; 512 };
511 513
512 cam_port_b_io: cam-port-b-io { 514 cam_port_b_io: cam-port-b-io {
513 samsung,pins = "gpm0-0", "gpm0-1", "gpm0-2", "gpm0-3", 515 samsung,pins = "gpm0-0", "gpm0-1", "gpm0-2", "gpm0-3",
514 "gpm0-4", "gpm0-5", "gpm0-6", "gpm0-7", 516 "gpm0-4", "gpm0-5", "gpm0-6", "gpm0-7",
515 "gpm1-0", "gpm1-1", "gpm2-0", "gpm2-1"; 517 "gpm1-0", "gpm1-1", "gpm2-0", "gpm2-1";
516 samsung,pin-function = <3>; 518 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
517 samsung,pin-pud = <3>; 519 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
518 samsung,pin-drv = <0>; 520 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
519 }; 521 };
520 522
521 cam_port_b_clk_active: cam-port-b-clk-active { 523 cam_port_b_clk_active: cam-port-b-clk-active {
522 samsung,pins = "gpm2-2"; 524 samsung,pins = "gpm2-2";
523 samsung,pin-function = <3>; 525 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
524 samsung,pin-pud = <0>; 526 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
525 samsung,pin-drv = <3>; 527 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
526 }; 528 };
527 529
528 cam_port_b_clk_idle: cam-port-b-clk-idle { 530 cam_port_b_clk_idle: cam-port-b-clk-idle {
529 samsung,pins = "gpm2-2"; 531 samsung,pins = "gpm2-2";
530 samsung,pin-function = <0>; 532 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
531 samsung,pin-pud = <0>; 533 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
532 samsung,pin-drv = <0>; 534 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
533 }; 535 };
534 536
535 fimc_is_i2c0: fimc-is-i2c0 { 537 fimc_is_i2c0: fimc-is-i2c0 {
536 samsung,pins = "gpm4-0", "gpm4-1"; 538 samsung,pins = "gpm4-0", "gpm4-1";
537 samsung,pin-function = <2>; 539 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
538 samsung,pin-pud = <0>; 540 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
539 samsung,pin-drv = <0>; 541 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
540 }; 542 };
541 543
542 fimc_is_i2c1: fimc-is-i2c1 { 544 fimc_is_i2c1: fimc-is-i2c1 {
543 samsung,pins = "gpm4-2", "gpm4-3"; 545 samsung,pins = "gpm4-2", "gpm4-3";
544 samsung,pin-function = <2>; 546 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
545 samsung,pin-pud = <0>; 547 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
546 samsung,pin-drv = <0>; 548 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
547 }; 549 };
548 550
549 fimc_is_uart: fimc-is-uart { 551 fimc_is_uart: fimc-is-uart {
550 samsung,pins = "gpm3-5", "gpm3-7"; 552 samsung,pins = "gpm3-5", "gpm3-7";
551 samsung,pin-function = <3>; 553 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
552 samsung,pin-pud = <0>; 554 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
553 samsung,pin-drv = <0>; 555 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
554 }; 556 };
555}; 557};
556 558
@@ -566,8 +568,8 @@
566 i2s0_bus: i2s0-bus { 568 i2s0_bus: i2s0-bus {
567 samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3", 569 samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3",
568 "gpz-4", "gpz-5", "gpz-6"; 570 "gpz-4", "gpz-5", "gpz-6";
569 samsung,pin-function = <2>; 571 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
570 samsung,pin-pud = <0>; 572 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
571 samsung,pin-drv = <0>; 573 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
572 }; 574 };
573}; 575};
diff --git a/arch/arm/boot/dts/exynos4x12-pinctrl.dtsi b/arch/arm/boot/dts/exynos4x12-pinctrl.dtsi
index 856b29254374..a56bf9b1a412 100644
--- a/arch/arm/boot/dts/exynos4x12-pinctrl.dtsi
+++ b/arch/arm/boot/dts/exynos4x12-pinctrl.dtsi
@@ -12,20 +12,13 @@
12 * published by the Free Software Foundation. 12 * published by the Free Software Foundation.
13*/ 13*/
14 14
15#define PIN_PULL_NONE 0 15#include <dt-bindings/pinctrl/samsung.h>
16#define PIN_PULL_DOWN 1 16
17#define PIN_PULL_UP 3 17#define PIN_SLP(_pin, _mode, _pull) \
18 18 _pin { \
19#define PIN_PDN_OUT0 0 19 samsung,pins = #_pin; \
20#define PIN_PDN_OUT1 1 20 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_ ##_mode>; \
21#define PIN_PDN_INPUT 2 21 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_ ##_pull>; \
22#define PIN_PDN_PREV 3
23
24#define PIN_SLP(_pin, _mode, _pull) \
25 _pin { \
26 samsung,pins = #_pin; \
27 samsung,pin-con-pdn = <PIN_PDN_ ##_mode>; \
28 samsung,pin-pud-pdn = <PIN_PULL_ ##_pull>; \
29 } 22 }
30 23
31/ { 24/ {
@@ -136,245 +129,245 @@
136 129
137 uart0_data: uart0-data { 130 uart0_data: uart0-data {
138 samsung,pins = "gpa0-0", "gpa0-1"; 131 samsung,pins = "gpa0-0", "gpa0-1";
139 samsung,pin-function = <0x2>; 132 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
140 samsung,pin-pud = <0>; 133 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
141 samsung,pin-drv = <0>; 134 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
142 }; 135 };
143 136
144 uart0_fctl: uart0-fctl { 137 uart0_fctl: uart0-fctl {
145 samsung,pins = "gpa0-2", "gpa0-3"; 138 samsung,pins = "gpa0-2", "gpa0-3";
146 samsung,pin-function = <2>; 139 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
147 samsung,pin-pud = <0>; 140 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
148 samsung,pin-drv = <0>; 141 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
149 }; 142 };
150 143
151 uart1_data: uart1-data { 144 uart1_data: uart1-data {
152 samsung,pins = "gpa0-4", "gpa0-5"; 145 samsung,pins = "gpa0-4", "gpa0-5";
153 samsung,pin-function = <2>; 146 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
154 samsung,pin-pud = <0>; 147 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
155 samsung,pin-drv = <0>; 148 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
156 }; 149 };
157 150
158 uart1_fctl: uart1-fctl { 151 uart1_fctl: uart1-fctl {
159 samsung,pins = "gpa0-6", "gpa0-7"; 152 samsung,pins = "gpa0-6", "gpa0-7";
160 samsung,pin-function = <2>; 153 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
161 samsung,pin-pud = <0>; 154 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
162 samsung,pin-drv = <0>; 155 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
163 }; 156 };
164 157
165 i2c2_bus: i2c2-bus { 158 i2c2_bus: i2c2-bus {
166 samsung,pins = "gpa0-6", "gpa0-7"; 159 samsung,pins = "gpa0-6", "gpa0-7";
167 samsung,pin-function = <3>; 160 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
168 samsung,pin-pud = <3>; 161 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
169 samsung,pin-drv = <0>; 162 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
170 }; 163 };
171 164
172 uart2_data: uart2-data { 165 uart2_data: uart2-data {
173 samsung,pins = "gpa1-0", "gpa1-1"; 166 samsung,pins = "gpa1-0", "gpa1-1";
174 samsung,pin-function = <2>; 167 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
175 samsung,pin-pud = <0>; 168 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
176 samsung,pin-drv = <0>; 169 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
177 }; 170 };
178 171
179 uart2_fctl: uart2-fctl { 172 uart2_fctl: uart2-fctl {
180 samsung,pins = "gpa1-2", "gpa1-3"; 173 samsung,pins = "gpa1-2", "gpa1-3";
181 samsung,pin-function = <2>; 174 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
182 samsung,pin-pud = <0>; 175 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
183 samsung,pin-drv = <0>; 176 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
184 }; 177 };
185 178
186 uart_audio_a: uart-audio-a { 179 uart_audio_a: uart-audio-a {
187 samsung,pins = "gpa1-0", "gpa1-1"; 180 samsung,pins = "gpa1-0", "gpa1-1";
188 samsung,pin-function = <4>; 181 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
189 samsung,pin-pud = <0>; 182 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
190 samsung,pin-drv = <0>; 183 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
191 }; 184 };
192 185
193 i2c3_bus: i2c3-bus { 186 i2c3_bus: i2c3-bus {
194 samsung,pins = "gpa1-2", "gpa1-3"; 187 samsung,pins = "gpa1-2", "gpa1-3";
195 samsung,pin-function = <3>; 188 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
196 samsung,pin-pud = <3>; 189 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
197 samsung,pin-drv = <0>; 190 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
198 }; 191 };
199 192
200 uart3_data: uart3-data { 193 uart3_data: uart3-data {
201 samsung,pins = "gpa1-4", "gpa1-5"; 194 samsung,pins = "gpa1-4", "gpa1-5";
202 samsung,pin-function = <2>; 195 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
203 samsung,pin-pud = <0>; 196 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
204 samsung,pin-drv = <0>; 197 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
205 }; 198 };
206 199
207 uart_audio_b: uart-audio-b { 200 uart_audio_b: uart-audio-b {
208 samsung,pins = "gpa1-4", "gpa1-5"; 201 samsung,pins = "gpa1-4", "gpa1-5";
209 samsung,pin-function = <4>; 202 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
210 samsung,pin-pud = <0>; 203 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
211 samsung,pin-drv = <0>; 204 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
212 }; 205 };
213 206
214 spi0_bus: spi0-bus { 207 spi0_bus: spi0-bus {
215 samsung,pins = "gpb-0", "gpb-2", "gpb-3"; 208 samsung,pins = "gpb-0", "gpb-2", "gpb-3";
216 samsung,pin-function = <2>; 209 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
217 samsung,pin-pud = <3>; 210 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
218 samsung,pin-drv = <0>; 211 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
219 }; 212 };
220 213
221 i2c4_bus: i2c4-bus { 214 i2c4_bus: i2c4-bus {
222 samsung,pins = "gpb-0", "gpb-1"; 215 samsung,pins = "gpb-0", "gpb-1";
223 samsung,pin-function = <3>; 216 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
224 samsung,pin-pud = <3>; 217 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
225 samsung,pin-drv = <0>; 218 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
226 }; 219 };
227 220
228 spi1_bus: spi1-bus { 221 spi1_bus: spi1-bus {
229 samsung,pins = "gpb-4", "gpb-6", "gpb-7"; 222 samsung,pins = "gpb-4", "gpb-6", "gpb-7";
230 samsung,pin-function = <2>; 223 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
231 samsung,pin-pud = <3>; 224 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
232 samsung,pin-drv = <0>; 225 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
233 }; 226 };
234 227
235 i2c5_bus: i2c5-bus { 228 i2c5_bus: i2c5-bus {
236 samsung,pins = "gpb-2", "gpb-3"; 229 samsung,pins = "gpb-2", "gpb-3";
237 samsung,pin-function = <3>; 230 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
238 samsung,pin-pud = <3>; 231 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
239 samsung,pin-drv = <0>; 232 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
240 }; 233 };
241 234
242 i2s1_bus: i2s1-bus { 235 i2s1_bus: i2s1-bus {
243 samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3", 236 samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3",
244 "gpc0-4"; 237 "gpc0-4";
245 samsung,pin-function = <2>; 238 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
246 samsung,pin-pud = <0>; 239 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
247 samsung,pin-drv = <0>; 240 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
248 }; 241 };
249 242
250 pcm1_bus: pcm1-bus { 243 pcm1_bus: pcm1-bus {
251 samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3", 244 samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3",
252 "gpc0-4"; 245 "gpc0-4";
253 samsung,pin-function = <3>; 246 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
254 samsung,pin-pud = <0>; 247 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
255 samsung,pin-drv = <0>; 248 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
256 }; 249 };
257 250
258 ac97_bus: ac97-bus { 251 ac97_bus: ac97-bus {
259 samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3", 252 samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3",
260 "gpc0-4"; 253 "gpc0-4";
261 samsung,pin-function = <4>; 254 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
262 samsung,pin-pud = <0>; 255 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
263 samsung,pin-drv = <0>; 256 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
264 }; 257 };
265 258
266 i2s2_bus: i2s2-bus { 259 i2s2_bus: i2s2-bus {
267 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3", 260 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3",
268 "gpc1-4"; 261 "gpc1-4";
269 samsung,pin-function = <2>; 262 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
270 samsung,pin-pud = <0>; 263 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
271 samsung,pin-drv = <0>; 264 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
272 }; 265 };
273 266
274 pcm2_bus: pcm2-bus { 267 pcm2_bus: pcm2-bus {
275 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3", 268 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3",
276 "gpc1-4"; 269 "gpc1-4";
277 samsung,pin-function = <3>; 270 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
278 samsung,pin-pud = <0>; 271 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
279 samsung,pin-drv = <0>; 272 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
280 }; 273 };
281 274
282 spdif_bus: spdif-bus { 275 spdif_bus: spdif-bus {
283 samsung,pins = "gpc1-0", "gpc1-1"; 276 samsung,pins = "gpc1-0", "gpc1-1";
284 samsung,pin-function = <4>; 277 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
285 samsung,pin-pud = <0>; 278 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
286 samsung,pin-drv = <0>; 279 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
287 }; 280 };
288 281
289 i2c6_bus: i2c6-bus { 282 i2c6_bus: i2c6-bus {
290 samsung,pins = "gpc1-3", "gpc1-4"; 283 samsung,pins = "gpc1-3", "gpc1-4";
291 samsung,pin-function = <4>; 284 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
292 samsung,pin-pud = <3>; 285 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
293 samsung,pin-drv = <0>; 286 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
294 }; 287 };
295 288
296 spi2_bus: spi2-bus { 289 spi2_bus: spi2-bus {
297 samsung,pins = "gpc1-1", "gpc1-3", "gpc1-4"; 290 samsung,pins = "gpc1-1", "gpc1-3", "gpc1-4";
298 samsung,pin-function = <5>; 291 samsung,pin-function = <EXYNOS_PIN_FUNC_5>;
299 samsung,pin-pud = <3>; 292 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
300 samsung,pin-drv = <0>; 293 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
301 }; 294 };
302 295
303 pwm0_out: pwm0-out { 296 pwm0_out: pwm0-out {
304 samsung,pins = "gpd0-0"; 297 samsung,pins = "gpd0-0";
305 samsung,pin-function = <2>; 298 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
306 samsung,pin-pud = <0>; 299 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
307 samsung,pin-drv = <0>; 300 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
308 }; 301 };
309 302
310 pwm1_out: pwm1-out { 303 pwm1_out: pwm1-out {
311 samsung,pins = "gpd0-1"; 304 samsung,pins = "gpd0-1";
312 samsung,pin-function = <2>; 305 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
313 samsung,pin-pud = <0>; 306 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
314 samsung,pin-drv = <0>; 307 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
315 }; 308 };
316 309
317 lcd_ctrl: lcd-ctrl { 310 lcd_ctrl: lcd-ctrl {
318 samsung,pins = "gpd0-0", "gpd0-1"; 311 samsung,pins = "gpd0-0", "gpd0-1";
319 samsung,pin-function = <3>; 312 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
320 samsung,pin-pud = <0>; 313 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
321 samsung,pin-drv = <0>; 314 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
322 }; 315 };
323 316
324 i2c7_bus: i2c7-bus { 317 i2c7_bus: i2c7-bus {
325 samsung,pins = "gpd0-2", "gpd0-3"; 318 samsung,pins = "gpd0-2", "gpd0-3";
326 samsung,pin-function = <3>; 319 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
327 samsung,pin-pud = <3>; 320 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
328 samsung,pin-drv = <0>; 321 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
329 }; 322 };
330 323
331 pwm2_out: pwm2-out { 324 pwm2_out: pwm2-out {
332 samsung,pins = "gpd0-2"; 325 samsung,pins = "gpd0-2";
333 samsung,pin-function = <2>; 326 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
334 samsung,pin-pud = <0>; 327 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
335 samsung,pin-drv = <0>; 328 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
336 }; 329 };
337 330
338 pwm3_out: pwm3-out { 331 pwm3_out: pwm3-out {
339 samsung,pins = "gpd0-3"; 332 samsung,pins = "gpd0-3";
340 samsung,pin-function = <2>; 333 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
341 samsung,pin-pud = <0>; 334 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
342 samsung,pin-drv = <0>; 335 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
343 }; 336 };
344 337
345 i2c0_bus: i2c0-bus { 338 i2c0_bus: i2c0-bus {
346 samsung,pins = "gpd1-0", "gpd1-1"; 339 samsung,pins = "gpd1-0", "gpd1-1";
347 samsung,pin-function = <2>; 340 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
348 samsung,pin-pud = <3>; 341 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
349 samsung,pin-drv = <0>; 342 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
350 }; 343 };
351 344
352 mipi0_clk: mipi0-clk { 345 mipi0_clk: mipi0-clk {
353 samsung,pins = "gpd1-0", "gpd1-1"; 346 samsung,pins = "gpd1-0", "gpd1-1";
354 samsung,pin-function = <3>; 347 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
355 samsung,pin-pud = <0>; 348 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
356 samsung,pin-drv = <0>; 349 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
357 }; 350 };
358 351
359 i2c1_bus: i2c1-bus { 352 i2c1_bus: i2c1-bus {
360 samsung,pins = "gpd1-2", "gpd1-3"; 353 samsung,pins = "gpd1-2", "gpd1-3";
361 samsung,pin-function = <2>; 354 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
362 samsung,pin-pud = <3>; 355 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
363 samsung,pin-drv = <0>; 356 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
364 }; 357 };
365 358
366 mipi1_clk: mipi1-clk { 359 mipi1_clk: mipi1-clk {
367 samsung,pins = "gpd1-2", "gpd1-3"; 360 samsung,pins = "gpd1-2", "gpd1-3";
368 samsung,pin-function = <3>; 361 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
369 samsung,pin-pud = <0>; 362 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
370 samsung,pin-drv = <0>; 363 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
371 }; 364 };
372 365
373 lcd_clk: lcd-clk { 366 lcd_clk: lcd-clk {
374 samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3"; 367 samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3";
375 samsung,pin-function = <2>; 368 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
376 samsung,pin-pud = <0>; 369 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
377 samsung,pin-drv = <0>; 370 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
378 }; 371 };
379 372
380 lcd_data16: lcd-data-width16 { 373 lcd_data16: lcd-data-width16 {
@@ -382,9 +375,9 @@
382 "gpf1-3", "gpf1-6", "gpf1-7", "gpf2-0", 375 "gpf1-3", "gpf1-6", "gpf1-7", "gpf2-0",
383 "gpf2-1", "gpf2-2", "gpf2-3", "gpf2-7", 376 "gpf2-1", "gpf2-2", "gpf2-3", "gpf2-7",
384 "gpf3-0", "gpf3-1", "gpf3-2", "gpf3-3"; 377 "gpf3-0", "gpf3-1", "gpf3-2", "gpf3-3";
385 samsung,pin-function = <2>; 378 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
386 samsung,pin-pud = <0>; 379 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
387 samsung,pin-drv = <0>; 380 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
388 }; 381 };
389 382
390 lcd_data18: lcd-data-width18 { 383 lcd_data18: lcd-data-width18 {
@@ -393,9 +386,9 @@
393 "gpf2-0", "gpf2-1", "gpf2-2", "gpf2-3", 386 "gpf2-0", "gpf2-1", "gpf2-2", "gpf2-3",
394 "gpf2-6", "gpf2-7", "gpf3-0", "gpf3-1", 387 "gpf2-6", "gpf2-7", "gpf3-0", "gpf3-1",
395 "gpf3-2", "gpf3-3"; 388 "gpf3-2", "gpf3-3";
396 samsung,pin-function = <2>; 389 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
397 samsung,pin-pud = <0>; 390 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
398 samsung,pin-drv = <0>; 391 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
399 }; 392 };
400 393
401 lcd_data24: lcd-data-width24 { 394 lcd_data24: lcd-data-width24 {
@@ -405,39 +398,39 @@
405 "gpf2-0", "gpf2-1", "gpf2-2", "gpf2-3", 398 "gpf2-0", "gpf2-1", "gpf2-2", "gpf2-3",
406 "gpf2-4", "gpf2-5", "gpf2-6", "gpf2-7", 399 "gpf2-4", "gpf2-5", "gpf2-6", "gpf2-7",
407 "gpf3-0", "gpf3-1", "gpf3-2", "gpf3-3"; 400 "gpf3-0", "gpf3-1", "gpf3-2", "gpf3-3";
408 samsung,pin-function = <2>; 401 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
409 samsung,pin-pud = <0>; 402 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
410 samsung,pin-drv = <0>; 403 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
411 }; 404 };
412 405
413 lcd_ldi: lcd-ldi { 406 lcd_ldi: lcd-ldi {
414 samsung,pins = "gpf3-4"; 407 samsung,pins = "gpf3-4";
415 samsung,pin-function = <2>; 408 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
416 samsung,pin-pud = <0>; 409 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
417 samsung,pin-drv = <0>; 410 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
418 }; 411 };
419 412
420 cam_port_a_io: cam-port-a-io { 413 cam_port_a_io: cam-port-a-io {
421 samsung,pins = "gpj0-0", "gpj0-1", "gpj0-2", "gpj0-3", 414 samsung,pins = "gpj0-0", "gpj0-1", "gpj0-2", "gpj0-3",
422 "gpj0-4", "gpj0-5", "gpj0-6", "gpj0-7", 415 "gpj0-4", "gpj0-5", "gpj0-6", "gpj0-7",
423 "gpj1-0", "gpj1-1", "gpj1-2", "gpj1-4"; 416 "gpj1-0", "gpj1-1", "gpj1-2", "gpj1-4";
424 samsung,pin-function = <2>; 417 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
425 samsung,pin-pud = <0>; 418 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
426 samsung,pin-drv = <0>; 419 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
427 }; 420 };
428 421
429 cam_port_a_clk_active: cam-port-a-clk-active { 422 cam_port_a_clk_active: cam-port-a-clk-active {
430 samsung,pins = "gpj1-3"; 423 samsung,pins = "gpj1-3";
431 samsung,pin-function = <2>; 424 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
432 samsung,pin-pud = <0>; 425 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
433 samsung,pin-drv = <3>; 426 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
434 }; 427 };
435 428
436 cam_port_a_clk_idle: cam-port-a-clk-idle { 429 cam_port_a_clk_idle: cam-port-a-clk-idle {
437 samsung,pins = "gpj1-3"; 430 samsung,pins = "gpj1-3";
438 samsung,pin-function = <0>; 431 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
439 samsung,pin-pud = <1>; 432 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
440 samsung,pin-drv = <0>; 433 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
441 }; 434 };
442 }; 435 };
443 436
@@ -613,284 +606,284 @@
613 606
614 sd0_clk: sd0-clk { 607 sd0_clk: sd0-clk {
615 samsung,pins = "gpk0-0"; 608 samsung,pins = "gpk0-0";
616 samsung,pin-function = <2>; 609 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
617 samsung,pin-pud = <0>; 610 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
618 samsung,pin-drv = <3>; 611 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
619 }; 612 };
620 613
621 sd0_cmd: sd0-cmd { 614 sd0_cmd: sd0-cmd {
622 samsung,pins = "gpk0-1"; 615 samsung,pins = "gpk0-1";
623 samsung,pin-function = <2>; 616 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
624 samsung,pin-pud = <0>; 617 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
625 samsung,pin-drv = <3>; 618 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
626 }; 619 };
627 620
628 sd0_cd: sd0-cd { 621 sd0_cd: sd0-cd {
629 samsung,pins = "gpk0-2"; 622 samsung,pins = "gpk0-2";
630 samsung,pin-function = <2>; 623 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
631 samsung,pin-pud = <3>; 624 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
632 samsung,pin-drv = <3>; 625 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
633 }; 626 };
634 627
635 sd0_bus1: sd0-bus-width1 { 628 sd0_bus1: sd0-bus-width1 {
636 samsung,pins = "gpk0-3"; 629 samsung,pins = "gpk0-3";
637 samsung,pin-function = <2>; 630 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
638 samsung,pin-pud = <3>; 631 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
639 samsung,pin-drv = <3>; 632 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
640 }; 633 };
641 634
642 sd0_bus4: sd0-bus-width4 { 635 sd0_bus4: sd0-bus-width4 {
643 samsung,pins = "gpk0-3", "gpk0-4", "gpk0-5", "gpk0-6"; 636 samsung,pins = "gpk0-3", "gpk0-4", "gpk0-5", "gpk0-6";
644 samsung,pin-function = <2>; 637 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
645 samsung,pin-pud = <3>; 638 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
646 samsung,pin-drv = <3>; 639 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
647 }; 640 };
648 641
649 sd0_bus8: sd0-bus-width8 { 642 sd0_bus8: sd0-bus-width8 {
650 samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6"; 643 samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6";
651 samsung,pin-function = <3>; 644 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
652 samsung,pin-pud = <3>; 645 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
653 samsung,pin-drv = <3>; 646 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
654 }; 647 };
655 648
656 sd4_clk: sd4-clk { 649 sd4_clk: sd4-clk {
657 samsung,pins = "gpk0-0"; 650 samsung,pins = "gpk0-0";
658 samsung,pin-function = <3>; 651 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
659 samsung,pin-pud = <0>; 652 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
660 samsung,pin-drv = <3>; 653 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
661 }; 654 };
662 655
663 sd4_cmd: sd4-cmd { 656 sd4_cmd: sd4-cmd {
664 samsung,pins = "gpk0-1"; 657 samsung,pins = "gpk0-1";
665 samsung,pin-function = <3>; 658 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
666 samsung,pin-pud = <0>; 659 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
667 samsung,pin-drv = <3>; 660 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
668 }; 661 };
669 662
670 sd4_cd: sd4-cd { 663 sd4_cd: sd4-cd {
671 samsung,pins = "gpk0-2"; 664 samsung,pins = "gpk0-2";
672 samsung,pin-function = <3>; 665 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
673 samsung,pin-pud = <3>; 666 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
674 samsung,pin-drv = <3>; 667 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
675 }; 668 };
676 669
677 sd4_bus1: sd4-bus-width1 { 670 sd4_bus1: sd4-bus-width1 {
678 samsung,pins = "gpk0-3"; 671 samsung,pins = "gpk0-3";
679 samsung,pin-function = <3>; 672 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
680 samsung,pin-pud = <3>; 673 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
681 samsung,pin-drv = <3>; 674 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
682 }; 675 };
683 676
684 sd4_bus4: sd4-bus-width4 { 677 sd4_bus4: sd4-bus-width4 {
685 samsung,pins = "gpk0-3", "gpk0-4", "gpk0-5", "gpk0-6"; 678 samsung,pins = "gpk0-3", "gpk0-4", "gpk0-5", "gpk0-6";
686 samsung,pin-function = <3>; 679 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
687 samsung,pin-pud = <3>; 680 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
688 samsung,pin-drv = <3>; 681 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
689 }; 682 };
690 683
691 sd4_bus8: sd4-bus-width8 { 684 sd4_bus8: sd4-bus-width8 {
692 samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6"; 685 samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6";
693 samsung,pin-function = <4>; 686 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
694 samsung,pin-pud = <3>; 687 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
695 samsung,pin-drv = <3>; 688 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
696 }; 689 };
697 690
698 sd1_clk: sd1-clk { 691 sd1_clk: sd1-clk {
699 samsung,pins = "gpk1-0"; 692 samsung,pins = "gpk1-0";
700 samsung,pin-function = <2>; 693 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
701 samsung,pin-pud = <0>; 694 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
702 samsung,pin-drv = <3>; 695 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
703 }; 696 };
704 697
705 sd1_cmd: sd1-cmd { 698 sd1_cmd: sd1-cmd {
706 samsung,pins = "gpk1-1"; 699 samsung,pins = "gpk1-1";
707 samsung,pin-function = <2>; 700 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
708 samsung,pin-pud = <0>; 701 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
709 samsung,pin-drv = <3>; 702 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
710 }; 703 };
711 704
712 sd1_cd: sd1-cd { 705 sd1_cd: sd1-cd {
713 samsung,pins = "gpk1-2"; 706 samsung,pins = "gpk1-2";
714 samsung,pin-function = <2>; 707 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
715 samsung,pin-pud = <3>; 708 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
716 samsung,pin-drv = <3>; 709 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
717 }; 710 };
718 711
719 sd1_bus1: sd1-bus-width1 { 712 sd1_bus1: sd1-bus-width1 {
720 samsung,pins = "gpk1-3"; 713 samsung,pins = "gpk1-3";
721 samsung,pin-function = <2>; 714 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
722 samsung,pin-pud = <3>; 715 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
723 samsung,pin-drv = <3>; 716 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
724 }; 717 };
725 718
726 sd1_bus4: sd1-bus-width4 { 719 sd1_bus4: sd1-bus-width4 {
727 samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6"; 720 samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6";
728 samsung,pin-function = <2>; 721 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
729 samsung,pin-pud = <3>; 722 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
730 samsung,pin-drv = <3>; 723 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
731 }; 724 };
732 725
733 sd2_clk: sd2-clk { 726 sd2_clk: sd2-clk {
734 samsung,pins = "gpk2-0"; 727 samsung,pins = "gpk2-0";
735 samsung,pin-function = <2>; 728 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
736 samsung,pin-pud = <0>; 729 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
737 samsung,pin-drv = <3>; 730 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
738 }; 731 };
739 732
740 sd2_cmd: sd2-cmd { 733 sd2_cmd: sd2-cmd {
741 samsung,pins = "gpk2-1"; 734 samsung,pins = "gpk2-1";
742 samsung,pin-function = <2>; 735 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
743 samsung,pin-pud = <0>; 736 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
744 samsung,pin-drv = <3>; 737 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
745 }; 738 };
746 739
747 sd2_cd: sd2-cd { 740 sd2_cd: sd2-cd {
748 samsung,pins = "gpk2-2"; 741 samsung,pins = "gpk2-2";
749 samsung,pin-function = <2>; 742 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
750 samsung,pin-pud = <3>; 743 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
751 samsung,pin-drv = <3>; 744 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
752 }; 745 };
753 746
754 sd2_bus1: sd2-bus-width1 { 747 sd2_bus1: sd2-bus-width1 {
755 samsung,pins = "gpk2-3"; 748 samsung,pins = "gpk2-3";
756 samsung,pin-function = <2>; 749 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
757 samsung,pin-pud = <3>; 750 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
758 samsung,pin-drv = <3>; 751 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
759 }; 752 };
760 753
761 sd2_bus4: sd2-bus-width4 { 754 sd2_bus4: sd2-bus-width4 {
762 samsung,pins = "gpk2-3", "gpk2-4", "gpk2-5", "gpk2-6"; 755 samsung,pins = "gpk2-3", "gpk2-4", "gpk2-5", "gpk2-6";
763 samsung,pin-function = <2>; 756 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
764 samsung,pin-pud = <3>; 757 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
765 samsung,pin-drv = <3>; 758 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
766 }; 759 };
767 760
768 sd2_bus8: sd2-bus-width8 { 761 sd2_bus8: sd2-bus-width8 {
769 samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6"; 762 samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6";
770 samsung,pin-function = <3>; 763 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
771 samsung,pin-pud = <3>; 764 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
772 samsung,pin-drv = <3>; 765 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
773 }; 766 };
774 767
775 sd3_clk: sd3-clk { 768 sd3_clk: sd3-clk {
776 samsung,pins = "gpk3-0"; 769 samsung,pins = "gpk3-0";
777 samsung,pin-function = <2>; 770 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
778 samsung,pin-pud = <0>; 771 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
779 samsung,pin-drv = <3>; 772 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
780 }; 773 };
781 774
782 sd3_cmd: sd3-cmd { 775 sd3_cmd: sd3-cmd {
783 samsung,pins = "gpk3-1"; 776 samsung,pins = "gpk3-1";
784 samsung,pin-function = <2>; 777 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
785 samsung,pin-pud = <0>; 778 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
786 samsung,pin-drv = <3>; 779 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
787 }; 780 };
788 781
789 sd3_cd: sd3-cd { 782 sd3_cd: sd3-cd {
790 samsung,pins = "gpk3-2"; 783 samsung,pins = "gpk3-2";
791 samsung,pin-function = <2>; 784 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
792 samsung,pin-pud = <3>; 785 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
793 samsung,pin-drv = <3>; 786 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
794 }; 787 };
795 788
796 sd3_bus1: sd3-bus-width1 { 789 sd3_bus1: sd3-bus-width1 {
797 samsung,pins = "gpk3-3"; 790 samsung,pins = "gpk3-3";
798 samsung,pin-function = <2>; 791 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
799 samsung,pin-pud = <3>; 792 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
800 samsung,pin-drv = <3>; 793 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
801 }; 794 };
802 795
803 sd3_bus4: sd3-bus-width4 { 796 sd3_bus4: sd3-bus-width4 {
804 samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6"; 797 samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6";
805 samsung,pin-function = <2>; 798 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
806 samsung,pin-pud = <3>; 799 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
807 samsung,pin-drv = <3>; 800 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
808 }; 801 };
809 802
810 cam_port_b_io: cam-port-b-io { 803 cam_port_b_io: cam-port-b-io {
811 samsung,pins = "gpm0-0", "gpm0-1", "gpm0-2", "gpm0-3", 804 samsung,pins = "gpm0-0", "gpm0-1", "gpm0-2", "gpm0-3",
812 "gpm0-4", "gpm0-5", "gpm0-6", "gpm0-7", 805 "gpm0-4", "gpm0-5", "gpm0-6", "gpm0-7",
813 "gpm1-0", "gpm1-1", "gpm2-0", "gpm2-1"; 806 "gpm1-0", "gpm1-1", "gpm2-0", "gpm2-1";
814 samsung,pin-function = <3>; 807 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
815 samsung,pin-pud = <3>; 808 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
816 samsung,pin-drv = <0>; 809 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
817 }; 810 };
818 811
819 cam_port_b_clk_active: cam-port-b-clk-active { 812 cam_port_b_clk_active: cam-port-b-clk-active {
820 samsung,pins = "gpm2-2"; 813 samsung,pins = "gpm2-2";
821 samsung,pin-function = <3>; 814 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
822 samsung,pin-pud = <0>; 815 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
823 samsung,pin-drv = <3>; 816 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
824 }; 817 };
825 818
826 cam_port_b_clk_idle: cam-port-b-clk-idle { 819 cam_port_b_clk_idle: cam-port-b-clk-idle {
827 samsung,pins = "gpm2-2"; 820 samsung,pins = "gpm2-2";
828 samsung,pin-function = <0>; 821 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
829 samsung,pin-pud = <1>; 822 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
830 samsung,pin-drv = <0>; 823 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
831 }; 824 };
832 825
833 eint0: ext-int0 { 826 eint0: ext-int0 {
834 samsung,pins = "gpx0-0"; 827 samsung,pins = "gpx0-0";
835 samsung,pin-function = <0xf>; 828 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
836 samsung,pin-pud = <0>; 829 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
837 samsung,pin-drv = <0>; 830 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
838 }; 831 };
839 832
840 eint8: ext-int8 { 833 eint8: ext-int8 {
841 samsung,pins = "gpx1-0"; 834 samsung,pins = "gpx1-0";
842 samsung,pin-function = <0xf>; 835 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
843 samsung,pin-pud = <0>; 836 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
844 samsung,pin-drv = <0>; 837 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
845 }; 838 };
846 839
847 eint15: ext-int15 { 840 eint15: ext-int15 {
848 samsung,pins = "gpx1-7"; 841 samsung,pins = "gpx1-7";
849 samsung,pin-function = <0xf>; 842 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
850 samsung,pin-pud = <0>; 843 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
851 samsung,pin-drv = <0>; 844 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
852 }; 845 };
853 846
854 eint16: ext-int16 { 847 eint16: ext-int16 {
855 samsung,pins = "gpx2-0"; 848 samsung,pins = "gpx2-0";
856 samsung,pin-function = <0xf>; 849 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
857 samsung,pin-pud = <0>; 850 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
858 samsung,pin-drv = <0>; 851 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
859 }; 852 };
860 853
861 eint31: ext-int31 { 854 eint31: ext-int31 {
862 samsung,pins = "gpx3-7"; 855 samsung,pins = "gpx3-7";
863 samsung,pin-function = <0xf>; 856 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
864 samsung,pin-pud = <0>; 857 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
865 samsung,pin-drv = <0>; 858 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
866 }; 859 };
867 860
868 fimc_is_i2c0: fimc-is-i2c0 { 861 fimc_is_i2c0: fimc-is-i2c0 {
869 samsung,pins = "gpm4-0", "gpm4-1"; 862 samsung,pins = "gpm4-0", "gpm4-1";
870 samsung,pin-function = <2>; 863 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
871 samsung,pin-pud = <0>; 864 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
872 samsung,pin-drv = <0>; 865 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
873 }; 866 };
874 867
875 fimc_is_i2c1: fimc-is-i2c1 { 868 fimc_is_i2c1: fimc-is-i2c1 {
876 samsung,pins = "gpm4-2", "gpm4-3"; 869 samsung,pins = "gpm4-2", "gpm4-3";
877 samsung,pin-function = <2>; 870 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
878 samsung,pin-pud = <0>; 871 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
879 samsung,pin-drv = <0>; 872 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
880 }; 873 };
881 874
882 fimc_is_uart: fimc-is-uart { 875 fimc_is_uart: fimc-is-uart {
883 samsung,pins = "gpm3-5", "gpm3-7"; 876 samsung,pins = "gpm3-5", "gpm3-7";
884 samsung,pin-function = <3>; 877 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
885 samsung,pin-pud = <0>; 878 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
886 samsung,pin-drv = <0>; 879 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
887 }; 880 };
888 881
889 hdmi_cec: hdmi-cec { 882 hdmi_cec: hdmi-cec {
890 samsung,pins = "gpx3-6"; 883 samsung,pins = "gpx3-6";
891 samsung,pin-function = <3>; 884 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
892 samsung,pin-pud = <0>; 885 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
893 samsung,pin-drv = <0>; 886 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
894 }; 887 };
895 }; 888 };
896 889
@@ -906,17 +899,17 @@
906 i2s0_bus: i2s0-bus { 899 i2s0_bus: i2s0-bus {
907 samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3", 900 samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3",
908 "gpz-4", "gpz-5", "gpz-6"; 901 "gpz-4", "gpz-5", "gpz-6";
909 samsung,pin-function = <0x2>; 902 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
910 samsung,pin-pud = <0>; 903 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
911 samsung,pin-drv = <0>; 904 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
912 }; 905 };
913 906
914 pcm0_bus: pcm0-bus { 907 pcm0_bus: pcm0-bus {
915 samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3", 908 samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3",
916 "gpz-4"; 909 "gpz-4";
917 samsung,pin-function = <0x3>; 910 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
918 samsung,pin-pud = <0>; 911 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
919 samsung,pin-drv = <0>; 912 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
920 }; 913 };
921 }; 914 };
922 915
@@ -971,9 +964,9 @@
971 "gpv3-0", "gpv3-1", "gpv3-2", "gpv3-3", 964 "gpv3-0", "gpv3-1", "gpv3-2", "gpv3-3",
972 "gpv3-4", "gpv3-5", "gpv3-6", "gpv3-7", 965 "gpv3-4", "gpv3-5", "gpv3-6", "gpv3-7",
973 "gpv4-0", "gpv4-1"; 966 "gpv4-0", "gpv4-1";
974 samsung,pin-function = <0x2>; 967 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
975 samsung,pin-pud = <0>; 968 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
976 samsung,pin-drv = <0>; 969 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
977 }; 970 };
978 }; 971 };
979}; 972};
diff --git a/arch/arm/boot/dts/exynos5250-pinctrl.dtsi b/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
index 880917e508b2..2f6ab32b5954 100644
--- a/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
+++ b/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
@@ -12,6 +12,8 @@
12 * published by the Free Software Foundation. 12 * published by the Free Software Foundation.
13*/ 13*/
14 14
15#include <dt-bindings/pinctrl/samsung.h>
16
15&pinctrl_0 { 17&pinctrl_0 {
16 gpa0: gpa0 { 18 gpa0: gpa0 {
17 gpio-controller; 19 gpio-controller;
@@ -200,392 +202,392 @@
200 202
201 uart0_data: uart0-data { 203 uart0_data: uart0-data {
202 samsung,pins = "gpa0-0", "gpa0-1"; 204 samsung,pins = "gpa0-0", "gpa0-1";
203 samsung,pin-function = <2>; 205 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
204 samsung,pin-pud = <0>; 206 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
205 samsung,pin-drv = <0>; 207 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
206 }; 208 };
207 209
208 uart0_fctl: uart0-fctl { 210 uart0_fctl: uart0-fctl {
209 samsung,pins = "gpa0-2", "gpa0-3"; 211 samsung,pins = "gpa0-2", "gpa0-3";
210 samsung,pin-function = <2>; 212 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
211 samsung,pin-pud = <0>; 213 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
212 samsung,pin-drv = <0>; 214 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
213 }; 215 };
214 216
215 i2c2_bus: i2c2-bus { 217 i2c2_bus: i2c2-bus {
216 samsung,pins = "gpa0-6", "gpa0-7"; 218 samsung,pins = "gpa0-6", "gpa0-7";
217 samsung,pin-function = <3>; 219 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
218 samsung,pin-pud = <3>; 220 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
219 samsung,pin-drv = <0>; 221 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
220 }; 222 };
221 223
222 i2c2_hs_bus: i2c2-hs-bus { 224 i2c2_hs_bus: i2c2-hs-bus {
223 samsung,pins = "gpa0-6", "gpa0-7"; 225 samsung,pins = "gpa0-6", "gpa0-7";
224 samsung,pin-function = <4>; 226 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
225 samsung,pin-pud = <3>; 227 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
226 samsung,pin-drv = <0>; 228 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
227 }; 229 };
228 230
229 uart2_data: uart2-data { 231 uart2_data: uart2-data {
230 samsung,pins = "gpa1-0", "gpa1-1"; 232 samsung,pins = "gpa1-0", "gpa1-1";
231 samsung,pin-function = <2>; 233 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
232 samsung,pin-pud = <0>; 234 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
233 samsung,pin-drv = <0>; 235 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
234 }; 236 };
235 237
236 uart2_fctl: uart2-fctl { 238 uart2_fctl: uart2-fctl {
237 samsung,pins = "gpa1-2", "gpa1-3"; 239 samsung,pins = "gpa1-2", "gpa1-3";
238 samsung,pin-function = <2>; 240 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
239 samsung,pin-pud = <0>; 241 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
240 samsung,pin-drv = <0>; 242 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
241 }; 243 };
242 244
243 i2c3_bus: i2c3-bus { 245 i2c3_bus: i2c3-bus {
244 samsung,pins = "gpa1-2", "gpa1-3"; 246 samsung,pins = "gpa1-2", "gpa1-3";
245 samsung,pin-function = <3>; 247 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
246 samsung,pin-pud = <3>; 248 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
247 samsung,pin-drv = <0>; 249 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
248 }; 250 };
249 251
250 i2c3_hs_bus: i2c3-hs-bus { 252 i2c3_hs_bus: i2c3-hs-bus {
251 samsung,pins = "gpa1-2", "gpa1-3"; 253 samsung,pins = "gpa1-2", "gpa1-3";
252 samsung,pin-function = <4>; 254 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
253 samsung,pin-pud = <3>; 255 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
254 samsung,pin-drv = <0>; 256 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
255 }; 257 };
256 258
257 uart3_data: uart3-data { 259 uart3_data: uart3-data {
258 samsung,pins = "gpa1-4", "gpa1-4"; 260 samsung,pins = "gpa1-4", "gpa1-4";
259 samsung,pin-function = <2>; 261 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
260 samsung,pin-pud = <0>; 262 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
261 samsung,pin-drv = <0>; 263 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
262 }; 264 };
263 265
264 spi0_bus: spi0-bus { 266 spi0_bus: spi0-bus {
265 samsung,pins = "gpa2-0", "gpa2-2", "gpa2-3"; 267 samsung,pins = "gpa2-0", "gpa2-2", "gpa2-3";
266 samsung,pin-function = <2>; 268 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
267 samsung,pin-pud = <3>; 269 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
268 samsung,pin-drv = <0>; 270 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
269 }; 271 };
270 272
271 i2c4_bus: i2c4-bus { 273 i2c4_bus: i2c4-bus {
272 samsung,pins = "gpa2-0", "gpa2-1"; 274 samsung,pins = "gpa2-0", "gpa2-1";
273 samsung,pin-function = <3>; 275 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
274 samsung,pin-pud = <3>; 276 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
275 samsung,pin-drv = <0>; 277 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
276 }; 278 };
277 279
278 i2c5_bus: i2c5-bus { 280 i2c5_bus: i2c5-bus {
279 samsung,pins = "gpa2-2", "gpa2-3"; 281 samsung,pins = "gpa2-2", "gpa2-3";
280 samsung,pin-function = <3>; 282 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
281 samsung,pin-pud = <3>; 283 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
282 samsung,pin-drv = <0>; 284 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
283 }; 285 };
284 286
285 spi1_bus: spi1-bus { 287 spi1_bus: spi1-bus {
286 samsung,pins = "gpa2-4", "gpa2-6", "gpa2-7"; 288 samsung,pins = "gpa2-4", "gpa2-6", "gpa2-7";
287 samsung,pin-function = <2>; 289 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
288 samsung,pin-pud = <3>; 290 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
289 samsung,pin-drv = <0>; 291 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
290 }; 292 };
291 293
292 i2s1_bus: i2s1-bus { 294 i2s1_bus: i2s1-bus {
293 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3", 295 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
294 "gpb0-4"; 296 "gpb0-4";
295 samsung,pin-function = <2>; 297 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
296 samsung,pin-pud = <0>; 298 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
297 samsung,pin-drv = <0>; 299 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
298 }; 300 };
299 301
300 pcm1_bus: pcm1-bus { 302 pcm1_bus: pcm1-bus {
301 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3", 303 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
302 "gpb0-4"; 304 "gpb0-4";
303 samsung,pin-function = <3>; 305 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
304 samsung,pin-pud = <0>; 306 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
305 samsung,pin-drv = <0>; 307 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
306 }; 308 };
307 309
308 ac97_bus: ac97-bus { 310 ac97_bus: ac97-bus {
309 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3", 311 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
310 "gpb0-4"; 312 "gpb0-4";
311 samsung,pin-function = <4>; 313 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
312 samsung,pin-pud = <0>; 314 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
313 samsung,pin-drv = <0>; 315 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
314 }; 316 };
315 317
316 i2s2_bus: i2s2-bus { 318 i2s2_bus: i2s2-bus {
317 samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3", 319 samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3",
318 "gpb1-4"; 320 "gpb1-4";
319 samsung,pin-function = <2>; 321 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
320 samsung,pin-pud = <0>; 322 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
321 samsung,pin-drv = <0>; 323 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
322 }; 324 };
323 325
324 pcm2_bus: pcm2-bus { 326 pcm2_bus: pcm2-bus {
325 samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3", 327 samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3",
326 "gpb1-4"; 328 "gpb1-4";
327 samsung,pin-function = <3>; 329 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
328 samsung,pin-pud = <0>; 330 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
329 samsung,pin-drv = <0>; 331 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
330 }; 332 };
331 333
332 spdif_bus: spdif-bus { 334 spdif_bus: spdif-bus {
333 samsung,pins = "gpb1-0", "gpb1-1"; 335 samsung,pins = "gpb1-0", "gpb1-1";
334 samsung,pin-function = <4>; 336 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
335 samsung,pin-pud = <0>; 337 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
336 samsung,pin-drv = <0>; 338 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
337 }; 339 };
338 340
339 spi2_bus: spi2-bus { 341 spi2_bus: spi2-bus {
340 samsung,pins = "gpb1-1", "gpb1-3", "gpb1-4"; 342 samsung,pins = "gpb1-1", "gpb1-3", "gpb1-4";
341 samsung,pin-function = <5>; 343 samsung,pin-function = <EXYNOS_PIN_FUNC_5>;
342 samsung,pin-pud = <3>; 344 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
343 samsung,pin-drv = <0>; 345 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
344 }; 346 };
345 347
346 i2c6_bus: i2c6-bus { 348 i2c6_bus: i2c6-bus {
347 samsung,pins = "gpb1-3", "gpb1-4"; 349 samsung,pins = "gpb1-3", "gpb1-4";
348 samsung,pin-function = <4>; 350 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
349 samsung,pin-pud = <3>; 351 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
350 samsung,pin-drv = <0>; 352 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
351 }; 353 };
352 354
353 pwm0_out: pwm0-out { 355 pwm0_out: pwm0-out {
354 samsung,pins = "gpb2-0"; 356 samsung,pins = "gpb2-0";
355 samsung,pin-function = <2>; 357 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
356 samsung,pin-pud = <0>; 358 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
357 samsung,pin-drv = <0>; 359 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
358 }; 360 };
359 361
360 pwm1_out: pwm1-out { 362 pwm1_out: pwm1-out {
361 samsung,pins = "gpb2-1"; 363 samsung,pins = "gpb2-1";
362 samsung,pin-function = <2>; 364 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
363 samsung,pin-pud = <0>; 365 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
364 samsung,pin-drv = <0>; 366 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
365 }; 367 };
366 368
367 pwm2_out: pwm2-out { 369 pwm2_out: pwm2-out {
368 samsung,pins = "gpb2-2"; 370 samsung,pins = "gpb2-2";
369 samsung,pin-function = <2>; 371 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
370 samsung,pin-pud = <0>; 372 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
371 samsung,pin-drv = <0>; 373 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
372 }; 374 };
373 375
374 pwm3_out: pwm3-out { 376 pwm3_out: pwm3-out {
375 samsung,pins = "gpb2-3"; 377 samsung,pins = "gpb2-3";
376 samsung,pin-function = <2>; 378 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
377 samsung,pin-pud = <0>; 379 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
378 samsung,pin-drv = <0>; 380 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
379 }; 381 };
380 382
381 i2c7_bus: i2c7-bus { 383 i2c7_bus: i2c7-bus {
382 samsung,pins = "gpb2-2", "gpb2-3"; 384 samsung,pins = "gpb2-2", "gpb2-3";
383 samsung,pin-function = <3>; 385 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
384 samsung,pin-pud = <3>; 386 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
385 samsung,pin-drv = <0>; 387 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
386 }; 388 };
387 389
388 i2c0_bus: i2c0-bus { 390 i2c0_bus: i2c0-bus {
389 samsung,pins = "gpb3-0", "gpb3-1"; 391 samsung,pins = "gpb3-0", "gpb3-1";
390 samsung,pin-function = <2>; 392 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
391 samsung,pin-pud = <3>; 393 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
392 samsung,pin-drv = <0>; 394 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
393 }; 395 };
394 396
395 i2c1_bus: i2c1-bus { 397 i2c1_bus: i2c1-bus {
396 samsung,pins = "gpb3-2", "gpb3-3"; 398 samsung,pins = "gpb3-2", "gpb3-3";
397 samsung,pin-function = <2>; 399 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
398 samsung,pin-pud = <3>; 400 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
399 samsung,pin-drv = <0>; 401 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
400 }; 402 };
401 403
402 i2c0_hs_bus: i2c0-hs-bus { 404 i2c0_hs_bus: i2c0-hs-bus {
403 samsung,pins = "gpb3-0", "gpb3-1"; 405 samsung,pins = "gpb3-0", "gpb3-1";
404 samsung,pin-function = <4>; 406 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
405 samsung,pin-pud = <3>; 407 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
406 samsung,pin-drv = <0>; 408 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
407 }; 409 };
408 410
409 i2c1_hs_bus: i2c1-hs-bus { 411 i2c1_hs_bus: i2c1-hs-bus {
410 samsung,pins = "gpb3-2", "gpb3-3"; 412 samsung,pins = "gpb3-2", "gpb3-3";
411 samsung,pin-function = <4>; 413 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
412 samsung,pin-pud = <3>; 414 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
413 samsung,pin-drv = <0>; 415 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
414 }; 416 };
415 417
416 sd0_clk: sd0-clk { 418 sd0_clk: sd0-clk {
417 samsung,pins = "gpc0-0"; 419 samsung,pins = "gpc0-0";
418 samsung,pin-function = <2>; 420 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
419 samsung,pin-pud = <0>; 421 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
420 samsung,pin-drv = <3>; 422 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
421 }; 423 };
422 424
423 sd0_cmd: sd0-cmd { 425 sd0_cmd: sd0-cmd {
424 samsung,pins = "gpc0-1"; 426 samsung,pins = "gpc0-1";
425 samsung,pin-function = <2>; 427 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
426 samsung,pin-pud = <0>; 428 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
427 samsung,pin-drv = <3>; 429 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
428 }; 430 };
429 431
430 sd0_cd: sd0-cd { 432 sd0_cd: sd0-cd {
431 samsung,pins = "gpc0-2"; 433 samsung,pins = "gpc0-2";
432 samsung,pin-function = <2>; 434 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
433 samsung,pin-pud = <3>; 435 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
434 samsung,pin-drv = <3>; 436 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
435 }; 437 };
436 438
437 sd0_bus1: sd0-bus-width1 { 439 sd0_bus1: sd0-bus-width1 {
438 samsung,pins = "gpc0-3"; 440 samsung,pins = "gpc0-3";
439 samsung,pin-function = <2>; 441 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
440 samsung,pin-pud = <3>; 442 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
441 samsung,pin-drv = <3>; 443 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
442 }; 444 };
443 445
444 sd0_bus4: sd0-bus-width4 { 446 sd0_bus4: sd0-bus-width4 {
445 samsung,pins = "gpc0-3", "gpc0-4", "gpc0-5", "gpc0-6"; 447 samsung,pins = "gpc0-3", "gpc0-4", "gpc0-5", "gpc0-6";
446 samsung,pin-function = <2>; 448 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
447 samsung,pin-pud = <3>; 449 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
448 samsung,pin-drv = <3>; 450 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
449 }; 451 };
450 452
451 sd0_bus8: sd0-bus-width8 { 453 sd0_bus8: sd0-bus-width8 {
452 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3"; 454 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3";
453 samsung,pin-function = <2>; 455 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
454 samsung,pin-pud = <3>; 456 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
455 samsung,pin-drv = <3>; 457 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
456 }; 458 };
457 459
458 sd1_clk: sd1-clk { 460 sd1_clk: sd1-clk {
459 samsung,pins = "gpc2-0"; 461 samsung,pins = "gpc2-0";
460 samsung,pin-function = <2>; 462 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
461 samsung,pin-pud = <0>; 463 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
462 samsung,pin-drv = <3>; 464 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
463 }; 465 };
464 466
465 sd1_cmd: sd1-cmd { 467 sd1_cmd: sd1-cmd {
466 samsung,pins = "gpc2-1"; 468 samsung,pins = "gpc2-1";
467 samsung,pin-function = <2>; 469 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
468 samsung,pin-pud = <0>; 470 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
469 samsung,pin-drv = <3>; 471 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
470 }; 472 };
471 473
472 sd1_cd: sd1-cd { 474 sd1_cd: sd1-cd {
473 samsung,pins = "gpc2-2"; 475 samsung,pins = "gpc2-2";
474 samsung,pin-function = <2>; 476 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
475 samsung,pin-pud = <3>; 477 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
476 samsung,pin-drv = <3>; 478 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
477 }; 479 };
478 480
479 sd1_bus1: sd1-bus-width1 { 481 sd1_bus1: sd1-bus-width1 {
480 samsung,pins = "gpc2-3"; 482 samsung,pins = "gpc2-3";
481 samsung,pin-function = <2>; 483 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
482 samsung,pin-pud = <3>; 484 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
483 samsung,pin-drv = <3>; 485 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
484 }; 486 };
485 487
486 sd1_bus4: sd1-bus-width4 { 488 sd1_bus4: sd1-bus-width4 {
487 samsung,pins = "gpc2-3", "gpc2-4", "gpc2-5", "gpc2-6"; 489 samsung,pins = "gpc2-3", "gpc2-4", "gpc2-5", "gpc2-6";
488 samsung,pin-function = <2>; 490 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
489 samsung,pin-pud = <3>; 491 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
490 samsung,pin-drv = <3>; 492 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
491 }; 493 };
492 494
493 sd2_clk: sd2-clk { 495 sd2_clk: sd2-clk {
494 samsung,pins = "gpc3-0"; 496 samsung,pins = "gpc3-0";
495 samsung,pin-function = <2>; 497 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
496 samsung,pin-pud = <0>; 498 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
497 samsung,pin-drv = <3>; 499 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
498 }; 500 };
499 501
500 sd2_cmd: sd2-cmd { 502 sd2_cmd: sd2-cmd {
501 samsung,pins = "gpc3-1"; 503 samsung,pins = "gpc3-1";
502 samsung,pin-function = <2>; 504 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
503 samsung,pin-pud = <0>; 505 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
504 samsung,pin-drv = <3>; 506 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
505 }; 507 };
506 508
507 sd2_cd: sd2-cd { 509 sd2_cd: sd2-cd {
508 samsung,pins = "gpc3-2"; 510 samsung,pins = "gpc3-2";
509 samsung,pin-function = <2>; 511 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
510 samsung,pin-pud = <3>; 512 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
511 samsung,pin-drv = <3>; 513 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
512 }; 514 };
513 515
514 sd2_bus1: sd2-bus-width1 { 516 sd2_bus1: sd2-bus-width1 {
515 samsung,pins = "gpc3-3"; 517 samsung,pins = "gpc3-3";
516 samsung,pin-function = <2>; 518 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
517 samsung,pin-pud = <3>; 519 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
518 samsung,pin-drv = <3>; 520 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
519 }; 521 };
520 522
521 sd2_bus4: sd2-bus-width4 { 523 sd2_bus4: sd2-bus-width4 {
522 samsung,pins = "gpc3-3", "gpc3-4", "gpc3-5", "gpc3-6"; 524 samsung,pins = "gpc3-3", "gpc3-4", "gpc3-5", "gpc3-6";
523 samsung,pin-function = <2>; 525 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
524 samsung,pin-pud = <3>; 526 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
525 samsung,pin-drv = <3>; 527 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
526 }; 528 };
527 529
528 sd2_bus8: sd2-bus-width8 { 530 sd2_bus8: sd2-bus-width8 {
529 samsung,pins = "gpc4-3", "gpc4-4", "gpc4-5", "gpc4-6"; 531 samsung,pins = "gpc4-3", "gpc4-4", "gpc4-5", "gpc4-6";
530 samsung,pin-function = <3>; 532 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
531 samsung,pin-pud = <3>; 533 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
532 samsung,pin-drv = <3>; 534 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
533 }; 535 };
534 536
535 sd3_clk: sd3-clk { 537 sd3_clk: sd3-clk {
536 samsung,pins = "gpc4-0"; 538 samsung,pins = "gpc4-0";
537 samsung,pin-function = <2>; 539 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
538 samsung,pin-pud = <0>; 540 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
539 samsung,pin-drv = <3>; 541 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
540 }; 542 };
541 543
542 sd3_cmd: sd3-cmd { 544 sd3_cmd: sd3-cmd {
543 samsung,pins = "gpc4-1"; 545 samsung,pins = "gpc4-1";
544 samsung,pin-function = <2>; 546 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
545 samsung,pin-pud = <0>; 547 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
546 samsung,pin-drv = <3>; 548 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
547 }; 549 };
548 550
549 sd3_cd: sd3-cd { 551 sd3_cd: sd3-cd {
550 samsung,pins = "gpc4-2"; 552 samsung,pins = "gpc4-2";
551 samsung,pin-function = <2>; 553 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
552 samsung,pin-pud = <3>; 554 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
553 samsung,pin-drv = <3>; 555 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
554 }; 556 };
555 557
556 sd3_bus1: sd3-bus-width1 { 558 sd3_bus1: sd3-bus-width1 {
557 samsung,pins = "gpc4-3"; 559 samsung,pins = "gpc4-3";
558 samsung,pin-function = <2>; 560 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
559 samsung,pin-pud = <3>; 561 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
560 samsung,pin-drv = <3>; 562 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
561 }; 563 };
562 564
563 sd3_bus4: sd3-bus-width4 { 565 sd3_bus4: sd3-bus-width4 {
564 samsung,pins = "gpc4-3", "gpc4-4", "gpc4-5", "gpc4-6"; 566 samsung,pins = "gpc4-3", "gpc4-4", "gpc4-5", "gpc4-6";
565 samsung,pin-function = <2>; 567 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
566 samsung,pin-pud = <3>; 568 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
567 samsung,pin-drv = <3>; 569 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
568 }; 570 };
569 571
570 uart1_data: uart1-data { 572 uart1_data: uart1-data {
571 samsung,pins = "gpd0-0", "gpd0-1"; 573 samsung,pins = "gpd0-0", "gpd0-1";
572 samsung,pin-function = <2>; 574 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
573 samsung,pin-pud = <0>; 575 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
574 samsung,pin-drv = <0>; 576 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
575 }; 577 };
576 578
577 uart1_fctl: uart1-fctl { 579 uart1_fctl: uart1-fctl {
578 samsung,pins = "gpd0-2", "gpd0-3"; 580 samsung,pins = "gpd0-2", "gpd0-3";
579 samsung,pin-function = <2>; 581 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
580 samsung,pin-pud = <0>; 582 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
581 samsung,pin-drv = <0>; 583 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
582 }; 584 };
583 585
584 dp_hpd: dp_hpd { 586 dp_hpd: dp_hpd {
585 samsung,pins = "gpx0-7"; 587 samsung,pins = "gpx0-7";
586 samsung,pin-function = <3>; 588 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
587 samsung,pin-pud = <0>; 589 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
588 samsung,pin-drv = <0>; 590 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
589 }; 591 };
590}; 592};
591 593
@@ -666,52 +668,52 @@
666 samsung,pins = "gpe0-0", "gpe0-1", "gpe0-2", "gpe0-3", 668 samsung,pins = "gpe0-0", "gpe0-1", "gpe0-2", "gpe0-3",
667 "gpe0-4", "gpe0-5", "gpe0-6", "gpe0-7", 669 "gpe0-4", "gpe0-5", "gpe0-6", "gpe0-7",
668 "gpe1-0", "gpe1-1"; 670 "gpe1-0", "gpe1-1";
669 samsung,pin-function = <2>; 671 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
670 samsung,pin-pud = <0>; 672 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
671 samsung,pin-drv = <0>; 673 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
672 }; 674 };
673 675
674 cam_gpio_b: cam-gpio-b { 676 cam_gpio_b: cam-gpio-b {
675 samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3", 677 samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3",
676 "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3"; 678 "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
677 samsung,pin-function = <3>; 679 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
678 samsung,pin-pud = <0>; 680 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
679 samsung,pin-drv = <0>; 681 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
680 }; 682 };
681 683
682 cam_i2c2_bus: cam-i2c2-bus { 684 cam_i2c2_bus: cam-i2c2-bus {
683 samsung,pins = "gpe0-6", "gpe1-0"; 685 samsung,pins = "gpe0-6", "gpe1-0";
684 samsung,pin-function = <4>; 686 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
685 samsung,pin-pud = <3>; 687 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
686 samsung,pin-drv = <0>; 688 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
687 }; 689 };
688 690
689 cam_spi1_bus: cam-spi1-bus { 691 cam_spi1_bus: cam-spi1-bus {
690 samsung,pins = "gpe0-4", "gpe0-5", "gpf0-2", "gpf0-3"; 692 samsung,pins = "gpe0-4", "gpe0-5", "gpf0-2", "gpf0-3";
691 samsung,pin-function = <4>; 693 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
692 samsung,pin-pud = <0>; 694 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
693 samsung,pin-drv = <0>; 695 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
694 }; 696 };
695 697
696 cam_i2c1_bus: cam-i2c1-bus { 698 cam_i2c1_bus: cam-i2c1-bus {
697 samsung,pins = "gpf0-2", "gpf0-3"; 699 samsung,pins = "gpf0-2", "gpf0-3";
698 samsung,pin-function = <2>; 700 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
699 samsung,pin-pud = <3>; 701 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
700 samsung,pin-drv = <0>; 702 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
701 }; 703 };
702 704
703 cam_i2c0_bus: cam-i2c0-bus { 705 cam_i2c0_bus: cam-i2c0-bus {
704 samsung,pins = "gpf0-0", "gpf0-1"; 706 samsung,pins = "gpf0-0", "gpf0-1";
705 samsung,pin-function = <2>; 707 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
706 samsung,pin-pud = <3>; 708 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
707 samsung,pin-drv = <0>; 709 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
708 }; 710 };
709 711
710 cam_spi0_bus: cam-spi0-bus { 712 cam_spi0_bus: cam-spi0-bus {
711 samsung,pins = "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3"; 713 samsung,pins = "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
712 samsung,pin-function = <2>; 714 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
713 samsung,pin-pud = <0>; 715 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
714 samsung,pin-drv = <0>; 716 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
715 }; 717 };
716 718
717 cam_bayrgb_bus: cam-bayrgb-bus { 719 cam_bayrgb_bus: cam-bayrgb-bus {
@@ -720,18 +722,18 @@
720 "gpg1-0", "gpg1-1", "gpg1-2", "gpg1-3", 722 "gpg1-0", "gpg1-1", "gpg1-2", "gpg1-3",
721 "gpg1-4", "gpg1-5", "gpg1-6", "gpg1-7", 723 "gpg1-4", "gpg1-5", "gpg1-6", "gpg1-7",
722 "gpg2-0", "gpg2-1"; 724 "gpg2-0", "gpg2-1";
723 samsung,pin-function = <2>; 725 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
724 samsung,pin-pud = <0>; 726 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
725 samsung,pin-drv = <0>; 727 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
726 }; 728 };
727 729
728 cam_port_a: cam-port-a { 730 cam_port_a: cam-port-a {
729 samsung,pins = "gph0-0", "gph0-1", "gph0-2", "gph0-3", 731 samsung,pins = "gph0-0", "gph0-1", "gph0-2", "gph0-3",
730 "gph1-0", "gph1-1", "gph1-2", "gph1-3", 732 "gph1-0", "gph1-1", "gph1-2", "gph1-3",
731 "gph1-4", "gph1-5", "gph1-6", "gph1-7"; 733 "gph1-4", "gph1-5", "gph1-6", "gph1-7";
732 samsung,pin-function = <2>; 734 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
733 samsung,pin-pud = <0>; 735 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
734 samsung,pin-drv = <0>; 736 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
735 }; 737 };
736}; 738};
737 739
@@ -781,9 +783,9 @@
781 "gpv0-4", "gpv0-5", "gpv0-6", "gpv0-7", 783 "gpv0-4", "gpv0-5", "gpv0-6", "gpv0-7",
782 "gpv1-0", "gpv1-1", "gpv1-2", "gpv1-3", 784 "gpv1-0", "gpv1-1", "gpv1-2", "gpv1-3",
783 "gpv1-4", "gpv1-5", "gpv1-6", "gpv1-7"; 785 "gpv1-4", "gpv1-5", "gpv1-6", "gpv1-7";
784 samsung,pin-function = <2>; 786 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
785 samsung,pin-pud = <0>; 787 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
786 samsung,pin-drv = <0>; 788 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
787 }; 789 };
788 790
789 c2c_txd: c2c-txd { 791 c2c_txd: c2c-txd {
@@ -791,9 +793,9 @@
791 "gpv2-4", "gpv2-5", "gpv2-6", "gpv2-7", 793 "gpv2-4", "gpv2-5", "gpv2-6", "gpv2-7",
792 "gpv3-0", "gpv3-1", "gpv3-2", "gpv3-3", 794 "gpv3-0", "gpv3-1", "gpv3-2", "gpv3-3",
793 "gpv3-4", "gpv3-5", "gpv3-6", "gpv3-7"; 795 "gpv3-4", "gpv3-5", "gpv3-6", "gpv3-7";
794 samsung,pin-function = <2>; 796 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
795 samsung,pin-pud = <0>; 797 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
796 samsung,pin-drv = <0>; 798 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
797 }; 799 };
798}; 800};
799 801
@@ -809,8 +811,8 @@
809 i2s0_bus: i2s0-bus { 811 i2s0_bus: i2s0-bus {
810 samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3", 812 samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3",
811 "gpz-4", "gpz-5", "gpz-6"; 813 "gpz-4", "gpz-5", "gpz-6";
812 samsung,pin-function = <2>; 814 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
813 samsung,pin-pud = <0>; 815 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
814 samsung,pin-drv = <0>; 816 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
815 }; 817 };
816}; 818};
diff --git a/arch/arm/boot/dts/exynos5250-smdk5250.dts b/arch/arm/boot/dts/exynos5250-smdk5250.dts
index 124e7bf1ed97..a97a785ccc6b 100644
--- a/arch/arm/boot/dts/exynos5250-smdk5250.dts
+++ b/arch/arm/boot/dts/exynos5250-smdk5250.dts
@@ -417,8 +417,8 @@
417&pinctrl_0 { 417&pinctrl_0 {
418 max77686_irq: max77686-irq { 418 max77686_irq: max77686-irq {
419 samsung,pins = "gpx3-2"; 419 samsung,pins = "gpx3-2";
420 samsung,pin-function = <0xf>; 420 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
421 samsung,pin-pud = <0>; 421 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
422 samsung,pin-drv = <0>; 422 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
423 }; 423 };
424}; 424};
diff --git a/arch/arm/boot/dts/exynos5250-snow-common.dtsi b/arch/arm/boot/dts/exynos5250-snow-common.dtsi
index 9ddf5d2701c2..d5d51916bb74 100644
--- a/arch/arm/boot/dts/exynos5250-snow-common.dtsi
+++ b/arch/arm/boot/dts/exynos5250-snow-common.dtsi
@@ -441,7 +441,7 @@
441 * double-pulling gets us out of spec in some cases. 441 * double-pulling gets us out of spec in some cases.
442 */ 442 */
443&i2c2_bus { 443&i2c2_bus {
444 samsung,pin-pud = <0>; 444 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
445}; 445};
446 446
447&i2c_2 { 447&i2c_2 {
@@ -573,81 +573,81 @@
573&pinctrl_0 { 573&pinctrl_0 {
574 wifi_en: wifi-en { 574 wifi_en: wifi-en {
575 samsung,pins = "gpx0-1"; 575 samsung,pins = "gpx0-1";
576 samsung,pin-function = <1>; 576 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
577 samsung,pin-pud = <0>; 577 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
578 samsung,pin-drv = <0>; 578 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
579 }; 579 };
580 580
581 wifi_rst: wifi-rst { 581 wifi_rst: wifi-rst {
582 samsung,pins = "gpx0-2"; 582 samsung,pins = "gpx0-2";
583 samsung,pin-function = <1>; 583 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
584 samsung,pin-pud = <0>; 584 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
585 samsung,pin-drv = <0>; 585 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
586 }; 586 };
587 587
588 power_key_irq: power-key-irq { 588 power_key_irq: power-key-irq {
589 samsung,pins = "gpx1-3"; 589 samsung,pins = "gpx1-3";
590 samsung,pin-function = <0xf>; 590 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
591 samsung,pin-pud = <0>; 591 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
592 samsung,pin-drv = <0>; 592 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
593 }; 593 };
594 594
595 ec_irq: ec-irq { 595 ec_irq: ec-irq {
596 samsung,pins = "gpx1-6"; 596 samsung,pins = "gpx1-6";
597 samsung,pin-function = <0>; 597 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
598 samsung,pin-pud = <0>; 598 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
599 samsung,pin-drv = <0>; 599 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
600 }; 600 };
601 601
602 tps65090_irq: tps65090-irq { 602 tps65090_irq: tps65090-irq {
603 samsung,pins = "gpx2-6"; 603 samsung,pins = "gpx2-6";
604 samsung,pin-function = <0>; 604 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
605 samsung,pin-pud = <0>; 605 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
606 samsung,pin-drv = <0>; 606 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
607 }; 607 };
608 608
609 usb3_vbus_en: usb3-vbus-en { 609 usb3_vbus_en: usb3-vbus-en {
610 samsung,pins = "gpx2-7"; 610 samsung,pins = "gpx2-7";
611 samsung,pin-function = <1>; 611 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
612 samsung,pin-pud = <0>; 612 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
613 samsung,pin-drv = <0>; 613 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
614 }; 614 };
615 615
616 max77686_irq: max77686-irq { 616 max77686_irq: max77686-irq {
617 samsung,pins = "gpx3-2"; 617 samsung,pins = "gpx3-2";
618 samsung,pin-function = <0>; 618 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
619 samsung,pin-pud = <0>; 619 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
620 samsung,pin-drv = <0>; 620 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
621 }; 621 };
622 622
623 lid_irq: lid-irq { 623 lid_irq: lid-irq {
624 samsung,pins = "gpx3-5"; 624 samsung,pins = "gpx3-5";
625 samsung,pin-function = <0xf>; 625 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
626 samsung,pin-pud = <0>; 626 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
627 samsung,pin-drv = <0>; 627 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
628 }; 628 };
629 629
630 hdmi_hpd_irq: hdmi-hpd-irq { 630 hdmi_hpd_irq: hdmi-hpd-irq {
631 samsung,pins = "gpx3-7"; 631 samsung,pins = "gpx3-7";
632 samsung,pin-function = <0>; 632 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
633 samsung,pin-pud = <1>; 633 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
634 samsung,pin-drv = <0>; 634 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
635 }; 635 };
636}; 636};
637 637
638&pinctrl_1 { 638&pinctrl_1 {
639 arb_their_claim: arb-their-claim { 639 arb_their_claim: arb-their-claim {
640 samsung,pins = "gpe0-4"; 640 samsung,pins = "gpe0-4";
641 samsung,pin-function = <0>; 641 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
642 samsung,pin-pud = <3>; 642 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
643 samsung,pin-drv = <0>; 643 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
644 }; 644 };
645 645
646 arb_our_claim: arb-our-claim { 646 arb_our_claim: arb-our-claim {
647 samsung,pins = "gpf0-3"; 647 samsung,pins = "gpf0-3";
648 samsung,pin-function = <1>; 648 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
649 samsung,pin-pud = <0>; 649 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
650 samsung,pin-drv = <0>; 650 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
651 }; 651 };
652}; 652};
653 653
@@ -658,16 +658,16 @@
658}; 658};
659 659
660&sd3_bus4 { 660&sd3_bus4 {
661 samsung,pin-drv = <0>; 661 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
662}; 662};
663 663
664&sd3_clk { 664&sd3_clk {
665 samsung,pin-drv = <0>; 665 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
666}; 666};
667 667
668&sd3_cmd { 668&sd3_cmd {
669 samsung,pin-pud = <3>; 669 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
670 samsung,pin-drv = <0>; 670 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
671}; 671};
672 672
673&spi_1 { 673&spi_1 {
diff --git a/arch/arm/boot/dts/exynos5250-snow-rev5.dts b/arch/arm/boot/dts/exynos5250-snow-rev5.dts
index f811dc800660..90560c316f64 100644
--- a/arch/arm/boot/dts/exynos5250-snow-rev5.dts
+++ b/arch/arm/boot/dts/exynos5250-snow-rev5.dts
@@ -40,8 +40,8 @@
40&pinctrl_0 { 40&pinctrl_0 {
41 max98090_irq: max98090-irq { 41 max98090_irq: max98090-irq {
42 samsung,pins = "gpx0-4"; 42 samsung,pins = "gpx0-4";
43 samsung,pin-function = <0>; 43 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
44 samsung,pin-pud = <0>; 44 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
45 samsung,pin-drv = <0>; 45 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
46 }; 46 };
47}; 47};
diff --git a/arch/arm/boot/dts/exynos5250-snow.dts b/arch/arm/boot/dts/exynos5250-snow.dts
index 995c7ce6c12b..df48f2cc96f7 100644
--- a/arch/arm/boot/dts/exynos5250-snow.dts
+++ b/arch/arm/boot/dts/exynos5250-snow.dts
@@ -36,8 +36,8 @@
36&pinctrl_0 { 36&pinctrl_0 {
37 max98095_en: max98095-en { 37 max98095_en: max98095-en {
38 samsung,pins = "gpx1-7"; 38 samsung,pins = "gpx1-7";
39 samsung,pin-function = <0>; 39 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
40 samsung,pin-pud = <3>; 40 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
41 samsung,pin-drv = <0>; 41 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
42 }; 42 };
43}; 43};
diff --git a/arch/arm/boot/dts/exynos5250-spring.dts b/arch/arm/boot/dts/exynos5250-spring.dts
index 103d8f94e1da..4d7bdb735ed3 100644
--- a/arch/arm/boot/dts/exynos5250-spring.dts
+++ b/arch/arm/boot/dts/exynos5250-spring.dts
@@ -358,7 +358,7 @@
358 * double-pulling gets us out of spec in some cases. 358 * double-pulling gets us out of spec in some cases.
359 */ 359 */
360&i2c2_bus { 360&i2c2_bus {
361 samsung,pin-pud = <0>; 361 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
362}; 362};
363 363
364&i2c_2 { 364&i2c_2 {
@@ -461,92 +461,92 @@
461&pinctrl_0 { 461&pinctrl_0 {
462 s5m8767_dvs: s5m8767-dvs { 462 s5m8767_dvs: s5m8767-dvs {
463 samsung,pins = "gpd1-0", "gpd1-1", "gpd1-2"; 463 samsung,pins = "gpd1-0", "gpd1-1", "gpd1-2";
464 samsung,pin-function = <0>; 464 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
465 samsung,pin-pud = <1>; 465 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
466 samsung,pin-drv = <0>; 466 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
467 }; 467 };
468 468
469 dp_hpd_gpio: dp-hpd-gpio { 469 dp_hpd_gpio: dp-hpd-gpio {
470 samsung,pins = "gpc3-0"; 470 samsung,pins = "gpc3-0";
471 samsung,pin-function = <0>; 471 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
472 samsung,pin-pud = <3>; 472 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
473 samsung,pin-drv = <0>; 473 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
474 }; 474 };
475 475
476 trackpad_irq: trackpad-irq { 476 trackpad_irq: trackpad-irq {
477 samsung,pins = "gpx1-2"; 477 samsung,pins = "gpx1-2";
478 samsung,pin-function = <0xf>; 478 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
479 samsung,pin-pud = <0>; 479 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
480 samsung,pin-drv = <0>; 480 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
481 }; 481 };
482 482
483 power_key_irq: power-key-irq { 483 power_key_irq: power-key-irq {
484 samsung,pins = "gpx1-3"; 484 samsung,pins = "gpx1-3";
485 samsung,pin-function = <0xf>; 485 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
486 samsung,pin-pud = <0>; 486 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
487 samsung,pin-drv = <0>; 487 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
488 }; 488 };
489 489
490 ec_irq: ec-irq { 490 ec_irq: ec-irq {
491 samsung,pins = "gpx1-6"; 491 samsung,pins = "gpx1-6";
492 samsung,pin-function = <0>; 492 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
493 samsung,pin-pud = <0>; 493 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
494 samsung,pin-drv = <0>; 494 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
495 }; 495 };
496 496
497 s5m8767_ds: s5m8767-ds { 497 s5m8767_ds: s5m8767-ds {
498 samsung,pins = "gpx2-3", "gpx2-4", "gpx2-5"; 498 samsung,pins = "gpx2-3", "gpx2-4", "gpx2-5";
499 samsung,pin-function = <0>; 499 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
500 samsung,pin-pud = <1>; 500 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
501 samsung,pin-drv = <0>; 501 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
502 }; 502 };
503 503
504 s5m8767_irq: s5m8767-irq { 504 s5m8767_irq: s5m8767-irq {
505 samsung,pins = "gpx3-2"; 505 samsung,pins = "gpx3-2";
506 samsung,pin-function = <0>; 506 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
507 samsung,pin-pud = <0>; 507 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
508 samsung,pin-drv = <0>; 508 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
509 }; 509 };
510 510
511 lid_irq: lid-irq { 511 lid_irq: lid-irq {
512 samsung,pins = "gpx3-5"; 512 samsung,pins = "gpx3-5";
513 samsung,pin-function = <0xf>; 513 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
514 samsung,pin-pud = <0>; 514 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
515 samsung,pin-drv = <0>; 515 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
516 }; 516 };
517 517
518 hdmi_hpd_irq: hdmi-hpd-irq { 518 hdmi_hpd_irq: hdmi-hpd-irq {
519 samsung,pins = "gpx3-7"; 519 samsung,pins = "gpx3-7";
520 samsung,pin-function = <0>; 520 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
521 samsung,pin-pud = <1>; 521 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
522 samsung,pin-drv = <0>; 522 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
523 }; 523 };
524}; 524};
525 525
526&pinctrl_1 { 526&pinctrl_1 {
527 hsic_reset: hsic-reset { 527 hsic_reset: hsic-reset {
528 samsung,pins = "gpe1-0"; 528 samsung,pins = "gpe1-0";
529 samsung,pin-function = <1>; 529 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
530 samsung,pin-pud = <0>; 530 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
531 samsung,pin-drv = <0>; 531 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
532 }; 532 };
533}; 533};
534 534
535&sd1_bus4 { 535&sd1_bus4 {
536 samsung,pin-drv = <0>; 536 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
537}; 537};
538 538
539&sd1_cd { 539&sd1_cd {
540 samsung,pin-drv = <0>; 540 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
541}; 541};
542 542
543&sd1_clk { 543&sd1_clk {
544 samsung,pin-drv = <0>; 544 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
545}; 545};
546 546
547&sd1_cmd { 547&sd1_cmd {
548 samsung,pin-pud = <3>; 548 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
549 samsung,pin-drv = <0>; 549 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
550}; 550};
551 551
552&spi_1 { 552&spi_1 {
diff --git a/arch/arm/boot/dts/exynos5260-pinctrl.dtsi b/arch/arm/boot/dts/exynos5260-pinctrl.dtsi
index f6ee55ea0708..1b911a219a27 100644
--- a/arch/arm/boot/dts/exynos5260-pinctrl.dtsi
+++ b/arch/arm/boot/dts/exynos5260-pinctrl.dtsi
@@ -12,9 +12,7 @@
12 * published by the Free Software Foundation. 12 * published by the Free Software Foundation.
13*/ 13*/
14 14
15#define PIN_PULL_NONE 0 15#include <dt-bindings/pinctrl/samsung.h>
16#define PIN_PULL_DOWN 1
17#define PIN_PULL_UP 3
18 16
19&pinctrl_0 { 17&pinctrl_0 {
20 gpa0: gpa0 { 18 gpa0: gpa0 {
@@ -187,217 +185,217 @@
187 185
188 uart0_data: uart0-data { 186 uart0_data: uart0-data {
189 samsung,pins = "gpa0-0", "gpa0-1"; 187 samsung,pins = "gpa0-0", "gpa0-1";
190 samsung,pin-function = <2>; 188 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
191 samsung,pin-pud = <PIN_PULL_NONE>; 189 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
192 samsung,pin-drv = <0>; 190 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
193 }; 191 };
194 192
195 uart0_fctl: uart0-fctl { 193 uart0_fctl: uart0-fctl {
196 samsung,pins = "gpa0-2", "gpa0-3"; 194 samsung,pins = "gpa0-2", "gpa0-3";
197 samsung,pin-function = <2>; 195 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
198 samsung,pin-pud = <PIN_PULL_NONE>; 196 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
199 samsung,pin-drv = <0>; 197 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
200 }; 198 };
201 199
202 uart1_data: uart1-data { 200 uart1_data: uart1-data {
203 samsung,pins = "gpa1-0", "gpa1-1"; 201 samsung,pins = "gpa1-0", "gpa1-1";
204 samsung,pin-function = <2>; 202 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
205 samsung,pin-pud = <PIN_PULL_NONE>; 203 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
206 samsung,pin-drv = <0>; 204 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
207 }; 205 };
208 206
209 uart1_fctl: uart1-fctl { 207 uart1_fctl: uart1-fctl {
210 samsung,pins = "gpa1-2", "gpa1-3"; 208 samsung,pins = "gpa1-2", "gpa1-3";
211 samsung,pin-function = <2>; 209 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
212 samsung,pin-pud = <PIN_PULL_NONE>; 210 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
213 samsung,pin-drv = <0>; 211 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
214 }; 212 };
215 213
216 uart2_data: uart2-data { 214 uart2_data: uart2-data {
217 samsung,pins = "gpa1-4", "gpa1-5"; 215 samsung,pins = "gpa1-4", "gpa1-5";
218 samsung,pin-function = <2>; 216 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
219 samsung,pin-pud = <PIN_PULL_NONE>; 217 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
220 samsung,pin-drv = <0>; 218 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
221 }; 219 };
222 220
223 spi0_bus: spi0-bus { 221 spi0_bus: spi0-bus {
224 samsung,pins = "gpa2-0", "gpa2-2", "gpa2-3"; 222 samsung,pins = "gpa2-0", "gpa2-2", "gpa2-3";
225 samsung,pin-function = <2>; 223 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
226 samsung,pin-pud = <PIN_PULL_UP>; 224 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
227 samsung,pin-drv = <0>; 225 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
228 }; 226 };
229 227
230 spi1_bus: spi1-bus { 228 spi1_bus: spi1-bus {
231 samsung,pins = "gpa2-4", "gpa2-6", "gpa2-7"; 229 samsung,pins = "gpa2-4", "gpa2-6", "gpa2-7";
232 samsung,pin-function = <2>; 230 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
233 samsung,pin-pud = <PIN_PULL_UP>; 231 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
234 samsung,pin-drv = <0>; 232 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
235 }; 233 };
236 234
237 usb3_vbus0_en: usb3-vbus0-en { 235 usb3_vbus0_en: usb3-vbus0-en {
238 samsung,pins = "gpa2-4"; 236 samsung,pins = "gpa2-4";
239 samsung,pin-function = <1>; 237 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
240 samsung,pin-pud = <PIN_PULL_NONE>; 238 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
241 samsung,pin-drv = <0>; 239 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
242 }; 240 };
243 241
244 i2s1_bus: i2s1-bus { 242 i2s1_bus: i2s1-bus {
245 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3", 243 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
246 "gpb0-4"; 244 "gpb0-4";
247 samsung,pin-function = <2>; 245 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
248 samsung,pin-pud = <PIN_PULL_NONE>; 246 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
249 samsung,pin-drv = <0>; 247 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
250 }; 248 };
251 249
252 pcm1_bus: pcm1-bus { 250 pcm1_bus: pcm1-bus {
253 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3", 251 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
254 "gpb0-4"; 252 "gpb0-4";
255 samsung,pin-function = <3>; 253 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
256 samsung,pin-pud = <PIN_PULL_NONE>; 254 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
257 samsung,pin-drv = <0>; 255 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
258 }; 256 };
259 257
260 spdif1_bus: spdif1-bus { 258 spdif1_bus: spdif1-bus {
261 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2"; 259 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2";
262 samsung,pin-function = <4>; 260 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
263 samsung,pin-pud = <PIN_PULL_NONE>; 261 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
264 samsung,pin-drv = <0>; 262 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
265 }; 263 };
266 264
267 spi2_bus: spi2-bus { 265 spi2_bus: spi2-bus {
268 samsung,pins = "gpb1-0", "gpb1-2", "gpb1-3"; 266 samsung,pins = "gpb1-0", "gpb1-2", "gpb1-3";
269 samsung,pin-function = <2>; 267 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
270 samsung,pin-pud = <PIN_PULL_UP>; 268 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
271 samsung,pin-drv = <0>; 269 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
272 }; 270 };
273 271
274 i2c0_hs_bus: i2c0-hs-bus { 272 i2c0_hs_bus: i2c0-hs-bus {
275 samsung,pins = "gpb3-0", "gpb3-1"; 273 samsung,pins = "gpb3-0", "gpb3-1";
276 samsung,pin-function = <2>; 274 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
277 samsung,pin-pud = <PIN_PULL_UP>; 275 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
278 samsung,pin-drv = <0>; 276 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
279 }; 277 };
280 278
281 i2c1_hs_bus: i2c1-hs-bus { 279 i2c1_hs_bus: i2c1-hs-bus {
282 samsung,pins = "gpb3-2", "gpb3-3"; 280 samsung,pins = "gpb3-2", "gpb3-3";
283 samsung,pin-function = <2>; 281 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
284 samsung,pin-pud = <PIN_PULL_UP>; 282 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
285 samsung,pin-drv = <0>; 283 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
286 }; 284 };
287 285
288 i2c2_hs_bus: i2c2-hs-bus { 286 i2c2_hs_bus: i2c2-hs-bus {
289 samsung,pins = "gpb3-4", "gpb3-5"; 287 samsung,pins = "gpb3-4", "gpb3-5";
290 samsung,pin-function = <2>; 288 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
291 samsung,pin-pud = <PIN_PULL_UP>; 289 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
292 samsung,pin-drv = <0>; 290 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
293 }; 291 };
294 292
295 i2c3_hs_bus: i2c3-hs-bus { 293 i2c3_hs_bus: i2c3-hs-bus {
296 samsung,pins = "gpb3-6", "gpb3-7"; 294 samsung,pins = "gpb3-6", "gpb3-7";
297 samsung,pin-function = <2>; 295 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
298 samsung,pin-pud = <PIN_PULL_UP>; 296 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
299 samsung,pin-drv = <0>; 297 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
300 }; 298 };
301 299
302 i2c4_bus: i2c4-bus { 300 i2c4_bus: i2c4-bus {
303 samsung,pins = "gpb4-0", "gpb4-1"; 301 samsung,pins = "gpb4-0", "gpb4-1";
304 samsung,pin-function = <2>; 302 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
305 samsung,pin-pud = <PIN_PULL_UP>; 303 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
306 samsung,pin-drv = <0>; 304 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
307 }; 305 };
308 306
309 i2c5_bus: i2c5-bus { 307 i2c5_bus: i2c5-bus {
310 samsung,pins = "gpb4-2", "gpb4-3"; 308 samsung,pins = "gpb4-2", "gpb4-3";
311 samsung,pin-function = <2>; 309 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
312 samsung,pin-pud = <PIN_PULL_UP>; 310 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
313 samsung,pin-drv = <0>; 311 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
314 }; 312 };
315 313
316 i2c6_bus: i2c6-bus { 314 i2c6_bus: i2c6-bus {
317 samsung,pins = "gpb4-4", "gpb4-5"; 315 samsung,pins = "gpb4-4", "gpb4-5";
318 samsung,pin-function = <2>; 316 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
319 samsung,pin-pud = <PIN_PULL_UP>; 317 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
320 samsung,pin-drv = <0>; 318 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
321 }; 319 };
322 320
323 i2c7_bus: i2c7-bus { 321 i2c7_bus: i2c7-bus {
324 samsung,pins = "gpb4-6", "gpb4-7"; 322 samsung,pins = "gpb4-6", "gpb4-7";
325 samsung,pin-function = <2>; 323 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
326 samsung,pin-pud = <PIN_PULL_UP>; 324 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
327 samsung,pin-drv = <0>; 325 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
328 }; 326 };
329 327
330 i2c8_bus: i2c8-bus { 328 i2c8_bus: i2c8-bus {
331 samsung,pins = "gpb5-0", "gpb5-1"; 329 samsung,pins = "gpb5-0", "gpb5-1";
332 samsung,pin-function = <2>; 330 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
333 samsung,pin-pud = <PIN_PULL_UP>; 331 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
334 samsung,pin-drv = <0>; 332 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
335 }; 333 };
336 334
337 i2c9_bus: i2c9-bus { 335 i2c9_bus: i2c9-bus {
338 samsung,pins = "gpb5-2", "gpb5-3"; 336 samsung,pins = "gpb5-2", "gpb5-3";
339 samsung,pin-function = <2>; 337 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
340 samsung,pin-pud = <PIN_PULL_UP>; 338 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
341 samsung,pin-drv = <0>; 339 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
342 }; 340 };
343 341
344 i2c10_bus: i2c10-bus { 342 i2c10_bus: i2c10-bus {
345 samsung,pins = "gpb5-4", "gpb5-5"; 343 samsung,pins = "gpb5-4", "gpb5-5";
346 samsung,pin-function = <2>; 344 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
347 samsung,pin-pud = <PIN_PULL_UP>; 345 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
348 samsung,pin-drv = <0>; 346 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
349 }; 347 };
350 348
351 i2c11_bus: i2c11-bus { 349 i2c11_bus: i2c11-bus {
352 samsung,pins = "gpb5-6", "gpb5-7"; 350 samsung,pins = "gpb5-6", "gpb5-7";
353 samsung,pin-function = <2>; 351 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
354 samsung,pin-pud = <PIN_PULL_UP>; 352 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
355 samsung,pin-drv = <0>; 353 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
356 }; 354 };
357 355
358 cam_gpio_a: cam-gpio-a { 356 cam_gpio_a: cam-gpio-a {
359 samsung,pins = "gpe0-0", "gpe0-1", "gpe0-2", "gpe0-3", 357 samsung,pins = "gpe0-0", "gpe0-1", "gpe0-2", "gpe0-3",
360 "gpe0-4", "gpe0-5", "gpe0-6", "gpe0-7", 358 "gpe0-4", "gpe0-5", "gpe0-6", "gpe0-7",
361 "gpe1-0", "gpe1-1"; 359 "gpe1-0", "gpe1-1";
362 samsung,pin-function = <2>; 360 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
363 samsung,pin-pud = <PIN_PULL_NONE>; 361 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
364 samsung,pin-drv = <0>; 362 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
365 }; 363 };
366 364
367 cam_gpio_b: cam-gpio-b { 365 cam_gpio_b: cam-gpio-b {
368 samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3", 366 samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3",
369 "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3"; 367 "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
370 samsung,pin-function = <3>; 368 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
371 samsung,pin-pud = <PIN_PULL_NONE>; 369 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
372 samsung,pin-drv = <0>; 370 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
373 }; 371 };
374 372
375 cam_i2c1_bus: cam-i2c1-bus { 373 cam_i2c1_bus: cam-i2c1-bus {
376 samsung,pins = "gpf0-2", "gpf0-3"; 374 samsung,pins = "gpf0-2", "gpf0-3";
377 samsung,pin-function = <2>; 375 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
378 samsung,pin-pud = <PIN_PULL_UP>; 376 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
379 samsung,pin-drv = <0>; 377 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
380 }; 378 };
381 379
382 cam_i2c0_bus: cam-i2c0-bus { 380 cam_i2c0_bus: cam-i2c0-bus {
383 samsung,pins = "gpf0-0", "gpf0-1"; 381 samsung,pins = "gpf0-0", "gpf0-1";
384 samsung,pin-function = <2>; 382 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
385 samsung,pin-pud = <PIN_PULL_UP>; 383 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
386 samsung,pin-drv = <0>; 384 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
387 }; 385 };
388 386
389 cam_spi0_bus: cam-spi0-bus { 387 cam_spi0_bus: cam-spi0-bus {
390 samsung,pins = "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3"; 388 samsung,pins = "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
391 samsung,pin-function = <2>; 389 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
392 samsung,pin-pud = <PIN_PULL_NONE>; 390 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
393 samsung,pin-drv = <0>; 391 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
394 }; 392 };
395 393
396 cam_spi1_bus: cam-spi1-bus { 394 cam_spi1_bus: cam-spi1-bus {
397 samsung,pins = "gpf1-4", "gpf1-5", "gpf1-6", "gpf1-7"; 395 samsung,pins = "gpf1-4", "gpf1-5", "gpf1-6", "gpf1-7";
398 samsung,pin-function = <2>; 396 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
399 samsung,pin-pud = <PIN_PULL_NONE>; 397 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
400 samsung,pin-drv = <0>; 398 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
401 }; 399 };
402}; 400};
403 401
@@ -444,114 +442,114 @@
444 442
445 sd0_clk: sd0-clk { 443 sd0_clk: sd0-clk {
446 samsung,pins = "gpc0-0"; 444 samsung,pins = "gpc0-0";
447 samsung,pin-function = <2>; 445 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
448 samsung,pin-pud = <PIN_PULL_NONE>; 446 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
449 samsung,pin-drv = <3>; 447 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
450 }; 448 };
451 449
452 sd0_cmd: sd0-cmd { 450 sd0_cmd: sd0-cmd {
453 samsung,pins = "gpc0-1"; 451 samsung,pins = "gpc0-1";
454 samsung,pin-function = <2>; 452 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
455 samsung,pin-pud = <PIN_PULL_NONE>; 453 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
456 samsung,pin-drv = <3>; 454 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
457 }; 455 };
458 456
459 sd0_bus1: sd0-bus-width1 { 457 sd0_bus1: sd0-bus-width1 {
460 samsung,pins = "gpc0-2"; 458 samsung,pins = "gpc0-2";
461 samsung,pin-function = <2>; 459 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
462 samsung,pin-pud = <PIN_PULL_UP>; 460 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
463 samsung,pin-drv = <3>; 461 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
464 }; 462 };
465 463
466 sd0_bus4: sd0-bus-width4 { 464 sd0_bus4: sd0-bus-width4 {
467 samsung,pins = "gpc0-3", "gpc0-4", "gpc0-5"; 465 samsung,pins = "gpc0-3", "gpc0-4", "gpc0-5";
468 samsung,pin-function = <2>; 466 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
469 samsung,pin-pud = <PIN_PULL_UP>; 467 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
470 samsung,pin-drv = <3>; 468 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
471 }; 469 };
472 470
473 sd0_bus8: sd0-bus-width8 { 471 sd0_bus8: sd0-bus-width8 {
474 samsung,pins = "gpc3-0", "gpc3-1", "gpc3-2", "gpc3-3"; 472 samsung,pins = "gpc3-0", "gpc3-1", "gpc3-2", "gpc3-3";
475 samsung,pin-function = <2>; 473 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
476 samsung,pin-pud = <PIN_PULL_UP>; 474 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
477 samsung,pin-drv = <3>; 475 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
478 }; 476 };
479 477
480 sd0_rdqs: sd0-rdqs { 478 sd0_rdqs: sd0-rdqs {
481 samsung,pins = "gpc0-6"; 479 samsung,pins = "gpc0-6";
482 samsung,pin-function = <2>; 480 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
483 samsung,pin-pud = <PIN_PULL_UP>; 481 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
484 samsung,pin-drv = <3>; 482 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
485 }; 483 };
486 484
487 sd1_clk: sd1-clk { 485 sd1_clk: sd1-clk {
488 samsung,pins = "gpc1-0"; 486 samsung,pins = "gpc1-0";
489 samsung,pin-function = <2>; 487 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
490 samsung,pin-pud = <PIN_PULL_NONE>; 488 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
491 samsung,pin-drv = <3>; 489 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
492 }; 490 };
493 491
494 sd1_cmd: sd1-cmd { 492 sd1_cmd: sd1-cmd {
495 samsung,pins = "gpc1-1"; 493 samsung,pins = "gpc1-1";
496 samsung,pin-function = <2>; 494 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
497 samsung,pin-pud = <PIN_PULL_NONE>; 495 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
498 samsung,pin-drv = <3>; 496 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
499 }; 497 };
500 498
501 sd1_bus1: sd1-bus-width1 { 499 sd1_bus1: sd1-bus-width1 {
502 samsung,pins = "gpc1-2"; 500 samsung,pins = "gpc1-2";
503 samsung,pin-function = <2>; 501 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
504 samsung,pin-pud = <PIN_PULL_UP>; 502 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
505 samsung,pin-drv = <3>; 503 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
506 }; 504 };
507 505
508 sd1_bus4: sd1-bus-width4 { 506 sd1_bus4: sd1-bus-width4 {
509 samsung,pins = "gpc1-3", "gpc1-4", "gpc1-5"; 507 samsung,pins = "gpc1-3", "gpc1-4", "gpc1-5";
510 samsung,pin-function = <2>; 508 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
511 samsung,pin-pud = <PIN_PULL_UP>; 509 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
512 samsung,pin-drv = <3>; 510 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
513 }; 511 };
514 512
515 sd1_bus8: sd1-bus-width8 { 513 sd1_bus8: sd1-bus-width8 {
516 samsung,pins = "gpc4-0", "gpc4-1", "gpc4-2", "gpc4-3"; 514 samsung,pins = "gpc4-0", "gpc4-1", "gpc4-2", "gpc4-3";
517 samsung,pin-function = <2>; 515 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
518 samsung,pin-pud = <PIN_PULL_UP>; 516 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
519 samsung,pin-drv = <3>; 517 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
520 }; 518 };
521 519
522 sd2_clk: sd2-clk { 520 sd2_clk: sd2-clk {
523 samsung,pins = "gpc2-0"; 521 samsung,pins = "gpc2-0";
524 samsung,pin-function = <2>; 522 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
525 samsung,pin-pud = <PIN_PULL_NONE>; 523 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
526 samsung,pin-drv = <3>; 524 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
527 }; 525 };
528 526
529 sd2_cmd: sd2-cmd { 527 sd2_cmd: sd2-cmd {
530 samsung,pins = "gpc2-1"; 528 samsung,pins = "gpc2-1";
531 samsung,pin-function = <2>; 529 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
532 samsung,pin-pud = <PIN_PULL_NONE>; 530 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
533 samsung,pin-drv = <3>; 531 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
534 }; 532 };
535 533
536 sd2_cd: sd2-cd { 534 sd2_cd: sd2-cd {
537 samsung,pins = "gpc2-2"; 535 samsung,pins = "gpc2-2";
538 samsung,pin-function = <2>; 536 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
539 samsung,pin-pud = <PIN_PULL_UP>; 537 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
540 samsung,pin-drv = <3>; 538 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
541 }; 539 };
542 540
543 sd2_bus1: sd2-bus-width1 { 541 sd2_bus1: sd2-bus-width1 {
544 samsung,pins = "gpc2-3"; 542 samsung,pins = "gpc2-3";
545 samsung,pin-function = <2>; 543 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
546 samsung,pin-pud = <PIN_PULL_UP>; 544 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
547 samsung,pin-drv = <3>; 545 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
548 }; 546 };
549 547
550 sd2_bus4: sd2-bus-width4 { 548 sd2_bus4: sd2-bus-width4 {
551 samsung,pins = "gpc2-4", "gpc2-5", "gpc2-6"; 549 samsung,pins = "gpc2-4", "gpc2-5", "gpc2-6";
552 samsung,pin-function = <2>; 550 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
553 samsung,pin-pud = <PIN_PULL_UP>; 551 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
554 samsung,pin-drv = <3>; 552 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
555 }; 553 };
556}; 554};
557 555
diff --git a/arch/arm/boot/dts/exynos5260-xyref5260.dts b/arch/arm/boot/dts/exynos5260-xyref5260.dts
index d75685cad627..d0cc300cfb4b 100644
--- a/arch/arm/boot/dts/exynos5260-xyref5260.dts
+++ b/arch/arm/boot/dts/exynos5260-xyref5260.dts
@@ -43,9 +43,9 @@
43&pinctrl_0 { 43&pinctrl_0 {
44 hdmi_hpd_irq: hdmi-hpd-irq { 44 hdmi_hpd_irq: hdmi-hpd-irq {
45 samsung,pins = "gpx3-7"; 45 samsung,pins = "gpx3-7";
46 samsung,pin-function = <0>; 46 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
47 samsung,pin-pud = <1>; 47 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
48 samsung,pin-drv = <0>; 48 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
49 }; 49 };
50}; 50};
51 51
diff --git a/arch/arm/boot/dts/exynos5410-odroidxu.dts b/arch/arm/boot/dts/exynos5410-odroidxu.dts
index 8bc924457af6..67e6452e2fae 100644
--- a/arch/arm/boot/dts/exynos5410-odroidxu.dts
+++ b/arch/arm/boot/dts/exynos5410-odroidxu.dts
@@ -477,38 +477,38 @@
477&pinctrl_0 { 477&pinctrl_0 {
478 emmc_nrst_pin: emmc-nrst { 478 emmc_nrst_pin: emmc-nrst {
479 samsung,pins = "gpd1-0"; 479 samsung,pins = "gpd1-0";
480 samsung,pin-function = <2>; 480 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
481 samsung,pin-pud = <0>; 481 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
482 samsung,pin-drv = <0>; 482 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
483 }; 483 };
484 484
485 pmic_dvs_3: pmic-dvs-3 { 485 pmic_dvs_3: pmic-dvs-3 {
486 samsung,pins = "gpx0-0"; 486 samsung,pins = "gpx0-0";
487 samsung,pin-function = <1>; 487 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
488 samsung,pin-pud = <0>; 488 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
489 samsung,pin-drv = <0>; 489 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
490 }; 490 };
491 491
492 pmic_dvs_2: pmic-dvs-2 { 492 pmic_dvs_2: pmic-dvs-2 {
493 samsung,pins = "gpx0-1"; 493 samsung,pins = "gpx0-1";
494 samsung,pin-function = <1>; 494 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
495 samsung,pin-pud = <0>; 495 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
496 samsung,pin-drv = <0>; 496 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
497 }; 497 };
498 498
499 pmic_dvs_1: pmic-dvs-1 { 499 pmic_dvs_1: pmic-dvs-1 {
500 samsung,pins = "gpx0-2"; 500 samsung,pins = "gpx0-2";
501 samsung,pin-function = <1>; 501 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
502 samsung,pin-pud = <0>; 502 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
503 samsung,pin-drv = <0>; 503 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
504 samsung,pin-val = <1>; 504 samsung,pin-val = <1>;
505 }; 505 };
506 506
507 max77802_irq: max77802-irq { 507 max77802_irq: max77802-irq {
508 samsung,pins = "gpx0-4"; 508 samsung,pins = "gpx0-4";
509 samsung,pin-function = <0xf>; 509 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
510 samsung,pin-pud = <0>; 510 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
511 samsung,pin-drv = <0>; 511 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
512 }; 512 };
513}; 513};
514 514
diff --git a/arch/arm/boot/dts/exynos5410-pinctrl.dtsi b/arch/arm/boot/dts/exynos5410-pinctrl.dtsi
index b58a0f29f42c..a083d23fdee3 100644
--- a/arch/arm/boot/dts/exynos5410-pinctrl.dtsi
+++ b/arch/arm/boot/dts/exynos5410-pinctrl.dtsi
@@ -9,6 +9,8 @@
9 * published by the Free Software Foundation. 9 * published by the Free Software Foundation.
10 */ 10 */
11 11
12#include <dt-bindings/pinctrl/samsung.h>
13
12&pinctrl_0 { 14&pinctrl_0 {
13 gpa0: gpa0 { 15 gpa0: gpa0 {
14 gpio-controller; 16 gpio-controller;
@@ -280,212 +282,212 @@
280 282
281 uart0_data: uart0-data { 283 uart0_data: uart0-data {
282 samsung,pins = "gpa0-0", "gpa0-1"; 284 samsung,pins = "gpa0-0", "gpa0-1";
283 samsung,pin-function = <2>; 285 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
284 samsung,pin-pud = <0>; 286 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
285 samsung,pin-drv = <0>; 287 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
286 }; 288 };
287 289
288 uart0_fctl: uart0-fctl { 290 uart0_fctl: uart0-fctl {
289 samsung,pins = "gpa0-2", "gpa0-3"; 291 samsung,pins = "gpa0-2", "gpa0-3";
290 samsung,pin-function = <2>; 292 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
291 samsung,pin-pud = <0>; 293 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
292 samsung,pin-drv = <0>; 294 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
293 }; 295 };
294 296
295 uart1_data: uart1-data { 297 uart1_data: uart1-data {
296 samsung,pins = "gpa0-4", "gpa0-5"; 298 samsung,pins = "gpa0-4", "gpa0-5";
297 samsung,pin-function = <2>; 299 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
298 samsung,pin-pud = <0>; 300 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
299 samsung,pin-drv = <0>; 301 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
300 }; 302 };
301 303
302 uart1_fctl: uart1-fctl { 304 uart1_fctl: uart1-fctl {
303 samsung,pins = "gpa0-6", "gpa0-7"; 305 samsung,pins = "gpa0-6", "gpa0-7";
304 samsung,pin-function = <2>; 306 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
305 samsung,pin-pud = <0>; 307 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
306 samsung,pin-drv = <0>; 308 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
307 }; 309 };
308 310
309 i2c2_bus: i2c2-bus { 311 i2c2_bus: i2c2-bus {
310 samsung,pins = "gpa0-6", "gpa0-7"; 312 samsung,pins = "gpa0-6", "gpa0-7";
311 samsung,pin-function = <3>; 313 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
312 samsung,pin-pud = <3>; 314 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
313 samsung,pin-drv = <0>; 315 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
314 }; 316 };
315 317
316 uart2_data: uart2-data { 318 uart2_data: uart2-data {
317 samsung,pins = "gpa1-0", "gpa1-1"; 319 samsung,pins = "gpa1-0", "gpa1-1";
318 samsung,pin-function = <2>; 320 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
319 samsung,pin-pud = <0>; 321 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
320 samsung,pin-drv = <0>; 322 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
321 }; 323 };
322 324
323 uart2_fctl: uart2-fctl { 325 uart2_fctl: uart2-fctl {
324 samsung,pins = "gpa1-2", "gpa1-3"; 326 samsung,pins = "gpa1-2", "gpa1-3";
325 samsung,pin-function = <2>; 327 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
326 samsung,pin-pud = <0>; 328 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
327 samsung,pin-drv = <0>; 329 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
328 }; 330 };
329 331
330 i2c3_bus: i2c3-bus { 332 i2c3_bus: i2c3-bus {
331 samsung,pins = "gpa1-2", "gpa1-3"; 333 samsung,pins = "gpa1-2", "gpa1-3";
332 samsung,pin-function = <3>; 334 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
333 samsung,pin-pud = <3>; 335 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
334 samsung,pin-drv = <0>; 336 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
335 }; 337 };
336 338
337 uart3_data: uart3-data { 339 uart3_data: uart3-data {
338 samsung,pins = "gpa1-4", "gpa1-5"; 340 samsung,pins = "gpa1-4", "gpa1-5";
339 samsung,pin-function = <2>; 341 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
340 samsung,pin-pud = <0>; 342 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
341 samsung,pin-drv = <0>; 343 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
342 }; 344 };
343 345
344 i2c4_hs_bus: i2c4-hs-bus { 346 i2c4_hs_bus: i2c4-hs-bus {
345 samsung,pins = "gpa2-0", "gpa2-1"; 347 samsung,pins = "gpa2-0", "gpa2-1";
346 samsung,pin-function = <3>; 348 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
347 samsung,pin-pud = <3>; 349 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
348 samsung,pin-drv = <0>; 350 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
349 }; 351 };
350 352
351 i2c5_hs_bus: i2c5-hs-bus { 353 i2c5_hs_bus: i2c5-hs-bus {
352 samsung,pins = "gpa2-2", "gpa2-3"; 354 samsung,pins = "gpa2-2", "gpa2-3";
353 samsung,pin-function = <3>; 355 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
354 samsung,pin-pud = <3>; 356 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
355 samsung,pin-drv = <0>; 357 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
356 }; 358 };
357 359
358 i2c6_hs_bus: i2c6-hs-bus { 360 i2c6_hs_bus: i2c6-hs-bus {
359 samsung,pins = "gpb1-3", "gpb1-4"; 361 samsung,pins = "gpb1-3", "gpb1-4";
360 samsung,pin-function = <4>; 362 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
361 samsung,pin-pud = <3>; 363 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
362 samsung,pin-drv = <0>; 364 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
363 }; 365 };
364 366
365 pwm0_out: pwm0-out { 367 pwm0_out: pwm0-out {
366 samsung,pins = "gpb2-0"; 368 samsung,pins = "gpb2-0";
367 samsung,pin-function = <2>; 369 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
368 samsung,pin-pud = <0>; 370 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
369 samsung,pin-drv = <0>; 371 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
370 }; 372 };
371 373
372 pwm1_out: pwm1-out { 374 pwm1_out: pwm1-out {
373 samsung,pins = "gpb2-1"; 375 samsung,pins = "gpb2-1";
374 samsung,pin-function = <2>; 376 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
375 samsung,pin-pud = <0>; 377 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
376 samsung,pin-drv = <0>; 378 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
377 }; 379 };
378 380
379 pwm2_out: pwm2-out { 381 pwm2_out: pwm2-out {
380 samsung,pins = "gpb2-2"; 382 samsung,pins = "gpb2-2";
381 samsung,pin-function = <2>; 383 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
382 samsung,pin-pud = <0>; 384 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
383 samsung,pin-drv = <0>; 385 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
384 }; 386 };
385 387
386 pwm3_out: pwm3-out { 388 pwm3_out: pwm3-out {
387 samsung,pins = "gpb2-3"; 389 samsung,pins = "gpb2-3";
388 samsung,pin-function = <2>; 390 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
389 samsung,pin-pud = <0>; 391 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
390 samsung,pin-drv = <0>; 392 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
391 }; 393 };
392 394
393 i2c7_hs_bus: i2c7-hs-bus { 395 i2c7_hs_bus: i2c7-hs-bus {
394 samsung,pins = "gpb2-2", "gpb2-3"; 396 samsung,pins = "gpb2-2", "gpb2-3";
395 samsung,pin-function = <3>; 397 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
396 samsung,pin-pud = <3>; 398 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
397 samsung,pin-drv = <0>; 399 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
398 }; 400 };
399 401
400 i2c0_bus: i2c0-bus { 402 i2c0_bus: i2c0-bus {
401 samsung,pins = "gpb3-0", "gpb3-1"; 403 samsung,pins = "gpb3-0", "gpb3-1";
402 samsung,pin-function = <2>; 404 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
403 samsung,pin-pud = <3>; 405 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
404 samsung,pin-drv = <0>; 406 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
405 }; 407 };
406 408
407 i2c1_bus: i2c1-bus { 409 i2c1_bus: i2c1-bus {
408 samsung,pins = "gpb3-2", "gpb3-3"; 410 samsung,pins = "gpb3-2", "gpb3-3";
409 samsung,pin-function = <2>; 411 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
410 samsung,pin-pud = <3>; 412 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
411 samsung,pin-drv = <0>; 413 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
412 }; 414 };
413 415
414 sd0_clk: sd0-clk { 416 sd0_clk: sd0-clk {
415 samsung,pins = "gpc0-0"; 417 samsung,pins = "gpc0-0";
416 samsung,pin-function = <2>; 418 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
417 samsung,pin-pud = <0>; 419 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
418 samsung,pin-drv = <3>; 420 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
419 }; 421 };
420 422
421 sd0_cmd: sd0-cmd { 423 sd0_cmd: sd0-cmd {
422 samsung,pins = "gpc0-1"; 424 samsung,pins = "gpc0-1";
423 samsung,pin-function = <2>; 425 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
424 samsung,pin-pud = <0>; 426 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
425 samsung,pin-drv = <3>; 427 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
426 }; 428 };
427 429
428 sd0_cd: sd0-cd { 430 sd0_cd: sd0-cd {
429 samsung,pins = "gpc0-2"; 431 samsung,pins = "gpc0-2";
430 samsung,pin-function = <2>; 432 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
431 samsung,pin-pud = <3>; 433 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
432 samsung,pin-drv = <3>; 434 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
433 }; 435 };
434 436
435 sd0_bus1: sd0-bus-width1 { 437 sd0_bus1: sd0-bus-width1 {
436 samsung,pins = "gpc0-3"; 438 samsung,pins = "gpc0-3";
437 samsung,pin-function = <2>; 439 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
438 samsung,pin-pud = <3>; 440 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
439 samsung,pin-drv = <3>; 441 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
440 }; 442 };
441 443
442 sd0_bus4: sd0-bus-width4 { 444 sd0_bus4: sd0-bus-width4 {
443 samsung,pins = "gpc0-4", "gpc0-5", "gpc0-6"; 445 samsung,pins = "gpc0-4", "gpc0-5", "gpc0-6";
444 samsung,pin-function = <2>; 446 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
445 samsung,pin-pud = <3>; 447 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
446 samsung,pin-drv = <3>; 448 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
447 }; 449 };
448 450
449 sd2_clk: sd2-clk { 451 sd2_clk: sd2-clk {
450 samsung,pins = "gpc2-0"; 452 samsung,pins = "gpc2-0";
451 samsung,pin-function = <2>; 453 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
452 samsung,pin-pud = <0>; 454 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
453 samsung,pin-drv = <3>; 455 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
454 }; 456 };
455 457
456 sd2_cmd: sd2-cmd { 458 sd2_cmd: sd2-cmd {
457 samsung,pins = "gpc2-1"; 459 samsung,pins = "gpc2-1";
458 samsung,pin-function = <2>; 460 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
459 samsung,pin-pud = <0>; 461 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
460 samsung,pin-drv = <3>; 462 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
461 }; 463 };
462 464
463 sd2_cd: sd2-cd { 465 sd2_cd: sd2-cd {
464 samsung,pins = "gpc2-2"; 466 samsung,pins = "gpc2-2";
465 samsung,pin-function = <2>; 467 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
466 samsung,pin-pud = <3>; 468 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
467 samsung,pin-drv = <3>; 469 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
468 }; 470 };
469 471
470 sd2_bus1: sd2-bus-width1 { 472 sd2_bus1: sd2-bus-width1 {
471 samsung,pins = "gpc2-3"; 473 samsung,pins = "gpc2-3";
472 samsung,pin-function = <2>; 474 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
473 samsung,pin-pud = <3>; 475 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
474 samsung,pin-drv = <3>; 476 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
475 }; 477 };
476 478
477 sd2_bus4: sd2-bus-width4 { 479 sd2_bus4: sd2-bus-width4 {
478 samsung,pins = "gpc2-4", "gpc2-5", "gpc2-6"; 480 samsung,pins = "gpc2-4", "gpc2-5", "gpc2-6";
479 samsung,pin-function = <2>; 481 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
480 samsung,pin-pud = <3>; 482 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
481 samsung,pin-drv = <3>; 483 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
482 }; 484 };
483 485
484 sd0_bus8: sd0-bus-width8 { 486 sd0_bus8: sd0-bus-width8 {
485 samsung,pins = "gpc3-0", "gpc3-1", "gpc3-2", "gpc3-3"; 487 samsung,pins = "gpc3-0", "gpc3-1", "gpc3-2", "gpc3-3";
486 samsung,pin-function = <2>; 488 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
487 samsung,pin-pud = <3>; 489 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
488 samsung,pin-drv = <3>; 490 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
489 }; 491 };
490}; 492};
491 493
diff --git a/arch/arm/boot/dts/exynos5410-smdk5410.dts b/arch/arm/boot/dts/exynos5410-smdk5410.dts
index 5e36bddb0509..6cc74d97daae 100644
--- a/arch/arm/boot/dts/exynos5410-smdk5410.dts
+++ b/arch/arm/boot/dts/exynos5410-smdk5410.dts
@@ -67,8 +67,8 @@
67 srom_ctl: srom-ctl { 67 srom_ctl: srom-ctl {
68 samsung,pins = "gpy0-3", "gpy0-4", "gpy0-5", 68 samsung,pins = "gpy0-3", "gpy0-4", "gpy0-5",
69 "gpy1-0", "gpy1-1", "gpy1-2", "gpy1-3"; 69 "gpy1-0", "gpy1-1", "gpy1-2", "gpy1-3";
70 samsung,pin-function = <2>; 70 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
71 samsung,pin-drv = <0>; 71 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
72 }; 72 };
73 73
74 srom_ebi: srom-ebi { 74 srom_ebi: srom-ebi {
@@ -78,9 +78,9 @@
78 "gpy5-4", "gpy5-5", "gpy5-6", "gpy5-7", 78 "gpy5-4", "gpy5-5", "gpy5-6", "gpy5-7",
79 "gpy6-0", "gpy6-1", "gpy6-2", "gpy6-3", 79 "gpy6-0", "gpy6-1", "gpy6-2", "gpy6-3",
80 "gpy6-4", "gpy6-5", "gpy6-6", "gpy6-7"; 80 "gpy6-4", "gpy6-5", "gpy6-6", "gpy6-7";
81 samsung,pin-function = <2>; 81 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
82 samsung,pin-pud = <3>; 82 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
83 samsung,pin-drv = <0>; 83 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
84 }; 84 };
85}; 85};
86 86
diff --git a/arch/arm/boot/dts/exynos5420-arndale-octa.dts b/arch/arm/boot/dts/exynos5420-arndale-octa.dts
index c5923fae4e8e..9cc83c51c925 100644
--- a/arch/arm/boot/dts/exynos5420-arndale-octa.dts
+++ b/arch/arm/boot/dts/exynos5420-arndale-octa.dts
@@ -392,9 +392,9 @@
392&pinctrl_0 { 392&pinctrl_0 {
393 s2mps11_irq: s2mps11-irq { 393 s2mps11_irq: s2mps11-irq {
394 samsung,pins = "gpx3-2"; 394 samsung,pins = "gpx3-2";
395 samsung,pin-function = <0xf>; 395 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
396 samsung,pin-pud = <0>; 396 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
397 samsung,pin-drv = <0>; 397 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
398 }; 398 };
399}; 399};
400 400
diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts
index bc76dfdc57e6..ec4a00f1ce01 100644
--- a/arch/arm/boot/dts/exynos5420-peach-pit.dts
+++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts
@@ -754,171 +754,171 @@
754 754
755 wifi_en: wifi-en { 755 wifi_en: wifi-en {
756 samsung,pins = "gpx0-0"; 756 samsung,pins = "gpx0-0";
757 samsung,pin-function = <1>; 757 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
758 samsung,pin-pud = <0>; 758 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
759 samsung,pin-drv = <0>; 759 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
760 }; 760 };
761 761
762 max98090_irq: max98090-irq { 762 max98090_irq: max98090-irq {
763 samsung,pins = "gpx0-2"; 763 samsung,pins = "gpx0-2";
764 samsung,pin-function = <0>; 764 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
765 samsung,pin-pud = <0>; 765 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
766 samsung,pin-drv = <0>; 766 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
767 }; 767 };
768 768
769 /* We need GPX0_6 to be low at sleep time; just keep it low always */ 769 /* We need GPX0_6 to be low at sleep time; just keep it low always */
770 mask_tpm_reset: mask-tpm-reset { 770 mask_tpm_reset: mask-tpm-reset {
771 samsung,pins = "gpx0-6"; 771 samsung,pins = "gpx0-6";
772 samsung,pin-function = <1>; 772 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
773 samsung,pin-pud = <0>; 773 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
774 samsung,pin-drv = <0>; 774 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
775 samsung,pin-val = <0>; 775 samsung,pin-val = <0>;
776 }; 776 };
777 777
778 tpm_irq: tpm-irq { 778 tpm_irq: tpm-irq {
779 samsung,pins = "gpx1-0"; 779 samsung,pins = "gpx1-0";
780 samsung,pin-function = <0>; 780 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
781 samsung,pin-pud = <0>; 781 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
782 samsung,pin-drv = <0>; 782 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
783 }; 783 };
784 784
785 trackpad_irq: trackpad-irq { 785 trackpad_irq: trackpad-irq {
786 samsung,pins = "gpx1-1"; 786 samsung,pins = "gpx1-1";
787 samsung,pin-function = <0xf>; 787 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
788 samsung,pin-pud = <0>; 788 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
789 samsung,pin-drv = <0>; 789 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
790 }; 790 };
791 791
792 power_key_irq: power-key-irq { 792 power_key_irq: power-key-irq {
793 samsung,pins = "gpx1-2"; 793 samsung,pins = "gpx1-2";
794 samsung,pin-function = <0>; 794 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
795 samsung,pin-pud = <0>; 795 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
796 samsung,pin-drv = <0>; 796 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
797 }; 797 };
798 798
799 ec_irq: ec-irq { 799 ec_irq: ec-irq {
800 samsung,pins = "gpx1-5"; 800 samsung,pins = "gpx1-5";
801 samsung,pin-function = <0>; 801 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
802 samsung,pin-pud = <0>; 802 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
803 samsung,pin-drv = <0>; 803 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
804 }; 804 };
805 805
806 tps65090_irq: tps65090-irq { 806 tps65090_irq: tps65090-irq {
807 samsung,pins = "gpx2-5"; 807 samsung,pins = "gpx2-5";
808 samsung,pin-function = <0>; 808 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
809 samsung,pin-pud = <0>; 809 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
810 samsung,pin-drv = <0>; 810 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
811 }; 811 };
812 812
813 dp_hpd_gpio: dp_hpd_gpio { 813 dp_hpd_gpio: dp_hpd_gpio {
814 samsung,pins = "gpx2-6"; 814 samsung,pins = "gpx2-6";
815 samsung,pin-function = <0>; 815 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
816 samsung,pin-pud = <3>; 816 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
817 samsung,pin-drv = <0>; 817 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
818 }; 818 };
819 819
820 max77802_irq: max77802-irq { 820 max77802_irq: max77802-irq {
821 samsung,pins = "gpx3-1"; 821 samsung,pins = "gpx3-1";
822 samsung,pin-function = <0>; 822 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
823 samsung,pin-pud = <0>; 823 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
824 samsung,pin-drv = <0>; 824 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
825 }; 825 };
826 826
827 lid_irq: lid-irq { 827 lid_irq: lid-irq {
828 samsung,pins = "gpx3-4"; 828 samsung,pins = "gpx3-4";
829 samsung,pin-function = <0xf>; 829 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
830 samsung,pin-pud = <0>; 830 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
831 samsung,pin-drv = <0>; 831 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
832 }; 832 };
833 833
834 hdmi_hpd_irq: hdmi-hpd-irq { 834 hdmi_hpd_irq: hdmi-hpd-irq {
835 samsung,pins = "gpx3-7"; 835 samsung,pins = "gpx3-7";
836 samsung,pin-function = <0>; 836 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
837 samsung,pin-pud = <1>; 837 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
838 samsung,pin-drv = <0>; 838 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
839 }; 839 };
840 840
841 pmic_dvs_1: pmic-dvs-1 { 841 pmic_dvs_1: pmic-dvs-1 {
842 samsung,pins = "gpy7-6"; 842 samsung,pins = "gpy7-6";
843 samsung,pin-function = <1>; 843 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
844 samsung,pin-pud = <0>; 844 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
845 samsung,pin-drv = <0>; 845 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
846 }; 846 };
847}; 847};
848 848
849&pinctrl_1 { 849&pinctrl_1 {
850 /* Adjust WiFi drive strengths lower for EMI */ 850 /* Adjust WiFi drive strengths lower for EMI */
851 sd1_clk: sd1-clk { 851 sd1_clk: sd1-clk {
852 samsung,pin-drv = <2>; 852 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
853 }; 853 };
854 854
855 sd1_cmd: sd1-cmd { 855 sd1_cmd: sd1-cmd {
856 samsung,pin-drv = <2>; 856 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
857 }; 857 };
858 858
859 sd1_bus1: sd1-bus-width1 { 859 sd1_bus1: sd1-bus-width1 {
860 samsung,pin-drv = <2>; 860 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
861 }; 861 };
862 862
863 sd1_bus4: sd1-bus-width4 { 863 sd1_bus4: sd1-bus-width4 {
864 samsung,pin-drv = <2>; 864 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
865 }; 865 };
866 866
867 sd1_bus8: sd1-bus-width8 { 867 sd1_bus8: sd1-bus-width8 {
868 samsung,pin-drv = <2>; 868 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
869 }; 869 };
870}; 870};
871 871
872&pinctrl_2 { 872&pinctrl_2 {
873 pmic_dvs_2: pmic-dvs-2 { 873 pmic_dvs_2: pmic-dvs-2 {
874 samsung,pins = "gpj4-2"; 874 samsung,pins = "gpj4-2";
875 samsung,pin-function = <1>; 875 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
876 samsung,pin-pud = <0>; 876 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
877 samsung,pin-drv = <0>; 877 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
878 }; 878 };
879 879
880 pmic_dvs_3: pmic-dvs-3 { 880 pmic_dvs_3: pmic-dvs-3 {
881 samsung,pins = "gpj4-3"; 881 samsung,pins = "gpj4-3";
882 samsung,pin-function = <1>; 882 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
883 samsung,pin-pud = <0>; 883 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
884 samsung,pin-drv = <0>; 884 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
885 }; 885 };
886}; 886};
887 887
888&pinctrl_3 { 888&pinctrl_3 {
889 /* Drive SPI lines at x2 for better integrity */ 889 /* Drive SPI lines at x2 for better integrity */
890 spi2-bus { 890 spi2-bus {
891 samsung,pin-drv = <2>; 891 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
892 }; 892 };
893 893
894 /* Drive SPI chip select at x2 for better integrity */ 894 /* Drive SPI chip select at x2 for better integrity */
895 ec_spi_cs: ec-spi-cs { 895 ec_spi_cs: ec-spi-cs {
896 samsung,pins = "gpb1-2"; 896 samsung,pins = "gpb1-2";
897 samsung,pin-function = <1>; 897 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
898 samsung,pin-pud = <0>; 898 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
899 samsung,pin-drv = <2>; 899 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
900 }; 900 };
901 901
902 usb300_vbus_en: usb300-vbus-en { 902 usb300_vbus_en: usb300-vbus-en {
903 samsung,pins = "gph0-0"; 903 samsung,pins = "gph0-0";
904 samsung,pin-function = <1>; 904 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
905 samsung,pin-pud = <0>; 905 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
906 samsung,pin-drv = <0>; 906 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
907 }; 907 };
908 908
909 usb301_vbus_en: usb301-vbus-en { 909 usb301_vbus_en: usb301-vbus-en {
910 samsung,pins = "gph0-1"; 910 samsung,pins = "gph0-1";
911 samsung,pin-function = <1>; 911 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
912 samsung,pin-pud = <0>; 912 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
913 samsung,pin-drv = <0>; 913 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
914 }; 914 };
915 915
916 pmic_selb: pmic-selb { 916 pmic_selb: pmic-selb {
917 samsung,pins = "gph0-2", "gph0-3", "gph0-4", "gph0-5", 917 samsung,pins = "gph0-2", "gph0-3", "gph0-4", "gph0-5",
918 "gph0-6"; 918 "gph0-6";
919 samsung,pin-function = <1>; 919 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
920 samsung,pin-pud = <0>; 920 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
921 samsung,pin-drv = <0>; 921 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
922 }; 922 };
923}; 923};
924 924
diff --git a/arch/arm/boot/dts/exynos5420-pinctrl.dtsi b/arch/arm/boot/dts/exynos5420-pinctrl.dtsi
index 14beb7e07323..3924b4fafe72 100644
--- a/arch/arm/boot/dts/exynos5420-pinctrl.dtsi
+++ b/arch/arm/boot/dts/exynos5420-pinctrl.dtsi
@@ -12,6 +12,8 @@
12 * published by the Free Software Foundation. 12 * published by the Free Software Foundation.
13*/ 13*/
14 14
15#include <dt-bindings/pinctrl/samsung.h>
16
15&pinctrl_0 { 17&pinctrl_0 {
16 gpy7: gpy7 { 18 gpy7: gpy7 {
17 gpio-controller; 19 gpio-controller;
@@ -61,9 +63,9 @@
61 63
62 dp_hpd: dp_hpd { 64 dp_hpd: dp_hpd {
63 samsung,pins = "gpx0-7"; 65 samsung,pins = "gpx0-7";
64 samsung,pin-function = <3>; 66 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
65 samsung,pin-pud = <0>; 67 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
66 samsung,pin-drv = <0>; 68 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
67 }; 69 };
68}; 70};
69 71
@@ -153,135 +155,135 @@
153 155
154 sd0_clk: sd0-clk { 156 sd0_clk: sd0-clk {
155 samsung,pins = "gpc0-0"; 157 samsung,pins = "gpc0-0";
156 samsung,pin-function = <2>; 158 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
157 samsung,pin-pud = <0>; 159 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
158 samsung,pin-drv = <3>; 160 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
159 }; 161 };
160 162
161 sd0_cmd: sd0-cmd { 163 sd0_cmd: sd0-cmd {
162 samsung,pins = "gpc0-1"; 164 samsung,pins = "gpc0-1";
163 samsung,pin-function = <2>; 165 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
164 samsung,pin-pud = <0>; 166 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
165 samsung,pin-drv = <3>; 167 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
166 }; 168 };
167 169
168 sd0_cd: sd0-cd { 170 sd0_cd: sd0-cd {
169 samsung,pins = "gpc0-2"; 171 samsung,pins = "gpc0-2";
170 samsung,pin-function = <2>; 172 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
171 samsung,pin-pud = <3>; 173 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
172 samsung,pin-drv = <3>; 174 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
173 }; 175 };
174 176
175 sd0_bus1: sd0-bus-width1 { 177 sd0_bus1: sd0-bus-width1 {
176 samsung,pins = "gpc0-3"; 178 samsung,pins = "gpc0-3";
177 samsung,pin-function = <2>; 179 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
178 samsung,pin-pud = <3>; 180 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
179 samsung,pin-drv = <3>; 181 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
180 }; 182 };
181 183
182 sd0_bus4: sd0-bus-width4 { 184 sd0_bus4: sd0-bus-width4 {
183 samsung,pins = "gpc0-4", "gpc0-5", "gpc0-6"; 185 samsung,pins = "gpc0-4", "gpc0-5", "gpc0-6";
184 samsung,pin-function = <2>; 186 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
185 samsung,pin-pud = <3>; 187 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
186 samsung,pin-drv = <3>; 188 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
187 }; 189 };
188 190
189 sd0_bus8: sd0-bus-width8 { 191 sd0_bus8: sd0-bus-width8 {
190 samsung,pins = "gpc3-0", "gpc3-1", "gpc3-2", "gpc3-3"; 192 samsung,pins = "gpc3-0", "gpc3-1", "gpc3-2", "gpc3-3";
191 samsung,pin-function = <2>; 193 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
192 samsung,pin-pud = <3>; 194 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
193 samsung,pin-drv = <3>; 195 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
194 }; 196 };
195 197
196 sd0_rclk: sd0-rclk { 198 sd0_rclk: sd0-rclk {
197 samsung,pins = "gpc0-7"; 199 samsung,pins = "gpc0-7";
198 samsung,pin-function = <2>; 200 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
199 samsung,pin-pud = <1>; 201 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
200 samsung,pin-drv = <3>; 202 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
201 }; 203 };
202 204
203 sd1_clk: sd1-clk { 205 sd1_clk: sd1-clk {
204 samsung,pins = "gpc1-0"; 206 samsung,pins = "gpc1-0";
205 samsung,pin-function = <2>; 207 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
206 samsung,pin-pud = <0>; 208 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
207 samsung,pin-drv = <3>; 209 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
208 }; 210 };
209 211
210 sd1_cmd: sd1-cmd { 212 sd1_cmd: sd1-cmd {
211 samsung,pins = "gpc1-1"; 213 samsung,pins = "gpc1-1";
212 samsung,pin-function = <2>; 214 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
213 samsung,pin-pud = <0>; 215 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
214 samsung,pin-drv = <3>; 216 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
215 }; 217 };
216 218
217 sd1_cd: sd1-cd { 219 sd1_cd: sd1-cd {
218 samsung,pins = "gpc1-2"; 220 samsung,pins = "gpc1-2";
219 samsung,pin-function = <2>; 221 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
220 samsung,pin-pud = <3>; 222 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
221 samsung,pin-drv = <3>; 223 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
222 }; 224 };
223 225
224 sd1_int: sd1-int { 226 sd1_int: sd1-int {
225 samsung,pins = "gpd1-1"; 227 samsung,pins = "gpd1-1";
226 samsung,pin-function = <2>; 228 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
227 samsung,pin-pud = <3>; 229 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
228 samsung,pin-drv = <0>; 230 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
229 }; 231 };
230 232
231 sd1_bus1: sd1-bus-width1 { 233 sd1_bus1: sd1-bus-width1 {
232 samsung,pins = "gpc1-3"; 234 samsung,pins = "gpc1-3";
233 samsung,pin-function = <2>; 235 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
234 samsung,pin-pud = <3>; 236 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
235 samsung,pin-drv = <3>; 237 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
236 }; 238 };
237 239
238 sd1_bus4: sd1-bus-width4 { 240 sd1_bus4: sd1-bus-width4 {
239 samsung,pins = "gpc1-4", "gpc1-5", "gpc1-6"; 241 samsung,pins = "gpc1-4", "gpc1-5", "gpc1-6";
240 samsung,pin-function = <2>; 242 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
241 samsung,pin-pud = <3>; 243 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
242 samsung,pin-drv = <3>; 244 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
243 }; 245 };
244 246
245 sd1_bus8: sd1-bus-width8 { 247 sd1_bus8: sd1-bus-width8 {
246 samsung,pins = "gpd1-4", "gpd1-5", "gpd1-6", "gpd1-7"; 248 samsung,pins = "gpd1-4", "gpd1-5", "gpd1-6", "gpd1-7";
247 samsung,pin-function = <2>; 249 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
248 samsung,pin-pud = <3>; 250 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
249 samsung,pin-drv = <3>; 251 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
250 }; 252 };
251 253
252 sd2_clk: sd2-clk { 254 sd2_clk: sd2-clk {
253 samsung,pins = "gpc2-0"; 255 samsung,pins = "gpc2-0";
254 samsung,pin-function = <2>; 256 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
255 samsung,pin-pud = <0>; 257 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
256 samsung,pin-drv = <3>; 258 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
257 }; 259 };
258 260
259 sd2_cmd: sd2-cmd { 261 sd2_cmd: sd2-cmd {
260 samsung,pins = "gpc2-1"; 262 samsung,pins = "gpc2-1";
261 samsung,pin-function = <2>; 263 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
262 samsung,pin-pud = <0>; 264 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
263 samsung,pin-drv = <3>; 265 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
264 }; 266 };
265 267
266 sd2_cd: sd2-cd { 268 sd2_cd: sd2-cd {
267 samsung,pins = "gpc2-2"; 269 samsung,pins = "gpc2-2";
268 samsung,pin-function = <2>; 270 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
269 samsung,pin-pud = <3>; 271 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
270 samsung,pin-drv = <3>; 272 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
271 }; 273 };
272 274
273 sd2_bus1: sd2-bus-width1 { 275 sd2_bus1: sd2-bus-width1 {
274 samsung,pins = "gpc2-3"; 276 samsung,pins = "gpc2-3";
275 samsung,pin-function = <2>; 277 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
276 samsung,pin-pud = <3>; 278 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
277 samsung,pin-drv = <3>; 279 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
278 }; 280 };
279 281
280 sd2_bus4: sd2-bus-width4 { 282 sd2_bus4: sd2-bus-width4 {
281 samsung,pins = "gpc2-4", "gpc2-5", "gpc2-6"; 283 samsung,pins = "gpc2-4", "gpc2-5", "gpc2-6";
282 samsung,pin-function = <2>; 284 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
283 samsung,pin-pud = <3>; 285 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
284 samsung,pin-drv = <3>; 286 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
285 }; 287 };
286}; 288};
287 289
@@ -354,52 +356,52 @@
354 samsung,pins = "gpe0-0", "gpe0-1", "gpe0-2", "gpe0-3", 356 samsung,pins = "gpe0-0", "gpe0-1", "gpe0-2", "gpe0-3",
355 "gpe0-4", "gpe0-5", "gpe0-6", "gpe0-7", 357 "gpe0-4", "gpe0-5", "gpe0-6", "gpe0-7",
356 "gpe1-0", "gpe1-1"; 358 "gpe1-0", "gpe1-1";
357 samsung,pin-function = <2>; 359 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
358 samsung,pin-pud = <0>; 360 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
359 samsung,pin-drv = <0>; 361 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
360 }; 362 };
361 363
362 cam_gpio_b: cam-gpio-b { 364 cam_gpio_b: cam-gpio-b {
363 samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3", 365 samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3",
364 "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3"; 366 "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
365 samsung,pin-function = <3>; 367 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
366 samsung,pin-pud = <0>; 368 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
367 samsung,pin-drv = <0>; 369 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
368 }; 370 };
369 371
370 cam_i2c2_bus: cam-i2c2-bus { 372 cam_i2c2_bus: cam-i2c2-bus {
371 samsung,pins = "gpf0-4", "gpf0-5"; 373 samsung,pins = "gpf0-4", "gpf0-5";
372 samsung,pin-function = <2>; 374 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
373 samsung,pin-pud = <3>; 375 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
374 samsung,pin-drv = <0>; 376 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
375 }; 377 };
376 378
377 cam_spi1_bus: cam-spi1-bus { 379 cam_spi1_bus: cam-spi1-bus {
378 samsung,pins = "gpe0-4", "gpe0-5", "gpf0-2", "gpf0-3"; 380 samsung,pins = "gpe0-4", "gpe0-5", "gpf0-2", "gpf0-3";
379 samsung,pin-function = <4>; 381 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
380 samsung,pin-pud = <0>; 382 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
381 samsung,pin-drv = <0>; 383 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
382 }; 384 };
383 385
384 cam_i2c1_bus: cam-i2c1-bus { 386 cam_i2c1_bus: cam-i2c1-bus {
385 samsung,pins = "gpf0-2", "gpf0-3"; 387 samsung,pins = "gpf0-2", "gpf0-3";
386 samsung,pin-function = <2>; 388 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
387 samsung,pin-pud = <3>; 389 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
388 samsung,pin-drv = <0>; 390 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
389 }; 391 };
390 392
391 cam_i2c0_bus: cam-i2c0-bus { 393 cam_i2c0_bus: cam-i2c0-bus {
392 samsung,pins = "gpf0-0", "gpf0-1"; 394 samsung,pins = "gpf0-0", "gpf0-1";
393 samsung,pin-function = <2>; 395 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
394 samsung,pin-pud = <3>; 396 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
395 samsung,pin-drv = <0>; 397 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
396 }; 398 };
397 399
398 cam_spi0_bus: cam-spi0-bus { 400 cam_spi0_bus: cam-spi0-bus {
399 samsung,pins = "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3"; 401 samsung,pins = "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
400 samsung,pin-function = <2>; 402 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
401 samsung,pin-pud = <0>; 403 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
402 samsung,pin-drv = <0>; 404 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
403 }; 405 };
404 406
405 cam_bayrgb_bus: cam-bayrgb-bus { 407 cam_bayrgb_bus: cam-bayrgb-bus {
@@ -408,9 +410,9 @@
408 "gpg1-0", "gpg1-1", "gpg1-2", "gpg1-3", 410 "gpg1-0", "gpg1-1", "gpg1-2", "gpg1-3",
409 "gpg1-4", "gpg1-5", "gpg1-6", "gpg1-7", 411 "gpg1-4", "gpg1-5", "gpg1-6", "gpg1-7",
410 "gpg2-0"; 412 "gpg2-0";
411 samsung,pin-function = <2>; 413 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
412 samsung,pin-pud = <0>; 414 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
413 samsung,pin-drv = <0>; 415 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
414 }; 416 };
415}; 417};
416 418
@@ -489,216 +491,216 @@
489 491
490 uart0_data: uart0-data { 492 uart0_data: uart0-data {
491 samsung,pins = "gpa0-0", "gpa0-1"; 493 samsung,pins = "gpa0-0", "gpa0-1";
492 samsung,pin-function = <2>; 494 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
493 samsung,pin-pud = <0>; 495 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
494 samsung,pin-drv = <0>; 496 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
495 }; 497 };
496 498
497 uart0_fctl: uart0-fctl { 499 uart0_fctl: uart0-fctl {
498 samsung,pins = "gpa0-2", "gpa0-3"; 500 samsung,pins = "gpa0-2", "gpa0-3";
499 samsung,pin-function = <2>; 501 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
500 samsung,pin-pud = <0>; 502 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
501 samsung,pin-drv = <0>; 503 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
502 }; 504 };
503 505
504 uart1_data: uart1-data { 506 uart1_data: uart1-data {
505 samsung,pins = "gpa0-4", "gpa0-5"; 507 samsung,pins = "gpa0-4", "gpa0-5";
506 samsung,pin-function = <2>; 508 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
507 samsung,pin-pud = <0>; 509 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
508 samsung,pin-drv = <0>; 510 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
509 }; 511 };
510 512
511 uart1_fctl: uart1-fctl { 513 uart1_fctl: uart1-fctl {
512 samsung,pins = "gpa0-6", "gpa0-7"; 514 samsung,pins = "gpa0-6", "gpa0-7";
513 samsung,pin-function = <2>; 515 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
514 samsung,pin-pud = <0>; 516 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
515 samsung,pin-drv = <0>; 517 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
516 }; 518 };
517 519
518 i2c2_bus: i2c2-bus { 520 i2c2_bus: i2c2-bus {
519 samsung,pins = "gpa0-6", "gpa0-7"; 521 samsung,pins = "gpa0-6", "gpa0-7";
520 samsung,pin-function = <3>; 522 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
521 samsung,pin-pud = <3>; 523 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
522 samsung,pin-drv = <0>; 524 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
523 }; 525 };
524 526
525 uart2_data: uart2-data { 527 uart2_data: uart2-data {
526 samsung,pins = "gpa1-0", "gpa1-1"; 528 samsung,pins = "gpa1-0", "gpa1-1";
527 samsung,pin-function = <2>; 529 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
528 samsung,pin-pud = <0>; 530 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
529 samsung,pin-drv = <0>; 531 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
530 }; 532 };
531 533
532 uart2_fctl: uart2-fctl { 534 uart2_fctl: uart2-fctl {
533 samsung,pins = "gpa1-2", "gpa1-3"; 535 samsung,pins = "gpa1-2", "gpa1-3";
534 samsung,pin-function = <2>; 536 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
535 samsung,pin-pud = <0>; 537 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
536 samsung,pin-drv = <0>; 538 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
537 }; 539 };
538 540
539 i2c3_bus: i2c3-bus { 541 i2c3_bus: i2c3-bus {
540 samsung,pins = "gpa1-2", "gpa1-3"; 542 samsung,pins = "gpa1-2", "gpa1-3";
541 samsung,pin-function = <3>; 543 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
542 samsung,pin-pud = <3>; 544 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
543 samsung,pin-drv = <0>; 545 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
544 }; 546 };
545 547
546 uart3_data: uart3-data { 548 uart3_data: uart3-data {
547 samsung,pins = "gpa1-4", "gpa1-5"; 549 samsung,pins = "gpa1-4", "gpa1-5";
548 samsung,pin-function = <2>; 550 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
549 samsung,pin-pud = <0>; 551 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
550 samsung,pin-drv = <0>; 552 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
551 }; 553 };
552 554
553 spi0_bus: spi0-bus { 555 spi0_bus: spi0-bus {
554 samsung,pins = "gpa2-0", "gpa2-1", "gpa2-2", "gpa2-3"; 556 samsung,pins = "gpa2-0", "gpa2-1", "gpa2-2", "gpa2-3";
555 samsung,pin-function = <2>; 557 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
556 samsung,pin-pud = <3>; 558 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
557 samsung,pin-drv = <0>; 559 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
558 }; 560 };
559 561
560 spi1_bus: spi1-bus { 562 spi1_bus: spi1-bus {
561 samsung,pins = "gpa2-4", "gpa2-6", "gpa2-7"; 563 samsung,pins = "gpa2-4", "gpa2-6", "gpa2-7";
562 samsung,pin-function = <2>; 564 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
563 samsung,pin-pud = <3>; 565 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
564 samsung,pin-drv = <0>; 566 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
565 }; 567 };
566 568
567 i2c4_hs_bus: i2c4-hs-bus { 569 i2c4_hs_bus: i2c4-hs-bus {
568 samsung,pins = "gpa2-0", "gpa2-1"; 570 samsung,pins = "gpa2-0", "gpa2-1";
569 samsung,pin-function = <3>; 571 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
570 samsung,pin-pud = <3>; 572 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
571 samsung,pin-drv = <0>; 573 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
572 }; 574 };
573 575
574 i2c5_hs_bus: i2c5-hs-bus { 576 i2c5_hs_bus: i2c5-hs-bus {
575 samsung,pins = "gpa2-2", "gpa2-3"; 577 samsung,pins = "gpa2-2", "gpa2-3";
576 samsung,pin-function = <3>; 578 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
577 samsung,pin-pud = <3>; 579 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
578 samsung,pin-drv = <0>; 580 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
579 }; 581 };
580 582
581 i2s1_bus: i2s1-bus { 583 i2s1_bus: i2s1-bus {
582 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3", 584 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
583 "gpb0-4"; 585 "gpb0-4";
584 samsung,pin-function = <2>; 586 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
585 samsung,pin-pud = <0>; 587 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
586 samsung,pin-drv = <0>; 588 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
587 }; 589 };
588 590
589 pcm1_bus: pcm1-bus { 591 pcm1_bus: pcm1-bus {
590 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3", 592 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
591 "gpb0-4"; 593 "gpb0-4";
592 samsung,pin-function = <3>; 594 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
593 samsung,pin-pud = <0>; 595 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
594 samsung,pin-drv = <0>; 596 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
595 }; 597 };
596 598
597 i2s2_bus: i2s2-bus { 599 i2s2_bus: i2s2-bus {
598 samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3", 600 samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3",
599 "gpb1-4"; 601 "gpb1-4";
600 samsung,pin-function = <2>; 602 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
601 samsung,pin-pud = <0>; 603 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
602 samsung,pin-drv = <0>; 604 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
603 }; 605 };
604 606
605 pcm2_bus: pcm2-bus { 607 pcm2_bus: pcm2-bus {
606 samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3", 608 samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3",
607 "gpb1-4"; 609 "gpb1-4";
608 samsung,pin-function = <3>; 610 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
609 samsung,pin-pud = <0>; 611 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
610 samsung,pin-drv = <0>; 612 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
611 }; 613 };
612 614
613 spdif_bus: spdif-bus { 615 spdif_bus: spdif-bus {
614 samsung,pins = "gpb1-0", "gpb1-1"; 616 samsung,pins = "gpb1-0", "gpb1-1";
615 samsung,pin-function = <4>; 617 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
616 samsung,pin-pud = <0>; 618 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
617 samsung,pin-drv = <0>; 619 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
618 }; 620 };
619 621
620 spi2_bus: spi2-bus { 622 spi2_bus: spi2-bus {
621 samsung,pins = "gpb1-1", "gpb1-3", "gpb1-4"; 623 samsung,pins = "gpb1-1", "gpb1-3", "gpb1-4";
622 samsung,pin-function = <5>; 624 samsung,pin-function = <EXYNOS_PIN_FUNC_5>;
623 samsung,pin-pud = <3>; 625 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
624 samsung,pin-drv = <0>; 626 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
625 }; 627 };
626 628
627 i2c6_hs_bus: i2c6-hs-bus { 629 i2c6_hs_bus: i2c6-hs-bus {
628 samsung,pins = "gpb1-3", "gpb1-4"; 630 samsung,pins = "gpb1-3", "gpb1-4";
629 samsung,pin-function = <4>; 631 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
630 samsung,pin-pud = <3>; 632 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
631 samsung,pin-drv = <0>; 633 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
632 }; 634 };
633 635
634 pwm0_out: pwm0-out { 636 pwm0_out: pwm0-out {
635 samsung,pins = "gpb2-0"; 637 samsung,pins = "gpb2-0";
636 samsung,pin-function = <2>; 638 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
637 samsung,pin-pud = <0>; 639 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
638 samsung,pin-drv = <0>; 640 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
639 }; 641 };
640 642
641 pwm1_out: pwm1-out { 643 pwm1_out: pwm1-out {
642 samsung,pins = "gpb2-1"; 644 samsung,pins = "gpb2-1";
643 samsung,pin-function = <2>; 645 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
644 samsung,pin-pud = <0>; 646 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
645 samsung,pin-drv = <0>; 647 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
646 }; 648 };
647 649
648 pwm2_out: pwm2-out { 650 pwm2_out: pwm2-out {
649 samsung,pins = "gpb2-2"; 651 samsung,pins = "gpb2-2";
650 samsung,pin-function = <2>; 652 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
651 samsung,pin-pud = <0>; 653 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
652 samsung,pin-drv = <0>; 654 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
653 }; 655 };
654 656
655 pwm3_out: pwm3-out { 657 pwm3_out: pwm3-out {
656 samsung,pins = "gpb2-3"; 658 samsung,pins = "gpb2-3";
657 samsung,pin-function = <2>; 659 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
658 samsung,pin-pud = <0>; 660 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
659 samsung,pin-drv = <0>; 661 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
660 }; 662 };
661 663
662 i2c7_hs_bus: i2c7-hs-bus { 664 i2c7_hs_bus: i2c7-hs-bus {
663 samsung,pins = "gpb2-2", "gpb2-3"; 665 samsung,pins = "gpb2-2", "gpb2-3";
664 samsung,pin-function = <3>; 666 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
665 samsung,pin-pud = <3>; 667 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
666 samsung,pin-drv = <0>; 668 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
667 }; 669 };
668 670
669 i2c0_bus: i2c0-bus { 671 i2c0_bus: i2c0-bus {
670 samsung,pins = "gpb3-0", "gpb3-1"; 672 samsung,pins = "gpb3-0", "gpb3-1";
671 samsung,pin-function = <2>; 673 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
672 samsung,pin-pud = <3>; 674 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
673 samsung,pin-drv = <0>; 675 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
674 }; 676 };
675 677
676 i2c1_bus: i2c1-bus { 678 i2c1_bus: i2c1-bus {
677 samsung,pins = "gpb3-2", "gpb3-3"; 679 samsung,pins = "gpb3-2", "gpb3-3";
678 samsung,pin-function = <2>; 680 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
679 samsung,pin-pud = <3>; 681 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
680 samsung,pin-drv = <0>; 682 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
681 }; 683 };
682 684
683 i2c8_hs_bus: i2c8-hs-bus { 685 i2c8_hs_bus: i2c8-hs-bus {
684 samsung,pins = "gpb3-4", "gpb3-5"; 686 samsung,pins = "gpb3-4", "gpb3-5";
685 samsung,pin-function = <2>; 687 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
686 samsung,pin-pud = <3>; 688 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
687 samsung,pin-drv = <0>; 689 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
688 }; 690 };
689 691
690 i2c9_hs_bus: i2c9-hs-bus { 692 i2c9_hs_bus: i2c9-hs-bus {
691 samsung,pins = "gpb3-6", "gpb3-7"; 693 samsung,pins = "gpb3-6", "gpb3-7";
692 samsung,pin-function = <2>; 694 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
693 samsung,pin-pud = <3>; 695 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
694 samsung,pin-drv = <0>; 696 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
695 }; 697 };
696 698
697 i2c10_hs_bus: i2c10-hs-bus { 699 i2c10_hs_bus: i2c10-hs-bus {
698 samsung,pins = "gpb4-0", "gpb4-1"; 700 samsung,pins = "gpb4-0", "gpb4-1";
699 samsung,pin-function = <2>; 701 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
700 samsung,pin-pud = <3>; 702 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
701 samsung,pin-drv = <0>; 703 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
702 }; 704 };
703}; 705};
704 706
@@ -714,8 +716,8 @@
714 i2s0_bus: i2s0-bus { 716 i2s0_bus: i2s0-bus {
715 samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3", 717 samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3",
716 "gpz-4", "gpz-5", "gpz-6"; 718 "gpz-4", "gpz-5", "gpz-6";
717 samsung,pin-function = <2>; 719 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
718 samsung,pin-pud = <0>; 720 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
719 samsung,pin-drv = <0>; 721 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
720 }; 722 };
721}; 723};
diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5420-smdk5420.dts
index b9192ef11257..aaccd0da41e5 100644
--- a/arch/arm/boot/dts/exynos5420-smdk5420.dts
+++ b/arch/arm/boot/dts/exynos5420-smdk5420.dts
@@ -387,25 +387,25 @@
387&pinctrl_0 { 387&pinctrl_0 {
388 hdmi_hpd_irq: hdmi-hpd-irq { 388 hdmi_hpd_irq: hdmi-hpd-irq {
389 samsung,pins = "gpx3-7"; 389 samsung,pins = "gpx3-7";
390 samsung,pin-function = <0>; 390 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
391 samsung,pin-pud = <1>; 391 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
392 samsung,pin-drv = <0>; 392 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
393 }; 393 };
394}; 394};
395 395
396&pinctrl_2 { 396&pinctrl_2 {
397 usb300_vbus_en: usb300-vbus-en { 397 usb300_vbus_en: usb300-vbus-en {
398 samsung,pins = "gpg0-5"; 398 samsung,pins = "gpg0-5";
399 samsung,pin-function = <1>; 399 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
400 samsung,pin-pud = <0>; 400 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
401 samsung,pin-drv = <0>; 401 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
402 }; 402 };
403 403
404 usb301_vbus_en: usb301-vbus-en { 404 usb301_vbus_en: usb301-vbus-en {
405 samsung,pins = "gpg1-4"; 405 samsung,pins = "gpg1-4";
406 samsung,pin-function = <1>; 406 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
407 samsung,pin-pud = <0>; 407 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
408 samsung,pin-drv = <0>; 408 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
409 }; 409 };
410}; 410};
411 411
diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi
index 0747c6fdadf8..246d298557f5 100644
--- a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi
+++ b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi
@@ -549,25 +549,25 @@
549&pinctrl_0 { 549&pinctrl_0 {
550 hdmi_hpd_irq: hdmi-hpd-irq { 550 hdmi_hpd_irq: hdmi-hpd-irq {
551 samsung,pins = "gpx3-7"; 551 samsung,pins = "gpx3-7";
552 samsung,pin-function = <0>; 552 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
553 samsung,pin-pud = <1>; 553 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
554 samsung,pin-drv = <0>; 554 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
555 }; 555 };
556 556
557 s2mps11_irq: s2mps11-irq { 557 s2mps11_irq: s2mps11-irq {
558 samsung,pins = "gpx0-4"; 558 samsung,pins = "gpx0-4";
559 samsung,pin-function = <0xf>; 559 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
560 samsung,pin-pud = <0>; 560 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
561 samsung,pin-drv = <0>; 561 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
562 }; 562 };
563}; 563};
564 564
565&pinctrl_1 { 565&pinctrl_1 {
566 emmc_nrst_pin: emmc-nrst { 566 emmc_nrst_pin: emmc-nrst {
567 samsung,pins = "gpd1-0"; 567 samsung,pins = "gpd1-0";
568 samsung,pin-function = <0>; 568 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
569 samsung,pin-pud = <0>; 569 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
570 samsung,pin-drv = <0>; 570 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
571 }; 571 };
572}; 572};
573 573
diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts
index 9fafe10d9e4e..01f466816fea 100644
--- a/arch/arm/boot/dts/exynos5800-peach-pi.dts
+++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts
@@ -723,171 +723,171 @@
723 723
724 wifi_en: wifi-en { 724 wifi_en: wifi-en {
725 samsung,pins = "gpx0-0"; 725 samsung,pins = "gpx0-0";
726 samsung,pin-function = <1>; 726 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
727 samsung,pin-pud = <0>; 727 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
728 samsung,pin-drv = <0>; 728 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
729 }; 729 };
730 730
731 max98091_irq: max98091-irq { 731 max98091_irq: max98091-irq {
732 samsung,pins = "gpx0-2"; 732 samsung,pins = "gpx0-2";
733 samsung,pin-function = <0>; 733 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
734 samsung,pin-pud = <0>; 734 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
735 samsung,pin-drv = <0>; 735 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
736 }; 736 };
737 737
738 /* We need GPX0_6 to be low at sleep time; just keep it low always */ 738 /* We need GPX0_6 to be low at sleep time; just keep it low always */
739 mask_tpm_reset: mask-tpm-reset { 739 mask_tpm_reset: mask-tpm-reset {
740 samsung,pins = "gpx0-6"; 740 samsung,pins = "gpx0-6";
741 samsung,pin-function = <1>; 741 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
742 samsung,pin-pud = <0>; 742 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
743 samsung,pin-drv = <0>; 743 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
744 samsung,pin-val = <0>; 744 samsung,pin-val = <0>;
745 }; 745 };
746 746
747 tpm_irq: tpm-irq { 747 tpm_irq: tpm-irq {
748 samsung,pins = "gpx1-0"; 748 samsung,pins = "gpx1-0";
749 samsung,pin-function = <0>; 749 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
750 samsung,pin-pud = <0>; 750 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
751 samsung,pin-drv = <0>; 751 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
752 }; 752 };
753 753
754 trackpad_irq: trackpad-irq { 754 trackpad_irq: trackpad-irq {
755 samsung,pins = "gpx1-1"; 755 samsung,pins = "gpx1-1";
756 samsung,pin-function = <0xf>; 756 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
757 samsung,pin-pud = <0>; 757 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
758 samsung,pin-drv = <0>; 758 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
759 }; 759 };
760 760
761 power_key_irq: power-key-irq { 761 power_key_irq: power-key-irq {
762 samsung,pins = "gpx1-2"; 762 samsung,pins = "gpx1-2";
763 samsung,pin-function = <0>; 763 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
764 samsung,pin-pud = <0>; 764 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
765 samsung,pin-drv = <0>; 765 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
766 }; 766 };
767 767
768 ec_irq: ec-irq { 768 ec_irq: ec-irq {
769 samsung,pins = "gpx1-5"; 769 samsung,pins = "gpx1-5";
770 samsung,pin-function = <0>; 770 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
771 samsung,pin-pud = <0>; 771 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
772 samsung,pin-drv = <0>; 772 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
773 }; 773 };
774 774
775 tps65090_irq: tps65090-irq { 775 tps65090_irq: tps65090-irq {
776 samsung,pins = "gpx2-5"; 776 samsung,pins = "gpx2-5";
777 samsung,pin-function = <0>; 777 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
778 samsung,pin-pud = <0>; 778 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
779 samsung,pin-drv = <0>; 779 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
780 }; 780 };
781 781
782 dp_hpd_gpio: dp_hpd_gpio { 782 dp_hpd_gpio: dp_hpd_gpio {
783 samsung,pins = "gpx2-6"; 783 samsung,pins = "gpx2-6";
784 samsung,pin-function = <0>; 784 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
785 samsung,pin-pud = <3>; 785 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
786 samsung,pin-drv = <0>; 786 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
787 }; 787 };
788 788
789 max77802_irq: max77802-irq { 789 max77802_irq: max77802-irq {
790 samsung,pins = "gpx3-1"; 790 samsung,pins = "gpx3-1";
791 samsung,pin-function = <0>; 791 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
792 samsung,pin-pud = <0>; 792 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
793 samsung,pin-drv = <0>; 793 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
794 }; 794 };
795 795
796 lid_irq: lid-irq { 796 lid_irq: lid-irq {
797 samsung,pins = "gpx3-4"; 797 samsung,pins = "gpx3-4";
798 samsung,pin-function = <0xf>; 798 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
799 samsung,pin-pud = <0>; 799 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
800 samsung,pin-drv = <0>; 800 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
801 }; 801 };
802 802
803 hdmi_hpd_irq: hdmi-hpd-irq { 803 hdmi_hpd_irq: hdmi-hpd-irq {
804 samsung,pins = "gpx3-7"; 804 samsung,pins = "gpx3-7";
805 samsung,pin-function = <0>; 805 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
806 samsung,pin-pud = <1>; 806 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
807 samsung,pin-drv = <0>; 807 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
808 }; 808 };
809 809
810 pmic_dvs_1: pmic-dvs-1 { 810 pmic_dvs_1: pmic-dvs-1 {
811 samsung,pins = "gpy7-6"; 811 samsung,pins = "gpy7-6";
812 samsung,pin-function = <1>; 812 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
813 samsung,pin-pud = <0>; 813 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
814 samsung,pin-drv = <0>; 814 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
815 }; 815 };
816}; 816};
817 817
818&pinctrl_1 { 818&pinctrl_1 {
819 /* Adjust WiFi drive strengths lower for EMI */ 819 /* Adjust WiFi drive strengths lower for EMI */
820 sd1_clk: sd1-clk { 820 sd1_clk: sd1-clk {
821 samsung,pin-drv = <2>; 821 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
822 }; 822 };
823 823
824 sd1_cmd: sd1-cmd { 824 sd1_cmd: sd1-cmd {
825 samsung,pin-drv = <2>; 825 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
826 }; 826 };
827 827
828 sd1_bus1: sd1-bus-width1 { 828 sd1_bus1: sd1-bus-width1 {
829 samsung,pin-drv = <2>; 829 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
830 }; 830 };
831 831
832 sd1_bus4: sd1-bus-width4 { 832 sd1_bus4: sd1-bus-width4 {
833 samsung,pin-drv = <2>; 833 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
834 }; 834 };
835 835
836 sd1_bus8: sd1-bus-width8 { 836 sd1_bus8: sd1-bus-width8 {
837 samsung,pin-drv = <2>; 837 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
838 }; 838 };
839}; 839};
840 840
841&pinctrl_2 { 841&pinctrl_2 {
842 pmic_dvs_2: pmic-dvs-2 { 842 pmic_dvs_2: pmic-dvs-2 {
843 samsung,pins = "gpj4-2"; 843 samsung,pins = "gpj4-2";
844 samsung,pin-function = <1>; 844 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
845 samsung,pin-pud = <0>; 845 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
846 samsung,pin-drv = <0>; 846 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
847 }; 847 };
848 848
849 pmic_dvs_3: pmic-dvs-3 { 849 pmic_dvs_3: pmic-dvs-3 {
850 samsung,pins = "gpj4-3"; 850 samsung,pins = "gpj4-3";
851 samsung,pin-function = <1>; 851 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
852 samsung,pin-pud = <0>; 852 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
853 samsung,pin-drv = <0>; 853 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
854 }; 854 };
855}; 855};
856 856
857&pinctrl_3 { 857&pinctrl_3 {
858 /* Drive SPI lines at x2 for better integrity */ 858 /* Drive SPI lines at x2 for better integrity */
859 spi2-bus { 859 spi2-bus {
860 samsung,pin-drv = <2>; 860 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
861 }; 861 };
862 862
863 /* Drive SPI chip select at x2 for better integrity */ 863 /* Drive SPI chip select at x2 for better integrity */
864 ec_spi_cs: ec-spi-cs { 864 ec_spi_cs: ec-spi-cs {
865 samsung,pins = "gpb1-2"; 865 samsung,pins = "gpb1-2";
866 samsung,pin-function = <1>; 866 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
867 samsung,pin-pud = <0>; 867 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
868 samsung,pin-drv = <2>; 868 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
869 }; 869 };
870 870
871 usb300_vbus_en: usb300-vbus-en { 871 usb300_vbus_en: usb300-vbus-en {
872 samsung,pins = "gph0-0"; 872 samsung,pins = "gph0-0";
873 samsung,pin-function = <1>; 873 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
874 samsung,pin-pud = <0>; 874 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
875 samsung,pin-drv = <0>; 875 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
876 }; 876 };
877 877
878 usb301_vbus_en: usb301-vbus-en { 878 usb301_vbus_en: usb301-vbus-en {
879 samsung,pins = "gph0-1"; 879 samsung,pins = "gph0-1";
880 samsung,pin-function = <1>; 880 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
881 samsung,pin-pud = <0>; 881 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
882 samsung,pin-drv = <0>; 882 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
883 }; 883 };
884 884
885 pmic_selb: pmic-selb { 885 pmic_selb: pmic-selb {
886 samsung,pins = "gph0-2", "gph0-3", "gph0-4", "gph0-5", 886 samsung,pins = "gph0-2", "gph0-3", "gph0-4", "gph0-5",
887 "gph0-6"; 887 "gph0-6";
888 samsung,pin-function = <1>; 888 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
889 samsung,pin-pud = <0>; 889 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
890 samsung,pin-drv = <0>; 890 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
891 }; 891 };
892}; 892};
893 893
diff --git a/arch/arm/boot/dts/s3c2416-pinctrl.dtsi b/arch/arm/boot/dts/s3c2416-pinctrl.dtsi
index 527e3193817f..6274359fb323 100644
--- a/arch/arm/boot/dts/s3c2416-pinctrl.dtsi
+++ b/arch/arm/boot/dts/s3c2416-pinctrl.dtsi
@@ -8,6 +8,8 @@
8 * published by the Free Software Foundation. 8 * published by the Free Software Foundation.
9 */ 9 */
10 10
11#include <dt-bindings/pinctrl/samsung.h>
12
11&pinctrl_0 { 13&pinctrl_0 {
12 /* 14 /*
13 * Pin banks 15 * Pin banks
@@ -83,91 +85,91 @@
83 85
84 uart0_data: uart0-data { 86 uart0_data: uart0-data {
85 samsung,pins = "gph-0", "gph-1"; 87 samsung,pins = "gph-0", "gph-1";
86 samsung,pin-function = <2>; 88 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
87 }; 89 };
88 90
89 uart0_fctl: uart0-fctl { 91 uart0_fctl: uart0-fctl {
90 samsung,pins = "gph-8", "gph-9"; 92 samsung,pins = "gph-8", "gph-9";
91 samsung,pin-function = <2>; 93 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
92 }; 94 };
93 95
94 uart1_data: uart1-data { 96 uart1_data: uart1-data {
95 samsung,pins = "gph-2", "gph-3"; 97 samsung,pins = "gph-2", "gph-3";
96 samsung,pin-function = <2>; 98 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
97 }; 99 };
98 100
99 uart1_fctl: uart1-fctl { 101 uart1_fctl: uart1-fctl {
100 samsung,pins = "gph-10", "gph-11"; 102 samsung,pins = "gph-10", "gph-11";
101 samsung,pin-function = <2>; 103 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
102 }; 104 };
103 105
104 uart2_data: uart2-data { 106 uart2_data: uart2-data {
105 samsung,pins = "gph-4", "gph-5"; 107 samsung,pins = "gph-4", "gph-5";
106 samsung,pin-function = <2>; 108 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
107 }; 109 };
108 110
109 uart2_fctl: uart2-fctl { 111 uart2_fctl: uart2-fctl {
110 samsung,pins = "gph-6", "gph-7"; 112 samsung,pins = "gph-6", "gph-7";
111 samsung,pin-function = <2>; 113 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
112 }; 114 };
113 115
114 uart3_data: uart3-data { 116 uart3_data: uart3-data {
115 samsung,pins = "gph-6", "gph-7"; 117 samsung,pins = "gph-6", "gph-7";
116 samsung,pin-function = <2>; 118 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
117 }; 119 };
118 120
119 extuart_clk: extuart-clk { 121 extuart_clk: extuart-clk {
120 samsung,pins = "gph-12"; 122 samsung,pins = "gph-12";
121 samsung,pin-function = <2>; 123 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
122 }; 124 };
123 125
124 i2c0_bus: i2c0-bus { 126 i2c0_bus: i2c0-bus {
125 samsung,pins = "gpe-14", "gpe-15"; 127 samsung,pins = "gpe-14", "gpe-15";
126 samsung,pin-function = <2>; 128 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
127 }; 129 };
128 130
129 spi0_bus: spi0-bus { 131 spi0_bus: spi0-bus {
130 samsung,pins = "gpe-11", "gpe-12", "gpe-13"; 132 samsung,pins = "gpe-11", "gpe-12", "gpe-13";
131 samsung,pin-function = <2>; 133 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
132 }; 134 };
133 135
134 sd0_clk: sd0-clk { 136 sd0_clk: sd0-clk {
135 samsung,pins = "gpe-5"; 137 samsung,pins = "gpe-5";
136 samsung,pin-function = <2>; 138 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
137 }; 139 };
138 140
139 sd0_cmd: sd0-cmd { 141 sd0_cmd: sd0-cmd {
140 samsung,pins = "gpe-6"; 142 samsung,pins = "gpe-6";
141 samsung,pin-function = <2>; 143 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
142 }; 144 };
143 145
144 sd0_bus1: sd0-bus1 { 146 sd0_bus1: sd0-bus1 {
145 samsung,pins = "gpe-7"; 147 samsung,pins = "gpe-7";
146 samsung,pin-function = <2>; 148 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
147 }; 149 };
148 150
149 sd0_bus4: sd0-bus4 { 151 sd0_bus4: sd0-bus4 {
150 samsung,pins = "gpe-8", "gpe-9", "gpe-10"; 152 samsung,pins = "gpe-8", "gpe-9", "gpe-10";
151 samsung,pin-function = <2>; 153 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
152 }; 154 };
153 155
154 sd1_cmd: sd1-cmd { 156 sd1_cmd: sd1-cmd {
155 samsung,pins = "gpl-8"; 157 samsung,pins = "gpl-8";
156 samsung,pin-function = <2>; 158 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
157 }; 159 };
158 160
159 sd1_clk: sd1-clk { 161 sd1_clk: sd1-clk {
160 samsung,pins = "gpl-9"; 162 samsung,pins = "gpl-9";
161 samsung,pin-function = <2>; 163 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
162 }; 164 };
163 165
164 sd1_bus1: sd1-bus1 { 166 sd1_bus1: sd1-bus1 {
165 samsung,pins = "gpl-0"; 167 samsung,pins = "gpl-0";
166 samsung,pin-function = <2>; 168 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
167 }; 169 };
168 170
169 sd1_bus4: sd1-bus4 { 171 sd1_bus4: sd1-bus4 {
170 samsung,pins = "gpl-1", "gpl-2", "gpl-3"; 172 samsung,pins = "gpl-1", "gpl-2", "gpl-3";
171 samsung,pin-function = <2>; 173 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
172 }; 174 };
173}; 175};
diff --git a/arch/arm/boot/dts/s3c6410-mini6410.dts b/arch/arm/boot/dts/s3c6410-mini6410.dts
index a25debb50401..f4afda3594f8 100644
--- a/arch/arm/boot/dts/s3c6410-mini6410.dts
+++ b/arch/arm/boot/dts/s3c6410-mini6410.dts
@@ -201,13 +201,13 @@
201&pinctrl0 { 201&pinctrl0 {
202 gpio_leds: gpio-leds { 202 gpio_leds: gpio-leds {
203 samsung,pins = "gpk-4", "gpk-5", "gpk-6", "gpk-7"; 203 samsung,pins = "gpk-4", "gpk-5", "gpk-6", "gpk-7";
204 samsung,pin-pud = <PIN_PULL_NONE>; 204 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
205 }; 205 };
206 206
207 gpio_keys: gpio-keys { 207 gpio_keys: gpio-keys {
208 samsung,pins = "gpn-0", "gpn-1", "gpn-2", "gpn-3", 208 samsung,pins = "gpn-0", "gpn-1", "gpn-2", "gpn-3",
209 "gpn-4", "gpn-5", "gpl-11", "gpl-12"; 209 "gpn-4", "gpn-5", "gpl-11", "gpl-12";
210 samsung,pin-pud = <PIN_PULL_NONE>; 210 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
211 }; 211 };
212}; 212};
213 213
diff --git a/arch/arm/boot/dts/s3c64xx-pinctrl.dtsi b/arch/arm/boot/dts/s3c64xx-pinctrl.dtsi
index b1197d8b04de..4e8e802b4ee1 100644
--- a/arch/arm/boot/dts/s3c64xx-pinctrl.dtsi
+++ b/arch/arm/boot/dts/s3c64xx-pinctrl.dtsi
@@ -12,9 +12,7 @@
12 * published by the Free Software Foundation. 12 * published by the Free Software Foundation.
13 */ 13 */
14 14
15#define PIN_PULL_NONE 0 15#include <dt-bindings/pinctrl/samsung.h>
16#define PIN_PULL_DOWN 1
17#define PIN_PULL_UP 2
18 16
19&pinctrl0 { 17&pinctrl0 {
20 /* 18 /*
@@ -138,514 +136,514 @@
138 136
139 uart0_data: uart0-data { 137 uart0_data: uart0-data {
140 samsung,pins = "gpa-0", "gpa-1"; 138 samsung,pins = "gpa-0", "gpa-1";
141 samsung,pin-function = <2>; 139 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
142 samsung,pin-pud = <PIN_PULL_NONE>; 140 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
143 }; 141 };
144 142
145 uart0_fctl: uart0-fctl { 143 uart0_fctl: uart0-fctl {
146 samsung,pins = "gpa-2", "gpa-3"; 144 samsung,pins = "gpa-2", "gpa-3";
147 samsung,pin-function = <2>; 145 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
148 samsung,pin-pud = <PIN_PULL_NONE>; 146 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
149 }; 147 };
150 148
151 uart1_data: uart1-data { 149 uart1_data: uart1-data {
152 samsung,pins = "gpa-4", "gpa-5"; 150 samsung,pins = "gpa-4", "gpa-5";
153 samsung,pin-function = <2>; 151 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
154 samsung,pin-pud = <PIN_PULL_NONE>; 152 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
155 }; 153 };
156 154
157 uart1_fctl: uart1-fctl { 155 uart1_fctl: uart1-fctl {
158 samsung,pins = "gpa-6", "gpa-7"; 156 samsung,pins = "gpa-6", "gpa-7";
159 samsung,pin-function = <2>; 157 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
160 samsung,pin-pud = <PIN_PULL_NONE>; 158 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
161 }; 159 };
162 160
163 uart2_data: uart2-data { 161 uart2_data: uart2-data {
164 samsung,pins = "gpb-0", "gpb-1"; 162 samsung,pins = "gpb-0", "gpb-1";
165 samsung,pin-function = <2>; 163 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
166 samsung,pin-pud = <PIN_PULL_NONE>; 164 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
167 }; 165 };
168 166
169 uart3_data: uart3-data { 167 uart3_data: uart3-data {
170 samsung,pins = "gpb-2", "gpb-3"; 168 samsung,pins = "gpb-2", "gpb-3";
171 samsung,pin-function = <2>; 169 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
172 samsung,pin-pud = <PIN_PULL_NONE>; 170 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
173 }; 171 };
174 172
175 ext_dma_0: ext-dma-0 { 173 ext_dma_0: ext-dma-0 {
176 samsung,pins = "gpb-0", "gpb-1"; 174 samsung,pins = "gpb-0", "gpb-1";
177 samsung,pin-function = <3>; 175 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
178 samsung,pin-pud = <PIN_PULL_NONE>; 176 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
179 }; 177 };
180 178
181 ext_dma_1: ext-dma-1 { 179 ext_dma_1: ext-dma-1 {
182 samsung,pins = "gpb-2", "gpb-3"; 180 samsung,pins = "gpb-2", "gpb-3";
183 samsung,pin-function = <4>; 181 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
184 samsung,pin-pud = <PIN_PULL_NONE>; 182 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
185 }; 183 };
186 184
187 irda_data_0: irda-data-0 { 185 irda_data_0: irda-data-0 {
188 samsung,pins = "gpb-0", "gpb-1"; 186 samsung,pins = "gpb-0", "gpb-1";
189 samsung,pin-function = <4>; 187 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
190 samsung,pin-pud = <PIN_PULL_NONE>; 188 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
191 }; 189 };
192 190
193 irda_data_1: irda-data-1 { 191 irda_data_1: irda-data-1 {
194 samsung,pins = "gpb-2", "gpb-3"; 192 samsung,pins = "gpb-2", "gpb-3";
195 samsung,pin-function = <3>; 193 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
196 samsung,pin-pud = <PIN_PULL_NONE>; 194 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
197 }; 195 };
198 196
199 irda_sdbw: irda-sdbw { 197 irda_sdbw: irda-sdbw {
200 samsung,pins = "gpb-4"; 198 samsung,pins = "gpb-4";
201 samsung,pin-function = <2>; 199 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
202 samsung,pin-pud = <PIN_PULL_NONE>; 200 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
203 }; 201 };
204 202
205 i2c0_bus: i2c0-bus { 203 i2c0_bus: i2c0-bus {
206 samsung,pins = "gpb-5", "gpb-6"; 204 samsung,pins = "gpb-5", "gpb-6";
207 samsung,pin-function = <2>; 205 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
208 samsung,pin-pud = <PIN_PULL_UP>; 206 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
209 }; 207 };
210 208
211 i2c1_bus: i2c1-bus { 209 i2c1_bus: i2c1-bus {
212 /* S3C6410-only */ 210 /* S3C6410-only */
213 samsung,pins = "gpb-2", "gpb-3"; 211 samsung,pins = "gpb-2", "gpb-3";
214 samsung,pin-function = <6>; 212 samsung,pin-function = <EXYNOS_PIN_FUNC_6>;
215 samsung,pin-pud = <PIN_PULL_UP>; 213 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
216 }; 214 };
217 215
218 spi0_bus: spi0-bus { 216 spi0_bus: spi0-bus {
219 samsung,pins = "gpc-0", "gpc-1", "gpc-2"; 217 samsung,pins = "gpc-0", "gpc-1", "gpc-2";
220 samsung,pin-function = <2>; 218 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
221 samsung,pin-pud = <PIN_PULL_UP>; 219 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
222 }; 220 };
223 221
224 spi0_cs: spi0-cs { 222 spi0_cs: spi0-cs {
225 samsung,pins = "gpc-3"; 223 samsung,pins = "gpc-3";
226 samsung,pin-function = <2>; 224 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
227 samsung,pin-pud = <PIN_PULL_NONE>; 225 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
228 }; 226 };
229 227
230 spi1_bus: spi1-bus { 228 spi1_bus: spi1-bus {
231 samsung,pins = "gpc-4", "gpc-5", "gpc-6"; 229 samsung,pins = "gpc-4", "gpc-5", "gpc-6";
232 samsung,pin-function = <2>; 230 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
233 samsung,pin-pud = <PIN_PULL_UP>; 231 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
234 }; 232 };
235 233
236 spi1_cs: spi1-cs { 234 spi1_cs: spi1-cs {
237 samsung,pins = "gpc-7"; 235 samsung,pins = "gpc-7";
238 samsung,pin-function = <2>; 236 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
239 samsung,pin-pud = <PIN_PULL_NONE>; 237 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
240 }; 238 };
241 239
242 sd0_cmd: sd0-cmd { 240 sd0_cmd: sd0-cmd {
243 samsung,pins = "gpg-1"; 241 samsung,pins = "gpg-1";
244 samsung,pin-function = <2>; 242 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
245 samsung,pin-pud = <PIN_PULL_NONE>; 243 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
246 }; 244 };
247 245
248 sd0_clk: sd0-clk { 246 sd0_clk: sd0-clk {
249 samsung,pins = "gpg-0"; 247 samsung,pins = "gpg-0";
250 samsung,pin-function = <2>; 248 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
251 samsung,pin-pud = <PIN_PULL_NONE>; 249 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
252 }; 250 };
253 251
254 sd0_bus1: sd0-bus1 { 252 sd0_bus1: sd0-bus1 {
255 samsung,pins = "gpg-2"; 253 samsung,pins = "gpg-2";
256 samsung,pin-function = <2>; 254 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
257 samsung,pin-pud = <PIN_PULL_NONE>; 255 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
258 }; 256 };
259 257
260 sd0_bus4: sd0-bus4 { 258 sd0_bus4: sd0-bus4 {
261 samsung,pins = "gpg-2", "gpg-3", "gpg-4", "gpg-5"; 259 samsung,pins = "gpg-2", "gpg-3", "gpg-4", "gpg-5";
262 samsung,pin-function = <2>; 260 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
263 samsung,pin-pud = <PIN_PULL_NONE>; 261 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
264 }; 262 };
265 263
266 sd0_cd: sd0-cd { 264 sd0_cd: sd0-cd {
267 samsung,pins = "gpg-6"; 265 samsung,pins = "gpg-6";
268 samsung,pin-function = <2>; 266 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
269 samsung,pin-pud = <PIN_PULL_UP>; 267 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
270 }; 268 };
271 269
272 sd1_cmd: sd1-cmd { 270 sd1_cmd: sd1-cmd {
273 samsung,pins = "gph-1"; 271 samsung,pins = "gph-1";
274 samsung,pin-function = <2>; 272 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
275 samsung,pin-pud = <PIN_PULL_NONE>; 273 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
276 }; 274 };
277 275
278 sd1_clk: sd1-clk { 276 sd1_clk: sd1-clk {
279 samsung,pins = "gph-0"; 277 samsung,pins = "gph-0";
280 samsung,pin-function = <2>; 278 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
281 samsung,pin-pud = <PIN_PULL_NONE>; 279 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
282 }; 280 };
283 281
284 sd1_bus1: sd1-bus1 { 282 sd1_bus1: sd1-bus1 {
285 samsung,pins = "gph-2"; 283 samsung,pins = "gph-2";
286 samsung,pin-function = <2>; 284 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
287 samsung,pin-pud = <PIN_PULL_NONE>; 285 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
288 }; 286 };
289 287
290 sd1_bus4: sd1-bus4 { 288 sd1_bus4: sd1-bus4 {
291 samsung,pins = "gph-2", "gph-3", "gph-4", "gph-5"; 289 samsung,pins = "gph-2", "gph-3", "gph-4", "gph-5";
292 samsung,pin-function = <2>; 290 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
293 samsung,pin-pud = <PIN_PULL_NONE>; 291 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
294 }; 292 };
295 293
296 sd1_bus8: sd1-bus8 { 294 sd1_bus8: sd1-bus8 {
297 samsung,pins = "gph-2", "gph-3", "gph-4", "gph-5", 295 samsung,pins = "gph-2", "gph-3", "gph-4", "gph-5",
298 "gph-6", "gph-7", "gph-8", "gph-9"; 296 "gph-6", "gph-7", "gph-8", "gph-9";
299 samsung,pin-function = <2>; 297 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
300 samsung,pin-pud = <PIN_PULL_NONE>; 298 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
301 }; 299 };
302 300
303 sd1_cd: sd1-cd { 301 sd1_cd: sd1-cd {
304 samsung,pins = "gpg-6"; 302 samsung,pins = "gpg-6";
305 samsung,pin-function = <3>; 303 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
306 samsung,pin-pud = <PIN_PULL_UP>; 304 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
307 }; 305 };
308 306
309 sd2_cmd: sd2-cmd { 307 sd2_cmd: sd2-cmd {
310 samsung,pins = "gpc-4"; 308 samsung,pins = "gpc-4";
311 samsung,pin-function = <3>; 309 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
312 samsung,pin-pud = <PIN_PULL_NONE>; 310 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
313 }; 311 };
314 312
315 sd2_clk: sd2-clk { 313 sd2_clk: sd2-clk {
316 samsung,pins = "gpc-5"; 314 samsung,pins = "gpc-5";
317 samsung,pin-function = <3>; 315 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
318 samsung,pin-pud = <PIN_PULL_NONE>; 316 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
319 }; 317 };
320 318
321 sd2_bus1: sd2-bus1 { 319 sd2_bus1: sd2-bus1 {
322 samsung,pins = "gph-6"; 320 samsung,pins = "gph-6";
323 samsung,pin-function = <3>; 321 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
324 samsung,pin-pud = <PIN_PULL_NONE>; 322 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
325 }; 323 };
326 324
327 sd2_bus4: sd2-bus4 { 325 sd2_bus4: sd2-bus4 {
328 samsung,pins = "gph-6", "gph-7", "gph-8", "gph-9"; 326 samsung,pins = "gph-6", "gph-7", "gph-8", "gph-9";
329 samsung,pin-function = <3>; 327 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
330 samsung,pin-pud = <PIN_PULL_NONE>; 328 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
331 }; 329 };
332 330
333 i2s0_bus: i2s0-bus { 331 i2s0_bus: i2s0-bus {
334 samsung,pins = "gpd-0", "gpd-2", "gpd-3", "gpd-4"; 332 samsung,pins = "gpd-0", "gpd-2", "gpd-3", "gpd-4";
335 samsung,pin-function = <3>; 333 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
336 samsung,pin-pud = <PIN_PULL_NONE>; 334 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
337 }; 335 };
338 336
339 i2s0_cdclk: i2s0-cdclk { 337 i2s0_cdclk: i2s0-cdclk {
340 samsung,pins = "gpd-1"; 338 samsung,pins = "gpd-1";
341 samsung,pin-function = <3>; 339 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
342 samsung,pin-pud = <PIN_PULL_NONE>; 340 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
343 }; 341 };
344 342
345 i2s1_bus: i2s1-bus { 343 i2s1_bus: i2s1-bus {
346 samsung,pins = "gpe-0", "gpe-2", "gpe-3", "gpe-4"; 344 samsung,pins = "gpe-0", "gpe-2", "gpe-3", "gpe-4";
347 samsung,pin-function = <3>; 345 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
348 samsung,pin-pud = <PIN_PULL_NONE>; 346 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
349 }; 347 };
350 348
351 i2s1_cdclk: i2s1-cdclk { 349 i2s1_cdclk: i2s1-cdclk {
352 samsung,pins = "gpe-1"; 350 samsung,pins = "gpe-1";
353 samsung,pin-function = <3>; 351 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
354 samsung,pin-pud = <PIN_PULL_NONE>; 352 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
355 }; 353 };
356 354
357 i2s2_bus: i2s2-bus { 355 i2s2_bus: i2s2-bus {
358 /* S3C6410-only */ 356 /* S3C6410-only */
359 samsung,pins = "gpc-4", "gpc-5", "gpc-6", "gph-6", 357 samsung,pins = "gpc-4", "gpc-5", "gpc-6", "gph-6",
360 "gph-8", "gph-9"; 358 "gph-8", "gph-9";
361 samsung,pin-function = <5>; 359 samsung,pin-function = <EXYNOS_PIN_FUNC_5>;
362 samsung,pin-pud = <PIN_PULL_NONE>; 360 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
363 }; 361 };
364 362
365 i2s2_cdclk: i2s2-cdclk { 363 i2s2_cdclk: i2s2-cdclk {
366 /* S3C6410-only */ 364 /* S3C6410-only */
367 samsung,pins = "gph-7"; 365 samsung,pins = "gph-7";
368 samsung,pin-function = <5>; 366 samsung,pin-function = <EXYNOS_PIN_FUNC_5>;
369 samsung,pin-pud = <PIN_PULL_NONE>; 367 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
370 }; 368 };
371 369
372 pcm0_bus: pcm0-bus { 370 pcm0_bus: pcm0-bus {
373 samsung,pins = "gpd-0", "gpd-2", "gpd-3", "gpd-4"; 371 samsung,pins = "gpd-0", "gpd-2", "gpd-3", "gpd-4";
374 samsung,pin-function = <2>; 372 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
375 samsung,pin-pud = <PIN_PULL_NONE>; 373 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
376 }; 374 };
377 375
378 pcm0_extclk: pcm0-extclk { 376 pcm0_extclk: pcm0-extclk {
379 samsung,pins = "gpd-1"; 377 samsung,pins = "gpd-1";
380 samsung,pin-function = <2>; 378 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
381 samsung,pin-pud = <PIN_PULL_NONE>; 379 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
382 }; 380 };
383 381
384 pcm1_bus: pcm1-bus { 382 pcm1_bus: pcm1-bus {
385 samsung,pins = "gpe-0", "gpe-2", "gpe-3", "gpe-4"; 383 samsung,pins = "gpe-0", "gpe-2", "gpe-3", "gpe-4";
386 samsung,pin-function = <2>; 384 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
387 samsung,pin-pud = <PIN_PULL_NONE>; 385 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
388 }; 386 };
389 387
390 pcm1_extclk: pcm1-extclk { 388 pcm1_extclk: pcm1-extclk {
391 samsung,pins = "gpe-1"; 389 samsung,pins = "gpe-1";
392 samsung,pin-function = <2>; 390 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
393 samsung,pin-pud = <PIN_PULL_NONE>; 391 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
394 }; 392 };
395 393
396 ac97_bus_0: ac97-bus-0 { 394 ac97_bus_0: ac97-bus-0 {
397 samsung,pins = "gpd-0", "gpd-1", "gpd-2", "gpd-3", "gpd-4"; 395 samsung,pins = "gpd-0", "gpd-1", "gpd-2", "gpd-3", "gpd-4";
398 samsung,pin-function = <4>; 396 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
399 samsung,pin-pud = <PIN_PULL_NONE>; 397 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
400 }; 398 };
401 399
402 ac97_bus_1: ac97-bus-1 { 400 ac97_bus_1: ac97-bus-1 {
403 samsung,pins = "gpe-0", "gpe-1", "gpe-2", "gpe-3", "gpe-4"; 401 samsung,pins = "gpe-0", "gpe-1", "gpe-2", "gpe-3", "gpe-4";
404 samsung,pin-function = <4>; 402 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
405 samsung,pin-pud = <PIN_PULL_NONE>; 403 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
406 }; 404 };
407 405
408 cam_port: cam-port { 406 cam_port: cam-port {
409 samsung,pins = "gpf-0", "gpf-1", "gpf-2", "gpf-4", 407 samsung,pins = "gpf-0", "gpf-1", "gpf-2", "gpf-4",
410 "gpf-5", "gpf-6", "gpf-7", "gpf-8", 408 "gpf-5", "gpf-6", "gpf-7", "gpf-8",
411 "gpf-9", "gpf-10", "gpf-11", "gpf-12"; 409 "gpf-9", "gpf-10", "gpf-11", "gpf-12";
412 samsung,pin-function = <2>; 410 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
413 samsung,pin-pud = <PIN_PULL_NONE>; 411 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
414 }; 412 };
415 413
416 cam_rst: cam-rst { 414 cam_rst: cam-rst {
417 samsung,pins = "gpf-3"; 415 samsung,pins = "gpf-3";
418 samsung,pin-function = <2>; 416 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
419 samsung,pin-pud = <PIN_PULL_NONE>; 417 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
420 }; 418 };
421 419
422 cam_field: cam-field { 420 cam_field: cam-field {
423 /* S3C6410-only */ 421 /* S3C6410-only */
424 samsung,pins = "gpb-4"; 422 samsung,pins = "gpb-4";
425 samsung,pin-function = <3>; 423 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
426 samsung,pin-pud = <PIN_PULL_NONE>; 424 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
427 }; 425 };
428 426
429 pwm_extclk: pwm-extclk { 427 pwm_extclk: pwm-extclk {
430 samsung,pins = "gpf-13"; 428 samsung,pins = "gpf-13";
431 samsung,pin-function = <2>; 429 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
432 samsung,pin-pud = <PIN_PULL_NONE>; 430 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
433 }; 431 };
434 432
435 pwm0_out: pwm0-out { 433 pwm0_out: pwm0-out {
436 samsung,pins = "gpf-14"; 434 samsung,pins = "gpf-14";
437 samsung,pin-function = <2>; 435 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
438 samsung,pin-pud = <PIN_PULL_NONE>; 436 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
439 }; 437 };
440 438
441 pwm1_out: pwm1-out { 439 pwm1_out: pwm1-out {
442 samsung,pins = "gpf-15"; 440 samsung,pins = "gpf-15";
443 samsung,pin-function = <2>; 441 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
444 samsung,pin-pud = <PIN_PULL_NONE>; 442 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
445 }; 443 };
446 444
447 clkout0: clkout-0 { 445 clkout0: clkout-0 {
448 samsung,pins = "gpf-14"; 446 samsung,pins = "gpf-14";
449 samsung,pin-function = <3>; 447 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
450 samsung,pin-pud = <PIN_PULL_NONE>; 448 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
451 }; 449 };
452 450
453 keypad_col0_0: keypad-col0-0 { 451 keypad_col0_0: keypad-col0-0 {
454 samsung,pins = "gph-0"; 452 samsung,pins = "gph-0";
455 samsung,pin-function = <4>; 453 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
456 samsung,pin-pud = <PIN_PULL_NONE>; 454 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
457 }; 455 };
458 456
459 keypad_col1_0: keypad-col1-0 { 457 keypad_col1_0: keypad-col1-0 {
460 samsung,pins = "gph-1"; 458 samsung,pins = "gph-1";
461 samsung,pin-function = <4>; 459 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
462 samsung,pin-pud = <PIN_PULL_NONE>; 460 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
463 }; 461 };
464 462
465 keypad_col2_0: keypad-col2-0 { 463 keypad_col2_0: keypad-col2-0 {
466 samsung,pins = "gph-2"; 464 samsung,pins = "gph-2";
467 samsung,pin-function = <4>; 465 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
468 samsung,pin-pud = <PIN_PULL_NONE>; 466 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
469 }; 467 };
470 468
471 keypad_col3_0: keypad-col3-0 { 469 keypad_col3_0: keypad-col3-0 {
472 samsung,pins = "gph-3"; 470 samsung,pins = "gph-3";
473 samsung,pin-function = <4>; 471 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
474 samsung,pin-pud = <PIN_PULL_NONE>; 472 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
475 }; 473 };
476 474
477 keypad_col4_0: keypad-col4-0 { 475 keypad_col4_0: keypad-col4-0 {
478 samsung,pins = "gph-4"; 476 samsung,pins = "gph-4";
479 samsung,pin-function = <4>; 477 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
480 samsung,pin-pud = <PIN_PULL_NONE>; 478 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
481 }; 479 };
482 480
483 keypad_col5_0: keypad-col5-0 { 481 keypad_col5_0: keypad-col5-0 {
484 samsung,pins = "gph-5"; 482 samsung,pins = "gph-5";
485 samsung,pin-function = <4>; 483 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
486 samsung,pin-pud = <PIN_PULL_NONE>; 484 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
487 }; 485 };
488 486
489 keypad_col6_0: keypad-col6-0 { 487 keypad_col6_0: keypad-col6-0 {
490 samsung,pins = "gph-6"; 488 samsung,pins = "gph-6";
491 samsung,pin-function = <4>; 489 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
492 samsung,pin-pud = <PIN_PULL_NONE>; 490 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
493 }; 491 };
494 492
495 keypad_col7_0: keypad-col7-0 { 493 keypad_col7_0: keypad-col7-0 {
496 samsung,pins = "gph-7"; 494 samsung,pins = "gph-7";
497 samsung,pin-function = <4>; 495 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
498 samsung,pin-pud = <PIN_PULL_NONE>; 496 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
499 }; 497 };
500 498
501 keypad_col0_1: keypad-col0-1 { 499 keypad_col0_1: keypad-col0-1 {
502 samsung,pins = "gpl-0"; 500 samsung,pins = "gpl-0";
503 samsung,pin-function = <3>; 501 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
504 samsung,pin-pud = <PIN_PULL_NONE>; 502 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
505 }; 503 };
506 504
507 keypad_col1_1: keypad-col1-1 { 505 keypad_col1_1: keypad-col1-1 {
508 samsung,pins = "gpl-1"; 506 samsung,pins = "gpl-1";
509 samsung,pin-function = <3>; 507 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
510 samsung,pin-pud = <PIN_PULL_NONE>; 508 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
511 }; 509 };
512 510
513 keypad_col2_1: keypad-col2-1 { 511 keypad_col2_1: keypad-col2-1 {
514 samsung,pins = "gpl-2"; 512 samsung,pins = "gpl-2";
515 samsung,pin-function = <3>; 513 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
516 samsung,pin-pud = <PIN_PULL_NONE>; 514 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
517 }; 515 };
518 516
519 keypad_col3_1: keypad-col3-1 { 517 keypad_col3_1: keypad-col3-1 {
520 samsung,pins = "gpl-3"; 518 samsung,pins = "gpl-3";
521 samsung,pin-function = <3>; 519 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
522 samsung,pin-pud = <PIN_PULL_NONE>; 520 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
523 }; 521 };
524 522
525 keypad_col4_1: keypad-col4-1 { 523 keypad_col4_1: keypad-col4-1 {
526 samsung,pins = "gpl-4"; 524 samsung,pins = "gpl-4";
527 samsung,pin-function = <3>; 525 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
528 samsung,pin-pud = <PIN_PULL_NONE>; 526 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
529 }; 527 };
530 528
531 keypad_col5_1: keypad-col5-1 { 529 keypad_col5_1: keypad-col5-1 {
532 samsung,pins = "gpl-5"; 530 samsung,pins = "gpl-5";
533 samsung,pin-function = <3>; 531 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
534 samsung,pin-pud = <PIN_PULL_NONE>; 532 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
535 }; 533 };
536 534
537 keypad_col6_1: keypad-col6-1 { 535 keypad_col6_1: keypad-col6-1 {
538 samsung,pins = "gpl-6"; 536 samsung,pins = "gpl-6";
539 samsung,pin-function = <3>; 537 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
540 samsung,pin-pud = <PIN_PULL_NONE>; 538 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
541 }; 539 };
542 540
543 keypad_col7_1: keypad-col7-1 { 541 keypad_col7_1: keypad-col7-1 {
544 samsung,pins = "gpl-7"; 542 samsung,pins = "gpl-7";
545 samsung,pin-function = <3>; 543 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
546 samsung,pin-pud = <PIN_PULL_NONE>; 544 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
547 }; 545 };
548 546
549 keypad_row0_0: keypad-row0-0 { 547 keypad_row0_0: keypad-row0-0 {
550 samsung,pins = "gpk-8"; 548 samsung,pins = "gpk-8";
551 samsung,pin-function = <3>; 549 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
552 samsung,pin-pud = <PIN_PULL_NONE>; 550 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
553 }; 551 };
554 552
555 keypad_row1_0: keypad-row1-0 { 553 keypad_row1_0: keypad-row1-0 {
556 samsung,pins = "gpk-9"; 554 samsung,pins = "gpk-9";
557 samsung,pin-function = <3>; 555 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
558 samsung,pin-pud = <PIN_PULL_NONE>; 556 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
559 }; 557 };
560 558
561 keypad_row2_0: keypad-row2-0 { 559 keypad_row2_0: keypad-row2-0 {
562 samsung,pins = "gpk-10"; 560 samsung,pins = "gpk-10";
563 samsung,pin-function = <3>; 561 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
564 samsung,pin-pud = <PIN_PULL_NONE>; 562 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
565 }; 563 };
566 564
567 keypad_row3_0: keypad-row3-0 { 565 keypad_row3_0: keypad-row3-0 {
568 samsung,pins = "gpk-11"; 566 samsung,pins = "gpk-11";
569 samsung,pin-function = <3>; 567 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
570 samsung,pin-pud = <PIN_PULL_NONE>; 568 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
571 }; 569 };
572 570
573 keypad_row4_0: keypad-row4-0 { 571 keypad_row4_0: keypad-row4-0 {
574 samsung,pins = "gpk-12"; 572 samsung,pins = "gpk-12";
575 samsung,pin-function = <3>; 573 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
576 samsung,pin-pud = <PIN_PULL_NONE>; 574 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
577 }; 575 };
578 576
579 keypad_row5_0: keypad-row5-0 { 577 keypad_row5_0: keypad-row5-0 {
580 samsung,pins = "gpk-13"; 578 samsung,pins = "gpk-13";
581 samsung,pin-function = <3>; 579 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
582 samsung,pin-pud = <PIN_PULL_NONE>; 580 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
583 }; 581 };
584 582
585 keypad_row6_0: keypad-row6-0 { 583 keypad_row6_0: keypad-row6-0 {
586 samsung,pins = "gpk-14"; 584 samsung,pins = "gpk-14";
587 samsung,pin-function = <3>; 585 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
588 samsung,pin-pud = <PIN_PULL_NONE>; 586 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
589 }; 587 };
590 588
591 keypad_row7_0: keypad-row7-0 { 589 keypad_row7_0: keypad-row7-0 {
592 samsung,pins = "gpk-15"; 590 samsung,pins = "gpk-15";
593 samsung,pin-function = <3>; 591 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
594 samsung,pin-pud = <PIN_PULL_NONE>; 592 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
595 }; 593 };
596 594
597 keypad_row0_1: keypad-row0-1 { 595 keypad_row0_1: keypad-row0-1 {
598 samsung,pins = "gpn-0"; 596 samsung,pins = "gpn-0";
599 samsung,pin-function = <3>; 597 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
600 samsung,pin-pud = <PIN_PULL_NONE>; 598 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
601 }; 599 };
602 600
603 keypad_row1_1: keypad-row1-1 { 601 keypad_row1_1: keypad-row1-1 {
604 samsung,pins = "gpn-1"; 602 samsung,pins = "gpn-1";
605 samsung,pin-function = <3>; 603 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
606 samsung,pin-pud = <PIN_PULL_NONE>; 604 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
607 }; 605 };
608 606
609 keypad_row2_1: keypad-row2-1 { 607 keypad_row2_1: keypad-row2-1 {
610 samsung,pins = "gpn-2"; 608 samsung,pins = "gpn-2";
611 samsung,pin-function = <3>; 609 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
612 samsung,pin-pud = <PIN_PULL_NONE>; 610 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
613 }; 611 };
614 612
615 keypad_row3_1: keypad-row3-1 { 613 keypad_row3_1: keypad-row3-1 {
616 samsung,pins = "gpn-3"; 614 samsung,pins = "gpn-3";
617 samsung,pin-function = <3>; 615 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
618 samsung,pin-pud = <PIN_PULL_NONE>; 616 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
619 }; 617 };
620 618
621 keypad_row4_1: keypad-row4-1 { 619 keypad_row4_1: keypad-row4-1 {
622 samsung,pins = "gpn-4"; 620 samsung,pins = "gpn-4";
623 samsung,pin-function = <3>; 621 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
624 samsung,pin-pud = <PIN_PULL_NONE>; 622 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
625 }; 623 };
626 624
627 keypad_row5_1: keypad-row5-1 { 625 keypad_row5_1: keypad-row5-1 {
628 samsung,pins = "gpn-5"; 626 samsung,pins = "gpn-5";
629 samsung,pin-function = <3>; 627 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
630 samsung,pin-pud = <PIN_PULL_NONE>; 628 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
631 }; 629 };
632 630
633 keypad_row6_1: keypad-row6-1 { 631 keypad_row6_1: keypad-row6-1 {
634 samsung,pins = "gpn-6"; 632 samsung,pins = "gpn-6";
635 samsung,pin-function = <3>; 633 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
636 samsung,pin-pud = <PIN_PULL_NONE>; 634 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
637 }; 635 };
638 636
639 keypad_row7_1: keypad-row7-1 { 637 keypad_row7_1: keypad-row7-1 {
640 samsung,pins = "gpn-7"; 638 samsung,pins = "gpn-7";
641 samsung,pin-function = <3>; 639 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
642 samsung,pin-pud = <PIN_PULL_NONE>; 640 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
643 }; 641 };
644 642
645 lcd_ctrl: lcd-ctrl { 643 lcd_ctrl: lcd-ctrl {
646 samsung,pins = "gpj-8", "gpj-9", "gpj-10", "gpj-11"; 644 samsung,pins = "gpj-8", "gpj-9", "gpj-10", "gpj-11";
647 samsung,pin-function = <2>; 645 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
648 samsung,pin-pud = <PIN_PULL_NONE>; 646 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
649 }; 647 };
650 648
651 lcd_data16: lcd-data-width16 { 649 lcd_data16: lcd-data-width16 {
@@ -653,8 +651,8 @@
653 "gpi-7", "gpi-10", "gpi-11", "gpi-12", 651 "gpi-7", "gpi-10", "gpi-11", "gpi-12",
654 "gpi-13", "gpi-14", "gpi-15", "gpj-3", 652 "gpi-13", "gpi-14", "gpi-15", "gpj-3",
655 "gpj-4", "gpj-5", "gpj-6", "gpj-7"; 653 "gpj-4", "gpj-5", "gpj-6", "gpj-7";
656 samsung,pin-function = <2>; 654 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
657 samsung,pin-pud = <PIN_PULL_NONE>; 655 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
658 }; 656 };
659 657
660 lcd_data18: lcd-data-width18 { 658 lcd_data18: lcd-data-width18 {
@@ -663,8 +661,8 @@
663 "gpi-12", "gpi-13", "gpi-14", "gpi-15", 661 "gpi-12", "gpi-13", "gpi-14", "gpi-15",
664 "gpj-2", "gpj-3", "gpj-4", "gpj-5", 662 "gpj-2", "gpj-3", "gpj-4", "gpj-5",
665 "gpj-6", "gpj-7"; 663 "gpj-6", "gpj-7";
666 samsung,pin-function = <2>; 664 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
667 samsung,pin-pud = <PIN_PULL_NONE>; 665 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
668 }; 666 };
669 667
670 lcd_data24: lcd-data-width24 { 668 lcd_data24: lcd-data-width24 {
@@ -674,14 +672,14 @@
674 "gpi-12", "gpi-13", "gpi-14", "gpi-15", 672 "gpi-12", "gpi-13", "gpi-14", "gpi-15",
675 "gpj-0", "gpj-1", "gpj-2", "gpj-3", 673 "gpj-0", "gpj-1", "gpj-2", "gpj-3",
676 "gpj-4", "gpj-5", "gpj-6", "gpj-7"; 674 "gpj-4", "gpj-5", "gpj-6", "gpj-7";
677 samsung,pin-function = <2>; 675 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
678 samsung,pin-pud = <PIN_PULL_NONE>; 676 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
679 }; 677 };
680 678
681 hsi_bus: hsi-bus { 679 hsi_bus: hsi-bus {
682 samsung,pins = "gpk-0", "gpk-1", "gpk-2", "gpk-3", 680 samsung,pins = "gpk-0", "gpk-1", "gpk-2", "gpk-3",
683 "gpk-4", "gpk-5", "gpk-6", "gpk-7"; 681 "gpk-4", "gpk-5", "gpk-6", "gpk-7";
684 samsung,pin-function = <3>; 682 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
685 samsung,pin-pud = <PIN_PULL_NONE>; 683 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
686 }; 684 };
687}; 685};
diff --git a/arch/arm/boot/dts/s5pv210-aquila.dts b/arch/arm/boot/dts/s5pv210-aquila.dts
index d763c5b4c65d..40139923eef0 100644
--- a/arch/arm/boot/dts/s5pv210-aquila.dts
+++ b/arch/arm/boot/dts/s5pv210-aquila.dts
@@ -387,7 +387,7 @@
387&pinctrl0 { 387&pinctrl0 {
388 t_flash_detect: t-flash-detect { 388 t_flash_detect: t-flash-detect {
389 samsung,pins = "gph3-4"; 389 samsung,pins = "gph3-4";
390 samsung,pin-function = <0>; 390 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
391 samsung,pin-pud = <0>; 391 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
392 }; 392 };
393}; 393};
diff --git a/arch/arm/boot/dts/s5pv210-pinctrl.dtsi b/arch/arm/boot/dts/s5pv210-pinctrl.dtsi
index 8c714088e3c6..9a3e851e2e22 100644
--- a/arch/arm/boot/dts/s5pv210-pinctrl.dtsi
+++ b/arch/arm/boot/dts/s5pv210-pinctrl.dtsi
@@ -19,6 +19,8 @@
19 * published by the Free Software Foundation. 19 * published by the Free Software Foundation.
20 */ 20 */
21 21
22#include <dt-bindings/pinctrl/samsung.h>
23
22&pinctrl0 { 24&pinctrl0 {
23 gpa0: gpa0 { 25 gpa0: gpa0 {
24 gpio-controller; 26 gpio-controller;
@@ -270,559 +272,559 @@
270 272
271 uart0_data: uart0-data { 273 uart0_data: uart0-data {
272 samsung,pins = "gpa0-0", "gpa0-1"; 274 samsung,pins = "gpa0-0", "gpa0-1";
273 samsung,pin-function = <2>; 275 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
274 samsung,pin-pud = <0>; 276 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
275 samsung,pin-drv = <0>; 277 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
276 }; 278 };
277 279
278 uart0_fctl: uart0-fctl { 280 uart0_fctl: uart0-fctl {
279 samsung,pins = "gpa0-2", "gpa0-3"; 281 samsung,pins = "gpa0-2", "gpa0-3";
280 samsung,pin-function = <2>; 282 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
281 samsung,pin-pud = <0>; 283 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
282 samsung,pin-drv = <0>; 284 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
283 }; 285 };
284 286
285 uart1_data: uart1-data { 287 uart1_data: uart1-data {
286 samsung,pins = "gpa0-4", "gpa0-5"; 288 samsung,pins = "gpa0-4", "gpa0-5";
287 samsung,pin-function = <2>; 289 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
288 samsung,pin-pud = <0>; 290 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
289 samsung,pin-drv = <0>; 291 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
290 }; 292 };
291 293
292 uart1_fctl: uart1-fctl { 294 uart1_fctl: uart1-fctl {
293 samsung,pins = "gpa0-6", "gpa0-7"; 295 samsung,pins = "gpa0-6", "gpa0-7";
294 samsung,pin-function = <2>; 296 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
295 samsung,pin-pud = <0>; 297 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
296 samsung,pin-drv = <0>; 298 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
297 }; 299 };
298 300
299 uart2_data: uart2-data { 301 uart2_data: uart2-data {
300 samsung,pins = "gpa1-0", "gpa1-1"; 302 samsung,pins = "gpa1-0", "gpa1-1";
301 samsung,pin-function = <2>; 303 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
302 samsung,pin-pud = <0>; 304 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
303 samsung,pin-drv = <0>; 305 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
304 }; 306 };
305 307
306 uart2_fctl: uart2-fctl { 308 uart2_fctl: uart2-fctl {
307 samsung,pins = "gpa1-2", "gpa1-3"; 309 samsung,pins = "gpa1-2", "gpa1-3";
308 samsung,pin-function = <3>; 310 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
309 samsung,pin-pud = <0>; 311 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
310 samsung,pin-drv = <0>; 312 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
311 }; 313 };
312 314
313 uart3_data: uart3-data { 315 uart3_data: uart3-data {
314 samsung,pins = "gpa1-2", "gpa1-3"; 316 samsung,pins = "gpa1-2", "gpa1-3";
315 samsung,pin-function = <2>; 317 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
316 samsung,pin-pud = <0>; 318 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
317 samsung,pin-drv = <0>; 319 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
318 }; 320 };
319 321
320 uart_audio: uart-audio { 322 uart_audio: uart-audio {
321 samsung,pins = "gpa1-2", "gpa1-3"; 323 samsung,pins = "gpa1-2", "gpa1-3";
322 samsung,pin-function = <4>; 324 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
323 samsung,pin-pud = <0>; 325 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
324 samsung,pin-drv = <0>; 326 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
325 }; 327 };
326 328
327 spi0_bus: spi0-bus { 329 spi0_bus: spi0-bus {
328 samsung,pins = "gpb-0", "gpb-2", "gpb-3"; 330 samsung,pins = "gpb-0", "gpb-2", "gpb-3";
329 samsung,pin-function = <2>; 331 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
330 samsung,pin-pud = <2>; 332 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
331 samsung,pin-drv = <0>; 333 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
332 }; 334 };
333 335
334 spi1_bus: spi1-bus { 336 spi1_bus: spi1-bus {
335 samsung,pins = "gpb-4", "gpb-6", "gpb-7"; 337 samsung,pins = "gpb-4", "gpb-6", "gpb-7";
336 samsung,pin-function = <2>; 338 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
337 samsung,pin-pud = <2>; 339 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
338 samsung,pin-drv = <0>; 340 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
339 }; 341 };
340 342
341 i2s0_bus: i2s0-bus { 343 i2s0_bus: i2s0-bus {
342 samsung,pins = "gpi-0", "gpi-1", "gpi-2", "gpi-3", 344 samsung,pins = "gpi-0", "gpi-1", "gpi-2", "gpi-3",
343 "gpi-4", "gpi-5", "gpi-6"; 345 "gpi-4", "gpi-5", "gpi-6";
344 samsung,pin-function = <2>; 346 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
345 samsung,pin-pud = <0>; 347 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
346 samsung,pin-drv = <0>; 348 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
347 }; 349 };
348 350
349 i2s1_bus: i2s1-bus { 351 i2s1_bus: i2s1-bus {
350 samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3", 352 samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3",
351 "gpc0-4"; 353 "gpc0-4";
352 samsung,pin-function = <2>; 354 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
353 samsung,pin-pud = <0>; 355 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
354 samsung,pin-drv = <0>; 356 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
355 }; 357 };
356 358
357 i2s2_bus: i2s2-bus { 359 i2s2_bus: i2s2-bus {
358 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3", 360 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3",
359 "gpc1-4"; 361 "gpc1-4";
360 samsung,pin-function = <4>; 362 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
361 samsung,pin-pud = <0>; 363 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
362 samsung,pin-drv = <0>; 364 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
363 }; 365 };
364 366
365 pcm1_bus: pcm1-bus { 367 pcm1_bus: pcm1-bus {
366 samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3", 368 samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3",
367 "gpc0-4"; 369 "gpc0-4";
368 samsung,pin-function = <3>; 370 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
369 samsung,pin-pud = <0>; 371 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
370 samsung,pin-drv = <0>; 372 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
371 }; 373 };
372 374
373 ac97_bus: ac97-bus { 375 ac97_bus: ac97-bus {
374 samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3", 376 samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3",
375 "gpc0-4"; 377 "gpc0-4";
376 samsung,pin-function = <4>; 378 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
377 samsung,pin-pud = <0>; 379 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
378 samsung,pin-drv = <0>; 380 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
379 }; 381 };
380 382
381 i2s2_bus: i2s2-bus { 383 i2s2_bus: i2s2-bus {
382 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3", 384 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3",
383 "gpc1-4"; 385 "gpc1-4";
384 samsung,pin-function = <2>; 386 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
385 samsung,pin-pud = <0>; 387 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
386 samsung,pin-drv = <0>; 388 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
387 }; 389 };
388 390
389 pcm2_bus: pcm2-bus { 391 pcm2_bus: pcm2-bus {
390 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3", 392 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3",
391 "gpc1-4"; 393 "gpc1-4";
392 samsung,pin-function = <3>; 394 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
393 samsung,pin-pud = <0>; 395 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
394 samsung,pin-drv = <0>; 396 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
395 }; 397 };
396 398
397 spdif_bus: spdif-bus { 399 spdif_bus: spdif-bus {
398 samsung,pins = "gpc1-0", "gpc1-1"; 400 samsung,pins = "gpc1-0", "gpc1-1";
399 samsung,pin-function = <4>; 401 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
400 samsung,pin-pud = <0>; 402 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
401 samsung,pin-drv = <0>; 403 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
402 }; 404 };
403 405
404 spi2_bus: spi2-bus { 406 spi2_bus: spi2-bus {
405 samsung,pins = "gpc1-1", "gpc1-2", "gpc1-3", "gpc1-4"; 407 samsung,pins = "gpc1-1", "gpc1-2", "gpc1-3", "gpc1-4";
406 samsung,pin-function = <5>; 408 samsung,pin-function = <EXYNOS_PIN_FUNC_5>;
407 samsung,pin-pud = <2>; 409 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
408 samsung,pin-drv = <0>; 410 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
409 }; 411 };
410 412
411 i2c0_bus: i2c0-bus { 413 i2c0_bus: i2c0-bus {
412 samsung,pins = "gpd1-0", "gpd1-1"; 414 samsung,pins = "gpd1-0", "gpd1-1";
413 samsung,pin-function = <2>; 415 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
414 samsung,pin-pud = <2>; 416 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
415 samsung,pin-drv = <0>; 417 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
416 }; 418 };
417 419
418 i2c1_bus: i2c1-bus { 420 i2c1_bus: i2c1-bus {
419 samsung,pins = "gpd1-2", "gpd1-3"; 421 samsung,pins = "gpd1-2", "gpd1-3";
420 samsung,pin-function = <2>; 422 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
421 samsung,pin-pud = <2>; 423 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
422 samsung,pin-drv = <0>; 424 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
423 }; 425 };
424 426
425 i2c2_bus: i2c2-bus { 427 i2c2_bus: i2c2-bus {
426 samsung,pins = "gpd1-4", "gpd1-5"; 428 samsung,pins = "gpd1-4", "gpd1-5";
427 samsung,pin-function = <2>; 429 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
428 samsung,pin-pud = <2>; 430 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
429 samsung,pin-drv = <0>; 431 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
430 }; 432 };
431 433
432 pwm0_out: pwm0-out { 434 pwm0_out: pwm0-out {
433 samsung,pins = "gpd0-0"; 435 samsung,pins = "gpd0-0";
434 samsung,pin-function = <2>; 436 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
435 samsung,pin-pud = <0>; 437 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
436 samsung,pin-drv = <0>; 438 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
437 }; 439 };
438 440
439 pwm1_out: pwm1-out { 441 pwm1_out: pwm1-out {
440 samsung,pins = "gpd0-1"; 442 samsung,pins = "gpd0-1";
441 samsung,pin-function = <2>; 443 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
442 samsung,pin-pud = <0>; 444 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
443 samsung,pin-drv = <0>; 445 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
444 }; 446 };
445 447
446 pwm2_out: pwm2-out { 448 pwm2_out: pwm2-out {
447 samsung,pins = "gpd0-2"; 449 samsung,pins = "gpd0-2";
448 samsung,pin-function = <2>; 450 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
449 samsung,pin-pud = <0>; 451 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
450 samsung,pin-drv = <0>; 452 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
451 }; 453 };
452 454
453 pwm3_out: pwm3-out { 455 pwm3_out: pwm3-out {
454 samsung,pins = "gpd0-3"; 456 samsung,pins = "gpd0-3";
455 samsung,pin-function = <2>; 457 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
456 samsung,pin-pud = <0>; 458 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
457 samsung,pin-drv = <0>; 459 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
458 }; 460 };
459 461
460 keypad_row0: keypad-row-0 { 462 keypad_row0: keypad-row-0 {
461 samsung,pins = "gph3-0"; 463 samsung,pins = "gph3-0";
462 samsung,pin-function = <3>; 464 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
463 samsung,pin-pud = <0>; 465 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
464 samsung,pin-drv = <0>; 466 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
465 }; 467 };
466 468
467 keypad_row1: keypad-row-1 { 469 keypad_row1: keypad-row-1 {
468 samsung,pins = "gph3-1"; 470 samsung,pins = "gph3-1";
469 samsung,pin-function = <3>; 471 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
470 samsung,pin-pud = <0>; 472 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
471 samsung,pin-drv = <0>; 473 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
472 }; 474 };
473 475
474 keypad_row2: keypad-row-2 { 476 keypad_row2: keypad-row-2 {
475 samsung,pins = "gph3-2"; 477 samsung,pins = "gph3-2";
476 samsung,pin-function = <3>; 478 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
477 samsung,pin-pud = <0>; 479 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
478 samsung,pin-drv = <0>; 480 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
479 }; 481 };
480 482
481 keypad_row3: keypad-row-3 { 483 keypad_row3: keypad-row-3 {
482 samsung,pins = "gph3-3"; 484 samsung,pins = "gph3-3";
483 samsung,pin-function = <3>; 485 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
484 samsung,pin-pud = <0>; 486 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
485 samsung,pin-drv = <0>; 487 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
486 }; 488 };
487 489
488 keypad_row4: keypad-row-4 { 490 keypad_row4: keypad-row-4 {
489 samsung,pins = "gph3-4"; 491 samsung,pins = "gph3-4";
490 samsung,pin-function = <3>; 492 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
491 samsung,pin-pud = <0>; 493 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
492 samsung,pin-drv = <0>; 494 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
493 }; 495 };
494 496
495 keypad_row5: keypad-row-5 { 497 keypad_row5: keypad-row-5 {
496 samsung,pins = "gph3-5"; 498 samsung,pins = "gph3-5";
497 samsung,pin-function = <3>; 499 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
498 samsung,pin-pud = <0>; 500 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
499 samsung,pin-drv = <0>; 501 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
500 }; 502 };
501 503
502 keypad_row6: keypad-row-6 { 504 keypad_row6: keypad-row-6 {
503 samsung,pins = "gph3-6"; 505 samsung,pins = "gph3-6";
504 samsung,pin-function = <3>; 506 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
505 samsung,pin-pud = <0>; 507 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
506 samsung,pin-drv = <0>; 508 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
507 }; 509 };
508 510
509 keypad_row7: keypad-row-7 { 511 keypad_row7: keypad-row-7 {
510 samsung,pins = "gph3-7"; 512 samsung,pins = "gph3-7";
511 samsung,pin-function = <3>; 513 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
512 samsung,pin-pud = <0>; 514 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
513 samsung,pin-drv = <0>; 515 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
514 }; 516 };
515 517
516 keypad_col0: keypad-col-0 { 518 keypad_col0: keypad-col-0 {
517 samsung,pins = "gph2-0"; 519 samsung,pins = "gph2-0";
518 samsung,pin-function = <3>; 520 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
519 samsung,pin-pud = <0>; 521 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
520 samsung,pin-drv = <0>; 522 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
521 }; 523 };
522 524
523 keypad_col1: keypad-col-1 { 525 keypad_col1: keypad-col-1 {
524 samsung,pins = "gph2-1"; 526 samsung,pins = "gph2-1";
525 samsung,pin-function = <3>; 527 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
526 samsung,pin-pud = <0>; 528 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
527 samsung,pin-drv = <0>; 529 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
528 }; 530 };
529 531
530 keypad_col2: keypad-col-2 { 532 keypad_col2: keypad-col-2 {
531 samsung,pins = "gph2-2"; 533 samsung,pins = "gph2-2";
532 samsung,pin-function = <3>; 534 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
533 samsung,pin-pud = <0>; 535 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
534 samsung,pin-drv = <0>; 536 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
535 }; 537 };
536 538
537 keypad_col3: keypad-col-3 { 539 keypad_col3: keypad-col-3 {
538 samsung,pins = "gph2-3"; 540 samsung,pins = "gph2-3";
539 samsung,pin-function = <3>; 541 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
540 samsung,pin-pud = <0>; 542 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
541 samsung,pin-drv = <0>; 543 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
542 }; 544 };
543 545
544 keypad_col4: keypad-col-4 { 546 keypad_col4: keypad-col-4 {
545 samsung,pins = "gph2-4"; 547 samsung,pins = "gph2-4";
546 samsung,pin-function = <3>; 548 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
547 samsung,pin-pud = <0>; 549 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
548 samsung,pin-drv = <0>; 550 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
549 }; 551 };
550 552
551 keypad_col5: keypad-col-5 { 553 keypad_col5: keypad-col-5 {
552 samsung,pins = "gph2-5"; 554 samsung,pins = "gph2-5";
553 samsung,pin-function = <3>; 555 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
554 samsung,pin-pud = <0>; 556 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
555 samsung,pin-drv = <0>; 557 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
556 }; 558 };
557 559
558 keypad_col6: keypad-col-6 { 560 keypad_col6: keypad-col-6 {
559 samsung,pins = "gph2-6"; 561 samsung,pins = "gph2-6";
560 samsung,pin-function = <3>; 562 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
561 samsung,pin-pud = <0>; 563 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
562 samsung,pin-drv = <0>; 564 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
563 }; 565 };
564 566
565 keypad_col7: keypad-col-7 { 567 keypad_col7: keypad-col-7 {
566 samsung,pins = "gph2-7"; 568 samsung,pins = "gph2-7";
567 samsung,pin-function = <3>; 569 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
568 samsung,pin-pud = <0>; 570 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
569 samsung,pin-drv = <0>; 571 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
570 }; 572 };
571 573
572 sd0_clk: sd0-clk { 574 sd0_clk: sd0-clk {
573 samsung,pins = "gpg0-0"; 575 samsung,pins = "gpg0-0";
574 samsung,pin-function = <2>; 576 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
575 samsung,pin-pud = <0>; 577 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
576 samsung,pin-drv = <3>; 578 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
577 }; 579 };
578 580
579 sd0_cmd: sd0-cmd { 581 sd0_cmd: sd0-cmd {
580 samsung,pins = "gpg0-1"; 582 samsung,pins = "gpg0-1";
581 samsung,pin-function = <2>; 583 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
582 samsung,pin-pud = <0>; 584 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
583 samsung,pin-drv = <3>; 585 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
584 }; 586 };
585 587
586 sd0_cd: sd0-cd { 588 sd0_cd: sd0-cd {
587 samsung,pins = "gpg0-2"; 589 samsung,pins = "gpg0-2";
588 samsung,pin-function = <2>; 590 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
589 samsung,pin-pud = <2>; 591 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
590 samsung,pin-drv = <3>; 592 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
591 }; 593 };
592 594
593 sd0_bus1: sd0-bus-width1 { 595 sd0_bus1: sd0-bus-width1 {
594 samsung,pins = "gpg0-3"; 596 samsung,pins = "gpg0-3";
595 samsung,pin-function = <2>; 597 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
596 samsung,pin-pud = <2>; 598 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
597 samsung,pin-drv = <3>; 599 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
598 }; 600 };
599 601
600 sd0_bus4: sd0-bus-width4 { 602 sd0_bus4: sd0-bus-width4 {
601 samsung,pins = "gpg0-3", "gpg0-4", "gpg0-5", "gpg0-6"; 603 samsung,pins = "gpg0-3", "gpg0-4", "gpg0-5", "gpg0-6";
602 samsung,pin-function = <2>; 604 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
603 samsung,pin-pud = <2>; 605 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
604 samsung,pin-drv = <3>; 606 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
605 }; 607 };
606 608
607 sd0_bus8: sd0-bus-width8 { 609 sd0_bus8: sd0-bus-width8 {
608 samsung,pins = "gpg1-3", "gpg1-4", "gpg1-5", "gpg1-6"; 610 samsung,pins = "gpg1-3", "gpg1-4", "gpg1-5", "gpg1-6";
609 samsung,pin-function = <3>; 611 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
610 samsung,pin-pud = <2>; 612 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
611 samsung,pin-drv = <3>; 613 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
612 }; 614 };
613 615
614 sd1_clk: sd1-clk { 616 sd1_clk: sd1-clk {
615 samsung,pins = "gpg1-0"; 617 samsung,pins = "gpg1-0";
616 samsung,pin-function = <2>; 618 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
617 samsung,pin-pud = <0>; 619 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
618 samsung,pin-drv = <3>; 620 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
619 }; 621 };
620 622
621 sd1_cmd: sd1-cmd { 623 sd1_cmd: sd1-cmd {
622 samsung,pins = "gpg1-1"; 624 samsung,pins = "gpg1-1";
623 samsung,pin-function = <2>; 625 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
624 samsung,pin-pud = <0>; 626 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
625 samsung,pin-drv = <3>; 627 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
626 }; 628 };
627 629
628 sd1_cd: sd1-cd { 630 sd1_cd: sd1-cd {
629 samsung,pins = "gpg1-2"; 631 samsung,pins = "gpg1-2";
630 samsung,pin-function = <2>; 632 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
631 samsung,pin-pud = <2>; 633 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
632 samsung,pin-drv = <3>; 634 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
633 }; 635 };
634 636
635 sd1_bus1: sd1-bus-width1 { 637 sd1_bus1: sd1-bus-width1 {
636 samsung,pins = "gpg1-3"; 638 samsung,pins = "gpg1-3";
637 samsung,pin-function = <2>; 639 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
638 samsung,pin-pud = <2>; 640 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
639 samsung,pin-drv = <3>; 641 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
640 }; 642 };
641 643
642 sd1_bus4: sd1-bus-width4 { 644 sd1_bus4: sd1-bus-width4 {
643 samsung,pins = "gpg1-3", "gpg1-4", "gpg1-5", "gpg1-6"; 645 samsung,pins = "gpg1-3", "gpg1-4", "gpg1-5", "gpg1-6";
644 samsung,pin-function = <2>; 646 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
645 samsung,pin-pud = <2>; 647 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
646 samsung,pin-drv = <3>; 648 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
647 }; 649 };
648 650
649 sd2_clk: sd2-clk { 651 sd2_clk: sd2-clk {
650 samsung,pins = "gpg2-0"; 652 samsung,pins = "gpg2-0";
651 samsung,pin-function = <2>; 653 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
652 samsung,pin-pud = <0>; 654 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
653 samsung,pin-drv = <3>; 655 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
654 }; 656 };
655 657
656 sd2_cmd: sd2-cmd { 658 sd2_cmd: sd2-cmd {
657 samsung,pins = "gpg2-1"; 659 samsung,pins = "gpg2-1";
658 samsung,pin-function = <2>; 660 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
659 samsung,pin-pud = <0>; 661 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
660 samsung,pin-drv = <3>; 662 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
661 }; 663 };
662 664
663 sd2_cd: sd2-cd { 665 sd2_cd: sd2-cd {
664 samsung,pins = "gpg2-2"; 666 samsung,pins = "gpg2-2";
665 samsung,pin-function = <2>; 667 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
666 samsung,pin-pud = <2>; 668 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
667 samsung,pin-drv = <3>; 669 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
668 }; 670 };
669 671
670 sd2_bus1: sd2-bus-width1 { 672 sd2_bus1: sd2-bus-width1 {
671 samsung,pins = "gpg2-3"; 673 samsung,pins = "gpg2-3";
672 samsung,pin-function = <2>; 674 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
673 samsung,pin-pud = <2>; 675 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
674 samsung,pin-drv = <3>; 676 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
675 }; 677 };
676 678
677 sd2_bus4: sd2-bus-width4 { 679 sd2_bus4: sd2-bus-width4 {
678 samsung,pins = "gpg2-3", "gpg2-4", "gpg2-5", "gpg2-6"; 680 samsung,pins = "gpg2-3", "gpg2-4", "gpg2-5", "gpg2-6";
679 samsung,pin-function = <2>; 681 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
680 samsung,pin-pud = <2>; 682 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
681 samsung,pin-drv = <3>; 683 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
682 }; 684 };
683 685
684 sd2_bus8: sd2-bus-width8 { 686 sd2_bus8: sd2-bus-width8 {
685 samsung,pins = "gpg3-3", "gpg3-4", "gpg3-5", "gpg3-6"; 687 samsung,pins = "gpg3-3", "gpg3-4", "gpg3-5", "gpg3-6";
686 samsung,pin-function = <3>; 688 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
687 samsung,pin-pud = <2>; 689 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
688 samsung,pin-drv = <3>; 690 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
689 }; 691 };
690 692
691 sd3_clk: sd3-clk { 693 sd3_clk: sd3-clk {
692 samsung,pins = "gpg3-0"; 694 samsung,pins = "gpg3-0";
693 samsung,pin-function = <2>; 695 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
694 samsung,pin-pud = <0>; 696 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
695 samsung,pin-drv = <3>; 697 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
696 }; 698 };
697 699
698 sd3_cmd: sd3-cmd { 700 sd3_cmd: sd3-cmd {
699 samsung,pins = "gpg3-1"; 701 samsung,pins = "gpg3-1";
700 samsung,pin-function = <2>; 702 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
701 samsung,pin-pud = <0>; 703 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
702 samsung,pin-drv = <3>; 704 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
703 }; 705 };
704 706
705 sd3_cd: sd3-cd { 707 sd3_cd: sd3-cd {
706 samsung,pins = "gpg3-2"; 708 samsung,pins = "gpg3-2";
707 samsung,pin-function = <2>; 709 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
708 samsung,pin-pud = <2>; 710 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
709 samsung,pin-drv = <3>; 711 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
710 }; 712 };
711 713
712 sd3_bus1: sd3-bus-width1 { 714 sd3_bus1: sd3-bus-width1 {
713 samsung,pins = "gpg3-3"; 715 samsung,pins = "gpg3-3";
714 samsung,pin-function = <2>; 716 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
715 samsung,pin-pud = <2>; 717 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
716 samsung,pin-drv = <3>; 718 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
717 }; 719 };
718 720
719 sd3_bus4: sd3-bus-width4 { 721 sd3_bus4: sd3-bus-width4 {
720 samsung,pins = "gpg3-3", "gpg3-4", "gpg3-5", "gpg3-6"; 722 samsung,pins = "gpg3-3", "gpg3-4", "gpg3-5", "gpg3-6";
721 samsung,pin-function = <2>; 723 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
722 samsung,pin-pud = <2>; 724 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
723 samsung,pin-drv = <3>; 725 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
724 }; 726 };
725 727
726 eint0: ext-int0 { 728 eint0: ext-int0 {
727 samsung,pins = "gph0-0"; 729 samsung,pins = "gph0-0";
728 samsung,pin-function = <0xf>; 730 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
729 samsung,pin-pud = <0>; 731 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
730 samsung,pin-drv = <0>; 732 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
731 }; 733 };
732 734
733 eint8: ext-int8 { 735 eint8: ext-int8 {
734 samsung,pins = "gph1-0"; 736 samsung,pins = "gph1-0";
735 samsung,pin-function = <0xf>; 737 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
736 samsung,pin-pud = <0>; 738 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
737 samsung,pin-drv = <0>; 739 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
738 }; 740 };
739 741
740 eint15: ext-int15 { 742 eint15: ext-int15 {
741 samsung,pins = "gph1-7"; 743 samsung,pins = "gph1-7";
742 samsung,pin-function = <0xf>; 744 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
743 samsung,pin-pud = <0>; 745 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
744 samsung,pin-drv = <0>; 746 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
745 }; 747 };
746 748
747 eint16: ext-int16 { 749 eint16: ext-int16 {
748 samsung,pins = "gph2-0"; 750 samsung,pins = "gph2-0";
749 samsung,pin-function = <0xf>; 751 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
750 samsung,pin-pud = <0>; 752 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
751 samsung,pin-drv = <0>; 753 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
752 }; 754 };
753 755
754 eint31: ext-int31 { 756 eint31: ext-int31 {
755 samsung,pins = "gph3-7"; 757 samsung,pins = "gph3-7";
756 samsung,pin-function = <0xf>; 758 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
757 samsung,pin-pud = <0>; 759 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
758 samsung,pin-drv = <0>; 760 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
759 }; 761 };
760 762
761 cam_port_a_io: cam-port-a-io { 763 cam_port_a_io: cam-port-a-io {
762 samsung,pins = "gpe0-0", "gpe0-1", "gpe0-2", "gpe0-3", 764 samsung,pins = "gpe0-0", "gpe0-1", "gpe0-2", "gpe0-3",
763 "gpe0-4", "gpe0-5", "gpe0-6", "gpe0-7", 765 "gpe0-4", "gpe0-5", "gpe0-6", "gpe0-7",
764 "gpe1-0", "gpe1-1", "gpe1-2", "gpe1-4"; 766 "gpe1-0", "gpe1-1", "gpe1-2", "gpe1-4";
765 samsung,pin-function = <2>; 767 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
766 samsung,pin-pud = <0>; 768 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
767 samsung,pin-drv = <0>; 769 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
768 }; 770 };
769 771
770 cam_port_a_clk_active: cam-port-a-clk-active { 772 cam_port_a_clk_active: cam-port-a-clk-active {
771 samsung,pins = "gpe1-3"; 773 samsung,pins = "gpe1-3";
772 samsung,pin-function = <2>; 774 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
773 samsung,pin-pud = <0>; 775 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
774 samsung,pin-drv = <3>; 776 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
775 }; 777 };
776 778
777 cam_port_a_clk_idle: cam-port-a-clk-idle { 779 cam_port_a_clk_idle: cam-port-a-clk-idle {
778 samsung,pins = "gpe1-3"; 780 samsung,pins = "gpe1-3";
779 samsung,pin-function = <0>; 781 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
780 samsung,pin-pud = <1>; 782 samsung,pin-pud = <S3C64XX_PIN_PULL_DOWN>;
781 samsung,pin-drv = <0>; 783 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
782 }; 784 };
783 785
784 cam_port_b_io: cam-port-b-io { 786 cam_port_b_io: cam-port-b-io {
785 samsung,pins = "gpj0-0", "gpj0-1", "gpj0-2", "gpj0-3", 787 samsung,pins = "gpj0-0", "gpj0-1", "gpj0-2", "gpj0-3",
786 "gpj0-4", "gpj0-5", "gpj0-6", "gpj0-7", 788 "gpj0-4", "gpj0-5", "gpj0-6", "gpj0-7",
787 "gpj1-0", "gpj1-1", "gpj1-2", "gpj1-4"; 789 "gpj1-0", "gpj1-1", "gpj1-2", "gpj1-4";
788 samsung,pin-function = <3>; 790 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
789 samsung,pin-pud = <0>; 791 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
790 samsung,pin-drv = <0>; 792 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
791 }; 793 };
792 794
793 cam_port_b_clk_active: cam-port-b-clk-active { 795 cam_port_b_clk_active: cam-port-b-clk-active {
794 samsung,pins = "gpj1-3"; 796 samsung,pins = "gpj1-3";
795 samsung,pin-function = <3>; 797 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
796 samsung,pin-pud = <0>; 798 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
797 samsung,pin-drv = <3>; 799 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
798 }; 800 };
799 801
800 cam_port_b_clk_idle: cam-port-b-clk-idle { 802 cam_port_b_clk_idle: cam-port-b-clk-idle {
801 samsung,pins = "gpj1-3"; 803 samsung,pins = "gpj1-3";
802 samsung,pin-function = <0>; 804 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
803 samsung,pin-pud = <1>; 805 samsung,pin-pud = <S3C64XX_PIN_PULL_DOWN>;
804 samsung,pin-drv = <0>; 806 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
805 }; 807 };
806 808
807 lcd_ctrl: lcd-ctrl { 809 lcd_ctrl: lcd-ctrl {
808 samsung,pins = "gpd0-0", "gpd0-1"; 810 samsung,pins = "gpd0-0", "gpd0-1";
809 samsung,pin-function = <3>; 811 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
810 samsung,pin-pud = <0>; 812 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
811 samsung,pin-drv = <0>; 813 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
812 }; 814 };
813 815
814 lcd_sync: lcd-sync { 816 lcd_sync: lcd-sync {
815 samsung,pins = "gpf0-0", "gpf0-1"; 817 samsung,pins = "gpf0-0", "gpf0-1";
816 samsung,pin-function = <2>; 818 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
817 samsung,pin-pud = <0>; 819 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
818 samsung,pin-drv = <0>; 820 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
819 }; 821 };
820 822
821 lcd_clk: lcd-clk { 823 lcd_clk: lcd-clk {
822 samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3"; 824 samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3";
823 samsung,pin-function = <2>; 825 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
824 samsung,pin-pud = <0>; 826 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
825 samsung,pin-drv = <0>; 827 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
826 }; 828 };
827 829
828 lcd_data24: lcd-data-width24 { 830 lcd_data24: lcd-data-width24 {
@@ -832,8 +834,8 @@
832 "gpf2-0", "gpf2-1", "gpf2-2", "gpf2-3", 834 "gpf2-0", "gpf2-1", "gpf2-2", "gpf2-3",
833 "gpf2-4", "gpf2-5", "gpf2-6", "gpf2-7", 835 "gpf2-4", "gpf2-5", "gpf2-6", "gpf2-7",
834 "gpf3-0", "gpf3-1", "gpf3-2", "gpf3-3"; 836 "gpf3-0", "gpf3-1", "gpf3-2", "gpf3-3";
835 samsung,pin-function = <2>; 837 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
836 samsung,pin-pud = <0>; 838 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
837 samsung,pin-drv = <0>; 839 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
838 }; 840 };
839}; 841};