aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2016-09-04 07:04:11 -0400
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>2016-09-16 07:31:56 -0400
commitd953f1fb14d2573499a7584a091a724c5923d5b3 (patch)
treeedbc009b2752a519e22d0d205fdd280ebd915a26 /arch/arm/boot
parent040611c87c7fdd1aad4885b1f95b88c07fd6c84f (diff)
ARM: dts: exynos: Use macros for pinctrl configuration on exynos5250
Usage of DTS macros instead of hard-coded numbers makes code easier to read. One does not have to remember which value means pull-up/down or specific driver strength. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com> Acked-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/exynos5250-pinctrl.dtsi402
-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
6 files changed, 284 insertions, 284 deletions
diff --git a/arch/arm/boot/dts/exynos5250-pinctrl.dtsi b/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
index d1a4ea0fb838..2f6ab32b5954 100644
--- a/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
+++ b/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
@@ -202,392 +202,392 @@
202 202
203 uart0_data: uart0-data { 203 uart0_data: uart0-data {
204 samsung,pins = "gpa0-0", "gpa0-1"; 204 samsung,pins = "gpa0-0", "gpa0-1";
205 samsung,pin-function = <2>; 205 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
206 samsung,pin-pud = <0>; 206 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
207 samsung,pin-drv = <0>; 207 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
208 }; 208 };
209 209
210 uart0_fctl: uart0-fctl { 210 uart0_fctl: uart0-fctl {
211 samsung,pins = "gpa0-2", "gpa0-3"; 211 samsung,pins = "gpa0-2", "gpa0-3";
212 samsung,pin-function = <2>; 212 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
213 samsung,pin-pud = <0>; 213 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
214 samsung,pin-drv = <0>; 214 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
215 }; 215 };
216 216
217 i2c2_bus: i2c2-bus { 217 i2c2_bus: i2c2-bus {
218 samsung,pins = "gpa0-6", "gpa0-7"; 218 samsung,pins = "gpa0-6", "gpa0-7";
219 samsung,pin-function = <3>; 219 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
220 samsung,pin-pud = <3>; 220 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
221 samsung,pin-drv = <0>; 221 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
222 }; 222 };
223 223
224 i2c2_hs_bus: i2c2-hs-bus { 224 i2c2_hs_bus: i2c2-hs-bus {
225 samsung,pins = "gpa0-6", "gpa0-7"; 225 samsung,pins = "gpa0-6", "gpa0-7";
226 samsung,pin-function = <4>; 226 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
227 samsung,pin-pud = <3>; 227 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
228 samsung,pin-drv = <0>; 228 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
229 }; 229 };
230 230
231 uart2_data: uart2-data { 231 uart2_data: uart2-data {
232 samsung,pins = "gpa1-0", "gpa1-1"; 232 samsung,pins = "gpa1-0", "gpa1-1";
233 samsung,pin-function = <2>; 233 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
234 samsung,pin-pud = <0>; 234 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
235 samsung,pin-drv = <0>; 235 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
236 }; 236 };
237 237
238 uart2_fctl: uart2-fctl { 238 uart2_fctl: uart2-fctl {
239 samsung,pins = "gpa1-2", "gpa1-3"; 239 samsung,pins = "gpa1-2", "gpa1-3";
240 samsung,pin-function = <2>; 240 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
241 samsung,pin-pud = <0>; 241 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
242 samsung,pin-drv = <0>; 242 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
243 }; 243 };
244 244
245 i2c3_bus: i2c3-bus { 245 i2c3_bus: i2c3-bus {
246 samsung,pins = "gpa1-2", "gpa1-3"; 246 samsung,pins = "gpa1-2", "gpa1-3";
247 samsung,pin-function = <3>; 247 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
248 samsung,pin-pud = <3>; 248 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
249 samsung,pin-drv = <0>; 249 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
250 }; 250 };
251 251
252 i2c3_hs_bus: i2c3-hs-bus { 252 i2c3_hs_bus: i2c3-hs-bus {
253 samsung,pins = "gpa1-2", "gpa1-3"; 253 samsung,pins = "gpa1-2", "gpa1-3";
254 samsung,pin-function = <4>; 254 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
255 samsung,pin-pud = <3>; 255 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
256 samsung,pin-drv = <0>; 256 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
257 }; 257 };
258 258
259 uart3_data: uart3-data { 259 uart3_data: uart3-data {
260 samsung,pins = "gpa1-4", "gpa1-4"; 260 samsung,pins = "gpa1-4", "gpa1-4";
261 samsung,pin-function = <2>; 261 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
262 samsung,pin-pud = <0>; 262 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
263 samsung,pin-drv = <0>; 263 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
264 }; 264 };
265 265
266 spi0_bus: spi0-bus { 266 spi0_bus: spi0-bus {
267 samsung,pins = "gpa2-0", "gpa2-2", "gpa2-3"; 267 samsung,pins = "gpa2-0", "gpa2-2", "gpa2-3";
268 samsung,pin-function = <2>; 268 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
269 samsung,pin-pud = <3>; 269 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
270 samsung,pin-drv = <0>; 270 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
271 }; 271 };
272 272
273 i2c4_bus: i2c4-bus { 273 i2c4_bus: i2c4-bus {
274 samsung,pins = "gpa2-0", "gpa2-1"; 274 samsung,pins = "gpa2-0", "gpa2-1";
275 samsung,pin-function = <3>; 275 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
276 samsung,pin-pud = <3>; 276 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
277 samsung,pin-drv = <0>; 277 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
278 }; 278 };
279 279
280 i2c5_bus: i2c5-bus { 280 i2c5_bus: i2c5-bus {
281 samsung,pins = "gpa2-2", "gpa2-3"; 281 samsung,pins = "gpa2-2", "gpa2-3";
282 samsung,pin-function = <3>; 282 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
283 samsung,pin-pud = <3>; 283 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
284 samsung,pin-drv = <0>; 284 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
285 }; 285 };
286 286
287 spi1_bus: spi1-bus { 287 spi1_bus: spi1-bus {
288 samsung,pins = "gpa2-4", "gpa2-6", "gpa2-7"; 288 samsung,pins = "gpa2-4", "gpa2-6", "gpa2-7";
289 samsung,pin-function = <2>; 289 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
290 samsung,pin-pud = <3>; 290 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
291 samsung,pin-drv = <0>; 291 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
292 }; 292 };
293 293
294 i2s1_bus: i2s1-bus { 294 i2s1_bus: i2s1-bus {
295 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3", 295 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
296 "gpb0-4"; 296 "gpb0-4";
297 samsung,pin-function = <2>; 297 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
298 samsung,pin-pud = <0>; 298 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
299 samsung,pin-drv = <0>; 299 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
300 }; 300 };
301 301
302 pcm1_bus: pcm1-bus { 302 pcm1_bus: pcm1-bus {
303 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3", 303 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
304 "gpb0-4"; 304 "gpb0-4";
305 samsung,pin-function = <3>; 305 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
306 samsung,pin-pud = <0>; 306 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
307 samsung,pin-drv = <0>; 307 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
308 }; 308 };
309 309
310 ac97_bus: ac97-bus { 310 ac97_bus: ac97-bus {
311 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3", 311 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
312 "gpb0-4"; 312 "gpb0-4";
313 samsung,pin-function = <4>; 313 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
314 samsung,pin-pud = <0>; 314 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
315 samsung,pin-drv = <0>; 315 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
316 }; 316 };
317 317
318 i2s2_bus: i2s2-bus { 318 i2s2_bus: i2s2-bus {
319 samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3", 319 samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3",
320 "gpb1-4"; 320 "gpb1-4";
321 samsung,pin-function = <2>; 321 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
322 samsung,pin-pud = <0>; 322 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
323 samsung,pin-drv = <0>; 323 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
324 }; 324 };
325 325
326 pcm2_bus: pcm2-bus { 326 pcm2_bus: pcm2-bus {
327 samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3", 327 samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3",
328 "gpb1-4"; 328 "gpb1-4";
329 samsung,pin-function = <3>; 329 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
330 samsung,pin-pud = <0>; 330 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
331 samsung,pin-drv = <0>; 331 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
332 }; 332 };
333 333
334 spdif_bus: spdif-bus { 334 spdif_bus: spdif-bus {
335 samsung,pins = "gpb1-0", "gpb1-1"; 335 samsung,pins = "gpb1-0", "gpb1-1";
336 samsung,pin-function = <4>; 336 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
337 samsung,pin-pud = <0>; 337 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
338 samsung,pin-drv = <0>; 338 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
339 }; 339 };
340 340
341 spi2_bus: spi2-bus { 341 spi2_bus: spi2-bus {
342 samsung,pins = "gpb1-1", "gpb1-3", "gpb1-4"; 342 samsung,pins = "gpb1-1", "gpb1-3", "gpb1-4";
343 samsung,pin-function = <5>; 343 samsung,pin-function = <EXYNOS_PIN_FUNC_5>;
344 samsung,pin-pud = <3>; 344 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
345 samsung,pin-drv = <0>; 345 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
346 }; 346 };
347 347
348 i2c6_bus: i2c6-bus { 348 i2c6_bus: i2c6-bus {
349 samsung,pins = "gpb1-3", "gpb1-4"; 349 samsung,pins = "gpb1-3", "gpb1-4";
350 samsung,pin-function = <4>; 350 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
351 samsung,pin-pud = <3>; 351 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
352 samsung,pin-drv = <0>; 352 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
353 }; 353 };
354 354
355 pwm0_out: pwm0-out { 355 pwm0_out: pwm0-out {
356 samsung,pins = "gpb2-0"; 356 samsung,pins = "gpb2-0";
357 samsung,pin-function = <2>; 357 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
358 samsung,pin-pud = <0>; 358 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
359 samsung,pin-drv = <0>; 359 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
360 }; 360 };
361 361
362 pwm1_out: pwm1-out { 362 pwm1_out: pwm1-out {
363 samsung,pins = "gpb2-1"; 363 samsung,pins = "gpb2-1";
364 samsung,pin-function = <2>; 364 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
365 samsung,pin-pud = <0>; 365 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
366 samsung,pin-drv = <0>; 366 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
367 }; 367 };
368 368
369 pwm2_out: pwm2-out { 369 pwm2_out: pwm2-out {
370 samsung,pins = "gpb2-2"; 370 samsung,pins = "gpb2-2";
371 samsung,pin-function = <2>; 371 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
372 samsung,pin-pud = <0>; 372 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
373 samsung,pin-drv = <0>; 373 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
374 }; 374 };
375 375
376 pwm3_out: pwm3-out { 376 pwm3_out: pwm3-out {
377 samsung,pins = "gpb2-3"; 377 samsung,pins = "gpb2-3";
378 samsung,pin-function = <2>; 378 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
379 samsung,pin-pud = <0>; 379 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
380 samsung,pin-drv = <0>; 380 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
381 }; 381 };
382 382
383 i2c7_bus: i2c7-bus { 383 i2c7_bus: i2c7-bus {
384 samsung,pins = "gpb2-2", "gpb2-3"; 384 samsung,pins = "gpb2-2", "gpb2-3";
385 samsung,pin-function = <3>; 385 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
386 samsung,pin-pud = <3>; 386 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
387 samsung,pin-drv = <0>; 387 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
388 }; 388 };
389 389
390 i2c0_bus: i2c0-bus { 390 i2c0_bus: i2c0-bus {
391 samsung,pins = "gpb3-0", "gpb3-1"; 391 samsung,pins = "gpb3-0", "gpb3-1";
392 samsung,pin-function = <2>; 392 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
393 samsung,pin-pud = <3>; 393 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
394 samsung,pin-drv = <0>; 394 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
395 }; 395 };
396 396
397 i2c1_bus: i2c1-bus { 397 i2c1_bus: i2c1-bus {
398 samsung,pins = "gpb3-2", "gpb3-3"; 398 samsung,pins = "gpb3-2", "gpb3-3";
399 samsung,pin-function = <2>; 399 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
400 samsung,pin-pud = <3>; 400 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
401 samsung,pin-drv = <0>; 401 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
402 }; 402 };
403 403
404 i2c0_hs_bus: i2c0-hs-bus { 404 i2c0_hs_bus: i2c0-hs-bus {
405 samsung,pins = "gpb3-0", "gpb3-1"; 405 samsung,pins = "gpb3-0", "gpb3-1";
406 samsung,pin-function = <4>; 406 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
407 samsung,pin-pud = <3>; 407 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
408 samsung,pin-drv = <0>; 408 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
409 }; 409 };
410 410
411 i2c1_hs_bus: i2c1-hs-bus { 411 i2c1_hs_bus: i2c1-hs-bus {
412 samsung,pins = "gpb3-2", "gpb3-3"; 412 samsung,pins = "gpb3-2", "gpb3-3";
413 samsung,pin-function = <4>; 413 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
414 samsung,pin-pud = <3>; 414 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
415 samsung,pin-drv = <0>; 415 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
416 }; 416 };
417 417
418 sd0_clk: sd0-clk { 418 sd0_clk: sd0-clk {
419 samsung,pins = "gpc0-0"; 419 samsung,pins = "gpc0-0";
420 samsung,pin-function = <2>; 420 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
421 samsung,pin-pud = <0>; 421 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
422 samsung,pin-drv = <3>; 422 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
423 }; 423 };
424 424
425 sd0_cmd: sd0-cmd { 425 sd0_cmd: sd0-cmd {
426 samsung,pins = "gpc0-1"; 426 samsung,pins = "gpc0-1";
427 samsung,pin-function = <2>; 427 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
428 samsung,pin-pud = <0>; 428 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
429 samsung,pin-drv = <3>; 429 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
430 }; 430 };
431 431
432 sd0_cd: sd0-cd { 432 sd0_cd: sd0-cd {
433 samsung,pins = "gpc0-2"; 433 samsung,pins = "gpc0-2";
434 samsung,pin-function = <2>; 434 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
435 samsung,pin-pud = <3>; 435 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
436 samsung,pin-drv = <3>; 436 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
437 }; 437 };
438 438
439 sd0_bus1: sd0-bus-width1 { 439 sd0_bus1: sd0-bus-width1 {
440 samsung,pins = "gpc0-3"; 440 samsung,pins = "gpc0-3";
441 samsung,pin-function = <2>; 441 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
442 samsung,pin-pud = <3>; 442 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
443 samsung,pin-drv = <3>; 443 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
444 }; 444 };
445 445
446 sd0_bus4: sd0-bus-width4 { 446 sd0_bus4: sd0-bus-width4 {
447 samsung,pins = "gpc0-3", "gpc0-4", "gpc0-5", "gpc0-6"; 447 samsung,pins = "gpc0-3", "gpc0-4", "gpc0-5", "gpc0-6";
448 samsung,pin-function = <2>; 448 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
449 samsung,pin-pud = <3>; 449 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
450 samsung,pin-drv = <3>; 450 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
451 }; 451 };
452 452
453 sd0_bus8: sd0-bus-width8 { 453 sd0_bus8: sd0-bus-width8 {
454 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3"; 454 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3";
455 samsung,pin-function = <2>; 455 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
456 samsung,pin-pud = <3>; 456 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
457 samsung,pin-drv = <3>; 457 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
458 }; 458 };
459 459
460 sd1_clk: sd1-clk { 460 sd1_clk: sd1-clk {
461 samsung,pins = "gpc2-0"; 461 samsung,pins = "gpc2-0";
462 samsung,pin-function = <2>; 462 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
463 samsung,pin-pud = <0>; 463 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
464 samsung,pin-drv = <3>; 464 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
465 }; 465 };
466 466
467 sd1_cmd: sd1-cmd { 467 sd1_cmd: sd1-cmd {
468 samsung,pins = "gpc2-1"; 468 samsung,pins = "gpc2-1";
469 samsung,pin-function = <2>; 469 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
470 samsung,pin-pud = <0>; 470 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
471 samsung,pin-drv = <3>; 471 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
472 }; 472 };
473 473
474 sd1_cd: sd1-cd { 474 sd1_cd: sd1-cd {
475 samsung,pins = "gpc2-2"; 475 samsung,pins = "gpc2-2";
476 samsung,pin-function = <2>; 476 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
477 samsung,pin-pud = <3>; 477 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
478 samsung,pin-drv = <3>; 478 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
479 }; 479 };
480 480
481 sd1_bus1: sd1-bus-width1 { 481 sd1_bus1: sd1-bus-width1 {
482 samsung,pins = "gpc2-3"; 482 samsung,pins = "gpc2-3";
483 samsung,pin-function = <2>; 483 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
484 samsung,pin-pud = <3>; 484 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
485 samsung,pin-drv = <3>; 485 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
486 }; 486 };
487 487
488 sd1_bus4: sd1-bus-width4 { 488 sd1_bus4: sd1-bus-width4 {
489 samsung,pins = "gpc2-3", "gpc2-4", "gpc2-5", "gpc2-6"; 489 samsung,pins = "gpc2-3", "gpc2-4", "gpc2-5", "gpc2-6";
490 samsung,pin-function = <2>; 490 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
491 samsung,pin-pud = <3>; 491 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
492 samsung,pin-drv = <3>; 492 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
493 }; 493 };
494 494
495 sd2_clk: sd2-clk { 495 sd2_clk: sd2-clk {
496 samsung,pins = "gpc3-0"; 496 samsung,pins = "gpc3-0";
497 samsung,pin-function = <2>; 497 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
498 samsung,pin-pud = <0>; 498 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
499 samsung,pin-drv = <3>; 499 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
500 }; 500 };
501 501
502 sd2_cmd: sd2-cmd { 502 sd2_cmd: sd2-cmd {
503 samsung,pins = "gpc3-1"; 503 samsung,pins = "gpc3-1";
504 samsung,pin-function = <2>; 504 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
505 samsung,pin-pud = <0>; 505 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
506 samsung,pin-drv = <3>; 506 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
507 }; 507 };
508 508
509 sd2_cd: sd2-cd { 509 sd2_cd: sd2-cd {
510 samsung,pins = "gpc3-2"; 510 samsung,pins = "gpc3-2";
511 samsung,pin-function = <2>; 511 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
512 samsung,pin-pud = <3>; 512 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
513 samsung,pin-drv = <3>; 513 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
514 }; 514 };
515 515
516 sd2_bus1: sd2-bus-width1 { 516 sd2_bus1: sd2-bus-width1 {
517 samsung,pins = "gpc3-3"; 517 samsung,pins = "gpc3-3";
518 samsung,pin-function = <2>; 518 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
519 samsung,pin-pud = <3>; 519 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
520 samsung,pin-drv = <3>; 520 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
521 }; 521 };
522 522
523 sd2_bus4: sd2-bus-width4 { 523 sd2_bus4: sd2-bus-width4 {
524 samsung,pins = "gpc3-3", "gpc3-4", "gpc3-5", "gpc3-6"; 524 samsung,pins = "gpc3-3", "gpc3-4", "gpc3-5", "gpc3-6";
525 samsung,pin-function = <2>; 525 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
526 samsung,pin-pud = <3>; 526 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
527 samsung,pin-drv = <3>; 527 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
528 }; 528 };
529 529
530 sd2_bus8: sd2-bus-width8 { 530 sd2_bus8: sd2-bus-width8 {
531 samsung,pins = "gpc4-3", "gpc4-4", "gpc4-5", "gpc4-6"; 531 samsung,pins = "gpc4-3", "gpc4-4", "gpc4-5", "gpc4-6";
532 samsung,pin-function = <3>; 532 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
533 samsung,pin-pud = <3>; 533 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
534 samsung,pin-drv = <3>; 534 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
535 }; 535 };
536 536
537 sd3_clk: sd3-clk { 537 sd3_clk: sd3-clk {
538 samsung,pins = "gpc4-0"; 538 samsung,pins = "gpc4-0";
539 samsung,pin-function = <2>; 539 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
540 samsung,pin-pud = <0>; 540 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
541 samsung,pin-drv = <3>; 541 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
542 }; 542 };
543 543
544 sd3_cmd: sd3-cmd { 544 sd3_cmd: sd3-cmd {
545 samsung,pins = "gpc4-1"; 545 samsung,pins = "gpc4-1";
546 samsung,pin-function = <2>; 546 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
547 samsung,pin-pud = <0>; 547 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
548 samsung,pin-drv = <3>; 548 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
549 }; 549 };
550 550
551 sd3_cd: sd3-cd { 551 sd3_cd: sd3-cd {
552 samsung,pins = "gpc4-2"; 552 samsung,pins = "gpc4-2";
553 samsung,pin-function = <2>; 553 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
554 samsung,pin-pud = <3>; 554 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
555 samsung,pin-drv = <3>; 555 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
556 }; 556 };
557 557
558 sd3_bus1: sd3-bus-width1 { 558 sd3_bus1: sd3-bus-width1 {
559 samsung,pins = "gpc4-3"; 559 samsung,pins = "gpc4-3";
560 samsung,pin-function = <2>; 560 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
561 samsung,pin-pud = <3>; 561 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
562 samsung,pin-drv = <3>; 562 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
563 }; 563 };
564 564
565 sd3_bus4: sd3-bus-width4 { 565 sd3_bus4: sd3-bus-width4 {
566 samsung,pins = "gpc4-3", "gpc4-4", "gpc4-5", "gpc4-6"; 566 samsung,pins = "gpc4-3", "gpc4-4", "gpc4-5", "gpc4-6";
567 samsung,pin-function = <2>; 567 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
568 samsung,pin-pud = <3>; 568 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
569 samsung,pin-drv = <3>; 569 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
570 }; 570 };
571 571
572 uart1_data: uart1-data { 572 uart1_data: uart1-data {
573 samsung,pins = "gpd0-0", "gpd0-1"; 573 samsung,pins = "gpd0-0", "gpd0-1";
574 samsung,pin-function = <2>; 574 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
575 samsung,pin-pud = <0>; 575 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
576 samsung,pin-drv = <0>; 576 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
577 }; 577 };
578 578
579 uart1_fctl: uart1-fctl { 579 uart1_fctl: uart1-fctl {
580 samsung,pins = "gpd0-2", "gpd0-3"; 580 samsung,pins = "gpd0-2", "gpd0-3";
581 samsung,pin-function = <2>; 581 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
582 samsung,pin-pud = <0>; 582 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
583 samsung,pin-drv = <0>; 583 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
584 }; 584 };
585 585
586 dp_hpd: dp_hpd { 586 dp_hpd: dp_hpd {
587 samsung,pins = "gpx0-7"; 587 samsung,pins = "gpx0-7";
588 samsung,pin-function = <3>; 588 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
589 samsung,pin-pud = <0>; 589 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
590 samsung,pin-drv = <0>; 590 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
591 }; 591 };
592}; 592};
593 593
@@ -668,52 +668,52 @@
668 samsung,pins = "gpe0-0", "gpe0-1", "gpe0-2", "gpe0-3", 668 samsung,pins = "gpe0-0", "gpe0-1", "gpe0-2", "gpe0-3",
669 "gpe0-4", "gpe0-5", "gpe0-6", "gpe0-7", 669 "gpe0-4", "gpe0-5", "gpe0-6", "gpe0-7",
670 "gpe1-0", "gpe1-1"; 670 "gpe1-0", "gpe1-1";
671 samsung,pin-function = <2>; 671 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
672 samsung,pin-pud = <0>; 672 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
673 samsung,pin-drv = <0>; 673 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
674 }; 674 };
675 675
676 cam_gpio_b: cam-gpio-b { 676 cam_gpio_b: cam-gpio-b {
677 samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3", 677 samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3",
678 "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3"; 678 "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
679 samsung,pin-function = <3>; 679 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
680 samsung,pin-pud = <0>; 680 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
681 samsung,pin-drv = <0>; 681 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
682 }; 682 };
683 683
684 cam_i2c2_bus: cam-i2c2-bus { 684 cam_i2c2_bus: cam-i2c2-bus {
685 samsung,pins = "gpe0-6", "gpe1-0"; 685 samsung,pins = "gpe0-6", "gpe1-0";
686 samsung,pin-function = <4>; 686 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
687 samsung,pin-pud = <3>; 687 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
688 samsung,pin-drv = <0>; 688 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
689 }; 689 };
690 690
691 cam_spi1_bus: cam-spi1-bus { 691 cam_spi1_bus: cam-spi1-bus {
692 samsung,pins = "gpe0-4", "gpe0-5", "gpf0-2", "gpf0-3"; 692 samsung,pins = "gpe0-4", "gpe0-5", "gpf0-2", "gpf0-3";
693 samsung,pin-function = <4>; 693 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
694 samsung,pin-pud = <0>; 694 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
695 samsung,pin-drv = <0>; 695 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
696 }; 696 };
697 697
698 cam_i2c1_bus: cam-i2c1-bus { 698 cam_i2c1_bus: cam-i2c1-bus {
699 samsung,pins = "gpf0-2", "gpf0-3"; 699 samsung,pins = "gpf0-2", "gpf0-3";
700 samsung,pin-function = <2>; 700 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
701 samsung,pin-pud = <3>; 701 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
702 samsung,pin-drv = <0>; 702 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
703 }; 703 };
704 704
705 cam_i2c0_bus: cam-i2c0-bus { 705 cam_i2c0_bus: cam-i2c0-bus {
706 samsung,pins = "gpf0-0", "gpf0-1"; 706 samsung,pins = "gpf0-0", "gpf0-1";
707 samsung,pin-function = <2>; 707 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
708 samsung,pin-pud = <3>; 708 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
709 samsung,pin-drv = <0>; 709 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
710 }; 710 };
711 711
712 cam_spi0_bus: cam-spi0-bus { 712 cam_spi0_bus: cam-spi0-bus {
713 samsung,pins = "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3"; 713 samsung,pins = "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
714 samsung,pin-function = <2>; 714 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
715 samsung,pin-pud = <0>; 715 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
716 samsung,pin-drv = <0>; 716 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
717 }; 717 };
718 718
719 cam_bayrgb_bus: cam-bayrgb-bus { 719 cam_bayrgb_bus: cam-bayrgb-bus {
@@ -722,18 +722,18 @@
722 "gpg1-0", "gpg1-1", "gpg1-2", "gpg1-3", 722 "gpg1-0", "gpg1-1", "gpg1-2", "gpg1-3",
723 "gpg1-4", "gpg1-5", "gpg1-6", "gpg1-7", 723 "gpg1-4", "gpg1-5", "gpg1-6", "gpg1-7",
724 "gpg2-0", "gpg2-1"; 724 "gpg2-0", "gpg2-1";
725 samsung,pin-function = <2>; 725 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
726 samsung,pin-pud = <0>; 726 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
727 samsung,pin-drv = <0>; 727 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
728 }; 728 };
729 729
730 cam_port_a: cam-port-a { 730 cam_port_a: cam-port-a {
731 samsung,pins = "gph0-0", "gph0-1", "gph0-2", "gph0-3", 731 samsung,pins = "gph0-0", "gph0-1", "gph0-2", "gph0-3",
732 "gph1-0", "gph1-1", "gph1-2", "gph1-3", 732 "gph1-0", "gph1-1", "gph1-2", "gph1-3",
733 "gph1-4", "gph1-5", "gph1-6", "gph1-7"; 733 "gph1-4", "gph1-5", "gph1-6", "gph1-7";
734 samsung,pin-function = <2>; 734 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
735 samsung,pin-pud = <0>; 735 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
736 samsung,pin-drv = <0>; 736 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
737 }; 737 };
738}; 738};
739 739
@@ -783,9 +783,9 @@
783 "gpv0-4", "gpv0-5", "gpv0-6", "gpv0-7", 783 "gpv0-4", "gpv0-5", "gpv0-6", "gpv0-7",
784 "gpv1-0", "gpv1-1", "gpv1-2", "gpv1-3", 784 "gpv1-0", "gpv1-1", "gpv1-2", "gpv1-3",
785 "gpv1-4", "gpv1-5", "gpv1-6", "gpv1-7"; 785 "gpv1-4", "gpv1-5", "gpv1-6", "gpv1-7";
786 samsung,pin-function = <2>; 786 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
787 samsung,pin-pud = <0>; 787 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
788 samsung,pin-drv = <0>; 788 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
789 }; 789 };
790 790
791 c2c_txd: c2c-txd { 791 c2c_txd: c2c-txd {
@@ -793,9 +793,9 @@
793 "gpv2-4", "gpv2-5", "gpv2-6", "gpv2-7", 793 "gpv2-4", "gpv2-5", "gpv2-6", "gpv2-7",
794 "gpv3-0", "gpv3-1", "gpv3-2", "gpv3-3", 794 "gpv3-0", "gpv3-1", "gpv3-2", "gpv3-3",
795 "gpv3-4", "gpv3-5", "gpv3-6", "gpv3-7"; 795 "gpv3-4", "gpv3-5", "gpv3-6", "gpv3-7";
796 samsung,pin-function = <2>; 796 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
797 samsung,pin-pud = <0>; 797 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
798 samsung,pin-drv = <0>; 798 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
799 }; 799 };
800}; 800};
801 801
@@ -811,8 +811,8 @@
811 i2s0_bus: i2s0-bus { 811 i2s0_bus: i2s0-bus {
812 samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3", 812 samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3",
813 "gpz-4", "gpz-5", "gpz-6"; 813 "gpz-4", "gpz-5", "gpz-6";
814 samsung,pin-function = <2>; 814 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
815 samsung,pin-pud = <0>; 815 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
816 samsung,pin-drv = <0>; 816 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
817 }; 817 };
818}; 818};
diff --git a/arch/arm/boot/dts/exynos5250-smdk5250.dts b/arch/arm/boot/dts/exynos5250-smdk5250.dts
index 381af134c4c8..8b39980a7c8b 100644
--- a/arch/arm/boot/dts/exynos5250-smdk5250.dts
+++ b/arch/arm/boot/dts/exynos5250-smdk5250.dts
@@ -416,8 +416,8 @@
416&pinctrl_0 { 416&pinctrl_0 {
417 max77686_irq: max77686-irq { 417 max77686_irq: max77686-irq {
418 samsung,pins = "gpx3-2"; 418 samsung,pins = "gpx3-2";
419 samsung,pin-function = <0xf>; 419 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
420 samsung,pin-pud = <0>; 420 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
421 samsung,pin-drv = <0>; 421 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
422 }; 422 };
423}; 423};
diff --git a/arch/arm/boot/dts/exynos5250-snow-common.dtsi b/arch/arm/boot/dts/exynos5250-snow-common.dtsi
index fadbea744e1a..10263d0ab892 100644
--- a/arch/arm/boot/dts/exynos5250-snow-common.dtsi
+++ b/arch/arm/boot/dts/exynos5250-snow-common.dtsi
@@ -440,7 +440,7 @@
440 * double-pulling gets us out of spec in some cases. 440 * double-pulling gets us out of spec in some cases.
441 */ 441 */
442&i2c2_bus { 442&i2c2_bus {
443 samsung,pin-pud = <0>; 443 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
444}; 444};
445 445
446&i2c_2 { 446&i2c_2 {
@@ -572,81 +572,81 @@
572&pinctrl_0 { 572&pinctrl_0 {
573 wifi_en: wifi-en { 573 wifi_en: wifi-en {
574 samsung,pins = "gpx0-1"; 574 samsung,pins = "gpx0-1";
575 samsung,pin-function = <1>; 575 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
576 samsung,pin-pud = <0>; 576 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
577 samsung,pin-drv = <0>; 577 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
578 }; 578 };
579 579
580 wifi_rst: wifi-rst { 580 wifi_rst: wifi-rst {
581 samsung,pins = "gpx0-2"; 581 samsung,pins = "gpx0-2";
582 samsung,pin-function = <1>; 582 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
583 samsung,pin-pud = <0>; 583 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
584 samsung,pin-drv = <0>; 584 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
585 }; 585 };
586 586
587 power_key_irq: power-key-irq { 587 power_key_irq: power-key-irq {
588 samsung,pins = "gpx1-3"; 588 samsung,pins = "gpx1-3";
589 samsung,pin-function = <0xf>; 589 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
590 samsung,pin-pud = <0>; 590 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
591 samsung,pin-drv = <0>; 591 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
592 }; 592 };
593 593
594 ec_irq: ec-irq { 594 ec_irq: ec-irq {
595 samsung,pins = "gpx1-6"; 595 samsung,pins = "gpx1-6";
596 samsung,pin-function = <0>; 596 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
597 samsung,pin-pud = <0>; 597 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
598 samsung,pin-drv = <0>; 598 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
599 }; 599 };
600 600
601 tps65090_irq: tps65090-irq { 601 tps65090_irq: tps65090-irq {
602 samsung,pins = "gpx2-6"; 602 samsung,pins = "gpx2-6";
603 samsung,pin-function = <0>; 603 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
604 samsung,pin-pud = <0>; 604 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
605 samsung,pin-drv = <0>; 605 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
606 }; 606 };
607 607
608 usb3_vbus_en: usb3-vbus-en { 608 usb3_vbus_en: usb3-vbus-en {
609 samsung,pins = "gpx2-7"; 609 samsung,pins = "gpx2-7";
610 samsung,pin-function = <1>; 610 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
611 samsung,pin-pud = <0>; 611 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
612 samsung,pin-drv = <0>; 612 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
613 }; 613 };
614 614
615 max77686_irq: max77686-irq { 615 max77686_irq: max77686-irq {
616 samsung,pins = "gpx3-2"; 616 samsung,pins = "gpx3-2";
617 samsung,pin-function = <0>; 617 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
618 samsung,pin-pud = <0>; 618 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
619 samsung,pin-drv = <0>; 619 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
620 }; 620 };
621 621
622 lid_irq: lid-irq { 622 lid_irq: lid-irq {
623 samsung,pins = "gpx3-5"; 623 samsung,pins = "gpx3-5";
624 samsung,pin-function = <0xf>; 624 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
625 samsung,pin-pud = <0>; 625 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
626 samsung,pin-drv = <0>; 626 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
627 }; 627 };
628 628
629 hdmi_hpd_irq: hdmi-hpd-irq { 629 hdmi_hpd_irq: hdmi-hpd-irq {
630 samsung,pins = "gpx3-7"; 630 samsung,pins = "gpx3-7";
631 samsung,pin-function = <0>; 631 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
632 samsung,pin-pud = <1>; 632 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
633 samsung,pin-drv = <0>; 633 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
634 }; 634 };
635}; 635};
636 636
637&pinctrl_1 { 637&pinctrl_1 {
638 arb_their_claim: arb-their-claim { 638 arb_their_claim: arb-their-claim {
639 samsung,pins = "gpe0-4"; 639 samsung,pins = "gpe0-4";
640 samsung,pin-function = <0>; 640 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
641 samsung,pin-pud = <3>; 641 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
642 samsung,pin-drv = <0>; 642 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
643 }; 643 };
644 644
645 arb_our_claim: arb-our-claim { 645 arb_our_claim: arb-our-claim {
646 samsung,pins = "gpf0-3"; 646 samsung,pins = "gpf0-3";
647 samsung,pin-function = <1>; 647 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
648 samsung,pin-pud = <0>; 648 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
649 samsung,pin-drv = <0>; 649 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
650 }; 650 };
651}; 651};
652 652
@@ -657,16 +657,16 @@
657}; 657};
658 658
659&sd3_bus4 { 659&sd3_bus4 {
660 samsung,pin-drv = <0>; 660 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
661}; 661};
662 662
663&sd3_clk { 663&sd3_clk {
664 samsung,pin-drv = <0>; 664 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
665}; 665};
666 666
667&sd3_cmd { 667&sd3_cmd {
668 samsung,pin-pud = <3>; 668 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
669 samsung,pin-drv = <0>; 669 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
670}; 670};
671 671
672&spi_1 { 672&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 44f4292bfef6..4ec0d67bdfc3 100644
--- a/arch/arm/boot/dts/exynos5250-spring.dts
+++ b/arch/arm/boot/dts/exynos5250-spring.dts
@@ -357,7 +357,7 @@
357 * double-pulling gets us out of spec in some cases. 357 * double-pulling gets us out of spec in some cases.
358 */ 358 */
359&i2c2_bus { 359&i2c2_bus {
360 samsung,pin-pud = <0>; 360 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
361}; 361};
362 362
363&i2c_2 { 363&i2c_2 {
@@ -460,92 +460,92 @@
460&pinctrl_0 { 460&pinctrl_0 {
461 s5m8767_dvs: s5m8767-dvs { 461 s5m8767_dvs: s5m8767-dvs {
462 samsung,pins = "gpd1-0", "gpd1-1", "gpd1-2"; 462 samsung,pins = "gpd1-0", "gpd1-1", "gpd1-2";
463 samsung,pin-function = <0>; 463 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
464 samsung,pin-pud = <1>; 464 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
465 samsung,pin-drv = <0>; 465 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
466 }; 466 };
467 467
468 dp_hpd_gpio: dp-hpd-gpio { 468 dp_hpd_gpio: dp-hpd-gpio {
469 samsung,pins = "gpc3-0"; 469 samsung,pins = "gpc3-0";
470 samsung,pin-function = <0>; 470 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
471 samsung,pin-pud = <3>; 471 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
472 samsung,pin-drv = <0>; 472 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
473 }; 473 };
474 474
475 trackpad_irq: trackpad-irq { 475 trackpad_irq: trackpad-irq {
476 samsung,pins = "gpx1-2"; 476 samsung,pins = "gpx1-2";
477 samsung,pin-function = <0xf>; 477 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
478 samsung,pin-pud = <0>; 478 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
479 samsung,pin-drv = <0>; 479 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
480 }; 480 };
481 481
482 power_key_irq: power-key-irq { 482 power_key_irq: power-key-irq {
483 samsung,pins = "gpx1-3"; 483 samsung,pins = "gpx1-3";
484 samsung,pin-function = <0xf>; 484 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
485 samsung,pin-pud = <0>; 485 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
486 samsung,pin-drv = <0>; 486 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
487 }; 487 };
488 488
489 ec_irq: ec-irq { 489 ec_irq: ec-irq {
490 samsung,pins = "gpx1-6"; 490 samsung,pins = "gpx1-6";
491 samsung,pin-function = <0>; 491 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
492 samsung,pin-pud = <0>; 492 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
493 samsung,pin-drv = <0>; 493 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
494 }; 494 };
495 495
496 s5m8767_ds: s5m8767-ds { 496 s5m8767_ds: s5m8767-ds {
497 samsung,pins = "gpx2-3", "gpx2-4", "gpx2-5"; 497 samsung,pins = "gpx2-3", "gpx2-4", "gpx2-5";
498 samsung,pin-function = <0>; 498 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
499 samsung,pin-pud = <1>; 499 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
500 samsung,pin-drv = <0>; 500 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
501 }; 501 };
502 502
503 s5m8767_irq: s5m8767-irq { 503 s5m8767_irq: s5m8767-irq {
504 samsung,pins = "gpx3-2"; 504 samsung,pins = "gpx3-2";
505 samsung,pin-function = <0>; 505 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
506 samsung,pin-pud = <0>; 506 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
507 samsung,pin-drv = <0>; 507 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
508 }; 508 };
509 509
510 lid_irq: lid-irq { 510 lid_irq: lid-irq {
511 samsung,pins = "gpx3-5"; 511 samsung,pins = "gpx3-5";
512 samsung,pin-function = <0xf>; 512 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
513 samsung,pin-pud = <0>; 513 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
514 samsung,pin-drv = <0>; 514 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
515 }; 515 };
516 516
517 hdmi_hpd_irq: hdmi-hpd-irq { 517 hdmi_hpd_irq: hdmi-hpd-irq {
518 samsung,pins = "gpx3-7"; 518 samsung,pins = "gpx3-7";
519 samsung,pin-function = <0>; 519 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
520 samsung,pin-pud = <1>; 520 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
521 samsung,pin-drv = <0>; 521 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
522 }; 522 };
523}; 523};
524 524
525&pinctrl_1 { 525&pinctrl_1 {
526 hsic_reset: hsic-reset { 526 hsic_reset: hsic-reset {
527 samsung,pins = "gpe1-0"; 527 samsung,pins = "gpe1-0";
528 samsung,pin-function = <1>; 528 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
529 samsung,pin-pud = <0>; 529 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
530 samsung,pin-drv = <0>; 530 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
531 }; 531 };
532}; 532};
533 533
534&sd1_bus4 { 534&sd1_bus4 {
535 samsung,pin-drv = <0>; 535 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
536}; 536};
537 537
538&sd1_cd { 538&sd1_cd {
539 samsung,pin-drv = <0>; 539 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
540}; 540};
541 541
542&sd1_clk { 542&sd1_clk {
543 samsung,pin-drv = <0>; 543 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
544}; 544};
545 545
546&sd1_cmd { 546&sd1_cmd {
547 samsung,pin-pud = <3>; 547 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
548 samsung,pin-drv = <0>; 548 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
549}; 549};
550 550
551&spi_1 { 551&spi_1 {