Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 1 | /* |
| 2 | * at91sam9x5.dtsi - Device Tree Include file for AT91SAM9x5 family SoC |
| 3 | * applies to AT91SAM9G15, AT91SAM9G25, AT91SAM9G35, |
| 4 | * AT91SAM9X25, AT91SAM9X35 SoC |
| 5 | * |
| 6 | * Copyright (C) 2012 Atmel, |
| 7 | * 2012 Nicolas Ferre <nicolas.ferre@atmel.com> |
| 8 | * |
| 9 | * Licensed under GPLv2 or later. |
| 10 | */ |
| 11 | |
Jean-Christophe PLAGNIOL-VILLARD | 6db64d2 | 2013-05-15 01:21:50 +0800 | [diff] [blame] | 12 | #include "skeleton.dtsi" |
Ludovic Desroches | d4ae89c | 2013-05-30 18:08:22 +0200 | [diff] [blame] | 13 | #include <dt-bindings/dma/at91.h> |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 14 | #include <dt-bindings/pinctrl/at91.h> |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 15 | #include <dt-bindings/interrupt-controller/irq.h> |
Jean-Christophe PLAGNIOL-VILLARD | 92f8629 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 16 | #include <dt-bindings/gpio/gpio.h> |
Boris BREZILLON | a80d3ec | 2014-05-12 18:23:35 +0200 | [diff] [blame] | 17 | #include <dt-bindings/clock/at91.h> |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 18 | |
| 19 | / { |
| 20 | model = "Atmel AT91SAM9x5 family SoC"; |
| 21 | compatible = "atmel,at91sam9x5"; |
| 22 | interrupt-parent = <&aic>; |
| 23 | |
| 24 | aliases { |
| 25 | serial0 = &dbgu; |
| 26 | serial1 = &usart0; |
| 27 | serial2 = &usart1; |
| 28 | serial3 = &usart2; |
| 29 | gpio0 = &pioA; |
| 30 | gpio1 = &pioB; |
| 31 | gpio2 = &pioC; |
| 32 | gpio3 = &pioD; |
| 33 | tcb0 = &tcb0; |
| 34 | tcb1 = &tcb1; |
Ludovic Desroches | 05dcd36 | 2012-09-12 08:42:16 +0200 | [diff] [blame] | 35 | i2c0 = &i2c0; |
| 36 | i2c1 = &i2c1; |
| 37 | i2c2 = &i2c2; |
Bo Shen | 099343c | 2012-11-07 11:41:41 +0800 | [diff] [blame] | 38 | ssc0 = &ssc0; |
Bo Shen | f3ab052 | 2013-12-19 11:59:17 +0800 | [diff] [blame] | 39 | pwm0 = &pwm0; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 40 | }; |
| 41 | cpus { |
Lorenzo Pieralisi | e757a6e | 2013-04-18 18:31:35 +0100 | [diff] [blame] | 42 | #address-cells = <0>; |
| 43 | #size-cells = <0>; |
| 44 | |
| 45 | cpu { |
| 46 | compatible = "arm,arm926ej-s"; |
| 47 | device_type = "cpu"; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 48 | }; |
| 49 | }; |
| 50 | |
Ludovic Desroches | dcce6ce | 2012-04-02 20:44:20 +0200 | [diff] [blame] | 51 | memory { |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 52 | reg = <0x20000000 0x10000000>; |
| 53 | }; |
| 54 | |
Alexandre Belloni | 12dde44 | 2014-06-17 15:30:19 +0200 | [diff] [blame] | 55 | clocks { |
| 56 | slow_xtal: slow_xtal { |
| 57 | compatible = "fixed-clock"; |
| 58 | #clock-cells = <0>; |
| 59 | clock-frequency = <0>; |
| 60 | }; |
Boris BREZILLON | a80d3ec | 2014-05-12 18:23:35 +0200 | [diff] [blame] | 61 | |
Alexandre Belloni | 12dde44 | 2014-06-17 15:30:19 +0200 | [diff] [blame] | 62 | main_xtal: main_xtal { |
| 63 | compatible = "fixed-clock"; |
| 64 | #clock-cells = <0>; |
| 65 | clock-frequency = <0>; |
| 66 | }; |
Boris BREZILLON | a80d3ec | 2014-05-12 18:23:35 +0200 | [diff] [blame] | 67 | |
Alexandre Belloni | 12dde44 | 2014-06-17 15:30:19 +0200 | [diff] [blame] | 68 | adc_op_clk: adc_op_clk{ |
| 69 | compatible = "fixed-clock"; |
| 70 | #clock-cells = <0>; |
| 71 | clock-frequency = <5000000>; |
| 72 | }; |
Boris BREZILLON | a80d3ec | 2014-05-12 18:23:35 +0200 | [diff] [blame] | 73 | }; |
| 74 | |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 75 | ahb { |
| 76 | compatible = "simple-bus"; |
| 77 | #address-cells = <1>; |
| 78 | #size-cells = <1>; |
| 79 | ranges; |
| 80 | |
| 81 | apb { |
| 82 | compatible = "simple-bus"; |
| 83 | #address-cells = <1>; |
| 84 | #size-cells = <1>; |
| 85 | ranges; |
| 86 | |
| 87 | aic: interrupt-controller@fffff000 { |
Ludovic Desroches | f8a073e | 2012-06-20 16:13:30 +0200 | [diff] [blame] | 88 | #interrupt-cells = <3>; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 89 | compatible = "atmel,at91rm9200-aic"; |
| 90 | interrupt-controller; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 91 | reg = <0xfffff000 0x200>; |
Jean-Christophe PLAGNIOL-VILLARD | c657394 | 2012-04-09 19:36:36 +0800 | [diff] [blame] | 92 | atmel,external-irqs = <31>; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 93 | }; |
| 94 | |
Jean-Christophe PLAGNIOL-VILLARD | a7776ec | 2012-03-02 20:54:37 +0800 | [diff] [blame] | 95 | ramc0: ramc@ffffe800 { |
| 96 | compatible = "atmel,at91sam9g45-ddramc"; |
| 97 | reg = <0xffffe800 0x200>; |
| 98 | }; |
| 99 | |
Jean-Christophe PLAGNIOL-VILLARD | eb5e76f | 2012-03-02 20:44:23 +0800 | [diff] [blame] | 100 | pmc: pmc@fffffc00 { |
Boris BREZILLON | a80d3ec | 2014-05-12 18:23:35 +0200 | [diff] [blame] | 101 | compatible = "atmel,at91sam9x5-pmc"; |
Jean-Christophe PLAGNIOL-VILLARD | eb5e76f | 2012-03-02 20:44:23 +0800 | [diff] [blame] | 102 | reg = <0xfffffc00 0x100>; |
Boris BREZILLON | a80d3ec | 2014-05-12 18:23:35 +0200 | [diff] [blame] | 103 | interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; |
| 104 | interrupt-controller; |
| 105 | #address-cells = <1>; |
| 106 | #size-cells = <0>; |
| 107 | #interrupt-cells = <1>; |
| 108 | |
| 109 | main_rc_osc: main_rc_osc { |
| 110 | compatible = "atmel,at91sam9x5-clk-main-rc-osc"; |
| 111 | #clock-cells = <0>; |
| 112 | interrupts-extended = <&pmc AT91_PMC_MOSCRCS>; |
| 113 | clock-frequency = <12000000>; |
| 114 | clock-accuracy = <50000000>; |
| 115 | }; |
| 116 | |
| 117 | main_osc: main_osc { |
| 118 | compatible = "atmel,at91rm9200-clk-main-osc"; |
| 119 | #clock-cells = <0>; |
| 120 | interrupts-extended = <&pmc AT91_PMC_MOSCS>; |
| 121 | clocks = <&main_xtal>; |
| 122 | }; |
| 123 | |
| 124 | main: mainck { |
| 125 | compatible = "atmel,at91sam9x5-clk-main"; |
| 126 | #clock-cells = <0>; |
| 127 | interrupts-extended = <&pmc AT91_PMC_MOSCSELS>; |
| 128 | clocks = <&main_rc_osc>, <&main_osc>; |
| 129 | }; |
| 130 | |
| 131 | plla: pllack { |
| 132 | compatible = "atmel,at91rm9200-clk-pll"; |
| 133 | #clock-cells = <0>; |
| 134 | interrupts-extended = <&pmc AT91_PMC_LOCKA>; |
| 135 | clocks = <&main>; |
| 136 | reg = <0>; |
| 137 | atmel,clk-input-range = <2000000 32000000>; |
| 138 | #atmel,pll-clk-output-range-cells = <4>; |
| 139 | atmel,pll-clk-output-ranges = <745000000 800000000 0 0 |
| 140 | 695000000 750000000 1 0 |
| 141 | 645000000 700000000 2 0 |
| 142 | 595000000 650000000 3 0 |
| 143 | 545000000 600000000 0 1 |
| 144 | 495000000 555000000 1 1 |
Alexandre Belloni | b6616f1 | 2014-06-13 13:25:34 +0200 | [diff] [blame] | 145 | 445000000 500000000 2 1 |
| 146 | 400000000 450000000 3 1>; |
Boris BREZILLON | a80d3ec | 2014-05-12 18:23:35 +0200 | [diff] [blame] | 147 | }; |
| 148 | |
| 149 | plladiv: plladivck { |
| 150 | compatible = "atmel,at91sam9x5-clk-plldiv"; |
| 151 | #clock-cells = <0>; |
| 152 | clocks = <&plla>; |
| 153 | }; |
| 154 | |
| 155 | utmi: utmick { |
| 156 | compatible = "atmel,at91sam9x5-clk-utmi"; |
| 157 | #clock-cells = <0>; |
| 158 | interrupts-extended = <&pmc AT91_PMC_LOCKU>; |
| 159 | clocks = <&main>; |
| 160 | }; |
| 161 | |
| 162 | mck: masterck { |
| 163 | compatible = "atmel,at91sam9x5-clk-master"; |
| 164 | #clock-cells = <0>; |
| 165 | interrupts-extended = <&pmc AT91_PMC_MCKRDY>; |
| 166 | clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>; |
| 167 | atmel,clk-output-range = <0 133333333>; |
| 168 | atmel,clk-divisors = <1 2 4 3>; |
| 169 | atmel,master-clk-have-div3-pres; |
| 170 | }; |
| 171 | |
| 172 | usb: usbck { |
| 173 | compatible = "atmel,at91sam9x5-clk-usb"; |
| 174 | #clock-cells = <0>; |
| 175 | clocks = <&plladiv>, <&utmi>; |
| 176 | }; |
| 177 | |
| 178 | prog: progck { |
| 179 | compatible = "atmel,at91sam9x5-clk-programmable"; |
| 180 | #address-cells = <1>; |
| 181 | #size-cells = <0>; |
| 182 | interrupt-parent = <&pmc>; |
| 183 | clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>, <&mck>; |
| 184 | |
| 185 | prog0: prog0 { |
| 186 | #clock-cells = <0>; |
| 187 | reg = <0>; |
| 188 | interrupts = <AT91_PMC_PCKRDY(0)>; |
| 189 | }; |
| 190 | |
| 191 | prog1: prog1 { |
| 192 | #clock-cells = <0>; |
| 193 | reg = <1>; |
| 194 | interrupts = <AT91_PMC_PCKRDY(1)>; |
| 195 | }; |
| 196 | }; |
| 197 | |
| 198 | smd: smdclk { |
| 199 | compatible = "atmel,at91sam9x5-clk-smd"; |
| 200 | #clock-cells = <0>; |
| 201 | clocks = <&plladiv>, <&utmi>; |
| 202 | }; |
| 203 | |
| 204 | systemck { |
| 205 | compatible = "atmel,at91rm9200-clk-system"; |
| 206 | #address-cells = <1>; |
| 207 | #size-cells = <0>; |
| 208 | |
| 209 | ddrck: ddrck { |
| 210 | #clock-cells = <0>; |
| 211 | reg = <2>; |
| 212 | clocks = <&mck>; |
| 213 | }; |
| 214 | |
| 215 | smdck: smdck { |
| 216 | #clock-cells = <0>; |
| 217 | reg = <4>; |
| 218 | clocks = <&smd>; |
| 219 | }; |
| 220 | |
| 221 | uhpck: uhpck { |
| 222 | #clock-cells = <0>; |
| 223 | reg = <6>; |
| 224 | clocks = <&usb>; |
| 225 | }; |
| 226 | |
| 227 | udpck: udpck { |
| 228 | #clock-cells = <0>; |
| 229 | reg = <7>; |
| 230 | clocks = <&usb>; |
| 231 | }; |
| 232 | |
| 233 | pck0: pck0 { |
| 234 | #clock-cells = <0>; |
| 235 | reg = <8>; |
| 236 | clocks = <&prog0>; |
| 237 | }; |
| 238 | |
| 239 | pck1: pck1 { |
| 240 | #clock-cells = <0>; |
| 241 | reg = <9>; |
| 242 | clocks = <&prog1>; |
| 243 | }; |
| 244 | }; |
| 245 | |
| 246 | periphck { |
| 247 | compatible = "atmel,at91sam9x5-clk-peripheral"; |
| 248 | #address-cells = <1>; |
| 249 | #size-cells = <0>; |
| 250 | clocks = <&mck>; |
| 251 | |
| 252 | pioAB_clk: pioAB_clk { |
| 253 | #clock-cells = <0>; |
| 254 | reg = <2>; |
| 255 | }; |
| 256 | |
| 257 | pioCD_clk: pioCD_clk { |
| 258 | #clock-cells = <0>; |
| 259 | reg = <3>; |
| 260 | }; |
| 261 | |
| 262 | smd_clk: smd_clk { |
| 263 | #clock-cells = <0>; |
| 264 | reg = <4>; |
| 265 | }; |
| 266 | |
| 267 | usart0_clk: usart0_clk { |
| 268 | #clock-cells = <0>; |
| 269 | reg = <5>; |
| 270 | }; |
| 271 | |
| 272 | usart1_clk: usart1_clk { |
| 273 | #clock-cells = <0>; |
| 274 | reg = <6>; |
| 275 | }; |
| 276 | |
| 277 | usart2_clk: usart2_clk { |
| 278 | #clock-cells = <0>; |
| 279 | reg = <7>; |
| 280 | }; |
| 281 | |
| 282 | twi0_clk: twi0_clk { |
| 283 | reg = <9>; |
| 284 | #clock-cells = <0>; |
| 285 | }; |
| 286 | |
| 287 | twi1_clk: twi1_clk { |
| 288 | #clock-cells = <0>; |
| 289 | reg = <10>; |
| 290 | }; |
| 291 | |
| 292 | twi2_clk: twi2_clk { |
| 293 | #clock-cells = <0>; |
| 294 | reg = <11>; |
| 295 | }; |
| 296 | |
| 297 | mci0_clk: mci0_clk { |
| 298 | #clock-cells = <0>; |
| 299 | reg = <12>; |
| 300 | }; |
| 301 | |
| 302 | spi0_clk: spi0_clk { |
| 303 | #clock-cells = <0>; |
| 304 | reg = <13>; |
| 305 | }; |
| 306 | |
| 307 | spi1_clk: spi1_clk { |
| 308 | #clock-cells = <0>; |
| 309 | reg = <14>; |
| 310 | }; |
| 311 | |
| 312 | uart0_clk: uart0_clk { |
| 313 | #clock-cells = <0>; |
| 314 | reg = <15>; |
| 315 | }; |
| 316 | |
| 317 | uart1_clk: uart1_clk { |
| 318 | #clock-cells = <0>; |
| 319 | reg = <16>; |
| 320 | }; |
| 321 | |
| 322 | tcb0_clk: tcb0_clk { |
| 323 | #clock-cells = <0>; |
| 324 | reg = <17>; |
| 325 | }; |
| 326 | |
| 327 | pwm_clk: pwm_clk { |
| 328 | #clock-cells = <0>; |
| 329 | reg = <18>; |
| 330 | }; |
| 331 | |
| 332 | adc_clk: adc_clk { |
| 333 | #clock-cells = <0>; |
| 334 | reg = <19>; |
| 335 | }; |
| 336 | |
| 337 | dma0_clk: dma0_clk { |
| 338 | #clock-cells = <0>; |
| 339 | reg = <20>; |
| 340 | }; |
| 341 | |
| 342 | dma1_clk: dma1_clk { |
| 343 | #clock-cells = <0>; |
| 344 | reg = <21>; |
| 345 | }; |
| 346 | |
| 347 | uhphs_clk: uhphs_clk { |
| 348 | #clock-cells = <0>; |
| 349 | reg = <22>; |
| 350 | }; |
| 351 | |
| 352 | udphs_clk: udphs_clk { |
| 353 | #clock-cells = <0>; |
| 354 | reg = <23>; |
| 355 | }; |
| 356 | |
| 357 | mci1_clk: mci1_clk { |
| 358 | #clock-cells = <0>; |
| 359 | reg = <26>; |
| 360 | }; |
| 361 | |
| 362 | ssc0_clk: ssc0_clk { |
| 363 | #clock-cells = <0>; |
| 364 | reg = <28>; |
| 365 | }; |
| 366 | }; |
Jean-Christophe PLAGNIOL-VILLARD | eb5e76f | 2012-03-02 20:44:23 +0800 | [diff] [blame] | 367 | }; |
| 368 | |
Jean-Christophe PLAGNIOL-VILLARD | c8082d3 | 2012-03-03 03:16:27 +0800 | [diff] [blame] | 369 | rstc@fffffe00 { |
| 370 | compatible = "atmel,at91sam9g45-rstc"; |
| 371 | reg = <0xfffffe00 0x10>; |
| 372 | }; |
| 373 | |
Jean-Christophe PLAGNIOL-VILLARD | 82015c4 | 2012-03-02 21:01:00 +0800 | [diff] [blame] | 374 | shdwc@fffffe10 { |
| 375 | compatible = "atmel,at91sam9x5-shdwc"; |
| 376 | reg = <0xfffffe10 0x10>; |
| 377 | }; |
| 378 | |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 379 | pit: timer@fffffe30 { |
| 380 | compatible = "atmel,at91sam9260-pit"; |
| 381 | reg = <0xfffffe30 0xf>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 382 | interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; |
Boris BREZILLON | a80d3ec | 2014-05-12 18:23:35 +0200 | [diff] [blame] | 383 | clocks = <&mck>; |
| 384 | }; |
| 385 | |
| 386 | sckc@fffffe50 { |
| 387 | compatible = "atmel,at91sam9x5-sckc"; |
| 388 | reg = <0xfffffe50 0x4>; |
| 389 | |
| 390 | slow_osc: slow_osc { |
| 391 | compatible = "atmel,at91sam9x5-clk-slow-osc"; |
| 392 | #clock-cells = <0>; |
| 393 | clocks = <&slow_xtal>; |
| 394 | }; |
| 395 | |
| 396 | slow_rc_osc: slow_rc_osc { |
| 397 | compatible = "atmel,at91sam9x5-clk-slow-rc-osc"; |
| 398 | #clock-cells = <0>; |
| 399 | clock-frequency = <32768>; |
| 400 | clock-accuracy = <50000000>; |
| 401 | }; |
| 402 | |
| 403 | clk32k: slck { |
| 404 | compatible = "atmel,at91sam9x5-clk-slow"; |
| 405 | #clock-cells = <0>; |
| 406 | clocks = <&slow_rc_osc>, <&slow_osc>; |
| 407 | }; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 408 | }; |
| 409 | |
| 410 | tcb0: timer@f8008000 { |
| 411 | compatible = "atmel,at91sam9x5-tcb"; |
| 412 | reg = <0xf8008000 0x100>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 413 | interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>; |
Boris BREZILLON | a80d3ec | 2014-05-12 18:23:35 +0200 | [diff] [blame] | 414 | clocks = <&tcb0_clk>; |
| 415 | clock-names = "t0_clk"; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 416 | }; |
| 417 | |
| 418 | tcb1: timer@f800c000 { |
| 419 | compatible = "atmel,at91sam9x5-tcb"; |
| 420 | reg = <0xf800c000 0x100>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 421 | interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>; |
Boris BREZILLON | a80d3ec | 2014-05-12 18:23:35 +0200 | [diff] [blame] | 422 | clocks = <&tcb0_clk>; |
| 423 | clock-names = "t0_clk"; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 424 | }; |
| 425 | |
| 426 | dma0: dma-controller@ffffec00 { |
| 427 | compatible = "atmel,at91sam9g45-dma"; |
| 428 | reg = <0xffffec00 0x200>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 429 | interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0>; |
Ludovic Desroches | 980ce7d | 2013-04-16 15:03:06 +0200 | [diff] [blame] | 430 | #dma-cells = <2>; |
Boris BREZILLON | a80d3ec | 2014-05-12 18:23:35 +0200 | [diff] [blame] | 431 | clocks = <&dma0_clk>; |
| 432 | clock-names = "dma_clk"; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 433 | }; |
| 434 | |
| 435 | dma1: dma-controller@ffffee00 { |
| 436 | compatible = "atmel,at91sam9g45-dma"; |
| 437 | reg = <0xffffee00 0x200>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 438 | interrupts = <21 IRQ_TYPE_LEVEL_HIGH 0>; |
Ludovic Desroches | 980ce7d | 2013-04-16 15:03:06 +0200 | [diff] [blame] | 439 | #dma-cells = <2>; |
Boris BREZILLON | a80d3ec | 2014-05-12 18:23:35 +0200 | [diff] [blame] | 440 | clocks = <&dma1_clk>; |
| 441 | clock-names = "dma_clk"; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 442 | }; |
| 443 | |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 444 | pinctrl@fffff400 { |
Jean-Christophe PLAGNIOL-VILLARD | e4541ff | 2012-07-04 17:20:46 +0800 | [diff] [blame] | 445 | #address-cells = <1>; |
| 446 | #size-cells = <1>; |
Jean-Christophe PLAGNIOL-VILLARD | 5314ec8 | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 447 | compatible = "atmel,at91sam9x5-pinctrl", "atmel,at91rm9200-pinctrl", "simple-bus"; |
Jean-Christophe PLAGNIOL-VILLARD | e4541ff | 2012-07-04 17:20:46 +0800 | [diff] [blame] | 448 | ranges = <0xfffff400 0xfffff400 0x800>; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 449 | |
Jean-Christophe PLAGNIOL-VILLARD | 5314ec8 | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 450 | /* shared pinctrl settings */ |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 451 | dbgu { |
| 452 | pinctrl_dbgu: dbgu-0 { |
| 453 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 454 | <AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA9 periph A */ |
| 455 | AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA10 periph A with pullup */ |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 456 | }; |
| 457 | }; |
| 458 | |
Jean-Christophe PLAGNIOL-VILLARD | 9e3129e | 2012-11-19 06:40:01 +0800 | [diff] [blame] | 459 | usart0 { |
| 460 | pinctrl_usart0: usart0-0 { |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 461 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 462 | <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA0 periph A with pullup */ |
| 463 | AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA1 periph A */ |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 464 | }; |
| 465 | |
Jean-Christophe PLAGNIOL-VILLARD | c58c0c5 | 2012-11-19 07:30:01 +0800 | [diff] [blame] | 466 | pinctrl_usart0_rts: usart0_rts-0 { |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 467 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 468 | <AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA2 periph A */ |
Jean-Christophe PLAGNIOL-VILLARD | c58c0c5 | 2012-11-19 07:30:01 +0800 | [diff] [blame] | 469 | }; |
| 470 | |
| 471 | pinctrl_usart0_cts: usart0_cts-0 { |
| 472 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 473 | <AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA3 periph A */ |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 474 | }; |
Richard Genoud | 1bab02e | 2013-01-18 16:42:28 +0000 | [diff] [blame] | 475 | |
| 476 | pinctrl_usart0_sck: usart0_sck-0 { |
| 477 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 478 | <AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA4 periph A */ |
Richard Genoud | 1bab02e | 2013-01-18 16:42:28 +0000 | [diff] [blame] | 479 | }; |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 480 | }; |
| 481 | |
Jean-Christophe PLAGNIOL-VILLARD | 9e3129e | 2012-11-19 06:40:01 +0800 | [diff] [blame] | 482 | usart1 { |
| 483 | pinctrl_usart1: usart1-0 { |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 484 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 485 | <AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA5 periph A with pullup */ |
| 486 | AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA6 periph A */ |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 487 | }; |
| 488 | |
Jean-Christophe PLAGNIOL-VILLARD | c58c0c5 | 2012-11-19 07:30:01 +0800 | [diff] [blame] | 489 | pinctrl_usart1_rts: usart1_rts-0 { |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 490 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 491 | <AT91_PIOC 27 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC27 periph C */ |
Jean-Christophe PLAGNIOL-VILLARD | c58c0c5 | 2012-11-19 07:30:01 +0800 | [diff] [blame] | 492 | }; |
| 493 | |
| 494 | pinctrl_usart1_cts: usart1_cts-0 { |
| 495 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 496 | <AT91_PIOC 28 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC28 periph C */ |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 497 | }; |
Richard Genoud | 1bab02e | 2013-01-18 16:42:28 +0000 | [diff] [blame] | 498 | |
| 499 | pinctrl_usart1_sck: usart1_sck-0 { |
| 500 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 501 | <AT91_PIOC 28 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC29 periph C */ |
Richard Genoud | 1bab02e | 2013-01-18 16:42:28 +0000 | [diff] [blame] | 502 | }; |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 503 | }; |
| 504 | |
Jean-Christophe PLAGNIOL-VILLARD | 9e3129e | 2012-11-19 06:40:01 +0800 | [diff] [blame] | 505 | usart2 { |
| 506 | pinctrl_usart2: usart2-0 { |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 507 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 508 | <AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA7 periph A with pullup */ |
| 509 | AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA8 periph A */ |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 510 | }; |
| 511 | |
Jiri Prchal | df923c1 | 2013-09-19 14:28:39 +0200 | [diff] [blame] | 512 | pinctrl_usart2_rts: usart2_rts-0 { |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 513 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 514 | <AT91_PIOB 0 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB0 periph B */ |
Jean-Christophe PLAGNIOL-VILLARD | c58c0c5 | 2012-11-19 07:30:01 +0800 | [diff] [blame] | 515 | }; |
| 516 | |
Jiri Prchal | df923c1 | 2013-09-19 14:28:39 +0200 | [diff] [blame] | 517 | pinctrl_usart2_cts: usart2_cts-0 { |
Jean-Christophe PLAGNIOL-VILLARD | c58c0c5 | 2012-11-19 07:30:01 +0800 | [diff] [blame] | 518 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 519 | <AT91_PIOB 1 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB1 periph B */ |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 520 | }; |
Richard Genoud | 1bab02e | 2013-01-18 16:42:28 +0000 | [diff] [blame] | 521 | |
| 522 | pinctrl_usart2_sck: usart2_sck-0 { |
| 523 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 524 | <AT91_PIOB 2 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB2 periph B */ |
Richard Genoud | 1bab02e | 2013-01-18 16:42:28 +0000 | [diff] [blame] | 525 | }; |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 526 | }; |
| 527 | |
Jean-Christophe PLAGNIOL-VILLARD | 9e3129e | 2012-11-19 06:40:01 +0800 | [diff] [blame] | 528 | uart0 { |
| 529 | pinctrl_uart0: uart0-0 { |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 530 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 531 | <AT91_PIOC 8 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC8 periph C */ |
| 532 | AT91_PIOC 9 AT91_PERIPH_C AT91_PINCTRL_PULL_UP>; /* PC9 periph C with pullup */ |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 533 | }; |
| 534 | }; |
| 535 | |
Jean-Christophe PLAGNIOL-VILLARD | 9e3129e | 2012-11-19 06:40:01 +0800 | [diff] [blame] | 536 | uart1 { |
| 537 | pinctrl_uart1: uart1-0 { |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 538 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 539 | <AT91_PIOC 16 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC16 periph C */ |
| 540 | AT91_PIOC 17 AT91_PERIPH_C AT91_PINCTRL_PULL_UP>; /* PC17 periph C with pullup */ |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 541 | }; |
| 542 | }; |
Jean-Christophe PLAGNIOL-VILLARD | 5314ec8 | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 543 | |
Jean-Christophe PLAGNIOL-VILLARD | 7a38d45 | 2012-07-12 23:36:52 +0800 | [diff] [blame] | 544 | nand { |
| 545 | pinctrl_nand: nand-0 { |
| 546 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 547 | <AT91_PIOD 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD0 periph A Read Enable */ |
| 548 | AT91_PIOD 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD1 periph A Write Enable */ |
| 549 | AT91_PIOD 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD2 periph A Address Latch Enable */ |
| 550 | AT91_PIOD 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD3 periph A Command Latch Enable */ |
| 551 | AT91_PIOD 4 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PD4 gpio Chip Enable pin pull_up */ |
| 552 | AT91_PIOD 5 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PD5 gpio RDY/BUSY pin pull_up */ |
| 553 | AT91_PIOD 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD6 periph A Data bit 0 */ |
| 554 | AT91_PIOD 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD7 periph A Data bit 1 */ |
| 555 | AT91_PIOD 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD8 periph A Data bit 2 */ |
| 556 | AT91_PIOD 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD9 periph A Data bit 3 */ |
| 557 | AT91_PIOD 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD10 periph A Data bit 4 */ |
| 558 | AT91_PIOD 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD11 periph A Data bit 5 */ |
| 559 | AT91_PIOD 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD12 periph A Data bit 6 */ |
| 560 | AT91_PIOD 13 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD13 periph A Data bit 7 */ |
Richard Genoud | 7f06472 | 2013-03-11 15:12:40 +0100 | [diff] [blame] | 561 | }; |
| 562 | |
| 563 | pinctrl_nand_16bits: nand_16bits-0 { |
| 564 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 565 | <AT91_PIOD 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD14 periph A Data bit 8 */ |
| 566 | AT91_PIOD 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD15 periph A Data bit 9 */ |
| 567 | AT91_PIOD 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD16 periph A Data bit 10 */ |
| 568 | AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD17 periph A Data bit 11 */ |
| 569 | AT91_PIOD 18 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD18 periph A Data bit 12 */ |
| 570 | AT91_PIOD 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD19 periph A Data bit 13 */ |
| 571 | AT91_PIOD 20 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD20 periph A Data bit 14 */ |
| 572 | AT91_PIOD 21 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD21 periph A Data bit 15 */ |
Jean-Christophe PLAGNIOL-VILLARD | 7a38d45 | 2012-07-12 23:36:52 +0800 | [diff] [blame] | 573 | }; |
| 574 | }; |
| 575 | |
Jean-Christophe PLAGNIOL-VILLARD | d4fe9ac | 2012-11-16 08:24:17 +0800 | [diff] [blame] | 576 | mmc0 { |
| 577 | pinctrl_mmc0_slot0_clk_cmd_dat0: mmc0_slot0_clk_cmd_dat0-0 { |
| 578 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 579 | <AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA17 periph A */ |
| 580 | AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA16 periph A with pullup */ |
| 581 | AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA15 periph A with pullup */ |
Jean-Christophe PLAGNIOL-VILLARD | d4fe9ac | 2012-11-16 08:24:17 +0800 | [diff] [blame] | 582 | }; |
| 583 | |
| 584 | pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 { |
| 585 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 586 | <AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA18 periph A with pullup */ |
| 587 | AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA19 periph A with pullup */ |
| 588 | AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA20 periph A with pullup */ |
Jean-Christophe PLAGNIOL-VILLARD | d4fe9ac | 2012-11-16 08:24:17 +0800 | [diff] [blame] | 589 | }; |
| 590 | }; |
| 591 | |
| 592 | mmc1 { |
| 593 | pinctrl_mmc1_slot0_clk_cmd_dat0: mmc1_slot0_clk_cmd_dat0-0 { |
| 594 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 595 | <AT91_PIOA 13 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA13 periph B */ |
| 596 | AT91_PIOA 12 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA12 periph B with pullup */ |
| 597 | AT91_PIOA 11 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PA11 periph B with pullup */ |
Jean-Christophe PLAGNIOL-VILLARD | d4fe9ac | 2012-11-16 08:24:17 +0800 | [diff] [blame] | 598 | }; |
| 599 | |
| 600 | pinctrl_mmc1_slot0_dat1_3: mmc1_slot0_dat1_3-0 { |
| 601 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 602 | <AT91_PIOA 2 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA2 periph B with pullup */ |
| 603 | AT91_PIOA 3 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA3 periph B with pullup */ |
| 604 | AT91_PIOA 4 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PA4 periph B with pullup */ |
Jean-Christophe PLAGNIOL-VILLARD | d4fe9ac | 2012-11-16 08:24:17 +0800 | [diff] [blame] | 605 | }; |
| 606 | }; |
| 607 | |
Bo Shen | 544ae6b | 2013-01-11 15:08:30 +0100 | [diff] [blame] | 608 | ssc0 { |
| 609 | pinctrl_ssc0_tx: ssc0_tx-0 { |
| 610 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 611 | <AT91_PIOA 24 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA24 periph B */ |
| 612 | AT91_PIOA 25 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA25 periph B */ |
| 613 | AT91_PIOA 26 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA26 periph B */ |
Bo Shen | 544ae6b | 2013-01-11 15:08:30 +0100 | [diff] [blame] | 614 | }; |
| 615 | |
| 616 | pinctrl_ssc0_rx: ssc0_rx-0 { |
| 617 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 618 | <AT91_PIOA 27 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA27 periph B */ |
| 619 | AT91_PIOA 28 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA28 periph B */ |
| 620 | AT91_PIOA 29 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA29 periph B */ |
Bo Shen | 544ae6b | 2013-01-11 15:08:30 +0100 | [diff] [blame] | 621 | }; |
| 622 | }; |
| 623 | |
Wenyou Yang | a68b728 | 2013-04-03 14:03:52 +0800 | [diff] [blame] | 624 | spi0 { |
| 625 | pinctrl_spi0: spi0-0 { |
| 626 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 627 | <AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA11 periph A SPI0_MISO pin */ |
| 628 | AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA12 periph A SPI0_MOSI pin */ |
| 629 | AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA13 periph A SPI0_SPCK pin */ |
Wenyou Yang | a68b728 | 2013-04-03 14:03:52 +0800 | [diff] [blame] | 630 | }; |
| 631 | }; |
| 632 | |
| 633 | spi1 { |
| 634 | pinctrl_spi1: spi1-0 { |
| 635 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 636 | <AT91_PIOA 21 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA21 periph B SPI1_MISO pin */ |
| 637 | AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA22 periph B SPI1_MOSI pin */ |
| 638 | AT91_PIOA 23 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA23 periph B SPI1_SPCK pin */ |
Wenyou Yang | a68b728 | 2013-04-03 14:03:52 +0800 | [diff] [blame] | 639 | }; |
| 640 | }; |
| 641 | |
Richard Genoud | e9a72ee | 2013-03-12 17:54:45 +0100 | [diff] [blame] | 642 | i2c0 { |
| 643 | pinctrl_i2c0: i2c0-0 { |
| 644 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 645 | <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA30 periph A I2C0 data */ |
| 646 | AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA31 periph A I2C0 clock */ |
Richard Genoud | e9a72ee | 2013-03-12 17:54:45 +0100 | [diff] [blame] | 647 | }; |
| 648 | }; |
| 649 | |
| 650 | i2c1 { |
| 651 | pinctrl_i2c1: i2c1-0 { |
| 652 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 653 | <AT91_PIOC 0 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC0 periph C I2C1 data */ |
| 654 | AT91_PIOC 1 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC1 periph C I2C1 clock */ |
Richard Genoud | e9a72ee | 2013-03-12 17:54:45 +0100 | [diff] [blame] | 655 | }; |
| 656 | }; |
| 657 | |
| 658 | i2c2 { |
| 659 | pinctrl_i2c2: i2c2-0 { |
| 660 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 661 | <AT91_PIOB 4 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB4 periph B I2C2 data */ |
| 662 | AT91_PIOB 5 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB5 periph B I2C2 clock */ |
Richard Genoud | e9a72ee | 2013-03-12 17:54:45 +0100 | [diff] [blame] | 663 | }; |
| 664 | }; |
| 665 | |
Richard Genoud | 463c9c7 | 2013-03-12 17:54:46 +0100 | [diff] [blame] | 666 | i2c_gpio0 { |
| 667 | pinctrl_i2c_gpio0: i2c_gpio0-0 { |
| 668 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 669 | <AT91_PIOA 30 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PA30 gpio multidrive I2C0 data */ |
| 670 | AT91_PIOA 31 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PA31 gpio multidrive I2C0 clock */ |
Richard Genoud | 463c9c7 | 2013-03-12 17:54:46 +0100 | [diff] [blame] | 671 | }; |
| 672 | }; |
| 673 | |
| 674 | i2c_gpio1 { |
| 675 | pinctrl_i2c_gpio1: i2c_gpio1-0 { |
| 676 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 677 | <AT91_PIOC 0 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PC0 gpio multidrive I2C1 data */ |
| 678 | AT91_PIOC 1 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PC1 gpio multidrive I2C1 clock */ |
Richard Genoud | 463c9c7 | 2013-03-12 17:54:46 +0100 | [diff] [blame] | 679 | }; |
| 680 | }; |
| 681 | |
| 682 | i2c_gpio2 { |
| 683 | pinctrl_i2c_gpio2: i2c_gpio2-0 { |
| 684 | atmel,pins = |
Jean-Christophe PLAGNIOL-VILLARD | c9d0f31 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 685 | <AT91_PIOB 4 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PB4 gpio multidrive I2C2 data */ |
| 686 | AT91_PIOB 5 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PB5 gpio multidrive I2C2 clock */ |
Richard Genoud | 463c9c7 | 2013-03-12 17:54:46 +0100 | [diff] [blame] | 687 | }; |
| 688 | }; |
| 689 | |
Boris BREZILLON | 028633c | 2013-05-24 10:05:56 +0000 | [diff] [blame] | 690 | tcb0 { |
| 691 | pinctrl_tcb0_tclk0: tcb0_tclk0-0 { |
| 692 | atmel,pins = <AT91_PIOA 24 AT91_PERIPH_A AT91_PINCTRL_NONE>; |
| 693 | }; |
| 694 | |
| 695 | pinctrl_tcb0_tclk1: tcb0_tclk1-0 { |
| 696 | atmel,pins = <AT91_PIOA 25 AT91_PERIPH_A AT91_PINCTRL_NONE>; |
| 697 | }; |
| 698 | |
| 699 | pinctrl_tcb0_tclk2: tcb0_tclk2-0 { |
| 700 | atmel,pins = <AT91_PIOA 26 AT91_PERIPH_A AT91_PINCTRL_NONE>; |
| 701 | }; |
| 702 | |
| 703 | pinctrl_tcb0_tioa0: tcb0_tioa0-0 { |
| 704 | atmel,pins = <AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE>; |
| 705 | }; |
| 706 | |
| 707 | pinctrl_tcb0_tioa1: tcb0_tioa1-0 { |
| 708 | atmel,pins = <AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_NONE>; |
| 709 | }; |
| 710 | |
| 711 | pinctrl_tcb0_tioa2: tcb0_tioa2-0 { |
| 712 | atmel,pins = <AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_NONE>; |
| 713 | }; |
| 714 | |
| 715 | pinctrl_tcb0_tiob0: tcb0_tiob0-0 { |
| 716 | atmel,pins = <AT91_PIOA 27 AT91_PERIPH_A AT91_PINCTRL_NONE>; |
| 717 | }; |
| 718 | |
| 719 | pinctrl_tcb0_tiob1: tcb0_tiob1-0 { |
| 720 | atmel,pins = <AT91_PIOA 28 AT91_PERIPH_A AT91_PINCTRL_NONE>; |
| 721 | }; |
| 722 | |
| 723 | pinctrl_tcb0_tiob2: tcb0_tiob2-0 { |
| 724 | atmel,pins = <AT91_PIOA 29 AT91_PERIPH_A AT91_PINCTRL_NONE>; |
| 725 | }; |
| 726 | }; |
| 727 | |
| 728 | tcb1 { |
| 729 | pinctrl_tcb1_tclk0: tcb1_tclk0-0 { |
| 730 | atmel,pins = <AT91_PIOC 4 AT91_PERIPH_C AT91_PINCTRL_NONE>; |
| 731 | }; |
| 732 | |
| 733 | pinctrl_tcb1_tclk1: tcb1_tclk1-0 { |
| 734 | atmel,pins = <AT91_PIOC 7 AT91_PERIPH_C AT91_PINCTRL_NONE>; |
| 735 | }; |
| 736 | |
| 737 | pinctrl_tcb1_tclk2: tcb1_tclk2-0 { |
| 738 | atmel,pins = <AT91_PIOC 14 AT91_PERIPH_C AT91_PINCTRL_NONE>; |
| 739 | }; |
| 740 | |
| 741 | pinctrl_tcb1_tioa0: tcb1_tioa0-0 { |
| 742 | atmel,pins = <AT91_PIOC 2 AT91_PERIPH_C AT91_PINCTRL_NONE>; |
| 743 | }; |
| 744 | |
| 745 | pinctrl_tcb1_tioa1: tcb1_tioa1-0 { |
| 746 | atmel,pins = <AT91_PIOC 5 AT91_PERIPH_C AT91_PINCTRL_NONE>; |
| 747 | }; |
| 748 | |
| 749 | pinctrl_tcb1_tioa2: tcb1_tioa2-0 { |
| 750 | atmel,pins = <AT91_PIOC 12 AT91_PERIPH_C AT91_PINCTRL_NONE>; |
| 751 | }; |
| 752 | |
| 753 | pinctrl_tcb1_tiob0: tcb1_tiob0-0 { |
| 754 | atmel,pins = <AT91_PIOC 3 AT91_PERIPH_C AT91_PINCTRL_NONE>; |
| 755 | }; |
| 756 | |
| 757 | pinctrl_tcb1_tiob1: tcb1_tiob1-0 { |
| 758 | atmel,pins = <AT91_PIOC 6 AT91_PERIPH_C AT91_PINCTRL_NONE>; |
| 759 | }; |
| 760 | |
| 761 | pinctrl_tcb1_tiob2: tcb1_tiob2-0 { |
| 762 | atmel,pins = <AT91_PIOC 13 AT91_PERIPH_C AT91_PINCTRL_NONE>; |
| 763 | }; |
| 764 | }; |
| 765 | |
Jean-Christophe PLAGNIOL-VILLARD | e4541ff | 2012-07-04 17:20:46 +0800 | [diff] [blame] | 766 | pioA: gpio@fffff400 { |
| 767 | compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; |
| 768 | reg = <0xfffff400 0x200>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 769 | interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>; |
Jean-Christophe PLAGNIOL-VILLARD | e4541ff | 2012-07-04 17:20:46 +0800 | [diff] [blame] | 770 | #gpio-cells = <2>; |
| 771 | gpio-controller; |
| 772 | interrupt-controller; |
| 773 | #interrupt-cells = <2>; |
Boris BREZILLON | a80d3ec | 2014-05-12 18:23:35 +0200 | [diff] [blame] | 774 | clocks = <&pioAB_clk>; |
Jean-Christophe PLAGNIOL-VILLARD | e4541ff | 2012-07-04 17:20:46 +0800 | [diff] [blame] | 775 | }; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 776 | |
Jean-Christophe PLAGNIOL-VILLARD | e4541ff | 2012-07-04 17:20:46 +0800 | [diff] [blame] | 777 | pioB: gpio@fffff600 { |
| 778 | compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; |
| 779 | reg = <0xfffff600 0x200>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 780 | interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>; |
Jean-Christophe PLAGNIOL-VILLARD | e4541ff | 2012-07-04 17:20:46 +0800 | [diff] [blame] | 781 | #gpio-cells = <2>; |
| 782 | gpio-controller; |
Jean-Christophe PLAGNIOL-VILLARD | fc33ff4 | 2012-07-14 15:26:08 +0800 | [diff] [blame] | 783 | #gpio-lines = <19>; |
Jean-Christophe PLAGNIOL-VILLARD | e4541ff | 2012-07-04 17:20:46 +0800 | [diff] [blame] | 784 | interrupt-controller; |
| 785 | #interrupt-cells = <2>; |
Boris BREZILLON | a80d3ec | 2014-05-12 18:23:35 +0200 | [diff] [blame] | 786 | clocks = <&pioAB_clk>; |
Jean-Christophe PLAGNIOL-VILLARD | e4541ff | 2012-07-04 17:20:46 +0800 | [diff] [blame] | 787 | }; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 788 | |
Jean-Christophe PLAGNIOL-VILLARD | e4541ff | 2012-07-04 17:20:46 +0800 | [diff] [blame] | 789 | pioC: gpio@fffff800 { |
| 790 | compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; |
| 791 | reg = <0xfffff800 0x200>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 792 | interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>; |
Jean-Christophe PLAGNIOL-VILLARD | e4541ff | 2012-07-04 17:20:46 +0800 | [diff] [blame] | 793 | #gpio-cells = <2>; |
| 794 | gpio-controller; |
| 795 | interrupt-controller; |
| 796 | #interrupt-cells = <2>; |
Boris BREZILLON | a80d3ec | 2014-05-12 18:23:35 +0200 | [diff] [blame] | 797 | clocks = <&pioCD_clk>; |
Jean-Christophe PLAGNIOL-VILLARD | e4541ff | 2012-07-04 17:20:46 +0800 | [diff] [blame] | 798 | }; |
| 799 | |
| 800 | pioD: gpio@fffffa00 { |
| 801 | compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; |
| 802 | reg = <0xfffffa00 0x200>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 803 | interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>; |
Jean-Christophe PLAGNIOL-VILLARD | e4541ff | 2012-07-04 17:20:46 +0800 | [diff] [blame] | 804 | #gpio-cells = <2>; |
| 805 | gpio-controller; |
Jean-Christophe PLAGNIOL-VILLARD | fc33ff4 | 2012-07-14 15:26:08 +0800 | [diff] [blame] | 806 | #gpio-lines = <22>; |
Jean-Christophe PLAGNIOL-VILLARD | e4541ff | 2012-07-04 17:20:46 +0800 | [diff] [blame] | 807 | interrupt-controller; |
| 808 | #interrupt-cells = <2>; |
Boris BREZILLON | a80d3ec | 2014-05-12 18:23:35 +0200 | [diff] [blame] | 809 | clocks = <&pioCD_clk>; |
Jean-Christophe PLAGNIOL-VILLARD | e4541ff | 2012-07-04 17:20:46 +0800 | [diff] [blame] | 810 | }; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 811 | }; |
| 812 | |
Bo Shen | 544ae6b | 2013-01-11 15:08:30 +0100 | [diff] [blame] | 813 | ssc0: ssc@f0010000 { |
| 814 | compatible = "atmel,at91sam9g45-ssc"; |
| 815 | reg = <0xf0010000 0x4000>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 816 | interrupts = <28 IRQ_TYPE_LEVEL_HIGH 5>; |
Richard Genoud | 7da49ad | 2013-08-12 14:30:59 +0200 | [diff] [blame] | 817 | dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(13)>, |
| 818 | <&dma0 1 AT91_DMA_CFG_PER_ID(14)>; |
| 819 | dma-names = "tx", "rx"; |
Bo Shen | 544ae6b | 2013-01-11 15:08:30 +0100 | [diff] [blame] | 820 | pinctrl-names = "default"; |
| 821 | pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>; |
Boris BREZILLON | a80d3ec | 2014-05-12 18:23:35 +0200 | [diff] [blame] | 822 | clocks = <&ssc0_clk>; |
| 823 | clock-names = "pclk"; |
Bo Shen | 544ae6b | 2013-01-11 15:08:30 +0100 | [diff] [blame] | 824 | status = "disabled"; |
| 825 | }; |
| 826 | |
Ludovic Desroches | 9873137 | 2012-11-19 12:23:36 +0100 | [diff] [blame] | 827 | mmc0: mmc@f0008000 { |
| 828 | compatible = "atmel,hsmci"; |
| 829 | reg = <0xf0008000 0x600>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 830 | interrupts = <12 IRQ_TYPE_LEVEL_HIGH 0>; |
Ludovic Desroches | d4ae89c | 2013-05-30 18:08:22 +0200 | [diff] [blame] | 831 | dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(0)>; |
Ludovic Desroches | 05c1bc9 | 2013-04-16 15:03:10 +0200 | [diff] [blame] | 832 | dma-names = "rxtx"; |
Nicolas Ferre | e7cca25 | 2013-09-19 15:22:57 +0200 | [diff] [blame] | 833 | pinctrl-names = "default"; |
Boris BREZILLON | a80d3ec | 2014-05-12 18:23:35 +0200 | [diff] [blame] | 834 | clocks = <&mci0_clk>; |
| 835 | clock-names = "mci_clk"; |
Ludovic Desroches | 9873137 | 2012-11-19 12:23:36 +0100 | [diff] [blame] | 836 | #address-cells = <1>; |
| 837 | #size-cells = <0>; |
| 838 | status = "disabled"; |
| 839 | }; |
| 840 | |
| 841 | mmc1: mmc@f000c000 { |
| 842 | compatible = "atmel,hsmci"; |
| 843 | reg = <0xf000c000 0x600>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 844 | interrupts = <26 IRQ_TYPE_LEVEL_HIGH 0>; |
Ludovic Desroches | d4ae89c | 2013-05-30 18:08:22 +0200 | [diff] [blame] | 845 | dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(0)>; |
Ludovic Desroches | 05c1bc9 | 2013-04-16 15:03:10 +0200 | [diff] [blame] | 846 | dma-names = "rxtx"; |
Nicolas Ferre | e7cca25 | 2013-09-19 15:22:57 +0200 | [diff] [blame] | 847 | pinctrl-names = "default"; |
Boris BREZILLON | a80d3ec | 2014-05-12 18:23:35 +0200 | [diff] [blame] | 848 | clocks = <&mci1_clk>; |
| 849 | clock-names = "mci_clk"; |
Ludovic Desroches | 9873137 | 2012-11-19 12:23:36 +0100 | [diff] [blame] | 850 | #address-cells = <1>; |
| 851 | #size-cells = <0>; |
| 852 | status = "disabled"; |
| 853 | }; |
| 854 | |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 855 | dbgu: serial@fffff200 { |
| 856 | compatible = "atmel,at91sam9260-usart"; |
| 857 | reg = <0xfffff200 0x200>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 858 | interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 859 | pinctrl-names = "default"; |
| 860 | pinctrl-0 = <&pinctrl_dbgu>; |
Boris BREZILLON | a80d3ec | 2014-05-12 18:23:35 +0200 | [diff] [blame] | 861 | clocks = <&mck>; |
| 862 | clock-names = "usart"; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 863 | status = "disabled"; |
| 864 | }; |
| 865 | |
| 866 | usart0: serial@f801c000 { |
| 867 | compatible = "atmel,at91sam9260-usart"; |
| 868 | reg = <0xf801c000 0x200>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 869 | interrupts = <5 IRQ_TYPE_LEVEL_HIGH 5>; |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 870 | pinctrl-names = "default"; |
Jean-Christophe PLAGNIOL-VILLARD | 9e3129e | 2012-11-19 06:40:01 +0800 | [diff] [blame] | 871 | pinctrl-0 = <&pinctrl_usart0>; |
Boris BREZILLON | a80d3ec | 2014-05-12 18:23:35 +0200 | [diff] [blame] | 872 | clocks = <&usart0_clk>; |
| 873 | clock-names = "usart"; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 874 | status = "disabled"; |
| 875 | }; |
| 876 | |
| 877 | usart1: serial@f8020000 { |
| 878 | compatible = "atmel,at91sam9260-usart"; |
| 879 | reg = <0xf8020000 0x200>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 880 | interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>; |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 881 | pinctrl-names = "default"; |
Jean-Christophe PLAGNIOL-VILLARD | 9e3129e | 2012-11-19 06:40:01 +0800 | [diff] [blame] | 882 | pinctrl-0 = <&pinctrl_usart1>; |
Boris BREZILLON | a80d3ec | 2014-05-12 18:23:35 +0200 | [diff] [blame] | 883 | clocks = <&usart1_clk>; |
| 884 | clock-names = "usart"; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 885 | status = "disabled"; |
| 886 | }; |
| 887 | |
| 888 | usart2: serial@f8024000 { |
| 889 | compatible = "atmel,at91sam9260-usart"; |
| 890 | reg = <0xf8024000 0x200>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 891 | interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>; |
Jean-Christophe PLAGNIOL-VILLARD | ec6754a | 2012-07-05 16:56:09 +0800 | [diff] [blame] | 892 | pinctrl-names = "default"; |
Jean-Christophe PLAGNIOL-VILLARD | 9e3129e | 2012-11-19 06:40:01 +0800 | [diff] [blame] | 893 | pinctrl-0 = <&pinctrl_usart2>; |
Boris BREZILLON | a80d3ec | 2014-05-12 18:23:35 +0200 | [diff] [blame] | 894 | clocks = <&usart2_clk>; |
| 895 | clock-names = "usart"; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 896 | status = "disabled"; |
| 897 | }; |
| 898 | |
Ludovic Desroches | 05dcd36 | 2012-09-12 08:42:16 +0200 | [diff] [blame] | 899 | i2c0: i2c@f8010000 { |
| 900 | compatible = "atmel,at91sam9x5-i2c"; |
| 901 | reg = <0xf8010000 0x100>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 902 | interrupts = <9 IRQ_TYPE_LEVEL_HIGH 6>; |
Ludovic Desroches | d4ae89c | 2013-05-30 18:08:22 +0200 | [diff] [blame] | 903 | dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(7)>, |
| 904 | <&dma0 1 AT91_DMA_CFG_PER_ID(8)>; |
Ludovic Desroches | d9a63a4 | 2013-04-16 15:03:08 +0200 | [diff] [blame] | 905 | dma-names = "tx", "rx"; |
Ludovic Desroches | 05dcd36 | 2012-09-12 08:42:16 +0200 | [diff] [blame] | 906 | #address-cells = <1>; |
| 907 | #size-cells = <0>; |
Richard Genoud | e9a72ee | 2013-03-12 17:54:45 +0100 | [diff] [blame] | 908 | pinctrl-names = "default"; |
| 909 | pinctrl-0 = <&pinctrl_i2c0>; |
Boris BREZILLON | a80d3ec | 2014-05-12 18:23:35 +0200 | [diff] [blame] | 910 | clocks = <&twi0_clk>; |
Ludovic Desroches | 05dcd36 | 2012-09-12 08:42:16 +0200 | [diff] [blame] | 911 | status = "disabled"; |
| 912 | }; |
| 913 | |
| 914 | i2c1: i2c@f8014000 { |
| 915 | compatible = "atmel,at91sam9x5-i2c"; |
| 916 | reg = <0xf8014000 0x100>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 917 | interrupts = <10 IRQ_TYPE_LEVEL_HIGH 6>; |
Ludovic Desroches | d4ae89c | 2013-05-30 18:08:22 +0200 | [diff] [blame] | 918 | dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(5)>, |
| 919 | <&dma1 1 AT91_DMA_CFG_PER_ID(6)>; |
Ludovic Desroches | d9a63a4 | 2013-04-16 15:03:08 +0200 | [diff] [blame] | 920 | dma-names = "tx", "rx"; |
Ludovic Desroches | 05dcd36 | 2012-09-12 08:42:16 +0200 | [diff] [blame] | 921 | #address-cells = <1>; |
| 922 | #size-cells = <0>; |
Richard Genoud | e9a72ee | 2013-03-12 17:54:45 +0100 | [diff] [blame] | 923 | pinctrl-names = "default"; |
| 924 | pinctrl-0 = <&pinctrl_i2c1>; |
Boris BREZILLON | a80d3ec | 2014-05-12 18:23:35 +0200 | [diff] [blame] | 925 | clocks = <&twi1_clk>; |
Ludovic Desroches | 05dcd36 | 2012-09-12 08:42:16 +0200 | [diff] [blame] | 926 | status = "disabled"; |
| 927 | }; |
| 928 | |
| 929 | i2c2: i2c@f8018000 { |
| 930 | compatible = "atmel,at91sam9x5-i2c"; |
| 931 | reg = <0xf8018000 0x100>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 932 | interrupts = <11 IRQ_TYPE_LEVEL_HIGH 6>; |
Ludovic Desroches | d4ae89c | 2013-05-30 18:08:22 +0200 | [diff] [blame] | 933 | dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(9)>, |
| 934 | <&dma0 1 AT91_DMA_CFG_PER_ID(10)>; |
Ludovic Desroches | d9a63a4 | 2013-04-16 15:03:08 +0200 | [diff] [blame] | 935 | dma-names = "tx", "rx"; |
Ludovic Desroches | 05dcd36 | 2012-09-12 08:42:16 +0200 | [diff] [blame] | 936 | #address-cells = <1>; |
| 937 | #size-cells = <0>; |
Richard Genoud | e9a72ee | 2013-03-12 17:54:45 +0100 | [diff] [blame] | 938 | pinctrl-names = "default"; |
| 939 | pinctrl-0 = <&pinctrl_i2c2>; |
Boris BREZILLON | a80d3ec | 2014-05-12 18:23:35 +0200 | [diff] [blame] | 940 | clocks = <&twi2_clk>; |
Ludovic Desroches | 05dcd36 | 2012-09-12 08:42:16 +0200 | [diff] [blame] | 941 | status = "disabled"; |
| 942 | }; |
| 943 | |
Nicolas Ferre | 06723db | 2013-04-18 10:52:45 +0200 | [diff] [blame] | 944 | uart0: serial@f8040000 { |
| 945 | compatible = "atmel,at91sam9260-usart"; |
| 946 | reg = <0xf8040000 0x200>; |
| 947 | interrupts = <15 IRQ_TYPE_LEVEL_HIGH 5>; |
| 948 | pinctrl-names = "default"; |
| 949 | pinctrl-0 = <&pinctrl_uart0>; |
Boris BREZILLON | a80d3ec | 2014-05-12 18:23:35 +0200 | [diff] [blame] | 950 | clocks = <&uart0_clk>; |
| 951 | clock-names = "usart"; |
Nicolas Ferre | 06723db | 2013-04-18 10:52:45 +0200 | [diff] [blame] | 952 | status = "disabled"; |
| 953 | }; |
| 954 | |
| 955 | uart1: serial@f8044000 { |
| 956 | compatible = "atmel,at91sam9260-usart"; |
| 957 | reg = <0xf8044000 0x200>; |
| 958 | interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>; |
| 959 | pinctrl-names = "default"; |
| 960 | pinctrl-0 = <&pinctrl_uart1>; |
Boris BREZILLON | a80d3ec | 2014-05-12 18:23:35 +0200 | [diff] [blame] | 961 | clocks = <&uart1_clk>; |
| 962 | clock-names = "usart"; |
Nicolas Ferre | 06723db | 2013-04-18 10:52:45 +0200 | [diff] [blame] | 963 | status = "disabled"; |
| 964 | }; |
| 965 | |
Maxime Ripard | d029f37 | 2012-05-11 15:35:39 +0200 | [diff] [blame] | 966 | adc0: adc@f804c000 { |
Alexandre Belloni | ce1e8d3 | 2014-03-10 20:17:23 +0100 | [diff] [blame] | 967 | #address-cells = <1>; |
| 968 | #size-cells = <0>; |
Maxime Ripard | d029f37 | 2012-05-11 15:35:39 +0200 | [diff] [blame] | 969 | compatible = "atmel,at91sam9260-adc"; |
| 970 | reg = <0xf804c000 0x100>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 971 | interrupts = <19 IRQ_TYPE_LEVEL_HIGH 0>; |
Boris BREZILLON | a80d3ec | 2014-05-12 18:23:35 +0200 | [diff] [blame] | 972 | clocks = <&adc_clk>, |
| 973 | <&adc_op_clk>; |
| 974 | clock-names = "adc_clk", "adc_op_clk"; |
Alexandre Belloni | ce1e8d3 | 2014-03-10 20:17:23 +0100 | [diff] [blame] | 975 | atmel,adc-use-external-triggers; |
Maxime Ripard | d029f37 | 2012-05-11 15:35:39 +0200 | [diff] [blame] | 976 | atmel,adc-channels-used = <0xffff>; |
| 977 | atmel,adc-vref = <3300>; |
Maxime Ripard | d029f37 | 2012-05-11 15:35:39 +0200 | [diff] [blame] | 978 | atmel,adc-startup-time = <40>; |
Ludovic Desroches | 4b50da6 | 2013-03-29 10:13:19 +0100 | [diff] [blame] | 979 | atmel,adc-res = <8 10>; |
| 980 | atmel,adc-res-names = "lowres", "highres"; |
| 981 | atmel,adc-use-res = "highres"; |
Maxime Ripard | d029f37 | 2012-05-11 15:35:39 +0200 | [diff] [blame] | 982 | |
| 983 | trigger@0 { |
Alexandre Belloni | ce1e8d3 | 2014-03-10 20:17:23 +0100 | [diff] [blame] | 984 | reg = <0>; |
Maxime Ripard | d029f37 | 2012-05-11 15:35:39 +0200 | [diff] [blame] | 985 | trigger-name = "external-rising"; |
| 986 | trigger-value = <0x1>; |
| 987 | trigger-external; |
| 988 | }; |
| 989 | |
| 990 | trigger@1 { |
Alexandre Belloni | ce1e8d3 | 2014-03-10 20:17:23 +0100 | [diff] [blame] | 991 | reg = <1>; |
Maxime Ripard | d029f37 | 2012-05-11 15:35:39 +0200 | [diff] [blame] | 992 | trigger-name = "external-falling"; |
| 993 | trigger-value = <0x2>; |
| 994 | trigger-external; |
| 995 | }; |
| 996 | |
| 997 | trigger@2 { |
Alexandre Belloni | ce1e8d3 | 2014-03-10 20:17:23 +0100 | [diff] [blame] | 998 | reg = <2>; |
Maxime Ripard | d029f37 | 2012-05-11 15:35:39 +0200 | [diff] [blame] | 999 | trigger-name = "external-any"; |
| 1000 | trigger-value = <0x3>; |
| 1001 | trigger-external; |
| 1002 | }; |
| 1003 | |
| 1004 | trigger@3 { |
Alexandre Belloni | ce1e8d3 | 2014-03-10 20:17:23 +0100 | [diff] [blame] | 1005 | reg = <3>; |
Maxime Ripard | d029f37 | 2012-05-11 15:35:39 +0200 | [diff] [blame] | 1006 | trigger-name = "continuous"; |
| 1007 | trigger-value = <0x6>; |
| 1008 | }; |
| 1009 | }; |
Richard Genoud | d50f88a | 2013-04-03 14:02:18 +0800 | [diff] [blame] | 1010 | |
| 1011 | spi0: spi@f0000000 { |
| 1012 | #address-cells = <1>; |
| 1013 | #size-cells = <0>; |
| 1014 | compatible = "atmel,at91rm9200-spi"; |
| 1015 | reg = <0xf0000000 0x100>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 1016 | interrupts = <13 IRQ_TYPE_LEVEL_HIGH 3>; |
Richard Genoud | 6b2a999 | 2013-05-31 17:02:00 +0200 | [diff] [blame] | 1017 | dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(1)>, |
| 1018 | <&dma0 1 AT91_DMA_CFG_PER_ID(2)>; |
| 1019 | dma-names = "tx", "rx"; |
Wenyou Yang | a68b728 | 2013-04-03 14:03:52 +0800 | [diff] [blame] | 1020 | pinctrl-names = "default"; |
| 1021 | pinctrl-0 = <&pinctrl_spi0>; |
Boris BREZILLON | a80d3ec | 2014-05-12 18:23:35 +0200 | [diff] [blame] | 1022 | clocks = <&spi0_clk>; |
| 1023 | clock-names = "spi_clk"; |
Richard Genoud | d50f88a | 2013-04-03 14:02:18 +0800 | [diff] [blame] | 1024 | status = "disabled"; |
| 1025 | }; |
| 1026 | |
| 1027 | spi1: spi@f0004000 { |
| 1028 | #address-cells = <1>; |
| 1029 | #size-cells = <0>; |
| 1030 | compatible = "atmel,at91rm9200-spi"; |
| 1031 | reg = <0xf0004000 0x100>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 1032 | interrupts = <14 IRQ_TYPE_LEVEL_HIGH 3>; |
Richard Genoud | 6b2a999 | 2013-05-31 17:02:00 +0200 | [diff] [blame] | 1033 | dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(1)>, |
| 1034 | <&dma1 1 AT91_DMA_CFG_PER_ID(2)>; |
| 1035 | dma-names = "tx", "rx"; |
Wenyou Yang | a68b728 | 2013-04-03 14:03:52 +0800 | [diff] [blame] | 1036 | pinctrl-names = "default"; |
| 1037 | pinctrl-0 = <&pinctrl_spi1>; |
Boris BREZILLON | a80d3ec | 2014-05-12 18:23:35 +0200 | [diff] [blame] | 1038 | clocks = <&spi1_clk>; |
| 1039 | clock-names = "spi_clk"; |
Richard Genoud | d50f88a | 2013-04-03 14:02:18 +0800 | [diff] [blame] | 1040 | status = "disabled"; |
| 1041 | }; |
Linus Torvalds | dfab34a | 2013-05-02 09:28:03 -0700 | [diff] [blame] | 1042 | |
Jean-Christophe PLAGNIOL-VILLARD | aecca65 | 2013-05-03 20:49:51 +0800 | [diff] [blame] | 1043 | usb2: gadget@f803c000 { |
| 1044 | #address-cells = <1>; |
| 1045 | #size-cells = <0>; |
| 1046 | compatible = "atmel,at91sam9rl-udc"; |
| 1047 | reg = <0x00500000 0x80000 |
| 1048 | 0xf803c000 0x400>; |
| 1049 | interrupts = <23 IRQ_TYPE_LEVEL_HIGH 0>; |
Bo Shen | 363d4dd | 2014-07-11 18:34:56 +0200 | [diff] [blame] | 1050 | clocks = <&usb>, <&udphs_clk>; |
| 1051 | clock-names = "hclk", "pclk"; |
Jean-Christophe PLAGNIOL-VILLARD | aecca65 | 2013-05-03 20:49:51 +0800 | [diff] [blame] | 1052 | status = "disabled"; |
| 1053 | |
| 1054 | ep0 { |
| 1055 | reg = <0>; |
| 1056 | atmel,fifo-size = <64>; |
| 1057 | atmel,nb-banks = <1>; |
| 1058 | }; |
| 1059 | |
| 1060 | ep1 { |
| 1061 | reg = <1>; |
| 1062 | atmel,fifo-size = <1024>; |
| 1063 | atmel,nb-banks = <2>; |
| 1064 | atmel,can-dma; |
| 1065 | atmel,can-isoc; |
| 1066 | }; |
| 1067 | |
| 1068 | ep2 { |
| 1069 | reg = <2>; |
| 1070 | atmel,fifo-size = <1024>; |
| 1071 | atmel,nb-banks = <2>; |
| 1072 | atmel,can-dma; |
| 1073 | atmel,can-isoc; |
| 1074 | }; |
| 1075 | |
| 1076 | ep3 { |
| 1077 | reg = <3>; |
| 1078 | atmel,fifo-size = <1024>; |
| 1079 | atmel,nb-banks = <3>; |
| 1080 | atmel,can-dma; |
| 1081 | }; |
| 1082 | |
| 1083 | ep4 { |
| 1084 | reg = <4>; |
| 1085 | atmel,fifo-size = <1024>; |
| 1086 | atmel,nb-banks = <3>; |
| 1087 | atmel,can-dma; |
| 1088 | }; |
| 1089 | |
| 1090 | ep5 { |
| 1091 | reg = <5>; |
| 1092 | atmel,fifo-size = <1024>; |
| 1093 | atmel,nb-banks = <3>; |
| 1094 | atmel,can-dma; |
| 1095 | atmel,can-isoc; |
| 1096 | }; |
| 1097 | |
| 1098 | ep6 { |
| 1099 | reg = <6>; |
| 1100 | atmel,fifo-size = <1024>; |
| 1101 | atmel,nb-banks = <3>; |
| 1102 | atmel,can-dma; |
| 1103 | atmel,can-isoc; |
| 1104 | }; |
| 1105 | }; |
| 1106 | |
Wenyou Yang | 136d355 | 2013-05-31 11:10:02 +0800 | [diff] [blame] | 1107 | watchdog@fffffe40 { |
| 1108 | compatible = "atmel,at91sam9260-wdt"; |
| 1109 | reg = <0xfffffe40 0x10>; |
Boris BREZILLON | fe46aa6 | 2013-10-04 09:24:14 +0200 | [diff] [blame] | 1110 | interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; |
| 1111 | atmel,watchdog-type = "hardware"; |
| 1112 | atmel,reset-type = "all"; |
| 1113 | atmel,dbg-halt; |
| 1114 | atmel,idle-halt; |
Wenyou Yang | 136d355 | 2013-05-31 11:10:02 +0800 | [diff] [blame] | 1115 | status = "disabled"; |
| 1116 | }; |
| 1117 | |
Nicolas Ferre | b909c6c | 2013-03-22 10:16:56 +0100 | [diff] [blame] | 1118 | rtc@fffffeb0 { |
Nicolas Ferre | 23fb05c | 2013-04-18 10:13:21 +0200 | [diff] [blame] | 1119 | compatible = "atmel,at91sam9x5-rtc"; |
Nicolas Ferre | b909c6c | 2013-03-22 10:16:56 +0100 | [diff] [blame] | 1120 | reg = <0xfffffeb0 0x40>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 1121 | interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; |
Nicolas Ferre | b909c6c | 2013-03-22 10:16:56 +0100 | [diff] [blame] | 1122 | status = "disabled"; |
| 1123 | }; |
Bo Shen | f3ab052 | 2013-12-19 11:59:17 +0800 | [diff] [blame] | 1124 | |
| 1125 | pwm0: pwm@f8034000 { |
| 1126 | compatible = "atmel,at91sam9rl-pwm"; |
| 1127 | reg = <0xf8034000 0x300>; |
| 1128 | interrupts = <18 IRQ_TYPE_LEVEL_HIGH 4>; |
Boris BREZILLON | e0d69e1 | 2014-07-17 21:03:58 +0200 | [diff] [blame] | 1129 | clocks = <&pwm_clk>; |
Bo Shen | f3ab052 | 2013-12-19 11:59:17 +0800 | [diff] [blame] | 1130 | #pwm-cells = <3>; |
| 1131 | status = "disabled"; |
| 1132 | }; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 1133 | }; |
Jean-Christophe PLAGNIOL-VILLARD | 86a89f4 | 2012-02-21 21:38:18 +0800 | [diff] [blame] | 1134 | |
| 1135 | nand0: nand@40000000 { |
| 1136 | compatible = "atmel,at91rm9200-nand"; |
| 1137 | #address-cells = <1>; |
| 1138 | #size-cells = <1>; |
| 1139 | reg = <0x40000000 0x10000000 |
Josh Wu | 5314bc2 | 2013-01-23 20:47:09 +0800 | [diff] [blame] | 1140 | 0xffffe000 0x600 /* PMECC Registers */ |
| 1141 | 0xffffe600 0x200 /* PMECC Error Location Registers */ |
| 1142 | 0x00108000 0x18000 /* PMECC looup table in ROM code */ |
Jean-Christophe PLAGNIOL-VILLARD | 86a89f4 | 2012-02-21 21:38:18 +0800 | [diff] [blame] | 1143 | >; |
Josh Wu | 5314bc2 | 2013-01-23 20:47:09 +0800 | [diff] [blame] | 1144 | atmel,pmecc-lookup-table-offset = <0x0 0x8000>; |
Jean-Christophe PLAGNIOL-VILLARD | 86a89f4 | 2012-02-21 21:38:18 +0800 | [diff] [blame] | 1145 | atmel,nand-addr-offset = <21>; |
| 1146 | atmel,nand-cmd-offset = <22>; |
Nicolas Ferre | e8b2da6 | 2013-07-01 17:05:18 +0200 | [diff] [blame] | 1147 | atmel,nand-has-dma; |
Jean-Christophe PLAGNIOL-VILLARD | 7a38d45 | 2012-07-12 23:36:52 +0800 | [diff] [blame] | 1148 | pinctrl-names = "default"; |
| 1149 | pinctrl-0 = <&pinctrl_nand>; |
Jean-Christophe PLAGNIOL-VILLARD | 92f8629 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 1150 | gpios = <&pioD 5 GPIO_ACTIVE_HIGH |
| 1151 | &pioD 4 GPIO_ACTIVE_HIGH |
Jean-Christophe PLAGNIOL-VILLARD | 86a89f4 | 2012-02-21 21:38:18 +0800 | [diff] [blame] | 1152 | 0 |
| 1153 | >; |
| 1154 | status = "disabled"; |
| 1155 | }; |
Jean-Christophe PLAGNIOL-VILLARD | 6a06245 | 2011-11-21 06:55:18 +0800 | [diff] [blame] | 1156 | |
| 1157 | usb0: ohci@00600000 { |
| 1158 | compatible = "atmel,at91rm9200-ohci", "usb-ohci"; |
| 1159 | reg = <0x00600000 0x100000>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 1160 | interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>; |
Bo Shen | dba1fd0 | 2014-07-14 11:08:14 +0800 | [diff] [blame] | 1161 | clocks = <&usb>, <&uhphs_clk>, <&uhphs_clk>, <&uhpck>; |
Boris BREZILLON | a80d3ec | 2014-05-12 18:23:35 +0200 | [diff] [blame] | 1162 | clock-names = "usb_clk", "ohci_clk", "hclk", "uhpck"; |
Jean-Christophe PLAGNIOL-VILLARD | 6a06245 | 2011-11-21 06:55:18 +0800 | [diff] [blame] | 1163 | status = "disabled"; |
| 1164 | }; |
Jean-Christophe PLAGNIOL-VILLARD | 62c5553 | 2011-11-22 12:11:13 +0800 | [diff] [blame] | 1165 | |
| 1166 | usb1: ehci@00700000 { |
| 1167 | compatible = "atmel,at91sam9g45-ehci", "usb-ehci"; |
| 1168 | reg = <0x00700000 0x100000>; |
Jean-Christophe PLAGNIOL-VILLARD | 5e8b3bc | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 1169 | interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>; |
Boris BREZILLON | a80d3ec | 2014-05-12 18:23:35 +0200 | [diff] [blame] | 1170 | clocks = <&usb>, <&uhphs_clk>, <&uhpck>; |
| 1171 | clock-names = "usb_clk", "ehci_clk", "uhpck"; |
Jean-Christophe PLAGNIOL-VILLARD | 62c5553 | 2011-11-22 12:11:13 +0800 | [diff] [blame] | 1172 | status = "disabled"; |
| 1173 | }; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 1174 | }; |
Jean-Christophe PLAGNIOL-VILLARD | 10f71c2 | 2012-02-23 22:50:32 +0800 | [diff] [blame] | 1175 | |
| 1176 | i2c@0 { |
| 1177 | compatible = "i2c-gpio"; |
Jean-Christophe PLAGNIOL-VILLARD | 92f8629 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 1178 | gpios = <&pioA 30 GPIO_ACTIVE_HIGH /* sda */ |
| 1179 | &pioA 31 GPIO_ACTIVE_HIGH /* scl */ |
Jean-Christophe PLAGNIOL-VILLARD | 10f71c2 | 2012-02-23 22:50:32 +0800 | [diff] [blame] | 1180 | >; |
| 1181 | i2c-gpio,sda-open-drain; |
| 1182 | i2c-gpio,scl-open-drain; |
| 1183 | i2c-gpio,delay-us = <2>; /* ~100 kHz */ |
| 1184 | #address-cells = <1>; |
| 1185 | #size-cells = <0>; |
Richard Genoud | 463c9c7 | 2013-03-12 17:54:46 +0100 | [diff] [blame] | 1186 | pinctrl-names = "default"; |
| 1187 | pinctrl-0 = <&pinctrl_i2c_gpio0>; |
Jean-Christophe PLAGNIOL-VILLARD | 10f71c2 | 2012-02-23 22:50:32 +0800 | [diff] [blame] | 1188 | status = "disabled"; |
| 1189 | }; |
| 1190 | |
| 1191 | i2c@1 { |
| 1192 | compatible = "i2c-gpio"; |
Jean-Christophe PLAGNIOL-VILLARD | 92f8629 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 1193 | gpios = <&pioC 0 GPIO_ACTIVE_HIGH /* sda */ |
| 1194 | &pioC 1 GPIO_ACTIVE_HIGH /* scl */ |
Jean-Christophe PLAGNIOL-VILLARD | 10f71c2 | 2012-02-23 22:50:32 +0800 | [diff] [blame] | 1195 | >; |
| 1196 | i2c-gpio,sda-open-drain; |
| 1197 | i2c-gpio,scl-open-drain; |
| 1198 | i2c-gpio,delay-us = <2>; /* ~100 kHz */ |
| 1199 | #address-cells = <1>; |
| 1200 | #size-cells = <0>; |
Richard Genoud | 463c9c7 | 2013-03-12 17:54:46 +0100 | [diff] [blame] | 1201 | pinctrl-names = "default"; |
| 1202 | pinctrl-0 = <&pinctrl_i2c_gpio1>; |
Jean-Christophe PLAGNIOL-VILLARD | 10f71c2 | 2012-02-23 22:50:32 +0800 | [diff] [blame] | 1203 | status = "disabled"; |
| 1204 | }; |
| 1205 | |
| 1206 | i2c@2 { |
| 1207 | compatible = "i2c-gpio"; |
Jean-Christophe PLAGNIOL-VILLARD | 92f8629 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 1208 | gpios = <&pioB 4 GPIO_ACTIVE_HIGH /* sda */ |
| 1209 | &pioB 5 GPIO_ACTIVE_HIGH /* scl */ |
Jean-Christophe PLAGNIOL-VILLARD | 10f71c2 | 2012-02-23 22:50:32 +0800 | [diff] [blame] | 1210 | >; |
| 1211 | i2c-gpio,sda-open-drain; |
| 1212 | i2c-gpio,scl-open-drain; |
| 1213 | i2c-gpio,delay-us = <2>; /* ~100 kHz */ |
| 1214 | #address-cells = <1>; |
| 1215 | #size-cells = <0>; |
Richard Genoud | 463c9c7 | 2013-03-12 17:54:46 +0100 | [diff] [blame] | 1216 | pinctrl-names = "default"; |
| 1217 | pinctrl-0 = <&pinctrl_i2c_gpio2>; |
Jean-Christophe PLAGNIOL-VILLARD | 10f71c2 | 2012-02-23 22:50:32 +0800 | [diff] [blame] | 1218 | status = "disabled"; |
| 1219 | }; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 1220 | }; |