1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * at91sam9261.dtsi - Device Tree Include file for AT91SAM9261 SoC 4 * 5 * Copyright (C) 2013 Jean-Jacques Hiblot <jjhiblot@traphandler.com> 6 */ 7 8#include <dt-bindings/pinctrl/at91.h> 9#include <dt-bindings/interrupt-controller/irq.h> 10#include <dt-bindings/gpio/gpio.h> 11#include <dt-bindings/clock/at91.h> 12 13/ { 14 #address-cells = <1>; 15 #size-cells = <1>; 16 model = "Atmel AT91SAM9261 family SoC"; 17 compatible = "atmel,at91sam9261"; 18 interrupt-parent = <&aic>; 19 20 aliases { 21 serial0 = &dbgu; 22 serial1 = &usart0; 23 serial2 = &usart1; 24 serial3 = &usart2; 25 gpio0 = &pioA; 26 gpio1 = &pioB; 27 gpio2 = &pioC; 28 tcb0 = &tcb0; 29 i2c0 = &i2c0; 30 ssc0 = &ssc0; 31 ssc1 = &ssc1; 32 ssc2 = &ssc2; 33 }; 34 35 cpus { 36 #address-cells = <0>; 37 #size-cells = <0>; 38 39 cpu { 40 compatible = "arm,arm926ej-s"; 41 device_type = "cpu"; 42 }; 43 }; 44 45 memory { 46 device_type = "memory"; 47 reg = <0x20000000 0x08000000>; 48 }; 49 50 clocks { 51 main_xtal: main_xtal { 52 compatible = "fixed-clock"; 53 #clock-cells = <0>; 54 clock-frequency = <0>; 55 }; 56 57 slow_xtal: slow_xtal { 58 compatible = "fixed-clock"; 59 #clock-cells = <0>; 60 clock-frequency = <0>; 61 }; 62 }; 63 64 sram: sram@300000 { 65 compatible = "mmio-sram"; 66 reg = <0x00300000 0x28000>; 67 }; 68 69 ahb { 70 compatible = "simple-bus"; 71 #address-cells = <1>; 72 #size-cells = <1>; 73 ranges; 74 75 usb0: ohci@500000 { 76 compatible = "atmel,at91rm9200-ohci", "usb-ohci"; 77 reg = <0x00500000 0x100000>; 78 interrupts = <20 IRQ_TYPE_LEVEL_HIGH 2>; 79 clocks = <&pmc PMC_TYPE_PERIPHERAL 20>, <&pmc PMC_TYPE_SYSTEM 16>, <&pmc PMC_TYPE_SYSTEM 6>; 80 clock-names = "ohci_clk", "hclk", "uhpck"; 81 status = "disabled"; 82 }; 83 84 fb0: fb@600000 { 85 compatible = "atmel,at91sam9261-lcdc"; 86 reg = <0x00600000 0x1000>; 87 interrupts = <21 IRQ_TYPE_LEVEL_HIGH 3>; 88 pinctrl-names = "default"; 89 pinctrl-0 = <&pinctrl_fb>; 90 clocks = <&pmc PMC_TYPE_PERIPHERAL 21>, <&pmc PMC_TYPE_SYSTEM 17>; 91 clock-names = "lcdc_clk", "hclk"; 92 status = "disabled"; 93 }; 94 95 ebi: ebi@10000000 { 96 compatible = "atmel,at91sam9261-ebi"; 97 #address-cells = <2>; 98 #size-cells = <1>; 99 atmel,smc = <&smc>; 100 atmel,matrix = <&matrix>; 101 reg = <0x10000000 0x80000000>; 102 ranges = <0x0 0x0 0x10000000 0x10000000 103 0x1 0x0 0x20000000 0x10000000 104 0x2 0x0 0x30000000 0x10000000 105 0x3 0x0 0x40000000 0x10000000 106 0x4 0x0 0x50000000 0x10000000 107 0x5 0x0 0x60000000 0x10000000 108 0x6 0x0 0x70000000 0x10000000 109 0x7 0x0 0x80000000 0x10000000>; 110 clocks = <&pmc PMC_TYPE_CORE PMC_MCK>; 111 status = "disabled"; 112 113 nand_controller: nand-controller { 114 compatible = "atmel,at91sam9261-nand-controller"; 115 #address-cells = <2>; 116 #size-cells = <1>; 117 ranges; 118 status = "disabled"; 119 }; 120 }; 121 122 apb { 123 compatible = "simple-bus"; 124 #address-cells = <1>; 125 #size-cells = <1>; 126 ranges; 127 128 tcb0: timer@fffa0000 { 129 compatible = "atmel,at91rm9200-tcb", "simple-mfd", "syscon"; 130 #address-cells = <1>; 131 #size-cells = <0>; 132 reg = <0xfffa0000 0x100>; 133 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>, 134 <18 IRQ_TYPE_LEVEL_HIGH 0>, 135 <19 IRQ_TYPE_LEVEL_HIGH 0>; 136 clocks = <&pmc PMC_TYPE_PERIPHERAL 17>, <&pmc PMC_TYPE_PERIPHERAL 18>, <&pmc PMC_TYPE_PERIPHERAL 19>, <&slow_xtal>; 137 clock-names = "t0_clk", "t1_clk", "t2_clk", "slow_clk"; 138 }; 139 140 usb1: gadget@fffa4000 { 141 compatible = "atmel,at91sam9261-udc"; 142 reg = <0xfffa4000 0x4000>; 143 interrupts = <10 IRQ_TYPE_LEVEL_HIGH 2>; 144 clocks = <&pmc PMC_TYPE_PERIPHERAL 10>, <&pmc PMC_TYPE_SYSTEM 7>; 145 clock-names = "pclk", "hclk"; 146 atmel,matrix = <&matrix>; 147 status = "disabled"; 148 }; 149 150 mmc0: mmc@fffa8000 { 151 compatible = "atmel,hsmci"; 152 reg = <0xfffa8000 0x600>; 153 interrupts = <9 IRQ_TYPE_LEVEL_HIGH 0>; 154 pinctrl-names = "default"; 155 pinctrl-0 = <&pinctrl_mmc0_clk>, <&pinctrl_mmc0_slot0_cmd_dat0>, <&pinctrl_mmc0_slot0_dat1_3>; 156 #address-cells = <1>; 157 #size-cells = <0>; 158 clocks = <&pmc PMC_TYPE_PERIPHERAL 9>; 159 clock-names = "mci_clk"; 160 status = "disabled"; 161 }; 162 163 i2c0: i2c@fffac000 { 164 compatible = "atmel,at91sam9261-i2c"; 165 pinctrl-names = "default"; 166 pinctrl-0 = <&pinctrl_i2c_twi>; 167 reg = <0xfffac000 0x100>; 168 interrupts = <11 IRQ_TYPE_LEVEL_HIGH 6>; 169 #address-cells = <1>; 170 #size-cells = <0>; 171 clocks = <&pmc PMC_TYPE_PERIPHERAL 11>; 172 status = "disabled"; 173 }; 174 175 usart0: serial@fffb0000 { 176 compatible = "atmel,at91sam9260-usart"; 177 reg = <0xfffb0000 0x200>; 178 interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>; 179 atmel,use-dma-rx; 180 atmel,use-dma-tx; 181 pinctrl-names = "default"; 182 pinctrl-0 = <&pinctrl_usart0>; 183 clocks = <&pmc PMC_TYPE_PERIPHERAL 6>; 184 clock-names = "usart"; 185 status = "disabled"; 186 }; 187 188 usart1: serial@fffb4000 { 189 compatible = "atmel,at91sam9260-usart"; 190 reg = <0xfffb4000 0x200>; 191 interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>; 192 atmel,use-dma-rx; 193 atmel,use-dma-tx; 194 pinctrl-names = "default"; 195 pinctrl-0 = <&pinctrl_usart1>; 196 clocks = <&pmc PMC_TYPE_PERIPHERAL 7>; 197 clock-names = "usart"; 198 status = "disabled"; 199 }; 200 201 usart2: serial@fffb8000{ 202 compatible = "atmel,at91sam9260-usart"; 203 reg = <0xfffb8000 0x200>; 204 interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>; 205 atmel,use-dma-rx; 206 atmel,use-dma-tx; 207 pinctrl-names = "default"; 208 pinctrl-0 = <&pinctrl_usart2>; 209 clocks = <&pmc PMC_TYPE_PERIPHERAL 8>; 210 clock-names = "usart"; 211 status = "disabled"; 212 }; 213 214 ssc0: ssc@fffbc000 { 215 compatible = "atmel,at91rm9200-ssc"; 216 reg = <0xfffbc000 0x4000>; 217 interrupts = <14 IRQ_TYPE_LEVEL_HIGH 5>; 218 pinctrl-names = "default"; 219 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>; 220 clocks = <&pmc PMC_TYPE_PERIPHERAL 14>; 221 clock-names = "pclk"; 222 status = "disabled"; 223 }; 224 225 ssc1: ssc@fffc0000 { 226 compatible = "atmel,at91rm9200-ssc"; 227 reg = <0xfffc0000 0x4000>; 228 interrupts = <15 IRQ_TYPE_LEVEL_HIGH 5>; 229 pinctrl-names = "default"; 230 pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>; 231 clocks = <&pmc PMC_TYPE_PERIPHERAL 15>; 232 clock-names = "pclk"; 233 status = "disabled"; 234 }; 235 236 ssc2: ssc@fffc4000 { 237 compatible = "atmel,at91rm9200-ssc"; 238 reg = <0xfffc4000 0x4000>; 239 interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>; 240 pinctrl-names = "default"; 241 pinctrl-0 = <&pinctrl_ssc2_tx &pinctrl_ssc2_rx>; 242 clocks = <&pmc PMC_TYPE_PERIPHERAL 16>; 243 clock-names = "pclk"; 244 status = "disabled"; 245 }; 246 247 spi0: spi@fffc8000 { 248 #address-cells = <1>; 249 #size-cells = <0>; 250 compatible = "atmel,at91rm9200-spi"; 251 reg = <0xfffc8000 0x200>; 252 cs-gpios = <0>, <0>, <0>, <0>; 253 interrupts = <12 IRQ_TYPE_LEVEL_HIGH 3>; 254 pinctrl-names = "default"; 255 pinctrl-0 = <&pinctrl_spi0>; 256 clocks = <&pmc PMC_TYPE_PERIPHERAL 12>; 257 clock-names = "spi_clk"; 258 status = "disabled"; 259 }; 260 261 spi1: spi@fffcc000 { 262 #address-cells = <1>; 263 #size-cells = <0>; 264 compatible = "atmel,at91rm9200-spi"; 265 reg = <0xfffcc000 0x200>; 266 interrupts = <13 IRQ_TYPE_LEVEL_HIGH 3>; 267 pinctrl-names = "default"; 268 pinctrl-0 = <&pinctrl_spi1>; 269 clocks = <&pmc PMC_TYPE_PERIPHERAL 13>; 270 clock-names = "spi_clk"; 271 status = "disabled"; 272 }; 273 274 ramc: ramc@ffffea00 { 275 compatible = "atmel,at91sam9260-sdramc"; 276 reg = <0xffffea00 0x200>; 277 }; 278 279 smc: smc@ffffec00 { 280 compatible = "atmel,at91sam9260-smc", "syscon"; 281 reg = <0xffffec00 0x200>; 282 }; 283 284 matrix: matrix@ffffee00 { 285 compatible = "atmel,at91sam9261-matrix", "syscon"; 286 reg = <0xffffee00 0x200>; 287 }; 288 289 aic: interrupt-controller@fffff000 { 290 #interrupt-cells = <3>; 291 compatible = "atmel,at91rm9200-aic"; 292 interrupt-controller; 293 reg = <0xfffff000 0x200>; 294 atmel,external-irqs = <29 30 31>; 295 }; 296 297 dbgu: serial@fffff200 { 298 compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart"; 299 reg = <0xfffff200 0x200>; 300 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; 301 pinctrl-names = "default"; 302 pinctrl-0 = <&pinctrl_dbgu>; 303 clocks = <&pmc PMC_TYPE_CORE PMC_MCK>; 304 clock-names = "usart"; 305 status = "disabled"; 306 }; 307 308 pinctrl@fffff400 { 309 #address-cells = <1>; 310 #size-cells = <1>; 311 compatible = "atmel,at91rm9200-pinctrl", "simple-bus"; 312 ranges = <0xfffff400 0xfffff400 0x600>; 313 314 atmel,mux-mask = 315 /* A B */ 316 <0xffffffff 0xfffffff7>, /* pioA */ 317 <0xffffffff 0xfffffff4>, /* pioB */ 318 <0xffffffff 0xffffff07>; /* pioC */ 319 320 /* shared pinctrl settings */ 321 dbgu { 322 pinctrl_dbgu: dbgu-0 { 323 atmel,pins = 324 <AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>, 325 <AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE>; 326 }; 327 }; 328 329 usart0 { 330 pinctrl_usart0: usart0-0 { 331 atmel,pins = 332 <AT91_PIOC 8 AT91_PERIPH_A AT91_PINCTRL_NONE>, 333 <AT91_PIOC 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; 334 }; 335 336 pinctrl_usart0_rts: usart0_rts-0 { 337 atmel,pins = 338 <AT91_PIOC 10 AT91_PERIPH_A AT91_PINCTRL_NONE>; 339 }; 340 341 pinctrl_usart0_cts: usart0_cts-0 { 342 atmel,pins = 343 <AT91_PIOC 11 AT91_PERIPH_A AT91_PINCTRL_NONE>; 344 }; 345 }; 346 347 usart1 { 348 pinctrl_usart1: usart1-0 { 349 atmel,pins = 350 <AT91_PIOC 12 AT91_PERIPH_A AT91_PINCTRL_NONE>, 351 <AT91_PIOC 13 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; 352 }; 353 354 pinctrl_usart1_rts: usart1_rts-0 { 355 atmel,pins = 356 <AT91_PIOA 12 AT91_PERIPH_B AT91_PINCTRL_NONE>; 357 }; 358 359 pinctrl_usart1_cts: usart1_cts-0 { 360 atmel,pins = 361 <AT91_PIOA 13 AT91_PERIPH_B AT91_PINCTRL_NONE>; 362 }; 363 }; 364 365 usart2 { 366 pinctrl_usart2: usart2-0 { 367 atmel,pins = 368 <AT91_PIOC 14 AT91_PERIPH_A AT91_PINCTRL_NONE>, 369 <AT91_PIOC 15 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; 370 }; 371 372 pinctrl_usart2_rts: usart2_rts-0 { 373 atmel,pins = 374 <AT91_PIOA 15 AT91_PERIPH_B AT91_PINCTRL_NONE>; 375 }; 376 377 pinctrl_usart2_cts: usart2_cts-0 { 378 atmel,pins = 379 <AT91_PIOA 16 AT91_PERIPH_B AT91_PINCTRL_NONE>; 380 }; 381 }; 382 383 nand { 384 pinctrl_nand_rb: nand-rb-0 { 385 atmel,pins = 386 <AT91_PIOC 15 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>; 387 }; 388 389 pinctrl_nand_cs: nand-cs-0 { 390 atmel,pins = 391 <AT91_PIOC 14 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>; 392 }; 393 }; 394 395 mmc0 { 396 pinctrl_mmc0_clk: mmc0_clk-0 { 397 atmel,pins = 398 <AT91_PIOA 2 AT91_PERIPH_B AT91_PINCTRL_NONE>; 399 }; 400 401 pinctrl_mmc0_slot0_cmd_dat0: mmc0_slot0_cmd_dat0-0 { 402 atmel,pins = 403 <AT91_PIOA 1 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>, 404 <AT91_PIOA 0 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; 405 }; 406 407 pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 { 408 atmel,pins = 409 <AT91_PIOA 4 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>, 410 <AT91_PIOA 5 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>, 411 <AT91_PIOA 6 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; 412 }; 413 }; 414 415 ssc0 { 416 pinctrl_ssc0_tx: ssc0_tx-0 { 417 atmel,pins = 418 <AT91_PIOB 21 AT91_PERIPH_A AT91_PINCTRL_NONE>, 419 <AT91_PIOB 22 AT91_PERIPH_A AT91_PINCTRL_NONE>, 420 <AT91_PIOB 23 AT91_PERIPH_A AT91_PINCTRL_NONE>; 421 }; 422 423 pinctrl_ssc0_rx: ssc0_rx-0 { 424 atmel,pins = 425 <AT91_PIOB 24 AT91_PERIPH_A AT91_PINCTRL_NONE>, 426 <AT91_PIOB 25 AT91_PERIPH_A AT91_PINCTRL_NONE>, 427 <AT91_PIOB 26 AT91_PERIPH_A AT91_PINCTRL_NONE>; 428 }; 429 }; 430 431 ssc1 { 432 pinctrl_ssc1_tx: ssc1_tx-0 { 433 atmel,pins = 434 <AT91_PIOA 17 AT91_PERIPH_B AT91_PINCTRL_NONE>, 435 <AT91_PIOA 18 AT91_PERIPH_B AT91_PINCTRL_NONE>, 436 <AT91_PIOA 19 AT91_PERIPH_B AT91_PINCTRL_NONE>; 437 }; 438 439 pinctrl_ssc1_rx: ssc1_rx-0 { 440 atmel,pins = 441 <AT91_PIOA 20 AT91_PERIPH_B AT91_PINCTRL_NONE>, 442 <AT91_PIOA 21 AT91_PERIPH_B AT91_PINCTRL_NONE>, 443 <AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE>; 444 }; 445 }; 446 447 ssc2 { 448 pinctrl_ssc2_tx: ssc2_tx-0 { 449 atmel,pins = 450 <AT91_PIOC 25 AT91_PERIPH_B AT91_PINCTRL_NONE>, 451 <AT91_PIOC 26 AT91_PERIPH_B AT91_PINCTRL_NONE>, 452 <AT91_PIOC 27 AT91_PERIPH_B AT91_PINCTRL_NONE>; 453 }; 454 455 pinctrl_ssc2_rx: ssc2_rx-0 { 456 atmel,pins = 457 <AT91_PIOC 28 AT91_PERIPH_B AT91_PINCTRL_NONE>, 458 <AT91_PIOC 29 AT91_PERIPH_B AT91_PINCTRL_NONE>, 459 <AT91_PIOC 30 AT91_PERIPH_B AT91_PINCTRL_NONE>; 460 }; 461 }; 462 463 spi0 { 464 pinctrl_spi0: spi0-0 { 465 atmel,pins = 466 <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE>, 467 <AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE>, 468 <AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE>; 469 }; 470 }; 471 472 spi1 { 473 pinctrl_spi1: spi1-0 { 474 atmel,pins = 475 <AT91_PIOB 30 AT91_PERIPH_A AT91_PINCTRL_NONE>, 476 <AT91_PIOB 31 AT91_PERIPH_A AT91_PINCTRL_NONE>, 477 <AT91_PIOB 29 AT91_PERIPH_A AT91_PINCTRL_NONE>; 478 }; 479 }; 480 481 tcb0 { 482 pinctrl_tcb0_tclk0: tcb0_tclk0-0 { 483 atmel,pins = <AT91_PIOC 16 AT91_PERIPH_B AT91_PINCTRL_NONE>; 484 }; 485 486 pinctrl_tcb0_tclk1: tcb0_tclk1-0 { 487 atmel,pins = <AT91_PIOC 17 AT91_PERIPH_B AT91_PINCTRL_NONE>; 488 }; 489 490 pinctrl_tcb0_tclk2: tcb0_tclk2-0 { 491 atmel,pins = <AT91_PIOC 18 AT91_PERIPH_B AT91_PINCTRL_NONE>; 492 }; 493 494 pinctrl_tcb0_tioa0: tcb0_tioa0-0 { 495 atmel,pins = <AT91_PIOC 19 AT91_PERIPH_B AT91_PINCTRL_NONE>; 496 }; 497 498 pinctrl_tcb0_tioa1: tcb0_tioa1-0 { 499 atmel,pins = <AT91_PIOC 21 AT91_PERIPH_B AT91_PINCTRL_NONE>; 500 }; 501 502 pinctrl_tcb0_tioa2: tcb0_tioa2-0 { 503 atmel,pins = <AT91_PIOC 23 AT91_PERIPH_B AT91_PINCTRL_NONE>; 504 }; 505 506 pinctrl_tcb0_tiob0: tcb0_tiob0-0 { 507 atmel,pins = <AT91_PIOC 20 AT91_PERIPH_B AT91_PINCTRL_NONE>; 508 }; 509 510 pinctrl_tcb0_tiob1: tcb0_tiob1-0 { 511 atmel,pins = <AT91_PIOC 22 AT91_PERIPH_B AT91_PINCTRL_NONE>; 512 }; 513 514 pinctrl_tcb0_tiob2: tcb0_tiob2-0 { 515 atmel,pins = <AT91_PIOC 24 AT91_PERIPH_B AT91_PINCTRL_NONE>; 516 }; 517 }; 518 519 i2c0 { 520 pinctrl_i2c_bitbang: i2c-0-bitbang { 521 atmel,pins = 522 <AT91_PIOA 7 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>, 523 <AT91_PIOA 8 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>; 524 }; 525 pinctrl_i2c_twi: i2c-0-twi { 526 atmel,pins = 527 <AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_NONE>, 528 <AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_NONE>; 529 }; 530 }; 531 532 fb { 533 pinctrl_fb: fb-0 { 534 atmel,pins = 535 <AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE>, 536 <AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE>, 537 <AT91_PIOB 3 AT91_PERIPH_A AT91_PINCTRL_NONE>, 538 <AT91_PIOB 7 AT91_PERIPH_A AT91_PINCTRL_NONE>, 539 <AT91_PIOB 8 AT91_PERIPH_A AT91_PINCTRL_NONE>, 540 <AT91_PIOB 9 AT91_PERIPH_A AT91_PINCTRL_NONE>, 541 <AT91_PIOB 10 AT91_PERIPH_A AT91_PINCTRL_NONE>, 542 <AT91_PIOB 11 AT91_PERIPH_A AT91_PINCTRL_NONE>, 543 <AT91_PIOB 12 AT91_PERIPH_A AT91_PINCTRL_NONE>, 544 <AT91_PIOB 15 AT91_PERIPH_A AT91_PINCTRL_NONE>, 545 <AT91_PIOB 16 AT91_PERIPH_A AT91_PINCTRL_NONE>, 546 <AT91_PIOB 17 AT91_PERIPH_A AT91_PINCTRL_NONE>, 547 <AT91_PIOB 18 AT91_PERIPH_A AT91_PINCTRL_NONE>, 548 <AT91_PIOB 19 AT91_PERIPH_A AT91_PINCTRL_NONE>, 549 <AT91_PIOB 20 AT91_PERIPH_A AT91_PINCTRL_NONE>, 550 <AT91_PIOB 23 AT91_PERIPH_B AT91_PINCTRL_NONE>, 551 <AT91_PIOB 24 AT91_PERIPH_B AT91_PINCTRL_NONE>, 552 <AT91_PIOB 25 AT91_PERIPH_B AT91_PINCTRL_NONE>, 553 <AT91_PIOB 26 AT91_PERIPH_B AT91_PINCTRL_NONE>, 554 <AT91_PIOB 27 AT91_PERIPH_B AT91_PINCTRL_NONE>, 555 <AT91_PIOB 28 AT91_PERIPH_B AT91_PINCTRL_NONE>; 556 }; 557 }; 558 559 pioA: gpio@fffff400 { 560 compatible = "atmel,at91rm9200-gpio"; 561 reg = <0xfffff400 0x200>; 562 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>; 563 #gpio-cells = <2>; 564 gpio-controller; 565 interrupt-controller; 566 #interrupt-cells = <2>; 567 clocks = <&pmc PMC_TYPE_PERIPHERAL 2>; 568 }; 569 570 pioB: gpio@fffff600 { 571 compatible = "atmel,at91rm9200-gpio"; 572 reg = <0xfffff600 0x200>; 573 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>; 574 #gpio-cells = <2>; 575 gpio-controller; 576 interrupt-controller; 577 #interrupt-cells = <2>; 578 clocks = <&pmc PMC_TYPE_PERIPHERAL 3>; 579 }; 580 581 pioC: gpio@fffff800 { 582 compatible = "atmel,at91rm9200-gpio"; 583 reg = <0xfffff800 0x200>; 584 interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>; 585 #gpio-cells = <2>; 586 gpio-controller; 587 interrupt-controller; 588 #interrupt-cells = <2>; 589 clocks = <&pmc PMC_TYPE_PERIPHERAL 4>; 590 }; 591 }; 592 593 pmc: pmc@fffffc00 { 594 compatible = "atmel,at91sam9261-pmc", "syscon"; 595 reg = <0xfffffc00 0x100>; 596 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; 597 #clock-cells = <2>; 598 clocks = <&slow_xtal>, <&main_xtal>; 599 clock-names = "slow_xtal", "main_xtal"; 600 }; 601 602 rstc@fffffd00 { 603 compatible = "atmel,at91sam9260-rstc"; 604 reg = <0xfffffd00 0x10>; 605 clocks = <&slow_xtal>; 606 }; 607 608 shdwc@fffffd10 { 609 compatible = "atmel,at91sam9260-shdwc"; 610 reg = <0xfffffd10 0x10>; 611 clocks = <&slow_xtal>; 612 }; 613 614 pit: timer@fffffd30 { 615 compatible = "atmel,at91sam9260-pit"; 616 reg = <0xfffffd30 0xf>; 617 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; 618 clocks = <&pmc PMC_TYPE_CORE PMC_MCK>; 619 }; 620 621 rtc@fffffd20 { 622 compatible = "atmel,at91sam9260-rtt"; 623 reg = <0xfffffd20 0x10>; 624 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; 625 clocks = <&slow_xtal>; 626 status = "disabled"; 627 }; 628 629 watchdog@fffffd40 { 630 compatible = "atmel,at91sam9260-wdt"; 631 reg = <0xfffffd40 0x10>; 632 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; 633 clocks = <&slow_xtal>; 634 status = "disabled"; 635 }; 636 637 gpbr: syscon@fffffd50 { 638 compatible = "atmel,at91sam9260-gpbr", "syscon"; 639 reg = <0xfffffd50 0x10>; 640 status = "disabled"; 641 }; 642 }; 643 }; 644 645 i2c-gpio-0 { 646 compatible = "i2c-gpio"; 647 pinctrl-names = "default"; 648 pinctrl-0 = <&pinctrl_i2c_bitbang>; 649 gpios = <&pioA 7 GPIO_ACTIVE_HIGH>, /* sda */ 650 <&pioA 8 GPIO_ACTIVE_HIGH>; /* scl */ 651 i2c-gpio,sda-open-drain; 652 i2c-gpio,scl-open-drain; 653 i2c-gpio,delay-us = <2>; /* ~100 kHz */ 654 #address-cells = <1>; 655 #size-cells = <0>; 656 status = "disabled"; 657 }; 658}; 659