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