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