Thomas Abraham | 87711d8 | 2012-09-07 06:14:26 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Samsung's Exynos4210 SoC pin-mux and pin-config device tree source |
| 3 | * |
| 4 | * Copyright (c) 2011-2012 Samsung Electronics Co., Ltd. |
| 5 | * http://www.samsung.com |
| 6 | * Copyright (c) 2011-2012 Linaro Ltd. |
| 7 | * www.linaro.org |
| 8 | * |
| 9 | * Samsung's Exynos4210 SoC pin-mux and pin-config optiosn are listed as device |
| 10 | * tree nodes are listed in this file. |
| 11 | * |
| 12 | * This program is free software; you can redistribute it and/or modify |
| 13 | * it under the terms of the GNU General Public License version 2 as |
| 14 | * published by the Free Software Foundation. |
| 15 | */ |
| 16 | |
| 17 | / { |
| 18 | pinctrl@11400000 { |
| 19 | uart0_data: uart0-data { |
| 20 | samsung,pins = "gpa0-0", "gpa0-1"; |
| 21 | samsung,pin-function = <0x2>; |
| 22 | samsung,pin-pud = <0>; |
| 23 | samsung,pin-drv = <0>; |
| 24 | }; |
| 25 | |
| 26 | uart0_fctl: uart0-fctl { |
| 27 | samsung,pins = "gpa0-2", "gpa0-3"; |
| 28 | samsung,pin-function = <2>; |
| 29 | samsung,pin-pud = <0>; |
| 30 | samsung,pin-drv = <0>; |
| 31 | }; |
| 32 | |
| 33 | uart1_data: uart1-data { |
| 34 | samsung,pins = "gpa0-4", "gpa0-5"; |
| 35 | samsung,pin-function = <2>; |
| 36 | samsung,pin-pud = <0>; |
| 37 | samsung,pin-drv = <0>; |
| 38 | }; |
| 39 | |
| 40 | uart1_fctl: uart1-fctl { |
| 41 | samsung,pins = "gpa0-6", "gpa0-7"; |
| 42 | samsung,pin-function = <2>; |
| 43 | samsung,pin-pud = <0>; |
| 44 | samsung,pin-drv = <0>; |
| 45 | }; |
| 46 | |
| 47 | i2c2_bus: i2c2-bus { |
| 48 | samsung,pins = "gpa0-6", "gpa0-7"; |
| 49 | samsung,pin-function = <3>; |
| 50 | samsung,pin-pud = <3>; |
| 51 | samsung,pin-drv = <0>; |
| 52 | }; |
| 53 | |
| 54 | uart2_data: uart2-data { |
| 55 | samsung,pins = "gpa1-0", "gpa1-1"; |
| 56 | samsung,pin-function = <2>; |
| 57 | samsung,pin-pud = <0>; |
| 58 | samsung,pin-drv = <0>; |
| 59 | }; |
| 60 | |
| 61 | uart2_fctl: uart2-fctl { |
| 62 | samsung,pins = "gpa1-2", "gpa1-3"; |
| 63 | samsung,pin-function = <2>; |
| 64 | samsung,pin-pud = <0>; |
| 65 | samsung,pin-drv = <0>; |
| 66 | }; |
| 67 | |
| 68 | uart_audio_a: uart-audio-a { |
| 69 | samsung,pins = "gpa1-0", "gpa1-1"; |
| 70 | samsung,pin-function = <4>; |
| 71 | samsung,pin-pud = <0>; |
| 72 | samsung,pin-drv = <0>; |
| 73 | }; |
| 74 | |
| 75 | i2c3_bus: i2c3-bus { |
| 76 | samsung,pins = "gpa1-2", "gpa1-3"; |
| 77 | samsung,pin-function = <3>; |
| 78 | samsung,pin-pud = <3>; |
| 79 | samsung,pin-drv = <0>; |
| 80 | }; |
| 81 | |
| 82 | uart3_data: uart3-data { |
| 83 | samsung,pins = "gpa1-4", "gpa1-5"; |
| 84 | samsung,pin-function = <2>; |
| 85 | samsung,pin-pud = <0>; |
| 86 | samsung,pin-drv = <0>; |
| 87 | }; |
| 88 | |
| 89 | uart_audio_b: uart-audio-b { |
| 90 | samsung,pins = "gpa1-4", "gpa1-5"; |
| 91 | samsung,pin-function = <4>; |
| 92 | samsung,pin-pud = <0>; |
| 93 | samsung,pin-drv = <0>; |
| 94 | }; |
| 95 | |
| 96 | spi0_bus: spi0-bus { |
| 97 | samsung,pins = "gpb-0", "gpb-2", "gpb-3"; |
| 98 | samsung,pin-function = <2>; |
| 99 | samsung,pin-pud = <3>; |
| 100 | samsung,pin-drv = <0>; |
| 101 | }; |
| 102 | |
| 103 | i2c4_bus: i2c4-bus { |
| 104 | samsung,pins = "gpb-2", "gpb-3"; |
| 105 | samsung,pin-function = <3>; |
| 106 | samsung,pin-pud = <3>; |
| 107 | samsung,pin-drv = <0>; |
| 108 | }; |
| 109 | |
| 110 | spi1_bus: spi1-bus { |
| 111 | samsung,pins = "gpb-4", "gpb-6", "gpb-7"; |
| 112 | samsung,pin-function = <2>; |
| 113 | samsung,pin-pud = <3>; |
| 114 | samsung,pin-drv = <0>; |
| 115 | }; |
| 116 | |
| 117 | i2c5_bus: i2c5-bus { |
| 118 | samsung,pins = "gpb-6", "gpb-7"; |
| 119 | samsung,pin-function = <3>; |
| 120 | samsung,pin-pud = <3>; |
| 121 | samsung,pin-drv = <0>; |
| 122 | }; |
| 123 | |
| 124 | i2s1_bus: i2s1-bus { |
| 125 | samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3", |
| 126 | "gpc0-4"; |
| 127 | samsung,pin-function = <2>; |
| 128 | samsung,pin-pud = <0>; |
| 129 | samsung,pin-drv = <0>; |
| 130 | }; |
| 131 | |
| 132 | pcm1_bus: pcm1-bus { |
| 133 | samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3", |
| 134 | "gpc0-4"; |
| 135 | samsung,pin-function = <3>; |
| 136 | samsung,pin-pud = <0>; |
| 137 | samsung,pin-drv = <0>; |
| 138 | }; |
| 139 | |
| 140 | ac97_bus: ac97-bus { |
| 141 | samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3", |
| 142 | "gpc0-4"; |
| 143 | samsung,pin-function = <4>; |
| 144 | samsung,pin-pud = <0>; |
| 145 | samsung,pin-drv = <0>; |
| 146 | }; |
| 147 | |
| 148 | i2s2_bus: i2s2-bus { |
| 149 | samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3", |
| 150 | "gpc1-4"; |
| 151 | samsung,pin-function = <2>; |
| 152 | samsung,pin-pud = <0>; |
| 153 | samsung,pin-drv = <0>; |
| 154 | }; |
| 155 | |
| 156 | pcm2_bus: pcm2-bus { |
| 157 | samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3", |
| 158 | "gpc1-4"; |
| 159 | samsung,pin-function = <3>; |
| 160 | samsung,pin-pud = <0>; |
| 161 | samsung,pin-drv = <0>; |
| 162 | }; |
| 163 | |
| 164 | spdif_bus: spdif-bus { |
| 165 | samsung,pins = "gpc1-0", "gpc1-1"; |
| 166 | samsung,pin-function = <4>; |
| 167 | samsung,pin-pud = <0>; |
| 168 | samsung,pin-drv = <0>; |
| 169 | }; |
| 170 | |
| 171 | i2c6_bus: i2c6-bus { |
| 172 | samsung,pins = "gpc1-3", "gpc1-4"; |
| 173 | samsung,pin-function = <4>; |
| 174 | samsung,pin-pud = <3>; |
| 175 | samsung,pin-drv = <0>; |
| 176 | }; |
| 177 | |
| 178 | spi2_bus: spi2-bus { |
| 179 | samsung,pins = "gpc1-1", "gpc1-2", "gpc1-3", "gpc1-4"; |
| 180 | samsung,pin-function = <5>; |
| 181 | samsung,pin-pud = <3>; |
| 182 | samsung,pin-drv = <0>; |
| 183 | }; |
| 184 | |
| 185 | i2c7_bus: i2c7-bus { |
| 186 | samsung,pins = "gpd0-2", "gpd0-3"; |
| 187 | samsung,pin-function = <3>; |
| 188 | samsung,pin-pud = <3>; |
| 189 | samsung,pin-drv = <0>; |
| 190 | }; |
| 191 | |
| 192 | i2c0_bus: i2c0-bus { |
| 193 | samsung,pins = "gpd1-0", "gpd1-1"; |
| 194 | samsung,pin-function = <2>; |
| 195 | samsung,pin-pud = <3>; |
| 196 | samsung,pin-drv = <0>; |
| 197 | }; |
| 198 | |
| 199 | i2c1_bus: i2c1-bus { |
| 200 | samsung,pins = "gpd1-2", "gpd1-3"; |
| 201 | samsung,pin-function = <2>; |
| 202 | samsung,pin-pud = <3>; |
| 203 | samsung,pin-drv = <0>; |
| 204 | }; |
| 205 | }; |
| 206 | |
| 207 | pinctrl@11000000 { |
| 208 | sd0_clk: sd0-clk { |
| 209 | samsung,pins = "gpk0-0"; |
| 210 | samsung,pin-function = <2>; |
| 211 | samsung,pin-pud = <0>; |
| 212 | samsung,pin-drv = <0>; |
| 213 | }; |
| 214 | |
| 215 | sd0_cmd: sd0-cmd { |
| 216 | samsung,pins = "gpk0-1"; |
| 217 | samsung,pin-function = <2>; |
| 218 | samsung,pin-pud = <0>; |
| 219 | samsung,pin-drv = <0>; |
| 220 | }; |
| 221 | |
| 222 | sd0_cd: sd0-cd { |
| 223 | samsung,pins = "gpk0-2"; |
| 224 | samsung,pin-function = <2>; |
| 225 | samsung,pin-pud = <3>; |
| 226 | samsung,pin-drv = <0>; |
| 227 | }; |
| 228 | |
| 229 | sd0_bus1: sd0-bus-width1 { |
| 230 | samsung,pins = "gpk0-3"; |
| 231 | samsung,pin-function = <2>; |
| 232 | samsung,pin-pud = <3>; |
| 233 | samsung,pin-drv = <0>; |
| 234 | }; |
| 235 | |
| 236 | sd0_bus4: sd0-bus-width4 { |
| 237 | samsung,pins = "gpk0-3", "gpk0-4", "gpk0-5", "gpk0-6"; |
| 238 | samsung,pin-function = <2>; |
| 239 | samsung,pin-pud = <3>; |
| 240 | samsung,pin-drv = <0>; |
| 241 | }; |
| 242 | |
| 243 | sd0_bus8: sd0-bus-width8 { |
| 244 | samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6"; |
| 245 | samsung,pin-function = <3>; |
| 246 | samsung,pin-pud = <3>; |
| 247 | samsung,pin-drv = <0>; |
| 248 | }; |
| 249 | |
| 250 | sd4_clk: sd4-clk { |
| 251 | samsung,pins = "gpk0-0"; |
| 252 | samsung,pin-function = <3>; |
| 253 | samsung,pin-pud = <0>; |
| 254 | samsung,pin-drv = <0>; |
| 255 | }; |
| 256 | |
| 257 | sd4_cmd: sd4-cmd { |
| 258 | samsung,pins = "gpk0-1"; |
| 259 | samsung,pin-function = <3>; |
| 260 | samsung,pin-pud = <0>; |
| 261 | samsung,pin-drv = <0>; |
| 262 | }; |
| 263 | |
| 264 | sd4_cd: sd4-cd { |
| 265 | samsung,pins = "gpk0-2"; |
| 266 | samsung,pin-function = <3>; |
| 267 | samsung,pin-pud = <3>; |
| 268 | samsung,pin-drv = <0>; |
| 269 | }; |
| 270 | |
| 271 | sd4_bus1: sd4-bus-width1 { |
| 272 | samsung,pins = "gpk0-3"; |
| 273 | samsung,pin-function = <3>; |
| 274 | samsung,pin-pud = <3>; |
| 275 | samsung,pin-drv = <0>; |
| 276 | }; |
| 277 | |
| 278 | sd4_bus4: sd4-bus-width4 { |
| 279 | samsung,pins = "gpk0-3", "gpk0-4", "gpk0-5", "gpk0-6"; |
| 280 | samsung,pin-function = <3>; |
| 281 | samsung,pin-pud = <3>; |
| 282 | samsung,pin-drv = <0>; |
| 283 | }; |
| 284 | |
| 285 | sd4_bus8: sd4-bus-width8 { |
| 286 | samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6"; |
| 287 | samsung,pin-function = <3>; |
| 288 | samsung,pin-pud = <4>; |
| 289 | samsung,pin-drv = <0>; |
| 290 | }; |
| 291 | |
| 292 | sd1_clk: sd1-clk { |
| 293 | samsung,pins = "gpk1-0"; |
| 294 | samsung,pin-function = <2>; |
| 295 | samsung,pin-pud = <0>; |
| 296 | samsung,pin-drv = <0>; |
| 297 | }; |
| 298 | |
| 299 | sd1_cmd: sd1-cmd { |
| 300 | samsung,pins = "gpk1-1"; |
| 301 | samsung,pin-function = <2>; |
| 302 | samsung,pin-pud = <0>; |
| 303 | samsung,pin-drv = <0>; |
| 304 | }; |
| 305 | |
| 306 | sd1_cd: sd1-cd { |
| 307 | samsung,pins = "gpk1-2"; |
| 308 | samsung,pin-function = <2>; |
| 309 | samsung,pin-pud = <3>; |
| 310 | samsung,pin-drv = <0>; |
| 311 | }; |
| 312 | |
| 313 | sd1_bus1: sd1-bus-width1 { |
| 314 | samsung,pins = "gpk1-3"; |
| 315 | samsung,pin-function = <2>; |
| 316 | samsung,pin-pud = <3>; |
| 317 | samsung,pin-drv = <0>; |
| 318 | }; |
| 319 | |
| 320 | sd1_bus4: sd1-bus-width4 { |
| 321 | samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6"; |
| 322 | samsung,pin-function = <2>; |
| 323 | samsung,pin-pud = <3>; |
| 324 | samsung,pin-drv = <0>; |
| 325 | }; |
| 326 | |
| 327 | sd2_clk: sd2-clk { |
| 328 | samsung,pins = "gpk2-0"; |
| 329 | samsung,pin-function = <2>; |
| 330 | samsung,pin-pud = <0>; |
| 331 | samsung,pin-drv = <0>; |
| 332 | }; |
| 333 | |
| 334 | sd2_cmd: sd2-cmd { |
| 335 | samsung,pins = "gpk2-1"; |
| 336 | samsung,pin-function = <2>; |
| 337 | samsung,pin-pud = <0>; |
| 338 | samsung,pin-drv = <0>; |
| 339 | }; |
| 340 | |
| 341 | sd2_cd: sd2-cd { |
| 342 | samsung,pins = "gpk2-2"; |
| 343 | samsung,pin-function = <2>; |
| 344 | samsung,pin-pud = <3>; |
| 345 | samsung,pin-drv = <0>; |
| 346 | }; |
| 347 | |
| 348 | sd2_bus1: sd2-bus-width1 { |
| 349 | samsung,pins = "gpk2-3"; |
| 350 | samsung,pin-function = <2>; |
| 351 | samsung,pin-pud = <3>; |
| 352 | samsung,pin-drv = <0>; |
| 353 | }; |
| 354 | |
| 355 | sd2_bus4: sd2-bus-width4 { |
| 356 | samsung,pins = "gpk2-3", "gpk2-4", "gpk2-5", "gpk2-6"; |
| 357 | samsung,pin-function = <2>; |
| 358 | samsung,pin-pud = <3>; |
| 359 | samsung,pin-drv = <0>; |
| 360 | }; |
| 361 | |
| 362 | sd2_bus8: sd2-bus-width8 { |
| 363 | samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6"; |
| 364 | samsung,pin-function = <3>; |
| 365 | samsung,pin-pud = <3>; |
| 366 | samsung,pin-drv = <0>; |
| 367 | }; |
| 368 | |
| 369 | sd3_clk: sd3-clk { |
| 370 | samsung,pins = "gpk3-0"; |
| 371 | samsung,pin-function = <2>; |
| 372 | samsung,pin-pud = <0>; |
| 373 | samsung,pin-drv = <0>; |
| 374 | }; |
| 375 | |
| 376 | sd3_cmd: sd3-cmd { |
| 377 | samsung,pins = "gpk3-1"; |
| 378 | samsung,pin-function = <2>; |
| 379 | samsung,pin-pud = <0>; |
| 380 | samsung,pin-drv = <0>; |
| 381 | }; |
| 382 | |
| 383 | sd3_cd: sd3-cd { |
| 384 | samsung,pins = "gpk3-2"; |
| 385 | samsung,pin-function = <2>; |
| 386 | samsung,pin-pud = <3>; |
| 387 | samsung,pin-drv = <0>; |
| 388 | }; |
| 389 | |
| 390 | sd3_bus1: sd3-bus-width1 { |
| 391 | samsung,pins = "gpk3-3"; |
| 392 | samsung,pin-function = <2>; |
| 393 | samsung,pin-pud = <3>; |
| 394 | samsung,pin-drv = <0>; |
| 395 | }; |
| 396 | |
| 397 | sd3_bus4: sd3-bus-width4 { |
| 398 | samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6"; |
| 399 | samsung,pin-function = <2>; |
| 400 | samsung,pin-pud = <3>; |
| 401 | samsung,pin-drv = <0>; |
| 402 | }; |
| 403 | |
| 404 | eint0: ext-int0 { |
| 405 | samsung,pins = "gpx0-0"; |
| 406 | samsung,pin-function = <0xf>; |
| 407 | samsung,pin-pud = <0>; |
| 408 | samsung,pin-drv = <0>; |
| 409 | }; |
| 410 | |
| 411 | eint8: ext-int8 { |
| 412 | samsung,pins = "gpx1-0"; |
| 413 | samsung,pin-function = <0xf>; |
| 414 | samsung,pin-pud = <0>; |
| 415 | samsung,pin-drv = <0>; |
| 416 | }; |
| 417 | |
| 418 | eint15: ext-int15 { |
| 419 | samsung,pins = "gpx1-7"; |
| 420 | samsung,pin-function = <0xf>; |
| 421 | samsung,pin-pud = <0>; |
| 422 | samsung,pin-drv = <0>; |
| 423 | }; |
| 424 | |
| 425 | eint16: ext-int16 { |
| 426 | samsung,pins = "gpx2-0"; |
| 427 | samsung,pin-function = <0xf>; |
| 428 | samsung,pin-pud = <0>; |
| 429 | samsung,pin-drv = <0>; |
| 430 | }; |
| 431 | |
| 432 | eint31: ext-int31 { |
| 433 | samsung,pins = "gpx3-7"; |
| 434 | samsung,pin-function = <0xf>; |
| 435 | samsung,pin-pud = <0>; |
| 436 | samsung,pin-drv = <0>; |
| 437 | }; |
| 438 | }; |
| 439 | |
| 440 | pinctrl@03860000 { |
| 441 | i2s0_bus: i2s0-bus { |
| 442 | samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3", |
| 443 | "gpz-4", "gpz-5", "gpz-6"; |
| 444 | samsung,pin-function = <0x2>; |
| 445 | samsung,pin-pud = <0>; |
| 446 | samsung,pin-drv = <0>; |
| 447 | }; |
| 448 | |
| 449 | pcm0_bus: pcm0-bus { |
| 450 | samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3", |
| 451 | "gpz-4"; |
| 452 | samsung,pin-function = <0x3>; |
| 453 | samsung,pin-pud = <0>; |
| 454 | samsung,pin-drv = <0>; |
| 455 | }; |
| 456 | }; |
| 457 | }; |