aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2016-09-04 07:04:12 -0400
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>2016-09-16 07:32:00 -0400
commitbad96a019d2867b6043ffcdcf211d92c40027c0f (patch)
tree21be3639473048a651288e77f2be7a63c5c39360 /arch/arm/boot
parentd953f1fb14d2573499a7584a091a724c5923d5b3 (diff)
ARM: dts: exynos: Use macros for pinctrl configuration on exynos5260
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/exynos5260-pinctrl.dtsi184
-rw-r--r--arch/arm/boot/dts/exynos5260-xyref5260.dts6
2 files changed, 95 insertions, 95 deletions
diff --git a/arch/arm/boot/dts/exynos5260-pinctrl.dtsi b/arch/arm/boot/dts/exynos5260-pinctrl.dtsi
index 39c046758029..1b911a219a27 100644
--- a/arch/arm/boot/dts/exynos5260-pinctrl.dtsi
+++ b/arch/arm/boot/dts/exynos5260-pinctrl.dtsi
@@ -185,217 +185,217 @@
185 185
186 uart0_data: uart0-data { 186 uart0_data: uart0-data {
187 samsung,pins = "gpa0-0", "gpa0-1"; 187 samsung,pins = "gpa0-0", "gpa0-1";
188 samsung,pin-function = <2>; 188 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
189 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 189 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
190 samsung,pin-drv = <0>; 190 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
191 }; 191 };
192 192
193 uart0_fctl: uart0-fctl { 193 uart0_fctl: uart0-fctl {
194 samsung,pins = "gpa0-2", "gpa0-3"; 194 samsung,pins = "gpa0-2", "gpa0-3";
195 samsung,pin-function = <2>; 195 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
196 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 196 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
197 samsung,pin-drv = <0>; 197 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
198 }; 198 };
199 199
200 uart1_data: uart1-data { 200 uart1_data: uart1-data {
201 samsung,pins = "gpa1-0", "gpa1-1"; 201 samsung,pins = "gpa1-0", "gpa1-1";
202 samsung,pin-function = <2>; 202 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
203 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 203 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
204 samsung,pin-drv = <0>; 204 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
205 }; 205 };
206 206
207 uart1_fctl: uart1-fctl { 207 uart1_fctl: uart1-fctl {
208 samsung,pins = "gpa1-2", "gpa1-3"; 208 samsung,pins = "gpa1-2", "gpa1-3";
209 samsung,pin-function = <2>; 209 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
210 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 210 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
211 samsung,pin-drv = <0>; 211 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
212 }; 212 };
213 213
214 uart2_data: uart2-data { 214 uart2_data: uart2-data {
215 samsung,pins = "gpa1-4", "gpa1-5"; 215 samsung,pins = "gpa1-4", "gpa1-5";
216 samsung,pin-function = <2>; 216 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
217 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 217 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
218 samsung,pin-drv = <0>; 218 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
219 }; 219 };
220 220
221 spi0_bus: spi0-bus { 221 spi0_bus: spi0-bus {
222 samsung,pins = "gpa2-0", "gpa2-2", "gpa2-3"; 222 samsung,pins = "gpa2-0", "gpa2-2", "gpa2-3";
223 samsung,pin-function = <2>; 223 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
224 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 224 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
225 samsung,pin-drv = <0>; 225 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
226 }; 226 };
227 227
228 spi1_bus: spi1-bus { 228 spi1_bus: spi1-bus {
229 samsung,pins = "gpa2-4", "gpa2-6", "gpa2-7"; 229 samsung,pins = "gpa2-4", "gpa2-6", "gpa2-7";
230 samsung,pin-function = <2>; 230 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
231 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 231 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
232 samsung,pin-drv = <0>; 232 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
233 }; 233 };
234 234
235 usb3_vbus0_en: usb3-vbus0-en { 235 usb3_vbus0_en: usb3-vbus0-en {
236 samsung,pins = "gpa2-4"; 236 samsung,pins = "gpa2-4";
237 samsung,pin-function = <1>; 237 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
238 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 238 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
239 samsung,pin-drv = <0>; 239 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
240 }; 240 };
241 241
242 i2s1_bus: i2s1-bus { 242 i2s1_bus: i2s1-bus {
243 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3", 243 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
244 "gpb0-4"; 244 "gpb0-4";
245 samsung,pin-function = <2>; 245 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
246 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 246 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
247 samsung,pin-drv = <0>; 247 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
248 }; 248 };
249 249
250 pcm1_bus: pcm1-bus { 250 pcm1_bus: pcm1-bus {
251 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3", 251 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
252 "gpb0-4"; 252 "gpb0-4";
253 samsung,pin-function = <3>; 253 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
254 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 254 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
255 samsung,pin-drv = <0>; 255 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
256 }; 256 };
257 257
258 spdif1_bus: spdif1-bus { 258 spdif1_bus: spdif1-bus {
259 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2"; 259 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2";
260 samsung,pin-function = <4>; 260 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
261 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 261 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
262 samsung,pin-drv = <0>; 262 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
263 }; 263 };
264 264
265 spi2_bus: spi2-bus { 265 spi2_bus: spi2-bus {
266 samsung,pins = "gpb1-0", "gpb1-2", "gpb1-3"; 266 samsung,pins = "gpb1-0", "gpb1-2", "gpb1-3";
267 samsung,pin-function = <2>; 267 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
268 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 268 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
269 samsung,pin-drv = <0>; 269 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
270 }; 270 };
271 271
272 i2c0_hs_bus: i2c0-hs-bus { 272 i2c0_hs_bus: i2c0-hs-bus {
273 samsung,pins = "gpb3-0", "gpb3-1"; 273 samsung,pins = "gpb3-0", "gpb3-1";
274 samsung,pin-function = <2>; 274 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
275 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 275 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
276 samsung,pin-drv = <0>; 276 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
277 }; 277 };
278 278
279 i2c1_hs_bus: i2c1-hs-bus { 279 i2c1_hs_bus: i2c1-hs-bus {
280 samsung,pins = "gpb3-2", "gpb3-3"; 280 samsung,pins = "gpb3-2", "gpb3-3";
281 samsung,pin-function = <2>; 281 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
282 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 282 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
283 samsung,pin-drv = <0>; 283 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
284 }; 284 };
285 285
286 i2c2_hs_bus: i2c2-hs-bus { 286 i2c2_hs_bus: i2c2-hs-bus {
287 samsung,pins = "gpb3-4", "gpb3-5"; 287 samsung,pins = "gpb3-4", "gpb3-5";
288 samsung,pin-function = <2>; 288 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
289 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 289 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
290 samsung,pin-drv = <0>; 290 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
291 }; 291 };
292 292
293 i2c3_hs_bus: i2c3-hs-bus { 293 i2c3_hs_bus: i2c3-hs-bus {
294 samsung,pins = "gpb3-6", "gpb3-7"; 294 samsung,pins = "gpb3-6", "gpb3-7";
295 samsung,pin-function = <2>; 295 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
296 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 296 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
297 samsung,pin-drv = <0>; 297 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
298 }; 298 };
299 299
300 i2c4_bus: i2c4-bus { 300 i2c4_bus: i2c4-bus {
301 samsung,pins = "gpb4-0", "gpb4-1"; 301 samsung,pins = "gpb4-0", "gpb4-1";
302 samsung,pin-function = <2>; 302 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
303 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 303 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
304 samsung,pin-drv = <0>; 304 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
305 }; 305 };
306 306
307 i2c5_bus: i2c5-bus { 307 i2c5_bus: i2c5-bus {
308 samsung,pins = "gpb4-2", "gpb4-3"; 308 samsung,pins = "gpb4-2", "gpb4-3";
309 samsung,pin-function = <2>; 309 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
310 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 310 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
311 samsung,pin-drv = <0>; 311 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
312 }; 312 };
313 313
314 i2c6_bus: i2c6-bus { 314 i2c6_bus: i2c6-bus {
315 samsung,pins = "gpb4-4", "gpb4-5"; 315 samsung,pins = "gpb4-4", "gpb4-5";
316 samsung,pin-function = <2>; 316 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
317 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 317 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
318 samsung,pin-drv = <0>; 318 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
319 }; 319 };
320 320
321 i2c7_bus: i2c7-bus { 321 i2c7_bus: i2c7-bus {
322 samsung,pins = "gpb4-6", "gpb4-7"; 322 samsung,pins = "gpb4-6", "gpb4-7";
323 samsung,pin-function = <2>; 323 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
324 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 324 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
325 samsung,pin-drv = <0>; 325 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
326 }; 326 };
327 327
328 i2c8_bus: i2c8-bus { 328 i2c8_bus: i2c8-bus {
329 samsung,pins = "gpb5-0", "gpb5-1"; 329 samsung,pins = "gpb5-0", "gpb5-1";
330 samsung,pin-function = <2>; 330 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
331 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 331 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
332 samsung,pin-drv = <0>; 332 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
333 }; 333 };
334 334
335 i2c9_bus: i2c9-bus { 335 i2c9_bus: i2c9-bus {
336 samsung,pins = "gpb5-2", "gpb5-3"; 336 samsung,pins = "gpb5-2", "gpb5-3";
337 samsung,pin-function = <2>; 337 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
338 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 338 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
339 samsung,pin-drv = <0>; 339 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
340 }; 340 };
341 341
342 i2c10_bus: i2c10-bus { 342 i2c10_bus: i2c10-bus {
343 samsung,pins = "gpb5-4", "gpb5-5"; 343 samsung,pins = "gpb5-4", "gpb5-5";
344 samsung,pin-function = <2>; 344 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
345 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 345 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
346 samsung,pin-drv = <0>; 346 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
347 }; 347 };
348 348
349 i2c11_bus: i2c11-bus { 349 i2c11_bus: i2c11-bus {
350 samsung,pins = "gpb5-6", "gpb5-7"; 350 samsung,pins = "gpb5-6", "gpb5-7";
351 samsung,pin-function = <2>; 351 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
352 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 352 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
353 samsung,pin-drv = <0>; 353 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
354 }; 354 };
355 355
356 cam_gpio_a: cam-gpio-a { 356 cam_gpio_a: cam-gpio-a {
357 samsung,pins = "gpe0-0", "gpe0-1", "gpe0-2", "gpe0-3", 357 samsung,pins = "gpe0-0", "gpe0-1", "gpe0-2", "gpe0-3",
358 "gpe0-4", "gpe0-5", "gpe0-6", "gpe0-7", 358 "gpe0-4", "gpe0-5", "gpe0-6", "gpe0-7",
359 "gpe1-0", "gpe1-1"; 359 "gpe1-0", "gpe1-1";
360 samsung,pin-function = <2>; 360 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
361 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 361 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
362 samsung,pin-drv = <0>; 362 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
363 }; 363 };
364 364
365 cam_gpio_b: cam-gpio-b { 365 cam_gpio_b: cam-gpio-b {
366 samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3", 366 samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3",
367 "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3"; 367 "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
368 samsung,pin-function = <3>; 368 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
369 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 369 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
370 samsung,pin-drv = <0>; 370 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
371 }; 371 };
372 372
373 cam_i2c1_bus: cam-i2c1-bus { 373 cam_i2c1_bus: cam-i2c1-bus {
374 samsung,pins = "gpf0-2", "gpf0-3"; 374 samsung,pins = "gpf0-2", "gpf0-3";
375 samsung,pin-function = <2>; 375 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
376 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 376 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
377 samsung,pin-drv = <0>; 377 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
378 }; 378 };
379 379
380 cam_i2c0_bus: cam-i2c0-bus { 380 cam_i2c0_bus: cam-i2c0-bus {
381 samsung,pins = "gpf0-0", "gpf0-1"; 381 samsung,pins = "gpf0-0", "gpf0-1";
382 samsung,pin-function = <2>; 382 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
383 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 383 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
384 samsung,pin-drv = <0>; 384 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
385 }; 385 };
386 386
387 cam_spi0_bus: cam-spi0-bus { 387 cam_spi0_bus: cam-spi0-bus {
388 samsung,pins = "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3"; 388 samsung,pins = "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
389 samsung,pin-function = <2>; 389 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
390 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 390 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
391 samsung,pin-drv = <0>; 391 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
392 }; 392 };
393 393
394 cam_spi1_bus: cam-spi1-bus { 394 cam_spi1_bus: cam-spi1-bus {
395 samsung,pins = "gpf1-4", "gpf1-5", "gpf1-6", "gpf1-7"; 395 samsung,pins = "gpf1-4", "gpf1-5", "gpf1-6", "gpf1-7";
396 samsung,pin-function = <2>; 396 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
397 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 397 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
398 samsung,pin-drv = <0>; 398 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
399 }; 399 };
400}; 400};
401 401
@@ -442,114 +442,114 @@
442 442
443 sd0_clk: sd0-clk { 443 sd0_clk: sd0-clk {
444 samsung,pins = "gpc0-0"; 444 samsung,pins = "gpc0-0";
445 samsung,pin-function = <2>; 445 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
446 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 446 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
447 samsung,pin-drv = <3>; 447 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
448 }; 448 };
449 449
450 sd0_cmd: sd0-cmd { 450 sd0_cmd: sd0-cmd {
451 samsung,pins = "gpc0-1"; 451 samsung,pins = "gpc0-1";
452 samsung,pin-function = <2>; 452 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
453 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 453 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
454 samsung,pin-drv = <3>; 454 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
455 }; 455 };
456 456
457 sd0_bus1: sd0-bus-width1 { 457 sd0_bus1: sd0-bus-width1 {
458 samsung,pins = "gpc0-2"; 458 samsung,pins = "gpc0-2";
459 samsung,pin-function = <2>; 459 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
460 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 460 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
461 samsung,pin-drv = <3>; 461 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
462 }; 462 };
463 463
464 sd0_bus4: sd0-bus-width4 { 464 sd0_bus4: sd0-bus-width4 {
465 samsung,pins = "gpc0-3", "gpc0-4", "gpc0-5"; 465 samsung,pins = "gpc0-3", "gpc0-4", "gpc0-5";
466 samsung,pin-function = <2>; 466 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
467 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 467 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
468 samsung,pin-drv = <3>; 468 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
469 }; 469 };
470 470
471 sd0_bus8: sd0-bus-width8 { 471 sd0_bus8: sd0-bus-width8 {
472 samsung,pins = "gpc3-0", "gpc3-1", "gpc3-2", "gpc3-3"; 472 samsung,pins = "gpc3-0", "gpc3-1", "gpc3-2", "gpc3-3";
473 samsung,pin-function = <2>; 473 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
474 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 474 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
475 samsung,pin-drv = <3>; 475 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
476 }; 476 };
477 477
478 sd0_rdqs: sd0-rdqs { 478 sd0_rdqs: sd0-rdqs {
479 samsung,pins = "gpc0-6"; 479 samsung,pins = "gpc0-6";
480 samsung,pin-function = <2>; 480 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
481 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 481 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
482 samsung,pin-drv = <3>; 482 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
483 }; 483 };
484 484
485 sd1_clk: sd1-clk { 485 sd1_clk: sd1-clk {
486 samsung,pins = "gpc1-0"; 486 samsung,pins = "gpc1-0";
487 samsung,pin-function = <2>; 487 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
488 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 488 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
489 samsung,pin-drv = <3>; 489 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
490 }; 490 };
491 491
492 sd1_cmd: sd1-cmd { 492 sd1_cmd: sd1-cmd {
493 samsung,pins = "gpc1-1"; 493 samsung,pins = "gpc1-1";
494 samsung,pin-function = <2>; 494 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
495 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 495 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
496 samsung,pin-drv = <3>; 496 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
497 }; 497 };
498 498
499 sd1_bus1: sd1-bus-width1 { 499 sd1_bus1: sd1-bus-width1 {
500 samsung,pins = "gpc1-2"; 500 samsung,pins = "gpc1-2";
501 samsung,pin-function = <2>; 501 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
502 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 502 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
503 samsung,pin-drv = <3>; 503 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
504 }; 504 };
505 505
506 sd1_bus4: sd1-bus-width4 { 506 sd1_bus4: sd1-bus-width4 {
507 samsung,pins = "gpc1-3", "gpc1-4", "gpc1-5"; 507 samsung,pins = "gpc1-3", "gpc1-4", "gpc1-5";
508 samsung,pin-function = <2>; 508 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
509 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 509 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
510 samsung,pin-drv = <3>; 510 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
511 }; 511 };
512 512
513 sd1_bus8: sd1-bus-width8 { 513 sd1_bus8: sd1-bus-width8 {
514 samsung,pins = "gpc4-0", "gpc4-1", "gpc4-2", "gpc4-3"; 514 samsung,pins = "gpc4-0", "gpc4-1", "gpc4-2", "gpc4-3";
515 samsung,pin-function = <2>; 515 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
516 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 516 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
517 samsung,pin-drv = <3>; 517 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
518 }; 518 };
519 519
520 sd2_clk: sd2-clk { 520 sd2_clk: sd2-clk {
521 samsung,pins = "gpc2-0"; 521 samsung,pins = "gpc2-0";
522 samsung,pin-function = <2>; 522 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
523 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 523 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
524 samsung,pin-drv = <3>; 524 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
525 }; 525 };
526 526
527 sd2_cmd: sd2-cmd { 527 sd2_cmd: sd2-cmd {
528 samsung,pins = "gpc2-1"; 528 samsung,pins = "gpc2-1";
529 samsung,pin-function = <2>; 529 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
530 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 530 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
531 samsung,pin-drv = <3>; 531 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
532 }; 532 };
533 533
534 sd2_cd: sd2-cd { 534 sd2_cd: sd2-cd {
535 samsung,pins = "gpc2-2"; 535 samsung,pins = "gpc2-2";
536 samsung,pin-function = <2>; 536 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
537 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 537 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
538 samsung,pin-drv = <3>; 538 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
539 }; 539 };
540 540
541 sd2_bus1: sd2-bus-width1 { 541 sd2_bus1: sd2-bus-width1 {
542 samsung,pins = "gpc2-3"; 542 samsung,pins = "gpc2-3";
543 samsung,pin-function = <2>; 543 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
544 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 544 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
545 samsung,pin-drv = <3>; 545 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
546 }; 546 };
547 547
548 sd2_bus4: sd2-bus-width4 { 548 sd2_bus4: sd2-bus-width4 {
549 samsung,pins = "gpc2-4", "gpc2-5", "gpc2-6"; 549 samsung,pins = "gpc2-4", "gpc2-5", "gpc2-6";
550 samsung,pin-function = <2>; 550 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
551 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 551 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
552 samsung,pin-drv = <3>; 552 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
553 }; 553 };
554}; 554};
555 555
diff --git a/arch/arm/boot/dts/exynos5260-xyref5260.dts b/arch/arm/boot/dts/exynos5260-xyref5260.dts
index 3daef94bee38..ccbdc8ad3da3 100644
--- a/arch/arm/boot/dts/exynos5260-xyref5260.dts
+++ b/arch/arm/boot/dts/exynos5260-xyref5260.dts
@@ -42,9 +42,9 @@
42&pinctrl_0 { 42&pinctrl_0 {
43 hdmi_hpd_irq: hdmi-hpd-irq { 43 hdmi_hpd_irq: hdmi-hpd-irq {
44 samsung,pins = "gpx3-7"; 44 samsung,pins = "gpx3-7";
45 samsung,pin-function = <0>; 45 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
46 samsung,pin-pud = <1>; 46 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
47 samsung,pin-drv = <0>; 47 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
48 }; 48 };
49}; 49};
50 50