1270866Simp/* 2270866Simp * at91sam9rl.dtsi - Device Tree Include file for AT91SAM9RL family SoC 3270866Simp * 4270866Simp * Copyright (C) 2014 Alexandre Belloni <alexandre.belloni@free-electrons.com> 5270866Simp * 6270866Simp * Licensed under GPLv2 or later. 7270866Simp */ 8270866Simp 9270866Simp#include "skeleton.dtsi" 10270866Simp#include <dt-bindings/pinctrl/at91.h> 11270866Simp#include <dt-bindings/clock/at91.h> 12270866Simp#include <dt-bindings/interrupt-controller/irq.h> 13270866Simp#include <dt-bindings/gpio/gpio.h> 14270866Simp#include <dt-bindings/pwm/pwm.h> 15270866Simp 16270866Simp/ { 17270866Simp model = "Atmel AT91SAM9RL family SoC"; 18270866Simp compatible = "atmel,at91sam9rl", "atmel,at91sam9"; 19270866Simp interrupt-parent = <&aic>; 20270866Simp 21270866Simp aliases { 22270866Simp serial0 = &dbgu; 23270866Simp serial1 = &usart0; 24270866Simp serial2 = &usart1; 25270866Simp serial3 = &usart2; 26270866Simp serial4 = &usart3; 27270866Simp gpio0 = &pioA; 28270866Simp gpio1 = &pioB; 29270866Simp gpio2 = &pioC; 30270866Simp gpio3 = &pioD; 31270866Simp tcb0 = &tcb0; 32270866Simp i2c0 = &i2c0; 33270866Simp i2c1 = &i2c1; 34270866Simp ssc0 = &ssc0; 35270866Simp ssc1 = &ssc1; 36270866Simp pwm0 = &pwm0; 37270866Simp }; 38270866Simp 39270866Simp cpus { 40270866Simp #address-cells = <0>; 41270866Simp #size-cells = <0>; 42270866Simp 43270866Simp cpu { 44270866Simp compatible = "arm,arm926ej-s"; 45270866Simp device_type = "cpu"; 46270866Simp }; 47270866Simp }; 48270866Simp 49270866Simp memory { 50270866Simp reg = <0x20000000 0x04000000>; 51270866Simp }; 52270866Simp 53270866Simp clocks { 54270866Simp slow_xtal: slow_xtal { 55270866Simp compatible = "fixed-clock"; 56270866Simp #clock-cells = <0>; 57270866Simp clock-frequency = <0>; 58270866Simp }; 59270866Simp 60270866Simp main_xtal: main_xtal { 61270866Simp compatible = "fixed-clock"; 62270866Simp #clock-cells = <0>; 63270866Simp clock-frequency = <0>; 64270866Simp }; 65270866Simp 66270866Simp adc_op_clk: adc_op_clk{ 67270866Simp compatible = "fixed-clock"; 68270866Simp #clock-cells = <0>; 69270866Simp clock-frequency = <1000000>; 70270866Simp }; 71270866Simp }; 72270866Simp 73284090Sian sram: sram@00300000 { 74284090Sian compatible = "mmio-sram"; 75284090Sian reg = <0x00300000 0x10000>; 76284090Sian }; 77284090Sian 78270866Simp ahb { 79270866Simp compatible = "simple-bus"; 80270866Simp #address-cells = <1>; 81270866Simp #size-cells = <1>; 82270866Simp ranges; 83270866Simp 84270866Simp fb0: fb@00500000 { 85270866Simp compatible = "atmel,at91sam9rl-lcdc"; 86270866Simp reg = <0x00500000 0x1000>; 87270866Simp interrupts = <23 IRQ_TYPE_LEVEL_HIGH 3>; 88270866Simp pinctrl-names = "default"; 89270866Simp pinctrl-0 = <&pinctrl_fb>; 90270866Simp clocks = <&lcd_clk>, <&lcd_clk>; 91270866Simp clock-names = "hclk", "lcdc_clk"; 92270866Simp status = "disabled"; 93270866Simp }; 94270866Simp 95270866Simp nand0: nand@40000000 { 96270866Simp compatible = "atmel,at91rm9200-nand"; 97270866Simp #address-cells = <1>; 98270866Simp #size-cells = <1>; 99270866Simp reg = <0x40000000 0x10000000>, 100270866Simp <0xffffe800 0x200>; 101270866Simp atmel,nand-addr-offset = <21>; 102270866Simp atmel,nand-cmd-offset = <22>; 103270866Simp atmel,nand-has-dma; 104270866Simp pinctrl-names = "default"; 105270866Simp pinctrl-0 = <&pinctrl_nand>; 106270866Simp gpios = <&pioD 17 GPIO_ACTIVE_HIGH>, 107270866Simp <&pioB 6 GPIO_ACTIVE_HIGH>, 108270866Simp <0>; 109270866Simp status = "disabled"; 110270866Simp }; 111270866Simp 112270866Simp apb { 113270866Simp compatible = "simple-bus"; 114270866Simp #address-cells = <1>; 115270866Simp #size-cells = <1>; 116270866Simp ranges; 117270866Simp 118270866Simp tcb0: timer@fffa0000 { 119270866Simp compatible = "atmel,at91rm9200-tcb"; 120270866Simp reg = <0xfffa0000 0x100>; 121270866Simp interrupts = <16 IRQ_TYPE_LEVEL_HIGH 0>, 122270866Simp <17 IRQ_TYPE_LEVEL_HIGH 0>, 123270866Simp <18 IRQ_TYPE_LEVEL_HIGH 0>; 124270866Simp clocks = <&tc0_clk>, <&tc1_clk>, <&tc2_clk>; 125270866Simp clock-names = "t0_clk", "t1_clk", "t2_clk"; 126270866Simp }; 127270866Simp 128270866Simp mmc0: mmc@fffa4000 { 129270866Simp compatible = "atmel,hsmci"; 130270866Simp reg = <0xfffa4000 0x600>; 131270866Simp interrupts = <10 IRQ_TYPE_LEVEL_HIGH 0>; 132270866Simp #address-cells = <1>; 133270866Simp #size-cells = <0>; 134270866Simp pinctrl-names = "default"; 135270866Simp clocks = <&mci0_clk>; 136270866Simp clock-names = "mci_clk"; 137270866Simp status = "disabled"; 138270866Simp }; 139270866Simp 140270866Simp i2c0: i2c@fffa8000 { 141270866Simp compatible = "atmel,at91sam9260-i2c"; 142270866Simp reg = <0xfffa8000 0x100>; 143270866Simp interrupts = <11 IRQ_TYPE_LEVEL_HIGH 6>; 144270866Simp #address-cells = <1>; 145270866Simp #size-cells = <0>; 146270866Simp clocks = <&twi0_clk>; 147270866Simp status = "disabled"; 148270866Simp }; 149270866Simp 150270866Simp i2c1: i2c@fffac000 { 151270866Simp compatible = "atmel,at91sam9260-i2c"; 152270866Simp reg = <0xfffac000 0x100>; 153270866Simp interrupts = <12 IRQ_TYPE_LEVEL_HIGH 6>; 154270866Simp #address-cells = <1>; 155270866Simp #size-cells = <0>; 156270866Simp status = "disabled"; 157270866Simp }; 158270866Simp 159270866Simp usart0: serial@fffb0000 { 160270866Simp compatible = "atmel,at91sam9260-usart"; 161270866Simp reg = <0xfffb0000 0x200>; 162270866Simp interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>; 163270866Simp atmel,use-dma-rx; 164270866Simp atmel,use-dma-tx; 165270866Simp pinctrl-names = "default"; 166270866Simp pinctrl-0 = <&pinctrl_usart0>; 167270866Simp clocks = <&usart0_clk>; 168270866Simp clock-names = "usart"; 169270866Simp status = "disabled"; 170270866Simp }; 171270866Simp 172270866Simp usart1: serial@fffb4000 { 173270866Simp compatible = "atmel,at91sam9260-usart"; 174270866Simp reg = <0xfffb4000 0x200>; 175270866Simp interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>; 176270866Simp atmel,use-dma-rx; 177270866Simp atmel,use-dma-tx; 178270866Simp pinctrl-names = "default"; 179270866Simp pinctrl-0 = <&pinctrl_usart1>; 180270866Simp clocks = <&usart1_clk>; 181270866Simp clock-names = "usart"; 182270866Simp status = "disabled"; 183270866Simp }; 184270866Simp 185270866Simp usart2: serial@fffb8000 { 186270866Simp compatible = "atmel,at91sam9260-usart"; 187270866Simp reg = <0xfffb8000 0x200>; 188270866Simp interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>; 189270866Simp atmel,use-dma-rx; 190270866Simp atmel,use-dma-tx; 191270866Simp pinctrl-names = "default"; 192270866Simp pinctrl-0 = <&pinctrl_usart2>; 193270866Simp clocks = <&usart2_clk>; 194270866Simp clock-names = "usart"; 195270866Simp status = "disabled"; 196270866Simp }; 197270866Simp 198270866Simp usart3: serial@fffbc000 { 199270866Simp compatible = "atmel,at91sam9260-usart"; 200270866Simp reg = <0xfffbc000 0x200>; 201270866Simp interrupts = <9 IRQ_TYPE_LEVEL_HIGH 5>; 202270866Simp atmel,use-dma-rx; 203270866Simp atmel,use-dma-tx; 204270866Simp pinctrl-names = "default"; 205270866Simp pinctrl-0 = <&pinctrl_usart3>; 206270866Simp clocks = <&usart3_clk>; 207270866Simp clock-names = "usart"; 208270866Simp status = "disabled"; 209270866Simp }; 210270866Simp 211270866Simp ssc0: ssc@fffc0000 { 212284090Sian compatible = "atmel,at91sam9rl-ssc"; 213270866Simp reg = <0xfffc0000 0x4000>; 214270866Simp interrupts = <14 IRQ_TYPE_LEVEL_HIGH 5>; 215270866Simp pinctrl-names = "default"; 216270866Simp pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>; 217270866Simp status = "disabled"; 218270866Simp }; 219270866Simp 220270866Simp ssc1: ssc@fffc4000 { 221284090Sian compatible = "atmel,at91sam9rl-ssc"; 222270866Simp reg = <0xfffc4000 0x4000>; 223270866Simp interrupts = <15 IRQ_TYPE_LEVEL_HIGH 5>; 224270866Simp pinctrl-names = "default"; 225270866Simp pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>; 226270866Simp status = "disabled"; 227270866Simp }; 228270866Simp 229270866Simp pwm0: pwm@fffc8000 { 230270866Simp compatible = "atmel,at91sam9rl-pwm"; 231270866Simp reg = <0xfffc8000 0x300>; 232270866Simp interrupts = <19 IRQ_TYPE_LEVEL_HIGH 4>; 233270866Simp #pwm-cells = <3>; 234270866Simp clocks = <&pwm_clk>; 235270866Simp clock-names = "pwm_clk"; 236270866Simp status = "disabled"; 237270866Simp }; 238270866Simp 239270866Simp spi0: spi@fffcc000 { 240270866Simp #address-cells = <1>; 241270866Simp #size-cells = <0>; 242270866Simp compatible = "atmel,at91rm9200-spi"; 243270866Simp reg = <0xfffcc000 0x200>; 244270866Simp interrupts = <13 IRQ_TYPE_LEVEL_HIGH 3>; 245270866Simp pinctrl-names = "default"; 246270866Simp pinctrl-0 = <&pinctrl_spi0>; 247270866Simp clocks = <&spi0_clk>; 248270866Simp clock-names = "spi_clk"; 249270866Simp status = "disabled"; 250270866Simp }; 251270866Simp 252270866Simp adc0: adc@fffd0000 { 253270866Simp #address-cells = <1>; 254270866Simp #size-cells = <0>; 255270866Simp compatible = "atmel,at91sam9rl-adc"; 256270866Simp reg = <0xfffd0000 0x100>; 257270866Simp interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0>; 258270866Simp clocks = <&adc_clk>, <&adc_op_clk>; 259270866Simp clock-names = "adc_clk", "adc_op_clk"; 260270866Simp atmel,adc-use-external-triggers; 261270866Simp atmel,adc-channels-used = <0x3f>; 262270866Simp atmel,adc-vref = <3300>; 263270866Simp atmel,adc-startup-time = <40>; 264270866Simp atmel,adc-res = <8 10>; 265270866Simp atmel,adc-res-names = "lowres", "highres"; 266270866Simp atmel,adc-use-res = "highres"; 267270866Simp 268270866Simp trigger@0 { 269270866Simp reg = <0>; 270270866Simp trigger-name = "timer-counter-0"; 271270866Simp trigger-value = <0x1>; 272270866Simp }; 273270866Simp trigger@1 { 274270866Simp reg = <1>; 275270866Simp trigger-name = "timer-counter-1"; 276270866Simp trigger-value = <0x3>; 277270866Simp }; 278270866Simp 279270866Simp trigger@2 { 280270866Simp reg = <2>; 281270866Simp trigger-name = "timer-counter-2"; 282270866Simp trigger-value = <0x5>; 283270866Simp }; 284270866Simp 285270866Simp trigger@3 { 286270866Simp reg = <3>; 287270866Simp trigger-name = "external"; 288270866Simp trigger-value = <0x13>; 289270866Simp trigger-external; 290270866Simp }; 291270866Simp }; 292270866Simp 293270866Simp usb0: gadget@fffd4000 { 294270866Simp #address-cells = <1>; 295270866Simp #size-cells = <0>; 296270866Simp compatible = "atmel,at91sam9rl-udc"; 297270866Simp reg = <0x00600000 0x100000>, 298270866Simp <0xfffd4000 0x4000>; 299270866Simp interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>; 300270866Simp clocks = <&udphs_clk>, <&utmi>; 301270866Simp clock-names = "pclk", "hclk"; 302270866Simp status = "disabled"; 303270866Simp 304270866Simp ep0 { 305270866Simp reg = <0>; 306270866Simp atmel,fifo-size = <64>; 307270866Simp atmel,nb-banks = <1>; 308270866Simp }; 309270866Simp 310270866Simp ep1 { 311270866Simp reg = <1>; 312270866Simp atmel,fifo-size = <1024>; 313270866Simp atmel,nb-banks = <2>; 314270866Simp atmel,can-dma; 315270866Simp atmel,can-isoc; 316270866Simp }; 317270866Simp 318270866Simp ep2 { 319270866Simp reg = <2>; 320270866Simp atmel,fifo-size = <1024>; 321270866Simp atmel,nb-banks = <2>; 322270866Simp atmel,can-dma; 323270866Simp atmel,can-isoc; 324270866Simp }; 325270866Simp 326270866Simp ep3 { 327270866Simp reg = <3>; 328270866Simp atmel,fifo-size = <1024>; 329270866Simp atmel,nb-banks = <3>; 330270866Simp atmel,can-dma; 331270866Simp }; 332270866Simp 333270866Simp ep4 { 334270866Simp reg = <4>; 335270866Simp atmel,fifo-size = <1024>; 336270866Simp atmel,nb-banks = <3>; 337270866Simp atmel,can-dma; 338270866Simp }; 339270866Simp 340270866Simp ep5 { 341270866Simp reg = <5>; 342270866Simp atmel,fifo-size = <1024>; 343270866Simp atmel,nb-banks = <3>; 344270866Simp atmel,can-dma; 345270866Simp atmel,can-isoc; 346270866Simp }; 347270866Simp 348270866Simp ep6 { 349270866Simp reg = <6>; 350270866Simp atmel,fifo-size = <1024>; 351270866Simp atmel,nb-banks = <3>; 352270866Simp atmel,can-dma; 353270866Simp atmel,can-isoc; 354270866Simp }; 355270866Simp }; 356270866Simp 357270866Simp dma0: dma-controller@ffffe600 { 358270866Simp compatible = "atmel,at91sam9rl-dma"; 359270866Simp reg = <0xffffe600 0x200>; 360270866Simp interrupts = <21 IRQ_TYPE_LEVEL_HIGH 0>; 361270866Simp #dma-cells = <2>; 362270866Simp clocks = <&dma0_clk>; 363270866Simp clock-names = "dma_clk"; 364270866Simp }; 365270866Simp 366270866Simp ramc0: ramc@ffffea00 { 367270866Simp compatible = "atmel,at91sam9260-sdramc"; 368270866Simp reg = <0xffffea00 0x200>; 369270866Simp }; 370270866Simp 371270866Simp aic: interrupt-controller@fffff000 { 372270866Simp #interrupt-cells = <3>; 373270866Simp compatible = "atmel,at91rm9200-aic"; 374270866Simp interrupt-controller; 375270866Simp reg = <0xfffff000 0x200>; 376270866Simp atmel,external-irqs = <31>; 377270866Simp }; 378270866Simp 379270866Simp dbgu: serial@fffff200 { 380270866Simp compatible = "atmel,at91sam9260-usart"; 381270866Simp reg = <0xfffff200 0x200>; 382270866Simp interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; 383270866Simp pinctrl-names = "default"; 384270866Simp pinctrl-0 = <&pinctrl_dbgu>; 385270866Simp clocks = <&mck>; 386270866Simp clock-names = "usart"; 387270866Simp status = "disabled"; 388270866Simp }; 389270866Simp 390270866Simp pinctrl@fffff400 { 391270866Simp #address-cells = <1>; 392270866Simp #size-cells = <1>; 393270866Simp compatible = "atmel,at91rm9200-pinctrl", "simple-bus"; 394270866Simp ranges = <0xfffff400 0xfffff400 0x800>; 395270866Simp 396270866Simp atmel,mux-mask = 397270866Simp /* A B */ 398270866Simp <0xffffffff 0xe05c6738>, /* pioA */ 399270866Simp <0xffffffff 0x0000c780>, /* pioB */ 400270866Simp <0xffffffff 0xe3ffff0e>, /* pioC */ 401270866Simp <0x003fffff 0x0001ff3c>; /* pioD */ 402270866Simp 403270866Simp /* shared pinctrl settings */ 404270866Simp adc0 { 405270866Simp pinctrl_adc0_ts: adc0_ts-0 { 406270866Simp atmel,pins = 407270866Simp <AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE>, 408270866Simp <AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_NONE>, 409270866Simp <AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_NONE>, 410270866Simp <AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_NONE>; 411270866Simp }; 412270866Simp 413270866Simp pinctrl_adc0_ad0: adc0_ad0-0 { 414270866Simp atmel,pins = <AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE>; 415270866Simp }; 416270866Simp 417270866Simp pinctrl_adc0_ad1: adc0_ad1-0 { 418270866Simp atmel,pins = <AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_NONE>; 419270866Simp }; 420270866Simp 421270866Simp pinctrl_adc0_ad2: adc0_ad2-0 { 422270866Simp atmel,pins = <AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_NONE>; 423270866Simp }; 424270866Simp 425270866Simp pinctrl_adc0_ad3: adc0_ad3-0 { 426270866Simp atmel,pins = <AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_NONE>; 427270866Simp }; 428270866Simp 429270866Simp pinctrl_adc0_ad4: adc0_ad4-0 { 430270866Simp atmel,pins = <AT91_PIOD 6 AT91_PERIPH_A AT91_PINCTRL_NONE>; 431270866Simp }; 432270866Simp 433270866Simp pinctrl_adc0_ad5: adc0_ad5-0 { 434270866Simp atmel,pins = <AT91_PIOD 7 AT91_PERIPH_A AT91_PINCTRL_NONE>; 435270866Simp }; 436270866Simp 437270866Simp pinctrl_adc0_adtrg: adc0_adtrg-0 { 438270866Simp atmel,pins = <AT91_PIOB 15 AT91_PERIPH_A AT91_PINCTRL_NONE>; 439270866Simp }; 440270866Simp }; 441270866Simp 442270866Simp dbgu { 443270866Simp pinctrl_dbgu: dbgu-0 { 444270866Simp atmel,pins = 445270866Simp <AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE>, 446270866Simp <AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; 447270866Simp }; 448270866Simp }; 449270866Simp 450270866Simp fb { 451270866Simp pinctrl_fb: fb-0 { 452270866Simp atmel,pins = 453270866Simp <AT91_PIOC 1 AT91_PERIPH_B AT91_PINCTRL_NONE>, 454270866Simp <AT91_PIOC 3 AT91_PERIPH_A AT91_PINCTRL_NONE>, 455270866Simp <AT91_PIOC 5 AT91_PERIPH_A AT91_PINCTRL_NONE>, 456270866Simp <AT91_PIOC 6 AT91_PERIPH_A AT91_PINCTRL_NONE>, 457270866Simp <AT91_PIOC 7 AT91_PERIPH_A AT91_PINCTRL_NONE>, 458270866Simp <AT91_PIOC 9 AT91_PERIPH_B AT91_PINCTRL_NONE>, 459270866Simp <AT91_PIOC 10 AT91_PERIPH_B AT91_PINCTRL_NONE>, 460270866Simp <AT91_PIOC 11 AT91_PERIPH_B AT91_PINCTRL_NONE>, 461270866Simp <AT91_PIOC 12 AT91_PERIPH_B AT91_PINCTRL_NONE>, 462270866Simp <AT91_PIOC 13 AT91_PERIPH_B AT91_PINCTRL_NONE>, 463270866Simp <AT91_PIOC 15 AT91_PERIPH_B AT91_PINCTRL_NONE>, 464270866Simp <AT91_PIOC 16 AT91_PERIPH_B AT91_PINCTRL_NONE>, 465270866Simp <AT91_PIOC 17 AT91_PERIPH_B AT91_PINCTRL_NONE>, 466270866Simp <AT91_PIOC 18 AT91_PERIPH_B AT91_PINCTRL_NONE>, 467270866Simp <AT91_PIOC 19 AT91_PERIPH_B AT91_PINCTRL_NONE>, 468270866Simp <AT91_PIOC 20 AT91_PERIPH_B AT91_PINCTRL_NONE>, 469270866Simp <AT91_PIOC 21 AT91_PERIPH_B AT91_PINCTRL_NONE>, 470270866Simp <AT91_PIOC 22 AT91_PERIPH_B AT91_PINCTRL_NONE>, 471270866Simp <AT91_PIOC 23 AT91_PERIPH_B AT91_PINCTRL_NONE>, 472270866Simp <AT91_PIOC 24 AT91_PERIPH_B AT91_PINCTRL_NONE>, 473270866Simp <AT91_PIOC 25 AT91_PERIPH_B AT91_PINCTRL_NONE>; 474270866Simp }; 475270866Simp }; 476270866Simp 477270866Simp i2c_gpio0 { 478270866Simp pinctrl_i2c_gpio0: i2c_gpio0-0 { 479270866Simp atmel,pins = 480270866Simp <AT91_PIOA 23 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>, 481270866Simp <AT91_PIOA 24 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; 482270866Simp }; 483270866Simp }; 484270866Simp 485270866Simp i2c_gpio1 { 486270866Simp pinctrl_i2c_gpio1: i2c_gpio1-0 { 487270866Simp atmel,pins = 488270866Simp <AT91_PIOD 10 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>, 489270866Simp <AT91_PIOD 11 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; 490270866Simp }; 491270866Simp }; 492270866Simp 493270866Simp mmc0 { 494270866Simp pinctrl_mmc0_clk: mmc0_clk-0 { 495270866Simp atmel,pins = 496270866Simp <AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE>; 497270866Simp }; 498270866Simp 499270866Simp pinctrl_mmc0_slot0_cmd_dat0: mmc0_slot0_cmd_dat0-0 { 500270866Simp atmel,pins = 501270866Simp <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>, 502270866Simp <AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; 503270866Simp }; 504270866Simp 505270866Simp pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 { 506270866Simp atmel,pins = 507270866Simp <AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>, 508270866Simp <AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>, 509270866Simp <AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; 510270866Simp }; 511270866Simp }; 512270866Simp 513270866Simp nand { 514270866Simp pinctrl_nand: nand-0 { 515270866Simp atmel,pins = 516270866Simp <AT91_PIOD 17 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>, 517270866Simp <AT91_PIOB 6 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>; 518270866Simp }; 519270866Simp 520270866Simp pinctrl_nand0_ale_cle: nand_ale_cle-0 { 521270866Simp atmel,pins = 522270866Simp <AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE>, 523270866Simp <AT91_PIOB 3 AT91_PERIPH_A AT91_PINCTRL_NONE>; 524270866Simp }; 525270866Simp 526270866Simp pinctrl_nand0_oe_we: nand_oe_we-0 { 527270866Simp atmel,pins = 528270866Simp <AT91_PIOB 4 AT91_PERIPH_A AT91_PINCTRL_NONE>, 529270866Simp <AT91_PIOB 5 AT91_PERIPH_A AT91_PINCTRL_NONE>; 530270866Simp }; 531270866Simp 532270866Simp pinctrl_nand0_cs: nand_cs-0 { 533270866Simp atmel,pins = 534270866Simp <AT91_PIOB 6 AT91_PERIPH_A AT91_PINCTRL_NONE>; 535270866Simp }; 536270866Simp }; 537270866Simp 538270866Simp pwm0 { 539270866Simp pinctrl_pwm0_pwm0_0: pwm0_pwm0-0 { 540270866Simp atmel,pins = <AT91_PIOB 8 AT91_PERIPH_B AT91_PINCTRL_NONE>; 541270866Simp }; 542270866Simp 543270866Simp pinctrl_pwm0_pwm0_1: pwm0_pwm0-1 { 544270866Simp atmel,pins = <AT91_PIOC 2 AT91_PERIPH_B AT91_PINCTRL_NONE>; 545270866Simp }; 546270866Simp 547270866Simp pinctrl_pwm0_pwm0_2: pwm0_pwm0-2 { 548270866Simp atmel,pins = <AT91_PIOD 14 AT91_PERIPH_B AT91_PINCTRL_NONE>; 549270866Simp }; 550270866Simp 551270866Simp pinctrl_pwm0_pwm1_0: pwm0_pwm1-0 { 552270866Simp atmel,pins = <AT91_PIOB 9 AT91_PERIPH_B AT91_PINCTRL_NONE>; 553270866Simp }; 554270866Simp 555270866Simp pinctrl_pwm0_pwm1_1: pwm0_pwm1-1 { 556270866Simp atmel,pins = <AT91_PIOC 3 AT91_PERIPH_B AT91_PINCTRL_NONE>; 557270866Simp }; 558270866Simp 559270866Simp pinctrl_pwm0_pwm1_2: pwm0_pwm1-2 { 560270866Simp atmel,pins = <AT91_PIOD 15 AT91_PERIPH_B AT91_PINCTRL_NONE>; 561270866Simp }; 562270866Simp 563270866Simp pinctrl_pwm0_pwm2_0: pwm0_pwm2-0 { 564270866Simp atmel,pins = <AT91_PIOD 5 AT91_PERIPH_B AT91_PINCTRL_NONE>; 565270866Simp }; 566270866Simp 567270866Simp pinctrl_pwm0_pwm2_1: pwm0_pwm2-1 { 568270866Simp atmel,pins = <AT91_PIOD 12 AT91_PERIPH_A AT91_PINCTRL_NONE>; 569270866Simp }; 570270866Simp 571270866Simp pinctrl_pwm0_pwm2_2: pwm0_pwm2-2 { 572270866Simp atmel,pins = <AT91_PIOD 16 AT91_PERIPH_B AT91_PINCTRL_NONE>; 573270866Simp }; 574270866Simp 575270866Simp pinctrl_pwm0_pwm3_0: pwm0_pwm3-0 { 576270866Simp atmel,pins = <AT91_PIOD 8 AT91_PERIPH_B AT91_PINCTRL_NONE>; 577270866Simp }; 578270866Simp 579270866Simp pinctrl_pwm0_pwm3_1: pwm0_pwm3-1 { 580270866Simp atmel,pins = <AT91_PIOD 18 AT91_PERIPH_A AT91_PINCTRL_NONE>; 581270866Simp }; 582270866Simp }; 583270866Simp 584270866Simp spi0 { 585270866Simp pinctrl_spi0: spi0-0 { 586270866Simp atmel,pins = 587270866Simp <AT91_PIOA 25 AT91_PERIPH_A AT91_PINCTRL_NONE>, 588270866Simp <AT91_PIOA 26 AT91_PERIPH_A AT91_PINCTRL_NONE>, 589270866Simp <AT91_PIOA 27 AT91_PERIPH_A AT91_PINCTRL_NONE>; 590270866Simp }; 591270866Simp }; 592270866Simp 593270866Simp ssc0 { 594270866Simp pinctrl_ssc0_tx: ssc0_tx-0 { 595270866Simp atmel,pins = 596270866Simp <AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_NONE>, 597270866Simp <AT91_PIOC 0 AT91_PERIPH_A AT91_PINCTRL_NONE>, 598270866Simp <AT91_PIOC 1 AT91_PERIPH_A AT91_PINCTRL_NONE>; 599270866Simp }; 600270866Simp 601270866Simp pinctrl_ssc0_rx: ssc0_rx-0 { 602270866Simp atmel,pins = 603270866Simp <AT91_PIOA 10 AT91_PERIPH_B AT91_PINCTRL_NONE>, 604270866Simp <AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_NONE>, 605270866Simp <AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE>; 606270866Simp }; 607270866Simp }; 608270866Simp 609270866Simp ssc1 { 610270866Simp pinctrl_ssc1_tx: ssc1_tx-0 { 611270866Simp atmel,pins = 612270866Simp <AT91_PIOA 13 AT91_PERIPH_B AT91_PINCTRL_NONE>, 613270866Simp <AT91_PIOA 29 AT91_PERIPH_B AT91_PINCTRL_NONE>, 614270866Simp <AT91_PIOA 30 AT91_PERIPH_B AT91_PINCTRL_NONE>; 615270866Simp }; 616270866Simp 617270866Simp pinctrl_ssc1_rx: ssc1_rx-0 { 618270866Simp atmel,pins = 619270866Simp <AT91_PIOA 8 AT91_PERIPH_B AT91_PINCTRL_NONE>, 620270866Simp <AT91_PIOA 9 AT91_PERIPH_B AT91_PINCTRL_NONE>, 621270866Simp <AT91_PIOA 14 AT91_PERIPH_B AT91_PINCTRL_NONE>; 622270866Simp }; 623270866Simp }; 624270866Simp 625270866Simp tcb0 { 626270866Simp pinctrl_tcb0_tclk0: tcb0_tclk0-0 { 627270866Simp atmel,pins = <AT91_PIOA 3 AT91_PERIPH_B AT91_PINCTRL_NONE>; 628270866Simp }; 629270866Simp 630270866Simp pinctrl_tcb0_tclk1: tcb0_tclk1-0 { 631270866Simp atmel,pins = <AT91_PIOC 31 AT91_PERIPH_B AT91_PINCTRL_NONE>; 632270866Simp }; 633270866Simp 634270866Simp pinctrl_tcb0_tclk2: tcb0_tclk2-0 { 635270866Simp atmel,pins = <AT91_PIOD 21 AT91_PERIPH_A AT91_PINCTRL_NONE>; 636270866Simp }; 637270866Simp 638270866Simp pinctrl_tcb0_tioa0: tcb0_tioa0-0 { 639270866Simp atmel,pins = <AT91_PIOA 4 AT91_PERIPH_B AT91_PINCTRL_NONE>; 640270866Simp }; 641270866Simp 642270866Simp pinctrl_tcb0_tioa1: tcb0_tioa1-0 { 643270866Simp atmel,pins = <AT91_PIOC 29 AT91_PERIPH_B AT91_PINCTRL_NONE>; 644270866Simp }; 645270866Simp 646270866Simp pinctrl_tcb0_tioa2: tcb0_tioa2-0 { 647270866Simp atmel,pins = <AT91_PIOD 10 AT91_PERIPH_B AT91_PINCTRL_NONE>; 648270866Simp }; 649270866Simp 650270866Simp pinctrl_tcb0_tiob0: tcb0_tiob0-0 { 651270866Simp atmel,pins = <AT91_PIOA 5 AT91_PERIPH_B AT91_PINCTRL_NONE>; 652270866Simp }; 653270866Simp 654270866Simp pinctrl_tcb0_tiob1: tcb0_tiob1-0 { 655270866Simp atmel,pins = <AT91_PIOC 30 AT91_PERIPH_B AT91_PINCTRL_NONE>; 656270866Simp }; 657270866Simp 658270866Simp pinctrl_tcb0_tiob2: tcb0_tiob2-0 { 659270866Simp atmel,pins = <AT91_PIOD 11 AT91_PERIPH_B AT91_PINCTRL_NONE>; 660270866Simp }; 661270866Simp }; 662270866Simp 663270866Simp usart0 { 664270866Simp pinctrl_usart0: usart0-0 { 665270866Simp atmel,pins = 666270866Simp <AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_NONE>, 667270866Simp <AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; 668270866Simp }; 669270866Simp 670270866Simp pinctrl_usart0_rts: usart0_rts-0 { 671270866Simp atmel,pins = 672270866Simp <AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_NONE>; 673270866Simp }; 674270866Simp 675270866Simp pinctrl_usart0_cts: usart0_cts-0 { 676270866Simp atmel,pins = 677270866Simp <AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE>; 678270866Simp }; 679270866Simp 680270866Simp pinctrl_usart0_dtr_dsr: usart0_dtr_dsr-0 { 681270866Simp atmel,pins = 682270866Simp <AT91_PIOD 14 AT91_PERIPH_A AT91_PINCTRL_NONE>, 683270866Simp <AT91_PIOD 15 AT91_PERIPH_A AT91_PINCTRL_NONE>; 684270866Simp }; 685270866Simp 686270866Simp pinctrl_usart0_dcd: usart0_dcd-0 { 687270866Simp atmel,pins = 688270866Simp <AT91_PIOD 16 AT91_PERIPH_A AT91_PINCTRL_NONE>; 689270866Simp }; 690270866Simp 691270866Simp pinctrl_usart0_ri: usart0_ri-0 { 692270866Simp atmel,pins = 693270866Simp <AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_NONE>; 694270866Simp }; 695270866Simp 696270866Simp pinctrl_usart0_sck: usart0_sck-0 { 697270866Simp atmel,pins = 698270866Simp <AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_NONE>; 699270866Simp }; 700270866Simp }; 701270866Simp 702270866Simp usart1 { 703270866Simp pinctrl_usart1: usart1-0 { 704270866Simp atmel,pins = 705270866Simp <AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>, 706270866Simp <AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE>; 707270866Simp }; 708270866Simp 709270866Simp pinctrl_usart1_rts: usart1_rts-0 { 710270866Simp atmel,pins = 711270866Simp <AT91_PIOA 18 AT91_PERIPH_B AT91_PINCTRL_NONE>; 712270866Simp }; 713270866Simp 714270866Simp pinctrl_usart1_cts: usart1_cts-0 { 715270866Simp atmel,pins = 716270866Simp <AT91_PIOA 19 AT91_PERIPH_B AT91_PINCTRL_NONE>; 717270866Simp }; 718270866Simp 719270866Simp pinctrl_usart1_sck: usart1_sck-0 { 720270866Simp atmel,pins = 721270866Simp <AT91_PIOD 2 AT91_PERIPH_B AT91_PINCTRL_NONE>; 722270866Simp }; 723270866Simp }; 724270866Simp 725270866Simp usart2 { 726270866Simp pinctrl_usart2: usart2-0 { 727270866Simp atmel,pins = 728270866Simp <AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>, 729270866Simp <AT91_PIOA 14 AT91_PERIPH_A AT91_PINCTRL_NONE>; 730270866Simp }; 731270866Simp 732270866Simp pinctrl_usart2_rts: usart2_rts-0 { 733270866Simp atmel,pins = 734270866Simp <AT91_PIOA 29 AT91_PERIPH_A AT91_PINCTRL_NONE>; 735270866Simp }; 736270866Simp 737270866Simp pinctrl_usart2_cts: usart2_cts-0 { 738270866Simp atmel,pins = 739270866Simp <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_NONE>; 740270866Simp }; 741270866Simp 742270866Simp pinctrl_usart2_sck: usart2_sck-0 { 743270866Simp atmel,pins = 744270866Simp <AT91_PIOD 9 AT91_PERIPH_A AT91_PINCTRL_NONE>; 745270866Simp }; 746270866Simp }; 747270866Simp 748270866Simp usart3 { 749270866Simp pinctrl_usart3: usart3-0 { 750270866Simp atmel,pins = 751270866Simp <AT91_PIOB 0 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>, 752270866Simp <AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE>; 753270866Simp }; 754270866Simp 755270866Simp pinctrl_usart3_rts: usart3_rts-0 { 756270866Simp atmel,pins = 757270866Simp <AT91_PIOD 4 AT91_PERIPH_B AT91_PINCTRL_NONE>; 758270866Simp }; 759270866Simp 760270866Simp pinctrl_usart3_cts: usart3_cts-0 { 761270866Simp atmel,pins = 762270866Simp <AT91_PIOD 3 AT91_PERIPH_B AT91_PINCTRL_NONE>; 763270866Simp }; 764270866Simp 765270866Simp pinctrl_usart3_sck: usart3_sck-0 { 766270866Simp atmel,pins = 767270866Simp <AT91_PIOA 20 AT91_PERIPH_B AT91_PINCTRL_NONE>; 768270866Simp }; 769270866Simp }; 770270866Simp 771270866Simp pioA: gpio@fffff400 { 772270866Simp compatible = "atmel,at91rm9200-gpio"; 773270866Simp reg = <0xfffff400 0x200>; 774270866Simp interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>; 775270866Simp #gpio-cells = <2>; 776270866Simp gpio-controller; 777270866Simp interrupt-controller; 778270866Simp #interrupt-cells = <2>; 779270866Simp clocks = <&pioA_clk>; 780270866Simp }; 781270866Simp 782270866Simp pioB: gpio@fffff600 { 783270866Simp compatible = "atmel,at91rm9200-gpio"; 784270866Simp reg = <0xfffff600 0x200>; 785270866Simp interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>; 786270866Simp #gpio-cells = <2>; 787270866Simp gpio-controller; 788270866Simp interrupt-controller; 789270866Simp #interrupt-cells = <2>; 790270866Simp clocks = <&pioB_clk>; 791270866Simp }; 792270866Simp 793270866Simp pioC: gpio@fffff800 { 794270866Simp compatible = "atmel,at91rm9200-gpio"; 795270866Simp reg = <0xfffff800 0x200>; 796270866Simp interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>; 797270866Simp #gpio-cells = <2>; 798270866Simp gpio-controller; 799270866Simp interrupt-controller; 800270866Simp #interrupt-cells = <2>; 801270866Simp clocks = <&pioC_clk>; 802270866Simp }; 803270866Simp 804270866Simp pioD: gpio@fffffa00 { 805270866Simp compatible = "atmel,at91rm9200-gpio"; 806270866Simp reg = <0xfffffa00 0x200>; 807270866Simp interrupts = <5 IRQ_TYPE_LEVEL_HIGH 1>; 808270866Simp #gpio-cells = <2>; 809270866Simp gpio-controller; 810270866Simp interrupt-controller; 811270866Simp #interrupt-cells = <2>; 812270866Simp clocks = <&pioD_clk>; 813270866Simp }; 814270866Simp }; 815270866Simp 816270866Simp pmc: pmc@fffffc00 { 817270866Simp compatible = "atmel,at91sam9g45-pmc"; 818270866Simp reg = <0xfffffc00 0x100>; 819270866Simp interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; 820270866Simp interrupt-controller; 821270866Simp #address-cells = <1>; 822270866Simp #size-cells = <0>; 823270866Simp #interrupt-cells = <1>; 824270866Simp 825270866Simp main: mainck { 826270866Simp compatible = "atmel,at91rm9200-clk-main"; 827270866Simp #clock-cells = <0>; 828270866Simp interrupts-extended = <&pmc AT91_PMC_MOSCS>; 829270866Simp clocks = <&main_xtal>; 830270866Simp }; 831270866Simp 832270866Simp plla: pllack { 833270866Simp compatible = "atmel,at91rm9200-clk-pll"; 834270866Simp #clock-cells = <0>; 835270866Simp interrupts-extended = <&pmc AT91_PMC_LOCKA>; 836270866Simp clocks = <&main>; 837270866Simp reg = <0>; 838270866Simp atmel,clk-input-range = <1000000 32000000>; 839270866Simp #atmel,pll-clk-output-range-cells = <3>; 840270866Simp atmel,pll-clk-output-ranges = <80000000 200000000 0>, 841270866Simp <190000000 240000000 2>; 842270866Simp }; 843270866Simp 844270866Simp utmi: utmick { 845270866Simp compatible = "atmel,at91sam9x5-clk-utmi"; 846270866Simp #clock-cells = <0>; 847270866Simp interrupt-parent = <&pmc>; 848270866Simp interrupts = <AT91_PMC_LOCKU>; 849270866Simp clocks = <&main>; 850270866Simp }; 851270866Simp 852270866Simp mck: masterck { 853270866Simp compatible = "atmel,at91rm9200-clk-master"; 854270866Simp #clock-cells = <0>; 855270866Simp interrupts-extended = <&pmc AT91_PMC_MCKRDY>; 856270866Simp clocks = <&clk32k>, <&main>, <&plla>, <&utmi>; 857270866Simp atmel,clk-output-range = <0 94000000>; 858270866Simp atmel,clk-divisors = <1 2 4 0>; 859270866Simp }; 860270866Simp 861270866Simp prog: progck { 862270866Simp compatible = "atmel,at91rm9200-clk-programmable"; 863270866Simp #address-cells = <1>; 864270866Simp #size-cells = <0>; 865270866Simp interrupt-parent = <&pmc>; 866270866Simp clocks = <&clk32k>, <&main>, <&plla>, <&utmi>, <&mck>; 867270866Simp 868270866Simp prog0: prog0 { 869270866Simp #clock-cells = <0>; 870270866Simp reg = <0>; 871270866Simp interrupts = <AT91_PMC_PCKRDY(0)>; 872270866Simp }; 873270866Simp 874270866Simp prog1: prog1 { 875270866Simp #clock-cells = <0>; 876270866Simp reg = <1>; 877270866Simp interrupts = <AT91_PMC_PCKRDY(1)>; 878270866Simp }; 879270866Simp }; 880270866Simp 881270866Simp systemck { 882270866Simp compatible = "atmel,at91rm9200-clk-system"; 883270866Simp #address-cells = <1>; 884270866Simp #size-cells = <0>; 885270866Simp 886270866Simp pck0: pck0 { 887270866Simp #clock-cells = <0>; 888270866Simp reg = <8>; 889270866Simp clocks = <&prog0>; 890270866Simp }; 891270866Simp 892270866Simp pck1: pck1 { 893270866Simp #clock-cells = <0>; 894270866Simp reg = <9>; 895270866Simp clocks = <&prog1>; 896270866Simp }; 897270866Simp 898270866Simp }; 899270866Simp 900270866Simp periphck { 901270866Simp compatible = "atmel,at91rm9200-clk-peripheral"; 902270866Simp #address-cells = <1>; 903270866Simp #size-cells = <0>; 904270866Simp clocks = <&mck>; 905270866Simp 906270866Simp pioA_clk: pioA_clk { 907270866Simp #clock-cells = <0>; 908270866Simp reg = <2>; 909270866Simp }; 910270866Simp 911270866Simp pioB_clk: pioB_clk { 912270866Simp #clock-cells = <0>; 913270866Simp reg = <3>; 914270866Simp }; 915270866Simp 916270866Simp pioC_clk: pioC_clk { 917270866Simp #clock-cells = <0>; 918270866Simp reg = <4>; 919270866Simp }; 920270866Simp 921270866Simp pioD_clk: pioD_clk { 922270866Simp #clock-cells = <0>; 923270866Simp reg = <5>; 924270866Simp }; 925270866Simp 926270866Simp usart0_clk: usart0_clk { 927270866Simp #clock-cells = <0>; 928270866Simp reg = <6>; 929270866Simp }; 930270866Simp 931270866Simp usart1_clk: usart1_clk { 932270866Simp #clock-cells = <0>; 933270866Simp reg = <7>; 934270866Simp }; 935270866Simp 936270866Simp usart2_clk: usart2_clk { 937270866Simp #clock-cells = <0>; 938270866Simp reg = <8>; 939270866Simp }; 940270866Simp 941270866Simp usart3_clk: usart3_clk { 942270866Simp #clock-cells = <0>; 943270866Simp reg = <9>; 944270866Simp }; 945270866Simp 946270866Simp mci0_clk: mci0_clk { 947270866Simp #clock-cells = <0>; 948270866Simp reg = <10>; 949270866Simp }; 950270866Simp 951270866Simp twi0_clk: twi0_clk { 952270866Simp #clock-cells = <0>; 953270866Simp reg = <11>; 954270866Simp }; 955270866Simp 956270866Simp twi1_clk: twi1_clk { 957270866Simp #clock-cells = <0>; 958270866Simp reg = <12>; 959270866Simp }; 960270866Simp 961270866Simp spi0_clk: spi0_clk { 962270866Simp #clock-cells = <0>; 963270866Simp reg = <13>; 964270866Simp }; 965270866Simp 966270866Simp ssc0_clk: ssc0_clk { 967270866Simp #clock-cells = <0>; 968270866Simp reg = <14>; 969270866Simp }; 970270866Simp 971270866Simp ssc1_clk: ssc1_clk { 972270866Simp #clock-cells = <0>; 973270866Simp reg = <15>; 974270866Simp }; 975270866Simp 976270866Simp tc0_clk: tc0_clk { 977270866Simp #clock-cells = <0>; 978270866Simp reg = <16>; 979270866Simp }; 980270866Simp 981270866Simp tc1_clk: tc1_clk { 982270866Simp #clock-cells = <0>; 983270866Simp reg = <17>; 984270866Simp }; 985270866Simp 986270866Simp tc2_clk: tc2_clk { 987270866Simp #clock-cells = <0>; 988270866Simp reg = <18>; 989270866Simp }; 990270866Simp 991270866Simp pwm_clk: pwm_clk { 992270866Simp #clock-cells = <0>; 993270866Simp reg = <19>; 994270866Simp }; 995270866Simp 996270866Simp adc_clk: adc_clk { 997270866Simp #clock-cells = <0>; 998270866Simp reg = <20>; 999270866Simp }; 1000270866Simp 1001270866Simp dma0_clk: dma0_clk { 1002270866Simp #clock-cells = <0>; 1003270866Simp reg = <21>; 1004270866Simp }; 1005270866Simp 1006270866Simp udphs_clk: udphs_clk { 1007270866Simp #clock-cells = <0>; 1008270866Simp reg = <22>; 1009270866Simp }; 1010270866Simp 1011270866Simp lcd_clk: lcd_clk { 1012270866Simp #clock-cells = <0>; 1013270866Simp reg = <23>; 1014270866Simp }; 1015270866Simp }; 1016270866Simp }; 1017270866Simp 1018270866Simp rstc@fffffd00 { 1019270866Simp compatible = "atmel,at91sam9260-rstc"; 1020270866Simp reg = <0xfffffd00 0x10>; 1021270866Simp }; 1022270866Simp 1023270866Simp shdwc@fffffd10 { 1024270866Simp compatible = "atmel,at91sam9260-shdwc"; 1025270866Simp reg = <0xfffffd10 0x10>; 1026270866Simp }; 1027270866Simp 1028270866Simp pit: timer@fffffd30 { 1029270866Simp compatible = "atmel,at91sam9260-pit"; 1030270866Simp reg = <0xfffffd30 0xf>; 1031270866Simp interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; 1032270866Simp clocks = <&mck>; 1033270866Simp }; 1034270866Simp 1035270866Simp watchdog@fffffd40 { 1036270866Simp compatible = "atmel,at91sam9260-wdt"; 1037270866Simp reg = <0xfffffd40 0x10>; 1038270866Simp interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; 1039270866Simp status = "disabled"; 1040270866Simp }; 1041270866Simp 1042270866Simp sckc@fffffd50 { 1043270866Simp compatible = "atmel,at91sam9x5-sckc"; 1044270866Simp reg = <0xfffffd50 0x4>; 1045270866Simp 1046270866Simp slow_osc: slow_osc { 1047270866Simp compatible = "atmel,at91sam9x5-clk-slow-osc"; 1048270866Simp #clock-cells = <0>; 1049270866Simp atmel,startup-time-usec = <1200000>; 1050270866Simp clocks = <&slow_xtal>; 1051270866Simp }; 1052270866Simp 1053270866Simp slow_rc_osc: slow_rc_osc { 1054270866Simp compatible = "atmel,at91sam9x5-clk-slow-rc-osc"; 1055270866Simp #clock-cells = <0>; 1056270866Simp atmel,startup-time-usec = <75>; 1057270866Simp clock-frequency = <32768>; 1058270866Simp clock-accuracy = <50000000>; 1059270866Simp }; 1060270866Simp 1061270866Simp clk32k: slck { 1062270866Simp compatible = "atmel,at91sam9x5-clk-slow"; 1063270866Simp #clock-cells = <0>; 1064270866Simp clocks = <&slow_rc_osc &slow_osc>; 1065270866Simp }; 1066270866Simp }; 1067284090Sian 1068284090Sian rtc@fffffeb0 { 1069284090Sian compatible = "atmel,at91rm9200-rtc"; 1070284090Sian reg = <0xfffffeb0 0x40>; 1071284090Sian interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; 1072284090Sian status = "disabled"; 1073284090Sian }; 1074284090Sian 1075284090Sian rtc@fffffd20 { 1076284090Sian compatible = "atmel,at91sam9260-rtt"; 1077284090Sian reg = <0xfffffd20 0x10>; 1078284090Sian interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; 1079284090Sian clocks = <&clk32k>; 1080284090Sian status = "disabled"; 1081284090Sian }; 1082284090Sian 1083284090Sian gpbr: syscon@fffffd60 { 1084284090Sian compatible = "atmel,at91sam9260-gpbr", "syscon"; 1085284090Sian reg = <0xfffffd60 0x10>; 1086284090Sian status = "disabled"; 1087284090Sian }; 1088270866Simp }; 1089270866Simp }; 1090270866Simp 1091270866Simp i2c@0 { 1092270866Simp compatible = "i2c-gpio"; 1093270866Simp gpios = <&pioA 23 GPIO_ACTIVE_HIGH>, /* sda */ 1094270866Simp <&pioA 24 GPIO_ACTIVE_HIGH>; /* scl */ 1095270866Simp i2c-gpio,sda-open-drain; 1096270866Simp i2c-gpio,scl-open-drain; 1097270866Simp i2c-gpio,delay-us = <2>; /* ~100 kHz */ 1098270866Simp #address-cells = <1>; 1099270866Simp #size-cells = <0>; 1100270866Simp pinctrl-names = "default"; 1101270866Simp pinctrl-0 = <&pinctrl_i2c_gpio0>; 1102270866Simp status = "disabled"; 1103270866Simp }; 1104270866Simp 1105270866Simp i2c@1 { 1106270866Simp compatible = "i2c-gpio"; 1107270866Simp gpios = <&pioD 10 GPIO_ACTIVE_HIGH>, /* sda */ 1108270866Simp <&pioD 11 GPIO_ACTIVE_HIGH>; /* scl */ 1109270866Simp i2c-gpio,sda-open-drain; 1110270866Simp i2c-gpio,scl-open-drain; 1111270866Simp i2c-gpio,delay-us = <2>; /* ~100 kHz */ 1112270866Simp #address-cells = <1>; 1113270866Simp #size-cells = <0>; 1114270866Simp pinctrl-names = "default"; 1115270866Simp pinctrl-0 = <&pinctrl_i2c_gpio1>; 1116270866Simp status = "disabled"; 1117270866Simp }; 1118270866Simp}; 1119