1270866Simp/* 2270866Simp * at91sam9261.dtsi - Device Tree Include file for AT91SAM9261 SoC 3270866Simp * 4270866Simp * Copyright (C) 2013 Jean-Jacques Hiblot <jjhiblot@traphandler.com> 5270866Simp * 6270866Simp * Licensed under GPLv2 only. 7270866Simp */ 8270866Simp 9270866Simp#include "skeleton.dtsi" 10270866Simp#include <dt-bindings/pinctrl/at91.h> 11270866Simp#include <dt-bindings/interrupt-controller/irq.h> 12270866Simp#include <dt-bindings/gpio/gpio.h> 13270866Simp#include <dt-bindings/clock/at91.h> 14270866Simp 15270866Simp/ { 16270866Simp model = "Atmel AT91SAM9261 family SoC"; 17270866Simp compatible = "atmel,at91sam9261"; 18270866Simp interrupt-parent = <&aic>; 19270866Simp 20270866Simp aliases { 21270866Simp serial0 = &dbgu; 22270866Simp serial1 = &usart0; 23270866Simp serial2 = &usart1; 24270866Simp serial3 = &usart2; 25270866Simp gpio0 = &pioA; 26270866Simp gpio1 = &pioB; 27270866Simp gpio2 = &pioC; 28270866Simp tcb0 = &tcb0; 29270866Simp i2c0 = &i2c0; 30270866Simp ssc0 = &ssc0; 31270866Simp ssc1 = &ssc1; 32270866Simp ssc2 = &ssc2; 33270866Simp }; 34270866Simp 35270866Simp cpus { 36270866Simp #address-cells = <0>; 37270866Simp #size-cells = <0>; 38270866Simp 39270866Simp cpu { 40270866Simp compatible = "arm,arm926ej-s"; 41270866Simp device_type = "cpu"; 42270866Simp }; 43270866Simp }; 44270866Simp 45270866Simp memory { 46270866Simp reg = <0x20000000 0x08000000>; 47270866Simp }; 48270866Simp 49270866Simp clocks { 50270866Simp main_xtal: main_xtal { 51270866Simp compatible = "fixed-clock"; 52270866Simp #clock-cells = <0>; 53270866Simp clock-frequency = <0>; 54270866Simp }; 55270866Simp 56270866Simp slow_xtal: slow_xtal { 57270866Simp compatible = "fixed-clock"; 58270866Simp #clock-cells = <0>; 59270866Simp clock-frequency = <0>; 60270866Simp }; 61270866Simp }; 62270866Simp 63284090Sian sram: sram@00300000 { 64284090Sian compatible = "mmio-sram"; 65284090Sian reg = <0x00300000 0x28000>; 66284090Sian }; 67284090Sian 68270866Simp ahb { 69270866Simp compatible = "simple-bus"; 70270866Simp #address-cells = <1>; 71270866Simp #size-cells = <1>; 72270866Simp ranges; 73270866Simp 74270866Simp usb0: ohci@00500000 { 75270866Simp compatible = "atmel,at91rm9200-ohci", "usb-ohci"; 76270866Simp reg = <0x00500000 0x100000>; 77270866Simp interrupts = <20 IRQ_TYPE_LEVEL_HIGH 2>; 78270866Simp clocks = <&usb>, <&ohci_clk>, <&hclk0>, <&uhpck>; 79270866Simp clock-names = "usb_clk", "ohci_clk", "hclk", "uhpck"; 80270866Simp status = "disabled"; 81270866Simp }; 82270866Simp 83270866Simp fb0: fb@0x00600000 { 84270866Simp compatible = "atmel,at91sam9261-lcdc"; 85270866Simp reg = <0x00600000 0x1000>; 86270866Simp interrupts = <21 IRQ_TYPE_LEVEL_HIGH 3>; 87270866Simp pinctrl-names = "default"; 88270866Simp pinctrl-0 = <&pinctrl_fb>; 89270866Simp clocks = <&lcd_clk>, <&hclk1>; 90270866Simp clock-names = "lcdc_clk", "hclk"; 91270866Simp status = "disabled"; 92270866Simp }; 93270866Simp 94270866Simp nand0: nand@40000000 { 95270866Simp compatible = "atmel,at91rm9200-nand"; 96270866Simp #address-cells = <1>; 97270866Simp #size-cells = <1>; 98270866Simp reg = <0x40000000 0x10000000>; 99270866Simp atmel,nand-addr-offset = <22>; 100270866Simp atmel,nand-cmd-offset = <21>; 101270866Simp pinctrl-names = "default"; 102270866Simp pinctrl-0 = <&pinctrl_nand>; 103270866Simp 104270866Simp gpios = <&pioC 15 GPIO_ACTIVE_HIGH>, 105270866Simp <&pioC 14 GPIO_ACTIVE_HIGH>, 106270866Simp <0>; 107270866Simp status = "disabled"; 108270866Simp }; 109270866Simp 110270866Simp apb { 111270866Simp compatible = "simple-bus"; 112270866Simp #address-cells = <1>; 113270866Simp #size-cells = <1>; 114270866Simp ranges; 115270866Simp 116270866Simp tcb0: timer@fffa0000 { 117270866Simp compatible = "atmel,at91rm9200-tcb"; 118270866Simp reg = <0xfffa0000 0x100>; 119270866Simp interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>, 120270866Simp <18 IRQ_TYPE_LEVEL_HIGH 0>, 121270866Simp <19 IRQ_TYPE_LEVEL_HIGH 0>; 122270866Simp clocks = <&tc0_clk>, <&tc1_clk>, <&tc2_clk>; 123270866Simp clock-names = "t0_clk", "t1_clk", "t2_clk"; 124270866Simp }; 125270866Simp 126270866Simp usb1: gadget@fffa4000 { 127270866Simp compatible = "atmel,at91rm9200-udc"; 128270866Simp reg = <0xfffa4000 0x4000>; 129270866Simp interrupts = <10 IRQ_TYPE_LEVEL_HIGH 2>; 130270866Simp clocks = <&usb>, <&udc_clk>, <&udpck>; 131270866Simp clock-names = "usb_clk", "udc_clk", "udpck"; 132270866Simp status = "disabled"; 133270866Simp }; 134270866Simp 135270866Simp mmc0: mmc@fffa8000 { 136270866Simp compatible = "atmel,hsmci"; 137270866Simp reg = <0xfffa8000 0x600>; 138270866Simp interrupts = <9 IRQ_TYPE_LEVEL_HIGH 0>; 139270866Simp pinctrl-names = "default"; 140270866Simp pinctrl-0 = <&pinctrl_mmc0_clk>, <&pinctrl_mmc0_slot0_cmd_dat0>, <&pinctrl_mmc0_slot0_dat1_3>; 141270866Simp #address-cells = <1>; 142270866Simp #size-cells = <0>; 143270866Simp clocks = <&mci0_clk>; 144270866Simp clock-names = "mci_clk"; 145270866Simp status = "disabled"; 146270866Simp }; 147270866Simp 148270866Simp i2c0: i2c@fffac000 { 149270866Simp compatible = "atmel,at91sam9261-i2c"; 150270866Simp pinctrl-names = "default"; 151270866Simp pinctrl-0 = <&pinctrl_i2c_twi>; 152270866Simp reg = <0xfffac000 0x100>; 153270866Simp interrupts = <11 IRQ_TYPE_LEVEL_HIGH 6>; 154270866Simp #address-cells = <1>; 155270866Simp #size-cells = <0>; 156270866Simp clocks = <&twi0_clk>; 157270866Simp status = "disabled"; 158270866Simp }; 159270866Simp 160270866Simp usart0: serial@fffb0000 { 161270866Simp compatible = "atmel,at91sam9260-usart"; 162270866Simp reg = <0xfffb0000 0x200>; 163270866Simp interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>; 164270866Simp atmel,use-dma-rx; 165270866Simp atmel,use-dma-tx; 166270866Simp pinctrl-names = "default"; 167270866Simp pinctrl-0 = <&pinctrl_usart0>; 168270866Simp clocks = <&usart0_clk>; 169270866Simp clock-names = "usart"; 170270866Simp status = "disabled"; 171270866Simp }; 172270866Simp 173270866Simp usart1: serial@fffb4000 { 174270866Simp compatible = "atmel,at91sam9260-usart"; 175270866Simp reg = <0xfffb4000 0x200>; 176270866Simp interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>; 177270866Simp atmel,use-dma-rx; 178270866Simp atmel,use-dma-tx; 179270866Simp pinctrl-names = "default"; 180270866Simp pinctrl-0 = <&pinctrl_usart1>; 181270866Simp clocks = <&usart1_clk>; 182270866Simp clock-names = "usart"; 183270866Simp status = "disabled"; 184270866Simp }; 185270866Simp 186270866Simp usart2: serial@fffb8000{ 187270866Simp compatible = "atmel,at91sam9260-usart"; 188270866Simp reg = <0xfffb8000 0x200>; 189270866Simp interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>; 190270866Simp atmel,use-dma-rx; 191270866Simp atmel,use-dma-tx; 192270866Simp pinctrl-names = "default"; 193270866Simp pinctrl-0 = <&pinctrl_usart2>; 194270866Simp clocks = <&usart2_clk>; 195270866Simp clock-names = "usart"; 196270866Simp status = "disabled"; 197270866Simp }; 198270866Simp 199270866Simp ssc0: ssc@fffbc000 { 200270866Simp compatible = "atmel,at91rm9200-ssc"; 201270866Simp reg = <0xfffbc000 0x4000>; 202270866Simp interrupts = <14 IRQ_TYPE_LEVEL_HIGH 5>; 203270866Simp pinctrl-names = "default"; 204270866Simp pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>; 205270866Simp clocks = <&ssc0_clk>; 206270866Simp clock-names = "pclk"; 207270866Simp status = "disabled"; 208270866Simp }; 209270866Simp 210270866Simp ssc1: ssc@fffc0000 { 211270866Simp compatible = "atmel,at91rm9200-ssc"; 212270866Simp reg = <0xfffc0000 0x4000>; 213270866Simp interrupts = <15 IRQ_TYPE_LEVEL_HIGH 5>; 214270866Simp pinctrl-names = "default"; 215270866Simp pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>; 216270866Simp clocks = <&ssc1_clk>; 217270866Simp clock-names = "pclk"; 218270866Simp status = "disabled"; 219270866Simp }; 220270866Simp 221270866Simp ssc2: ssc@fffc4000 { 222270866Simp compatible = "atmel,at91rm9200-ssc"; 223270866Simp reg = <0xfffc4000 0x4000>; 224270866Simp interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>; 225270866Simp pinctrl-names = "default"; 226270866Simp pinctrl-0 = <&pinctrl_ssc2_tx &pinctrl_ssc2_rx>; 227270866Simp clocks = <&ssc2_clk>; 228270866Simp clock-names = "pclk"; 229270866Simp status = "disabled"; 230270866Simp }; 231270866Simp 232270866Simp spi0: spi@fffc8000 { 233270866Simp #address-cells = <1>; 234270866Simp #size-cells = <0>; 235270866Simp compatible = "atmel,at91rm9200-spi"; 236270866Simp reg = <0xfffc8000 0x200>; 237270866Simp cs-gpios = <0>, <0>, <0>, <0>; 238270866Simp interrupts = <12 IRQ_TYPE_LEVEL_HIGH 3>; 239270866Simp pinctrl-names = "default"; 240270866Simp pinctrl-0 = <&pinctrl_spi0>; 241270866Simp clocks = <&spi0_clk>; 242270866Simp clock-names = "spi_clk"; 243270866Simp status = "disabled"; 244270866Simp }; 245270866Simp 246270866Simp spi1: spi@fffcc000 { 247270866Simp #address-cells = <1>; 248270866Simp #size-cells = <0>; 249270866Simp compatible = "atmel,at91rm9200-spi"; 250270866Simp reg = <0xfffcc000 0x200>; 251270866Simp interrupts = <13 IRQ_TYPE_LEVEL_HIGH 3>; 252270866Simp pinctrl-names = "default"; 253270866Simp pinctrl-0 = <&pinctrl_spi1>; 254270866Simp clocks = <&spi1_clk>; 255270866Simp clock-names = "spi_clk"; 256270866Simp status = "disabled"; 257270866Simp }; 258270866Simp 259270866Simp ramc: ramc@ffffea00 { 260270866Simp compatible = "atmel,at91sam9260-sdramc"; 261270866Simp reg = <0xffffea00 0x200>; 262270866Simp }; 263270866Simp 264270866Simp matrix: matrix@ffffee00 { 265270866Simp compatible = "atmel,at91sam9260-bus-matrix"; 266270866Simp reg = <0xffffee00 0x200>; 267270866Simp }; 268270866Simp 269270866Simp aic: interrupt-controller@fffff000 { 270270866Simp #interrupt-cells = <3>; 271270866Simp compatible = "atmel,at91rm9200-aic"; 272270866Simp interrupt-controller; 273270866Simp reg = <0xfffff000 0x200>; 274270866Simp atmel,external-irqs = <29 30 31>; 275270866Simp }; 276270866Simp 277270866Simp dbgu: serial@fffff200 { 278270866Simp compatible = "atmel,at91sam9260-usart"; 279270866Simp reg = <0xfffff200 0x200>; 280270866Simp interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; 281270866Simp pinctrl-names = "default"; 282270866Simp pinctrl-0 = <&pinctrl_dbgu>; 283270866Simp clocks = <&mck>; 284270866Simp clock-names = "usart"; 285270866Simp status = "disabled"; 286270866Simp }; 287270866Simp 288270866Simp pinctrl@fffff400 { 289270866Simp #address-cells = <1>; 290270866Simp #size-cells = <1>; 291270866Simp compatible = "atmel,at91rm9200-pinctrl", "simple-bus"; 292270866Simp ranges = <0xfffff400 0xfffff400 0x600>; 293270866Simp 294270866Simp atmel,mux-mask = 295270866Simp /* A B */ 296270866Simp <0xffffffff 0xfffffff7>, /* pioA */ 297270866Simp <0xffffffff 0xfffffff4>, /* pioB */ 298270866Simp <0xffffffff 0xffffff07>; /* pioC */ 299270866Simp 300270866Simp /* shared pinctrl settings */ 301270866Simp dbgu { 302270866Simp pinctrl_dbgu: dbgu-0 { 303270866Simp atmel,pins = 304270866Simp <AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_NONE>, 305270866Simp <AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; 306270866Simp }; 307270866Simp }; 308270866Simp 309270866Simp usart0 { 310270866Simp pinctrl_usart0: usart0-0 { 311270866Simp atmel,pins = 312270866Simp <AT91_PIOC 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>, 313270866Simp <AT91_PIOC 9 AT91_PERIPH_A AT91_PINCTRL_NONE>; 314270866Simp }; 315270866Simp 316270866Simp pinctrl_usart0_rts: usart0_rts-0 { 317270866Simp atmel,pins = 318270866Simp <AT91_PIOC 10 AT91_PERIPH_A AT91_PINCTRL_NONE>; 319270866Simp }; 320270866Simp 321270866Simp pinctrl_usart0_cts: usart0_cts-0 { 322270866Simp atmel,pins = 323270866Simp <AT91_PIOC 11 AT91_PERIPH_A AT91_PINCTRL_NONE>; 324270866Simp }; 325270866Simp }; 326270866Simp 327270866Simp usart1 { 328270866Simp pinctrl_usart1: usart1-0 { 329270866Simp atmel,pins = 330270866Simp <AT91_PIOC 12 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>, 331270866Simp <AT91_PIOC 13 AT91_PERIPH_A AT91_PINCTRL_NONE>; 332270866Simp }; 333270866Simp 334270866Simp pinctrl_usart1_rts: usart1_rts-0 { 335270866Simp atmel,pins = 336270866Simp <AT91_PIOA 12 AT91_PERIPH_B AT91_PINCTRL_NONE>; 337270866Simp }; 338270866Simp 339270866Simp pinctrl_usart1_cts: usart1_cts-0 { 340270866Simp atmel,pins = 341270866Simp <AT91_PIOA 13 AT91_PERIPH_B AT91_PINCTRL_NONE>; 342270866Simp }; 343270866Simp }; 344270866Simp 345270866Simp usart2 { 346270866Simp pinctrl_usart2: usart2-0 { 347270866Simp atmel,pins = 348270866Simp <AT91_PIOC 14 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>, 349270866Simp <AT91_PIOC 15 AT91_PERIPH_A AT91_PINCTRL_NONE>; 350270866Simp }; 351270866Simp 352270866Simp pinctrl_usart2_rts: usart2_rts-0 { 353270866Simp atmel,pins = 354270866Simp <AT91_PIOA 15 AT91_PERIPH_B AT91_PINCTRL_NONE>; 355270866Simp }; 356270866Simp 357270866Simp pinctrl_usart2_cts: usart2_cts-0 { 358270866Simp atmel,pins = 359270866Simp <AT91_PIOA 16 AT91_PERIPH_B AT91_PINCTRL_NONE>; 360270866Simp }; 361270866Simp }; 362270866Simp 363270866Simp nand { 364270866Simp pinctrl_nand: nand-0 { 365270866Simp atmel,pins = 366270866Simp <AT91_PIOC 15 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>, 367270866Simp <AT91_PIOC 14 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>; 368270866Simp }; 369270866Simp }; 370270866Simp 371270866Simp mmc0 { 372270866Simp pinctrl_mmc0_clk: mmc0_clk-0 { 373270866Simp atmel,pins = 374270866Simp <AT91_PIOA 2 AT91_PERIPH_B AT91_PINCTRL_NONE>; 375270866Simp }; 376270866Simp 377270866Simp pinctrl_mmc0_slot0_cmd_dat0: mmc0_slot0_cmd_dat0-0 { 378270866Simp atmel,pins = 379270866Simp <AT91_PIOA 1 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>, 380270866Simp <AT91_PIOA 0 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; 381270866Simp }; 382270866Simp 383270866Simp pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 { 384270866Simp atmel,pins = 385270866Simp <AT91_PIOA 4 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>, 386270866Simp <AT91_PIOA 5 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>, 387270866Simp <AT91_PIOA 6 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; 388270866Simp }; 389270866Simp }; 390270866Simp 391270866Simp ssc0 { 392270866Simp pinctrl_ssc0_tx: ssc0_tx-0 { 393270866Simp atmel,pins = 394270866Simp <AT91_PIOB 21 AT91_PERIPH_A AT91_PINCTRL_NONE>, 395270866Simp <AT91_PIOB 22 AT91_PERIPH_A AT91_PINCTRL_NONE>, 396270866Simp <AT91_PIOB 23 AT91_PERIPH_A AT91_PINCTRL_NONE>; 397270866Simp }; 398270866Simp 399270866Simp pinctrl_ssc0_rx: ssc0_rx-0 { 400270866Simp atmel,pins = 401270866Simp <AT91_PIOB 24 AT91_PERIPH_A AT91_PINCTRL_NONE>, 402270866Simp <AT91_PIOB 25 AT91_PERIPH_A AT91_PINCTRL_NONE>, 403270866Simp <AT91_PIOB 26 AT91_PERIPH_A AT91_PINCTRL_NONE>; 404270866Simp }; 405270866Simp }; 406270866Simp 407270866Simp ssc1 { 408270866Simp pinctrl_ssc1_tx: ssc1_tx-0 { 409270866Simp atmel,pins = 410270866Simp <AT91_PIOA 17 AT91_PERIPH_B AT91_PINCTRL_NONE>, 411270866Simp <AT91_PIOA 18 AT91_PERIPH_B AT91_PINCTRL_NONE>, 412270866Simp <AT91_PIOA 19 AT91_PERIPH_B AT91_PINCTRL_NONE>; 413270866Simp }; 414270866Simp 415270866Simp pinctrl_ssc1_rx: ssc1_rx-0 { 416270866Simp atmel,pins = 417270866Simp <AT91_PIOA 20 AT91_PERIPH_B AT91_PINCTRL_NONE>, 418270866Simp <AT91_PIOA 21 AT91_PERIPH_B AT91_PINCTRL_NONE>, 419270866Simp <AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE>; 420270866Simp }; 421270866Simp }; 422270866Simp 423270866Simp ssc2 { 424270866Simp pinctrl_ssc2_tx: ssc2_tx-0 { 425270866Simp atmel,pins = 426270866Simp <AT91_PIOC 25 AT91_PERIPH_B AT91_PINCTRL_NONE>, 427270866Simp <AT91_PIOC 26 AT91_PERIPH_B AT91_PINCTRL_NONE>, 428270866Simp <AT91_PIOC 27 AT91_PERIPH_B AT91_PINCTRL_NONE>; 429270866Simp }; 430270866Simp 431270866Simp pinctrl_ssc2_rx: ssc2_rx-0 { 432270866Simp atmel,pins = 433270866Simp <AT91_PIOC 28 AT91_PERIPH_B AT91_PINCTRL_NONE>, 434270866Simp <AT91_PIOC 29 AT91_PERIPH_B AT91_PINCTRL_NONE>, 435270866Simp <AT91_PIOC 30 AT91_PERIPH_B AT91_PINCTRL_NONE>; 436270866Simp }; 437270866Simp }; 438270866Simp 439270866Simp spi0 { 440270866Simp pinctrl_spi0: spi0-0 { 441270866Simp atmel,pins = 442270866Simp <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE>, 443270866Simp <AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE>, 444270866Simp <AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE>; 445270866Simp }; 446270866Simp }; 447270866Simp 448270866Simp spi1 { 449270866Simp pinctrl_spi1: spi1-0 { 450270866Simp atmel,pins = 451270866Simp <AT91_PIOB 30 AT91_PERIPH_A AT91_PINCTRL_NONE>, 452270866Simp <AT91_PIOB 31 AT91_PERIPH_A AT91_PINCTRL_NONE>, 453270866Simp <AT91_PIOB 29 AT91_PERIPH_A AT91_PINCTRL_NONE>; 454270866Simp }; 455270866Simp }; 456270866Simp 457270866Simp tcb0 { 458270866Simp pinctrl_tcb0_tclk0: tcb0_tclk0-0 { 459270866Simp atmel,pins = <AT91_PIOC 16 AT91_PERIPH_B AT91_PINCTRL_NONE>; 460270866Simp }; 461270866Simp 462270866Simp pinctrl_tcb0_tclk1: tcb0_tclk1-0 { 463270866Simp atmel,pins = <AT91_PIOC 17 AT91_PERIPH_B AT91_PINCTRL_NONE>; 464270866Simp }; 465270866Simp 466270866Simp pinctrl_tcb0_tclk2: tcb0_tclk2-0 { 467270866Simp atmel,pins = <AT91_PIOC 18 AT91_PERIPH_B AT91_PINCTRL_NONE>; 468270866Simp }; 469270866Simp 470270866Simp pinctrl_tcb0_tioa0: tcb0_tioa0-0 { 471270866Simp atmel,pins = <AT91_PIOC 19 AT91_PERIPH_B AT91_PINCTRL_NONE>; 472270866Simp }; 473270866Simp 474270866Simp pinctrl_tcb0_tioa1: tcb0_tioa1-0 { 475270866Simp atmel,pins = <AT91_PIOC 21 AT91_PERIPH_B AT91_PINCTRL_NONE>; 476270866Simp }; 477270866Simp 478270866Simp pinctrl_tcb0_tioa2: tcb0_tioa2-0 { 479270866Simp atmel,pins = <AT91_PIOC 23 AT91_PERIPH_B AT91_PINCTRL_NONE>; 480270866Simp }; 481270866Simp 482270866Simp pinctrl_tcb0_tiob0: tcb0_tiob0-0 { 483270866Simp atmel,pins = <AT91_PIOC 20 AT91_PERIPH_B AT91_PINCTRL_NONE>; 484270866Simp }; 485270866Simp 486270866Simp pinctrl_tcb0_tiob1: tcb0_tiob1-0 { 487270866Simp atmel,pins = <AT91_PIOC 22 AT91_PERIPH_B AT91_PINCTRL_NONE>; 488270866Simp }; 489270866Simp 490270866Simp pinctrl_tcb0_tiob2: tcb0_tiob2-0 { 491270866Simp atmel,pins = <AT91_PIOC 24 AT91_PERIPH_B AT91_PINCTRL_NONE>; 492270866Simp }; 493270866Simp }; 494270866Simp 495270866Simp i2c0 { 496270866Simp pinctrl_i2c_bitbang: i2c-0-bitbang { 497270866Simp atmel,pins = 498270866Simp <AT91_PIOA 7 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>, 499270866Simp <AT91_PIOA 8 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>; 500270866Simp }; 501270866Simp pinctrl_i2c_twi: i2c-0-twi { 502270866Simp atmel,pins = 503270866Simp <AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_NONE>, 504270866Simp <AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_NONE>; 505270866Simp }; 506270866Simp }; 507270866Simp 508270866Simp fb { 509270866Simp pinctrl_fb: fb-0 { 510270866Simp atmel,pins = 511270866Simp <AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE>, 512270866Simp <AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE>, 513270866Simp <AT91_PIOB 3 AT91_PERIPH_A AT91_PINCTRL_NONE>, 514270866Simp <AT91_PIOB 7 AT91_PERIPH_A AT91_PINCTRL_NONE>, 515270866Simp <AT91_PIOB 8 AT91_PERIPH_A AT91_PINCTRL_NONE>, 516270866Simp <AT91_PIOB 9 AT91_PERIPH_A AT91_PINCTRL_NONE>, 517270866Simp <AT91_PIOB 10 AT91_PERIPH_A AT91_PINCTRL_NONE>, 518270866Simp <AT91_PIOB 11 AT91_PERIPH_A AT91_PINCTRL_NONE>, 519270866Simp <AT91_PIOB 12 AT91_PERIPH_A AT91_PINCTRL_NONE>, 520270866Simp <AT91_PIOB 15 AT91_PERIPH_A AT91_PINCTRL_NONE>, 521270866Simp <AT91_PIOB 16 AT91_PERIPH_A AT91_PINCTRL_NONE>, 522270866Simp <AT91_PIOB 17 AT91_PERIPH_A AT91_PINCTRL_NONE>, 523270866Simp <AT91_PIOB 18 AT91_PERIPH_A AT91_PINCTRL_NONE>, 524270866Simp <AT91_PIOB 19 AT91_PERIPH_A AT91_PINCTRL_NONE>, 525270866Simp <AT91_PIOB 20 AT91_PERIPH_A AT91_PINCTRL_NONE>, 526270866Simp <AT91_PIOB 23 AT91_PERIPH_B AT91_PINCTRL_NONE>, 527270866Simp <AT91_PIOB 24 AT91_PERIPH_B AT91_PINCTRL_NONE>, 528270866Simp <AT91_PIOB 25 AT91_PERIPH_B AT91_PINCTRL_NONE>, 529270866Simp <AT91_PIOB 26 AT91_PERIPH_B AT91_PINCTRL_NONE>, 530270866Simp <AT91_PIOB 27 AT91_PERIPH_B AT91_PINCTRL_NONE>, 531270866Simp <AT91_PIOB 28 AT91_PERIPH_B AT91_PINCTRL_NONE>; 532270866Simp }; 533270866Simp }; 534270866Simp 535270866Simp pioA: gpio@fffff400 { 536270866Simp compatible = "atmel,at91rm9200-gpio"; 537270866Simp reg = <0xfffff400 0x200>; 538270866Simp interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>; 539270866Simp #gpio-cells = <2>; 540270866Simp gpio-controller; 541270866Simp interrupt-controller; 542270866Simp #interrupt-cells = <2>; 543270866Simp clocks = <&pioA_clk>; 544270866Simp }; 545270866Simp 546270866Simp pioB: gpio@fffff600 { 547270866Simp compatible = "atmel,at91rm9200-gpio"; 548270866Simp reg = <0xfffff600 0x200>; 549270866Simp interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>; 550270866Simp #gpio-cells = <2>; 551270866Simp gpio-controller; 552270866Simp interrupt-controller; 553270866Simp #interrupt-cells = <2>; 554270866Simp clocks = <&pioB_clk>; 555270866Simp }; 556270866Simp 557270866Simp pioC: gpio@fffff800 { 558270866Simp compatible = "atmel,at91rm9200-gpio"; 559270866Simp reg = <0xfffff800 0x200>; 560270866Simp interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>; 561270866Simp #gpio-cells = <2>; 562270866Simp gpio-controller; 563270866Simp interrupt-controller; 564270866Simp #interrupt-cells = <2>; 565270866Simp clocks = <&pioC_clk>; 566270866Simp }; 567270866Simp }; 568270866Simp 569270866Simp pmc: pmc@fffffc00 { 570270866Simp compatible = "atmel,at91rm9200-pmc"; 571270866Simp reg = <0xfffffc00 0x100>; 572270866Simp interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; 573270866Simp interrupt-controller; 574270866Simp #address-cells = <1>; 575270866Simp #size-cells = <0>; 576270866Simp #interrupt-cells = <1>; 577270866Simp 578270866Simp main_osc: main_osc { 579270866Simp compatible = "atmel,at91rm9200-clk-main-osc"; 580270866Simp #clock-cells = <0>; 581270866Simp interrupts-extended = <&pmc AT91_PMC_MOSCS>; 582270866Simp clocks = <&main_xtal>; 583270866Simp }; 584270866Simp 585270866Simp main: mainck { 586270866Simp compatible = "atmel,at91rm9200-clk-main"; 587270866Simp #clock-cells = <0>; 588270866Simp clocks = <&main_osc>; 589270866Simp }; 590270866Simp 591270866Simp plla: pllack { 592270866Simp compatible = "atmel,at91rm9200-clk-pll"; 593270866Simp #clock-cells = <0>; 594270866Simp interrupts-extended = <&pmc AT91_PMC_LOCKA>; 595270866Simp clocks = <&main>; 596270866Simp reg = <0>; 597270866Simp atmel,clk-input-range = <1000000 32000000>; 598270866Simp #atmel,pll-clk-output-range-cells = <4>; 599270866Simp atmel,pll-clk-output-ranges = <80000000 200000000 0 1>, 600270866Simp <190000000 240000000 2 1>; 601270866Simp }; 602270866Simp 603270866Simp pllb: pllbck { 604270866Simp compatible = "atmel,at91rm9200-clk-pll"; 605270866Simp #clock-cells = <0>; 606270866Simp interrupts-extended = <&pmc AT91_PMC_LOCKB>; 607270866Simp clocks = <&main>; 608270866Simp reg = <1>; 609270866Simp atmel,clk-input-range = <1000000 5000000>; 610270866Simp #atmel,pll-clk-output-range-cells = <4>; 611270866Simp atmel,pll-clk-output-ranges = <70000000 130000000 1 1>; 612270866Simp }; 613270866Simp 614270866Simp mck: masterck { 615270866Simp compatible = "atmel,at91rm9200-clk-master"; 616270866Simp #clock-cells = <0>; 617270866Simp interrupts-extended = <&pmc AT91_PMC_MCKRDY>; 618270866Simp clocks = <&slow_xtal>, <&main>, <&plla>, <&pllb>; 619270866Simp atmel,clk-output-range = <0 94000000>; 620270866Simp atmel,clk-divisors = <1 2 4 0>; 621270866Simp }; 622270866Simp 623270866Simp usb: usbck { 624270866Simp compatible = "atmel,at91rm9200-clk-usb"; 625270866Simp #clock-cells = <0>; 626270866Simp atmel,clk-divisors = <1 2 4 0>; 627270866Simp clocks = <&pllb>; 628270866Simp }; 629270866Simp 630270866Simp prog: progck { 631270866Simp compatible = "atmel,at91rm9200-clk-programmable"; 632270866Simp #address-cells = <1>; 633270866Simp #size-cells = <0>; 634270866Simp interrupt-parent = <&pmc>; 635270866Simp clocks = <&slow_xtal>, <&main>, <&plla>, <&pllb>; 636270866Simp 637270866Simp prog0: prog0 { 638270866Simp #clock-cells = <0>; 639270866Simp reg = <0>; 640270866Simp interrupts = <AT91_PMC_PCKRDY(0)>; 641270866Simp }; 642270866Simp 643270866Simp prog1: prog1 { 644270866Simp #clock-cells = <0>; 645270866Simp reg = <1>; 646270866Simp interrupts = <AT91_PMC_PCKRDY(1)>; 647270866Simp }; 648270866Simp 649270866Simp prog2: prog2 { 650270866Simp #clock-cells = <0>; 651270866Simp reg = <2>; 652270866Simp interrupts = <AT91_PMC_PCKRDY(2)>; 653270866Simp }; 654270866Simp 655270866Simp prog3: prog3 { 656270866Simp #clock-cells = <0>; 657270866Simp reg = <3>; 658270866Simp interrupts = <AT91_PMC_PCKRDY(3)>; 659270866Simp }; 660270866Simp }; 661270866Simp 662270866Simp systemck { 663270866Simp compatible = "atmel,at91rm9200-clk-system"; 664270866Simp #address-cells = <1>; 665270866Simp #size-cells = <0>; 666270866Simp 667270866Simp uhpck: uhpck { 668270866Simp #clock-cells = <0>; 669270866Simp reg = <6>; 670270866Simp clocks = <&usb>; 671270866Simp }; 672270866Simp 673270866Simp udpck: udpck { 674270866Simp #clock-cells = <0>; 675270866Simp reg = <7>; 676270866Simp clocks = <&usb>; 677270866Simp }; 678270866Simp 679270866Simp pck0: pck0 { 680270866Simp #clock-cells = <0>; 681270866Simp reg = <8>; 682270866Simp clocks = <&prog0>; 683270866Simp }; 684270866Simp 685270866Simp pck1: pck1 { 686270866Simp #clock-cells = <0>; 687270866Simp reg = <9>; 688270866Simp clocks = <&prog1>; 689270866Simp }; 690270866Simp 691270866Simp pck2: pck2 { 692270866Simp #clock-cells = <0>; 693270866Simp reg = <10>; 694270866Simp clocks = <&prog2>; 695270866Simp }; 696270866Simp 697270866Simp pck3: pck3 { 698270866Simp #clock-cells = <0>; 699270866Simp reg = <11>; 700270866Simp clocks = <&prog3>; 701270866Simp }; 702270866Simp 703270866Simp hclk0: hclk0 { 704270866Simp #clock-cells = <0>; 705270866Simp reg = <16>; 706270866Simp clocks = <&mck>; 707270866Simp }; 708270866Simp 709270866Simp hclk1: hclk1 { 710270866Simp #clock-cells = <0>; 711270866Simp reg = <17>; 712270866Simp clocks = <&mck>; 713270866Simp }; 714270866Simp }; 715270866Simp 716270866Simp periphck { 717270866Simp compatible = "atmel,at91rm9200-clk-peripheral"; 718270866Simp #address-cells = <1>; 719270866Simp #size-cells = <0>; 720270866Simp clocks = <&mck>; 721270866Simp 722270866Simp pioA_clk: pioA_clk { 723270866Simp #clock-cells = <0>; 724270866Simp reg = <2>; 725270866Simp }; 726270866Simp 727270866Simp pioB_clk: pioB_clk { 728270866Simp #clock-cells = <0>; 729270866Simp reg = <3>; 730270866Simp }; 731270866Simp 732270866Simp pioC_clk: pioC_clk { 733270866Simp #clock-cells = <0>; 734270866Simp reg = <4>; 735270866Simp }; 736270866Simp 737270866Simp usart0_clk: usart0_clk { 738270866Simp #clock-cells = <0>; 739270866Simp reg = <6>; 740270866Simp }; 741270866Simp 742270866Simp usart1_clk: usart1_clk { 743270866Simp #clock-cells = <0>; 744270866Simp reg = <7>; 745270866Simp }; 746270866Simp 747270866Simp usart2_clk: usart2_clk { 748270866Simp #clock-cells = <0>; 749270866Simp reg = <8>; 750270866Simp }; 751270866Simp 752270866Simp mci0_clk: mci0_clk { 753270866Simp #clock-cells = <0>; 754270866Simp reg = <9>; 755270866Simp }; 756270866Simp 757270866Simp udc_clk: udc_clk { 758270866Simp #clock-cells = <0>; 759270866Simp reg = <10>; 760270866Simp }; 761270866Simp 762270866Simp twi0_clk: twi0_clk { 763270866Simp reg = <11>; 764270866Simp #clock-cells = <0>; 765270866Simp }; 766270866Simp 767270866Simp spi0_clk: spi0_clk { 768270866Simp #clock-cells = <0>; 769270866Simp reg = <12>; 770270866Simp }; 771270866Simp 772270866Simp spi1_clk: spi1_clk { 773270866Simp #clock-cells = <0>; 774270866Simp reg = <13>; 775270866Simp }; 776270866Simp 777270866Simp ssc0_clk: ssc0_clk { 778270866Simp #clock-cells = <0>; 779270866Simp reg = <14>; 780270866Simp }; 781270866Simp 782270866Simp ssc1_clk: ssc1_clk { 783270866Simp #clock-cells = <0>; 784270866Simp reg = <15>; 785270866Simp }; 786270866Simp 787270866Simp ssc2_clk: ssc2_clk { 788270866Simp #clock-cells = <0>; 789270866Simp reg = <16>; 790270866Simp }; 791270866Simp 792270866Simp tc0_clk: tc0_clk { 793270866Simp #clock-cells = <0>; 794270866Simp reg = <17>; 795270866Simp }; 796270866Simp 797270866Simp tc1_clk: tc1_clk { 798270866Simp #clock-cells = <0>; 799270866Simp reg = <18>; 800270866Simp }; 801270866Simp 802270866Simp tc2_clk: tc2_clk { 803270866Simp #clock-cells = <0>; 804270866Simp reg = <19>; 805270866Simp }; 806270866Simp 807270866Simp ohci_clk: ohci_clk { 808270866Simp #clock-cells = <0>; 809270866Simp reg = <20>; 810270866Simp }; 811270866Simp 812270866Simp lcd_clk: lcd_clk { 813270866Simp #clock-cells = <0>; 814270866Simp reg = <21>; 815270866Simp }; 816270866Simp }; 817270866Simp }; 818270866Simp 819270866Simp rstc@fffffd00 { 820270866Simp compatible = "atmel,at91sam9260-rstc"; 821270866Simp reg = <0xfffffd00 0x10>; 822270866Simp }; 823270866Simp 824270866Simp shdwc@fffffd10 { 825270866Simp compatible = "atmel,at91sam9260-shdwc"; 826270866Simp reg = <0xfffffd10 0x10>; 827270866Simp }; 828270866Simp 829270866Simp pit: timer@fffffd30 { 830270866Simp compatible = "atmel,at91sam9260-pit"; 831270866Simp reg = <0xfffffd30 0xf>; 832270866Simp interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; 833270866Simp clocks = <&mck>; 834270866Simp }; 835270866Simp 836284090Sian rtc@fffffd20 { 837284090Sian compatible = "atmel,at91sam9260-rtt"; 838284090Sian reg = <0xfffffd20 0x10>; 839284090Sian interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; 840284090Sian clocks = <&slow_xtal>; 841284090Sian status = "disabled"; 842284090Sian }; 843284090Sian 844270866Simp watchdog@fffffd40 { 845270866Simp compatible = "atmel,at91sam9260-wdt"; 846270866Simp reg = <0xfffffd40 0x10>; 847270866Simp interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; 848270866Simp status = "disabled"; 849270866Simp }; 850284090Sian 851284090Sian gpbr: syscon@fffffd50 { 852284090Sian compatible = "atmel,at91sam9260-gpbr", "syscon"; 853284090Sian reg = <0xfffffd50 0x10>; 854284090Sian status = "disabled"; 855284090Sian }; 856270866Simp }; 857270866Simp }; 858270866Simp 859270866Simp i2c@0 { 860270866Simp compatible = "i2c-gpio"; 861270866Simp pinctrl-names = "default"; 862270866Simp pinctrl-0 = <&pinctrl_i2c_bitbang>; 863270866Simp gpios = <&pioA 7 GPIO_ACTIVE_HIGH>, /* sda */ 864270866Simp <&pioA 8 GPIO_ACTIVE_HIGH>; /* scl */ 865270866Simp i2c-gpio,sda-open-drain; 866270866Simp i2c-gpio,scl-open-drain; 867270866Simp i2c-gpio,delay-us = <2>; /* ~100 kHz */ 868270866Simp #address-cells = <1>; 869270866Simp #size-cells = <0>; 870270866Simp status = "disabled"; 871270866Simp }; 872270866Simp}; 873