1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later 2*f126890aSEmmanuel Vadot/* 3*f126890aSEmmanuel Vadot * at91rm9200.dtsi - Device Tree Include file for AT91RM9200 family SoC 4*f126890aSEmmanuel Vadot * 5*f126890aSEmmanuel Vadot * Copyright (C) 2011 Atmel, 6*f126890aSEmmanuel Vadot * 2011 Nicolas Ferre <nicolas.ferre@atmel.com>, 7*f126890aSEmmanuel Vadot * 2012 Joachim Eastwood <manabian@gmail.com> 8*f126890aSEmmanuel Vadot * 9*f126890aSEmmanuel Vadot * Based on at91sam9260.dtsi 10*f126890aSEmmanuel Vadot */ 11*f126890aSEmmanuel Vadot 12*f126890aSEmmanuel Vadot#include <dt-bindings/pinctrl/at91.h> 13*f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h> 14*f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 15*f126890aSEmmanuel Vadot#include <dt-bindings/clock/at91.h> 16*f126890aSEmmanuel Vadot#include <dt-bindings/mfd/at91-usart.h> 17*f126890aSEmmanuel Vadot 18*f126890aSEmmanuel Vadot/ { 19*f126890aSEmmanuel Vadot #address-cells = <1>; 20*f126890aSEmmanuel Vadot #size-cells = <1>; 21*f126890aSEmmanuel Vadot model = "Atmel AT91RM9200 family SoC"; 22*f126890aSEmmanuel Vadot compatible = "atmel,at91rm9200"; 23*f126890aSEmmanuel Vadot interrupt-parent = <&aic>; 24*f126890aSEmmanuel Vadot 25*f126890aSEmmanuel Vadot aliases { 26*f126890aSEmmanuel Vadot serial0 = &dbgu; 27*f126890aSEmmanuel Vadot serial1 = &usart0; 28*f126890aSEmmanuel Vadot serial2 = &usart1; 29*f126890aSEmmanuel Vadot serial3 = &usart2; 30*f126890aSEmmanuel Vadot serial4 = &usart3; 31*f126890aSEmmanuel Vadot gpio0 = &pioA; 32*f126890aSEmmanuel Vadot gpio1 = &pioB; 33*f126890aSEmmanuel Vadot gpio2 = &pioC; 34*f126890aSEmmanuel Vadot gpio3 = &pioD; 35*f126890aSEmmanuel Vadot tcb0 = &tcb0; 36*f126890aSEmmanuel Vadot tcb1 = &tcb1; 37*f126890aSEmmanuel Vadot i2c0 = &i2c0; 38*f126890aSEmmanuel Vadot ssc0 = &ssc0; 39*f126890aSEmmanuel Vadot ssc1 = &ssc1; 40*f126890aSEmmanuel Vadot ssc2 = &ssc2; 41*f126890aSEmmanuel Vadot }; 42*f126890aSEmmanuel Vadot cpus { 43*f126890aSEmmanuel Vadot #address-cells = <1>; 44*f126890aSEmmanuel Vadot #size-cells = <0>; 45*f126890aSEmmanuel Vadot 46*f126890aSEmmanuel Vadot cpu@0 { 47*f126890aSEmmanuel Vadot compatible = "arm,arm920t"; 48*f126890aSEmmanuel Vadot device_type = "cpu"; 49*f126890aSEmmanuel Vadot reg = <0>; 50*f126890aSEmmanuel Vadot }; 51*f126890aSEmmanuel Vadot }; 52*f126890aSEmmanuel Vadot 53*f126890aSEmmanuel Vadot memory@20000000 { 54*f126890aSEmmanuel Vadot device_type = "memory"; 55*f126890aSEmmanuel Vadot reg = <0x20000000 0x04000000>; 56*f126890aSEmmanuel Vadot }; 57*f126890aSEmmanuel Vadot 58*f126890aSEmmanuel Vadot clocks { 59*f126890aSEmmanuel Vadot slow_xtal: slow_xtal { 60*f126890aSEmmanuel Vadot compatible = "fixed-clock"; 61*f126890aSEmmanuel Vadot #clock-cells = <0>; 62*f126890aSEmmanuel Vadot clock-frequency = <0>; 63*f126890aSEmmanuel Vadot }; 64*f126890aSEmmanuel Vadot 65*f126890aSEmmanuel Vadot main_xtal: main_xtal { 66*f126890aSEmmanuel Vadot compatible = "fixed-clock"; 67*f126890aSEmmanuel Vadot #clock-cells = <0>; 68*f126890aSEmmanuel Vadot clock-frequency = <0>; 69*f126890aSEmmanuel Vadot }; 70*f126890aSEmmanuel Vadot }; 71*f126890aSEmmanuel Vadot 72*f126890aSEmmanuel Vadot sram: sram@200000 { 73*f126890aSEmmanuel Vadot compatible = "mmio-sram"; 74*f126890aSEmmanuel Vadot reg = <0x00200000 0x4000>; 75*f126890aSEmmanuel Vadot #address-cells = <1>; 76*f126890aSEmmanuel Vadot #size-cells = <1>; 77*f126890aSEmmanuel Vadot ranges = <0 0x00200000 0x4000>; 78*f126890aSEmmanuel Vadot }; 79*f126890aSEmmanuel Vadot 80*f126890aSEmmanuel Vadot ahb { 81*f126890aSEmmanuel Vadot compatible = "simple-bus"; 82*f126890aSEmmanuel Vadot #address-cells = <1>; 83*f126890aSEmmanuel Vadot #size-cells = <1>; 84*f126890aSEmmanuel Vadot ranges; 85*f126890aSEmmanuel Vadot 86*f126890aSEmmanuel Vadot apb { 87*f126890aSEmmanuel Vadot compatible = "simple-bus"; 88*f126890aSEmmanuel Vadot #address-cells = <1>; 89*f126890aSEmmanuel Vadot #size-cells = <1>; 90*f126890aSEmmanuel Vadot ranges; 91*f126890aSEmmanuel Vadot 92*f126890aSEmmanuel Vadot aic: interrupt-controller@fffff000 { 93*f126890aSEmmanuel Vadot #interrupt-cells = <3>; 94*f126890aSEmmanuel Vadot compatible = "atmel,at91rm9200-aic"; 95*f126890aSEmmanuel Vadot interrupt-controller; 96*f126890aSEmmanuel Vadot reg = <0xfffff000 0x200>; 97*f126890aSEmmanuel Vadot atmel,external-irqs = <25 26 27 28 29 30 31>; 98*f126890aSEmmanuel Vadot }; 99*f126890aSEmmanuel Vadot 100*f126890aSEmmanuel Vadot ramc0: ramc@ffffff00 { 101*f126890aSEmmanuel Vadot compatible = "atmel,at91rm9200-sdramc", "syscon"; 102*f126890aSEmmanuel Vadot reg = <0xffffff00 0x100>; 103*f126890aSEmmanuel Vadot }; 104*f126890aSEmmanuel Vadot 105*f126890aSEmmanuel Vadot pmc: clock-controller@fffffc00 { 106*f126890aSEmmanuel Vadot compatible = "atmel,at91rm9200-pmc", "syscon"; 107*f126890aSEmmanuel Vadot reg = <0xfffffc00 0x100>; 108*f126890aSEmmanuel Vadot interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; 109*f126890aSEmmanuel Vadot #clock-cells = <2>; 110*f126890aSEmmanuel Vadot clocks = <&slow_xtal>, <&main_xtal>; 111*f126890aSEmmanuel Vadot clock-names = "slow_xtal", "main_xtal"; 112*f126890aSEmmanuel Vadot }; 113*f126890aSEmmanuel Vadot 114*f126890aSEmmanuel Vadot st: timer@fffffd00 { 115*f126890aSEmmanuel Vadot compatible = "atmel,at91rm9200-st", "syscon", "simple-mfd"; 116*f126890aSEmmanuel Vadot reg = <0xfffffd00 0x100>; 117*f126890aSEmmanuel Vadot interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; 118*f126890aSEmmanuel Vadot clocks = <&slow_xtal>; 119*f126890aSEmmanuel Vadot 120*f126890aSEmmanuel Vadot watchdog { 121*f126890aSEmmanuel Vadot compatible = "atmel,at91rm9200-wdt"; 122*f126890aSEmmanuel Vadot }; 123*f126890aSEmmanuel Vadot }; 124*f126890aSEmmanuel Vadot 125*f126890aSEmmanuel Vadot rtc: rtc@fffffe00 { 126*f126890aSEmmanuel Vadot compatible = "atmel,at91rm9200-rtc"; 127*f126890aSEmmanuel Vadot reg = <0xfffffe00 0x40>; 128*f126890aSEmmanuel Vadot interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; 129*f126890aSEmmanuel Vadot clocks = <&slow_xtal>; 130*f126890aSEmmanuel Vadot status = "disabled"; 131*f126890aSEmmanuel Vadot }; 132*f126890aSEmmanuel Vadot 133*f126890aSEmmanuel Vadot tcb0: timer@fffa0000 { 134*f126890aSEmmanuel Vadot compatible = "atmel,at91rm9200-tcb", "simple-mfd", "syscon"; 135*f126890aSEmmanuel Vadot #address-cells = <1>; 136*f126890aSEmmanuel Vadot #size-cells = <0>; 137*f126890aSEmmanuel Vadot reg = <0xfffa0000 0x100>; 138*f126890aSEmmanuel Vadot interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0 139*f126890aSEmmanuel Vadot 18 IRQ_TYPE_LEVEL_HIGH 0 140*f126890aSEmmanuel Vadot 19 IRQ_TYPE_LEVEL_HIGH 0>; 141*f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 17>, <&pmc PMC_TYPE_PERIPHERAL 18>, <&pmc PMC_TYPE_PERIPHERAL 19>, <&slow_xtal>; 142*f126890aSEmmanuel Vadot clock-names = "t0_clk", "t1_clk", "t2_clk", "slow_clk"; 143*f126890aSEmmanuel Vadot }; 144*f126890aSEmmanuel Vadot 145*f126890aSEmmanuel Vadot tcb1: timer@fffa4000 { 146*f126890aSEmmanuel Vadot compatible = "atmel,at91rm9200-tcb", "simple-mfd", "syscon"; 147*f126890aSEmmanuel Vadot #address-cells = <1>; 148*f126890aSEmmanuel Vadot #size-cells = <0>; 149*f126890aSEmmanuel Vadot reg = <0xfffa4000 0x100>; 150*f126890aSEmmanuel Vadot interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0 151*f126890aSEmmanuel Vadot 21 IRQ_TYPE_LEVEL_HIGH 0 152*f126890aSEmmanuel Vadot 22 IRQ_TYPE_LEVEL_HIGH 0>; 153*f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 20>, <&pmc PMC_TYPE_PERIPHERAL 21>, <&pmc PMC_TYPE_PERIPHERAL 22>, <&slow_xtal>; 154*f126890aSEmmanuel Vadot clock-names = "t0_clk", "t1_clk", "t2_clk", "slow_clk"; 155*f126890aSEmmanuel Vadot }; 156*f126890aSEmmanuel Vadot 157*f126890aSEmmanuel Vadot i2c0: i2c@fffb8000 { 158*f126890aSEmmanuel Vadot compatible = "atmel,at91rm9200-i2c"; 159*f126890aSEmmanuel Vadot reg = <0xfffb8000 0x4000>; 160*f126890aSEmmanuel Vadot interrupts = <12 IRQ_TYPE_LEVEL_HIGH 6>; 161*f126890aSEmmanuel Vadot pinctrl-names = "default"; 162*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_twi>; 163*f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 12>; 164*f126890aSEmmanuel Vadot #address-cells = <1>; 165*f126890aSEmmanuel Vadot #size-cells = <0>; 166*f126890aSEmmanuel Vadot status = "disabled"; 167*f126890aSEmmanuel Vadot }; 168*f126890aSEmmanuel Vadot 169*f126890aSEmmanuel Vadot mmc0: mmc@fffb4000 { 170*f126890aSEmmanuel Vadot compatible = "atmel,hsmci"; 171*f126890aSEmmanuel Vadot reg = <0xfffb4000 0x4000>; 172*f126890aSEmmanuel Vadot interrupts = <10 IRQ_TYPE_LEVEL_HIGH 0>; 173*f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 10>; 174*f126890aSEmmanuel Vadot clock-names = "mci_clk"; 175*f126890aSEmmanuel Vadot #address-cells = <1>; 176*f126890aSEmmanuel Vadot #size-cells = <0>; 177*f126890aSEmmanuel Vadot status = "disabled"; 178*f126890aSEmmanuel Vadot }; 179*f126890aSEmmanuel Vadot 180*f126890aSEmmanuel Vadot ssc0: ssc@fffd0000 { 181*f126890aSEmmanuel Vadot compatible = "atmel,at91rm9200-ssc"; 182*f126890aSEmmanuel Vadot reg = <0xfffd0000 0x4000>; 183*f126890aSEmmanuel Vadot interrupts = <14 IRQ_TYPE_LEVEL_HIGH 5>; 184*f126890aSEmmanuel Vadot pinctrl-names = "default"; 185*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>; 186*f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 14>; 187*f126890aSEmmanuel Vadot clock-names = "pclk"; 188*f126890aSEmmanuel Vadot status = "disabled"; 189*f126890aSEmmanuel Vadot }; 190*f126890aSEmmanuel Vadot 191*f126890aSEmmanuel Vadot ssc1: ssc@fffd4000 { 192*f126890aSEmmanuel Vadot compatible = "atmel,at91rm9200-ssc"; 193*f126890aSEmmanuel Vadot reg = <0xfffd4000 0x4000>; 194*f126890aSEmmanuel Vadot interrupts = <15 IRQ_TYPE_LEVEL_HIGH 5>; 195*f126890aSEmmanuel Vadot pinctrl-names = "default"; 196*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>; 197*f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 15>; 198*f126890aSEmmanuel Vadot clock-names = "pclk"; 199*f126890aSEmmanuel Vadot status = "disabled"; 200*f126890aSEmmanuel Vadot }; 201*f126890aSEmmanuel Vadot 202*f126890aSEmmanuel Vadot ssc2: ssc@fffd8000 { 203*f126890aSEmmanuel Vadot compatible = "atmel,at91rm9200-ssc"; 204*f126890aSEmmanuel Vadot reg = <0xfffd8000 0x4000>; 205*f126890aSEmmanuel Vadot interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>; 206*f126890aSEmmanuel Vadot pinctrl-names = "default"; 207*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_ssc2_tx &pinctrl_ssc2_rx>; 208*f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 16>; 209*f126890aSEmmanuel Vadot clock-names = "pclk"; 210*f126890aSEmmanuel Vadot status = "disabled"; 211*f126890aSEmmanuel Vadot }; 212*f126890aSEmmanuel Vadot 213*f126890aSEmmanuel Vadot macb0: ethernet@fffbc000 { 214*f126890aSEmmanuel Vadot compatible = "cdns,at91rm9200-emac", "cdns,emac"; 215*f126890aSEmmanuel Vadot reg = <0xfffbc000 0x4000>; 216*f126890aSEmmanuel Vadot interrupts = <24 IRQ_TYPE_LEVEL_HIGH 3>; 217*f126890aSEmmanuel Vadot phy-mode = "rmii"; 218*f126890aSEmmanuel Vadot pinctrl-names = "default"; 219*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_macb_rmii>; 220*f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 24>; 221*f126890aSEmmanuel Vadot clock-names = "ether_clk"; 222*f126890aSEmmanuel Vadot status = "disabled"; 223*f126890aSEmmanuel Vadot }; 224*f126890aSEmmanuel Vadot 225*f126890aSEmmanuel Vadot pinctrl@fffff400 { 226*f126890aSEmmanuel Vadot #address-cells = <1>; 227*f126890aSEmmanuel Vadot #size-cells = <1>; 228*f126890aSEmmanuel Vadot compatible = "atmel,at91rm9200-pinctrl", "simple-bus"; 229*f126890aSEmmanuel Vadot ranges = <0xfffff400 0xfffff400 0x800>; 230*f126890aSEmmanuel Vadot 231*f126890aSEmmanuel Vadot atmel,mux-mask = < 232*f126890aSEmmanuel Vadot /* A B */ 233*f126890aSEmmanuel Vadot 0xffffffff 0xffffffff /* pioA */ 234*f126890aSEmmanuel Vadot 0xffffffff 0x083fffff /* pioB */ 235*f126890aSEmmanuel Vadot 0xffff3fff 0x00000000 /* pioC */ 236*f126890aSEmmanuel Vadot 0x03ff87ff 0x0fffff80 /* pioD */ 237*f126890aSEmmanuel Vadot >; 238*f126890aSEmmanuel Vadot 239*f126890aSEmmanuel Vadot /* shared pinctrl settings */ 240*f126890aSEmmanuel Vadot dbgu { 241*f126890aSEmmanuel Vadot pinctrl_dbgu: dbgu-0 { 242*f126890aSEmmanuel Vadot atmel,pins = 243*f126890aSEmmanuel Vadot <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP 244*f126890aSEmmanuel Vadot AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_NONE>; 245*f126890aSEmmanuel Vadot }; 246*f126890aSEmmanuel Vadot }; 247*f126890aSEmmanuel Vadot 248*f126890aSEmmanuel Vadot uart0 { 249*f126890aSEmmanuel Vadot pinctrl_uart0: uart0-0 { 250*f126890aSEmmanuel Vadot atmel,pins = 251*f126890aSEmmanuel Vadot <AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE 252*f126890aSEmmanuel Vadot AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; 253*f126890aSEmmanuel Vadot }; 254*f126890aSEmmanuel Vadot 255*f126890aSEmmanuel Vadot pinctrl_uart0_cts: uart0_cts-0 { 256*f126890aSEmmanuel Vadot atmel,pins = 257*f126890aSEmmanuel Vadot <AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA20 periph A */ 258*f126890aSEmmanuel Vadot }; 259*f126890aSEmmanuel Vadot 260*f126890aSEmmanuel Vadot pinctrl_uart0_rts: uart0_rts-0 { 261*f126890aSEmmanuel Vadot atmel,pins = 262*f126890aSEmmanuel Vadot <AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA21 periph A */ 263*f126890aSEmmanuel Vadot }; 264*f126890aSEmmanuel Vadot }; 265*f126890aSEmmanuel Vadot 266*f126890aSEmmanuel Vadot uart1 { 267*f126890aSEmmanuel Vadot pinctrl_uart1: uart1-0 { 268*f126890aSEmmanuel Vadot atmel,pins = 269*f126890aSEmmanuel Vadot <AT91_PIOB 20 AT91_PERIPH_A AT91_PINCTRL_NONE 270*f126890aSEmmanuel Vadot AT91_PIOB 21 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; 271*f126890aSEmmanuel Vadot }; 272*f126890aSEmmanuel Vadot 273*f126890aSEmmanuel Vadot pinctrl_uart1_rts: uart1_rts-0 { 274*f126890aSEmmanuel Vadot atmel,pins = 275*f126890aSEmmanuel Vadot <AT91_PIOB 24 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB24 periph A */ 276*f126890aSEmmanuel Vadot }; 277*f126890aSEmmanuel Vadot 278*f126890aSEmmanuel Vadot pinctrl_uart1_cts: uart1_cts-0 { 279*f126890aSEmmanuel Vadot atmel,pins = 280*f126890aSEmmanuel Vadot <AT91_PIOB 26 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB26 periph A */ 281*f126890aSEmmanuel Vadot }; 282*f126890aSEmmanuel Vadot 283*f126890aSEmmanuel Vadot pinctrl_uart1_dtr_dsr: uart1_dtr_dsr-0 { 284*f126890aSEmmanuel Vadot atmel,pins = 285*f126890aSEmmanuel Vadot <AT91_PIOB 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB19 periph A */ 286*f126890aSEmmanuel Vadot AT91_PIOB 25 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB25 periph A */ 287*f126890aSEmmanuel Vadot }; 288*f126890aSEmmanuel Vadot 289*f126890aSEmmanuel Vadot pinctrl_uart1_dcd: uart1_dcd-0 { 290*f126890aSEmmanuel Vadot atmel,pins = 291*f126890aSEmmanuel Vadot <AT91_PIOB 23 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB23 periph A */ 292*f126890aSEmmanuel Vadot }; 293*f126890aSEmmanuel Vadot 294*f126890aSEmmanuel Vadot pinctrl_uart1_ri: uart1_ri-0 { 295*f126890aSEmmanuel Vadot atmel,pins = 296*f126890aSEmmanuel Vadot <AT91_PIOB 18 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB18 periph A */ 297*f126890aSEmmanuel Vadot }; 298*f126890aSEmmanuel Vadot }; 299*f126890aSEmmanuel Vadot 300*f126890aSEmmanuel Vadot uart2 { 301*f126890aSEmmanuel Vadot pinctrl_uart2: uart2-0 { 302*f126890aSEmmanuel Vadot atmel,pins = 303*f126890aSEmmanuel Vadot <AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_PULL_UP 304*f126890aSEmmanuel Vadot AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_NONE>; 305*f126890aSEmmanuel Vadot }; 306*f126890aSEmmanuel Vadot 307*f126890aSEmmanuel Vadot pinctrl_uart2_rts: uart2_rts-0 { 308*f126890aSEmmanuel Vadot atmel,pins = 309*f126890aSEmmanuel Vadot <AT91_PIOA 30 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA30 periph B */ 310*f126890aSEmmanuel Vadot }; 311*f126890aSEmmanuel Vadot 312*f126890aSEmmanuel Vadot pinctrl_uart2_cts: uart2_cts-0 { 313*f126890aSEmmanuel Vadot atmel,pins = 314*f126890aSEmmanuel Vadot <AT91_PIOA 31 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA31 periph B */ 315*f126890aSEmmanuel Vadot }; 316*f126890aSEmmanuel Vadot }; 317*f126890aSEmmanuel Vadot 318*f126890aSEmmanuel Vadot uart3 { 319*f126890aSEmmanuel Vadot pinctrl_uart3: uart3-0 { 320*f126890aSEmmanuel Vadot atmel,pins = 321*f126890aSEmmanuel Vadot <AT91_PIOA 5 AT91_PERIPH_B AT91_PINCTRL_NONE 322*f126890aSEmmanuel Vadot AT91_PIOA 6 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; 323*f126890aSEmmanuel Vadot }; 324*f126890aSEmmanuel Vadot 325*f126890aSEmmanuel Vadot pinctrl_uart3_rts: uart3_rts-0 { 326*f126890aSEmmanuel Vadot atmel,pins = 327*f126890aSEmmanuel Vadot <AT91_PIOB 0 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB0 periph B */ 328*f126890aSEmmanuel Vadot }; 329*f126890aSEmmanuel Vadot 330*f126890aSEmmanuel Vadot pinctrl_uart3_cts: uart3_cts-0 { 331*f126890aSEmmanuel Vadot atmel,pins = 332*f126890aSEmmanuel Vadot <AT91_PIOB 1 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB1 periph B */ 333*f126890aSEmmanuel Vadot }; 334*f126890aSEmmanuel Vadot }; 335*f126890aSEmmanuel Vadot 336*f126890aSEmmanuel Vadot nand { 337*f126890aSEmmanuel Vadot pinctrl_nand: nand-0 { 338*f126890aSEmmanuel Vadot atmel,pins = 339*f126890aSEmmanuel Vadot <AT91_PIOC 2 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PC2 gpio RDY pin pull_up */ 340*f126890aSEmmanuel Vadot AT91_PIOB 1 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>; /* PB1 gpio CD pin pull_up */ 341*f126890aSEmmanuel Vadot }; 342*f126890aSEmmanuel Vadot }; 343*f126890aSEmmanuel Vadot 344*f126890aSEmmanuel Vadot macb { 345*f126890aSEmmanuel Vadot pinctrl_macb_rmii: macb_rmii-0 { 346*f126890aSEmmanuel Vadot atmel,pins = 347*f126890aSEmmanuel Vadot <AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA7 periph A */ 348*f126890aSEmmanuel Vadot AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA8 periph A */ 349*f126890aSEmmanuel Vadot AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA9 periph A */ 350*f126890aSEmmanuel Vadot AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA10 periph A */ 351*f126890aSEmmanuel Vadot AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA11 periph A */ 352*f126890aSEmmanuel Vadot AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA12 periph A */ 353*f126890aSEmmanuel Vadot AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA13 periph A */ 354*f126890aSEmmanuel Vadot AT91_PIOA 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA14 periph A */ 355*f126890aSEmmanuel Vadot AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA15 periph A */ 356*f126890aSEmmanuel Vadot AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA16 periph A */ 357*f126890aSEmmanuel Vadot }; 358*f126890aSEmmanuel Vadot 359*f126890aSEmmanuel Vadot pinctrl_macb_rmii_mii: macb_rmii_mii-0 { 360*f126890aSEmmanuel Vadot atmel,pins = 361*f126890aSEmmanuel Vadot <AT91_PIOB 12 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB12 periph B */ 362*f126890aSEmmanuel Vadot AT91_PIOB 13 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB13 periph B */ 363*f126890aSEmmanuel Vadot AT91_PIOB 14 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB14 periph B */ 364*f126890aSEmmanuel Vadot AT91_PIOB 15 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB15 periph B */ 365*f126890aSEmmanuel Vadot AT91_PIOB 16 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB16 periph B */ 366*f126890aSEmmanuel Vadot AT91_PIOB 17 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB17 periph B */ 367*f126890aSEmmanuel Vadot AT91_PIOB 18 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB18 periph B */ 368*f126890aSEmmanuel Vadot AT91_PIOB 19 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB19 periph B */ 369*f126890aSEmmanuel Vadot }; 370*f126890aSEmmanuel Vadot }; 371*f126890aSEmmanuel Vadot 372*f126890aSEmmanuel Vadot mmc0 { 373*f126890aSEmmanuel Vadot pinctrl_mmc0_clk: mmc0_clk-0 { 374*f126890aSEmmanuel Vadot atmel,pins = 375*f126890aSEmmanuel Vadot <AT91_PIOA 27 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA27 periph A */ 376*f126890aSEmmanuel Vadot }; 377*f126890aSEmmanuel Vadot 378*f126890aSEmmanuel Vadot pinctrl_mmc0_slot0_cmd_dat0: mmc0_slot0_cmd_dat0-0 { 379*f126890aSEmmanuel Vadot atmel,pins = 380*f126890aSEmmanuel Vadot <AT91_PIOA 28 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA28 periph A with pullup */ 381*f126890aSEmmanuel Vadot AT91_PIOA 29 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA29 periph A with pullup */ 382*f126890aSEmmanuel Vadot }; 383*f126890aSEmmanuel Vadot 384*f126890aSEmmanuel Vadot pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 { 385*f126890aSEmmanuel Vadot atmel,pins = 386*f126890aSEmmanuel Vadot <AT91_PIOB 3 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PB3 periph B with pullup */ 387*f126890aSEmmanuel Vadot AT91_PIOB 4 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PB4 periph B with pullup */ 388*f126890aSEmmanuel Vadot AT91_PIOB 5 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PB5 periph B with pullup */ 389*f126890aSEmmanuel Vadot }; 390*f126890aSEmmanuel Vadot 391*f126890aSEmmanuel Vadot pinctrl_mmc0_slot1_cmd_dat0: mmc0_slot1_cmd_dat0-0 { 392*f126890aSEmmanuel Vadot atmel,pins = 393*f126890aSEmmanuel Vadot <AT91_PIOA 8 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA8 periph B with pullup */ 394*f126890aSEmmanuel Vadot AT91_PIOA 9 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PA9 periph B with pullup */ 395*f126890aSEmmanuel Vadot }; 396*f126890aSEmmanuel Vadot 397*f126890aSEmmanuel Vadot pinctrl_mmc0_slot1_dat1_3: mmc0_slot1_dat1_3-0 { 398*f126890aSEmmanuel Vadot atmel,pins = 399*f126890aSEmmanuel Vadot <AT91_PIOA 10 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA10 periph B with pullup */ 400*f126890aSEmmanuel Vadot AT91_PIOA 11 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA11 periph B with pullup */ 401*f126890aSEmmanuel Vadot AT91_PIOA 12 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PA12 periph B with pullup */ 402*f126890aSEmmanuel Vadot }; 403*f126890aSEmmanuel Vadot }; 404*f126890aSEmmanuel Vadot 405*f126890aSEmmanuel Vadot ssc0 { 406*f126890aSEmmanuel Vadot pinctrl_ssc0_tx: ssc0_tx-0 { 407*f126890aSEmmanuel Vadot atmel,pins = 408*f126890aSEmmanuel Vadot <AT91_PIOB 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB0 periph A */ 409*f126890aSEmmanuel Vadot AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB1 periph A */ 410*f126890aSEmmanuel Vadot AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB2 periph A */ 411*f126890aSEmmanuel Vadot }; 412*f126890aSEmmanuel Vadot 413*f126890aSEmmanuel Vadot pinctrl_ssc0_rx: ssc0_rx-0 { 414*f126890aSEmmanuel Vadot atmel,pins = 415*f126890aSEmmanuel Vadot <AT91_PIOB 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB3 periph A */ 416*f126890aSEmmanuel Vadot AT91_PIOB 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB4 periph A */ 417*f126890aSEmmanuel Vadot AT91_PIOB 5 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB5 periph A */ 418*f126890aSEmmanuel Vadot }; 419*f126890aSEmmanuel Vadot }; 420*f126890aSEmmanuel Vadot 421*f126890aSEmmanuel Vadot ssc1 { 422*f126890aSEmmanuel Vadot pinctrl_ssc1_tx: ssc1_tx-0 { 423*f126890aSEmmanuel Vadot atmel,pins = 424*f126890aSEmmanuel Vadot <AT91_PIOB 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB6 periph A */ 425*f126890aSEmmanuel Vadot AT91_PIOB 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB7 periph A */ 426*f126890aSEmmanuel Vadot AT91_PIOB 8 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB8 periph A */ 427*f126890aSEmmanuel Vadot }; 428*f126890aSEmmanuel Vadot 429*f126890aSEmmanuel Vadot pinctrl_ssc1_rx: ssc1_rx-0 { 430*f126890aSEmmanuel Vadot atmel,pins = 431*f126890aSEmmanuel Vadot <AT91_PIOB 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB9 periph A */ 432*f126890aSEmmanuel Vadot AT91_PIOB 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB10 periph A */ 433*f126890aSEmmanuel Vadot AT91_PIOB 11 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB11 periph A */ 434*f126890aSEmmanuel Vadot }; 435*f126890aSEmmanuel Vadot }; 436*f126890aSEmmanuel Vadot 437*f126890aSEmmanuel Vadot ssc2 { 438*f126890aSEmmanuel Vadot pinctrl_ssc2_tx: ssc2_tx-0 { 439*f126890aSEmmanuel Vadot atmel,pins = 440*f126890aSEmmanuel Vadot <AT91_PIOB 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB12 periph A */ 441*f126890aSEmmanuel Vadot AT91_PIOB 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB13 periph A */ 442*f126890aSEmmanuel Vadot AT91_PIOB 14 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB14 periph A */ 443*f126890aSEmmanuel Vadot }; 444*f126890aSEmmanuel Vadot 445*f126890aSEmmanuel Vadot pinctrl_ssc2_rx: ssc2_rx-0 { 446*f126890aSEmmanuel Vadot atmel,pins = 447*f126890aSEmmanuel Vadot <AT91_PIOB 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB15 periph A */ 448*f126890aSEmmanuel Vadot AT91_PIOB 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB16 periph A */ 449*f126890aSEmmanuel Vadot AT91_PIOB 17 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB17 periph A */ 450*f126890aSEmmanuel Vadot }; 451*f126890aSEmmanuel Vadot }; 452*f126890aSEmmanuel Vadot 453*f126890aSEmmanuel Vadot twi { 454*f126890aSEmmanuel Vadot pinctrl_twi: twi-0 { 455*f126890aSEmmanuel Vadot atmel,pins = 456*f126890aSEmmanuel Vadot <AT91_PIOA 25 AT91_PERIPH_A AT91_PINCTRL_MULTI_DRIVE /* PA25 periph A with multi drive */ 457*f126890aSEmmanuel Vadot AT91_PIOA 26 AT91_PERIPH_A AT91_PINCTRL_MULTI_DRIVE>; /* PA26 periph A with multi drive */ 458*f126890aSEmmanuel Vadot }; 459*f126890aSEmmanuel Vadot 460*f126890aSEmmanuel Vadot pinctrl_twi_gpio: twi_gpio-0 { 461*f126890aSEmmanuel Vadot atmel,pins = 462*f126890aSEmmanuel Vadot <AT91_PIOA 25 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PA25 GPIO with multi drive */ 463*f126890aSEmmanuel Vadot AT91_PIOA 26 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PA26 GPIO with multi drive */ 464*f126890aSEmmanuel Vadot }; 465*f126890aSEmmanuel Vadot }; 466*f126890aSEmmanuel Vadot 467*f126890aSEmmanuel Vadot tcb0 { 468*f126890aSEmmanuel Vadot pinctrl_tcb0_tclk0: tcb0_tclk0-0 { 469*f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOA 13 AT91_PERIPH_B AT91_PINCTRL_NONE>; 470*f126890aSEmmanuel Vadot }; 471*f126890aSEmmanuel Vadot 472*f126890aSEmmanuel Vadot pinctrl_tcb0_tclk1: tcb0_tclk1-0 { 473*f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOA 14 AT91_PERIPH_B AT91_PINCTRL_NONE>; 474*f126890aSEmmanuel Vadot }; 475*f126890aSEmmanuel Vadot 476*f126890aSEmmanuel Vadot pinctrl_tcb0_tclk2: tcb0_tclk2-0 { 477*f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOA 15 AT91_PERIPH_B AT91_PINCTRL_NONE>; 478*f126890aSEmmanuel Vadot }; 479*f126890aSEmmanuel Vadot 480*f126890aSEmmanuel Vadot pinctrl_tcb0_tioa0: tcb0_tioa0-0 { 481*f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOA 17 AT91_PERIPH_B AT91_PINCTRL_NONE>; 482*f126890aSEmmanuel Vadot }; 483*f126890aSEmmanuel Vadot 484*f126890aSEmmanuel Vadot pinctrl_tcb0_tioa1: tcb0_tioa1-0 { 485*f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOA 19 AT91_PERIPH_B AT91_PINCTRL_NONE>; 486*f126890aSEmmanuel Vadot }; 487*f126890aSEmmanuel Vadot 488*f126890aSEmmanuel Vadot pinctrl_tcb0_tioa2: tcb0_tioa2-0 { 489*f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOA 21 AT91_PERIPH_B AT91_PINCTRL_NONE>; 490*f126890aSEmmanuel Vadot }; 491*f126890aSEmmanuel Vadot 492*f126890aSEmmanuel Vadot pinctrl_tcb0_tiob0: tcb0_tiob0-0 { 493*f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOA 18 AT91_PERIPH_B AT91_PINCTRL_NONE>; 494*f126890aSEmmanuel Vadot }; 495*f126890aSEmmanuel Vadot 496*f126890aSEmmanuel Vadot pinctrl_tcb0_tiob1: tcb0_tiob1-0 { 497*f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOA 20 AT91_PERIPH_B AT91_PINCTRL_NONE>; 498*f126890aSEmmanuel Vadot }; 499*f126890aSEmmanuel Vadot 500*f126890aSEmmanuel Vadot pinctrl_tcb0_tiob2: tcb0_tiob2-0 { 501*f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE>; 502*f126890aSEmmanuel Vadot }; 503*f126890aSEmmanuel Vadot }; 504*f126890aSEmmanuel Vadot 505*f126890aSEmmanuel Vadot tcb1 { 506*f126890aSEmmanuel Vadot pinctrl_tcb1_tclk0: tcb1_tclk0-0 { 507*f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOA 27 AT91_PERIPH_B AT91_PINCTRL_NONE>; 508*f126890aSEmmanuel Vadot }; 509*f126890aSEmmanuel Vadot 510*f126890aSEmmanuel Vadot pinctrl_tcb1_tclk1: tcb1_tclk1-0 { 511*f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOA 28 AT91_PERIPH_B AT91_PINCTRL_NONE>; 512*f126890aSEmmanuel Vadot }; 513*f126890aSEmmanuel Vadot 514*f126890aSEmmanuel Vadot pinctrl_tcb1_tclk2: tcb1_tclk2-0 { 515*f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOA 29 AT91_PERIPH_B AT91_PINCTRL_NONE>; 516*f126890aSEmmanuel Vadot }; 517*f126890aSEmmanuel Vadot 518*f126890aSEmmanuel Vadot pinctrl_tcb1_tioa0: tcb1_tioa0-0 { 519*f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOB 6 AT91_PERIPH_B AT91_PINCTRL_NONE>; 520*f126890aSEmmanuel Vadot }; 521*f126890aSEmmanuel Vadot 522*f126890aSEmmanuel Vadot pinctrl_tcb1_tioa1: tcb1_tioa1-0 { 523*f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOB 8 AT91_PERIPH_B AT91_PINCTRL_NONE>; 524*f126890aSEmmanuel Vadot }; 525*f126890aSEmmanuel Vadot 526*f126890aSEmmanuel Vadot pinctrl_tcb1_tioa2: tcb1_tioa2-0 { 527*f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOB 10 AT91_PERIPH_B AT91_PINCTRL_NONE>; 528*f126890aSEmmanuel Vadot }; 529*f126890aSEmmanuel Vadot 530*f126890aSEmmanuel Vadot pinctrl_tcb1_tiob0: tcb1_tiob0-0 { 531*f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOB 7 AT91_PERIPH_B AT91_PINCTRL_NONE>; 532*f126890aSEmmanuel Vadot }; 533*f126890aSEmmanuel Vadot 534*f126890aSEmmanuel Vadot pinctrl_tcb1_tiob1: tcb1_tiob1-0 { 535*f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOB 9 AT91_PERIPH_B AT91_PINCTRL_NONE>; 536*f126890aSEmmanuel Vadot }; 537*f126890aSEmmanuel Vadot 538*f126890aSEmmanuel Vadot pinctrl_tcb1_tiob2: tcb1_tiob2-0 { 539*f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOB 11 AT91_PERIPH_B AT91_PINCTRL_NONE>; 540*f126890aSEmmanuel Vadot }; 541*f126890aSEmmanuel Vadot }; 542*f126890aSEmmanuel Vadot 543*f126890aSEmmanuel Vadot spi0 { 544*f126890aSEmmanuel Vadot pinctrl_spi0: spi0-0 { 545*f126890aSEmmanuel Vadot atmel,pins = 546*f126890aSEmmanuel Vadot <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA0 periph A SPI0_MISO pin */ 547*f126890aSEmmanuel Vadot AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA1 periph A SPI0_MOSI pin */ 548*f126890aSEmmanuel Vadot AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA2 periph A SPI0_SPCK pin */ 549*f126890aSEmmanuel Vadot }; 550*f126890aSEmmanuel Vadot }; 551*f126890aSEmmanuel Vadot 552*f126890aSEmmanuel Vadot pioA: gpio@fffff400 { 553*f126890aSEmmanuel Vadot compatible = "atmel,at91rm9200-gpio"; 554*f126890aSEmmanuel Vadot reg = <0xfffff400 0x200>; 555*f126890aSEmmanuel Vadot interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>; 556*f126890aSEmmanuel Vadot #gpio-cells = <2>; 557*f126890aSEmmanuel Vadot gpio-controller; 558*f126890aSEmmanuel Vadot interrupt-controller; 559*f126890aSEmmanuel Vadot #interrupt-cells = <2>; 560*f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 2>; 561*f126890aSEmmanuel Vadot }; 562*f126890aSEmmanuel Vadot 563*f126890aSEmmanuel Vadot pioB: gpio@fffff600 { 564*f126890aSEmmanuel Vadot compatible = "atmel,at91rm9200-gpio"; 565*f126890aSEmmanuel Vadot reg = <0xfffff600 0x200>; 566*f126890aSEmmanuel Vadot interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>; 567*f126890aSEmmanuel Vadot #gpio-cells = <2>; 568*f126890aSEmmanuel Vadot gpio-controller; 569*f126890aSEmmanuel Vadot interrupt-controller; 570*f126890aSEmmanuel Vadot #interrupt-cells = <2>; 571*f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 3>; 572*f126890aSEmmanuel Vadot }; 573*f126890aSEmmanuel Vadot 574*f126890aSEmmanuel Vadot pioC: gpio@fffff800 { 575*f126890aSEmmanuel Vadot compatible = "atmel,at91rm9200-gpio"; 576*f126890aSEmmanuel Vadot reg = <0xfffff800 0x200>; 577*f126890aSEmmanuel Vadot interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>; 578*f126890aSEmmanuel Vadot #gpio-cells = <2>; 579*f126890aSEmmanuel Vadot gpio-controller; 580*f126890aSEmmanuel Vadot interrupt-controller; 581*f126890aSEmmanuel Vadot #interrupt-cells = <2>; 582*f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 4>; 583*f126890aSEmmanuel Vadot }; 584*f126890aSEmmanuel Vadot 585*f126890aSEmmanuel Vadot pioD: gpio@fffffa00 { 586*f126890aSEmmanuel Vadot compatible = "atmel,at91rm9200-gpio"; 587*f126890aSEmmanuel Vadot reg = <0xfffffa00 0x200>; 588*f126890aSEmmanuel Vadot interrupts = <5 IRQ_TYPE_LEVEL_HIGH 1>; 589*f126890aSEmmanuel Vadot #gpio-cells = <2>; 590*f126890aSEmmanuel Vadot gpio-controller; 591*f126890aSEmmanuel Vadot interrupt-controller; 592*f126890aSEmmanuel Vadot #interrupt-cells = <2>; 593*f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 5>; 594*f126890aSEmmanuel Vadot }; 595*f126890aSEmmanuel Vadot }; 596*f126890aSEmmanuel Vadot 597*f126890aSEmmanuel Vadot dbgu: serial@fffff200 { 598*f126890aSEmmanuel Vadot compatible = "atmel,at91rm9200-dbgu", "atmel,at91rm9200-usart"; 599*f126890aSEmmanuel Vadot reg = <0xfffff200 0x200>; 600*f126890aSEmmanuel Vadot atmel,usart-mode = <AT91_USART_MODE_SERIAL>; 601*f126890aSEmmanuel Vadot interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; 602*f126890aSEmmanuel Vadot pinctrl-names = "default"; 603*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_dbgu>; 604*f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_CORE PMC_MCK>; 605*f126890aSEmmanuel Vadot clock-names = "usart"; 606*f126890aSEmmanuel Vadot status = "disabled"; 607*f126890aSEmmanuel Vadot }; 608*f126890aSEmmanuel Vadot 609*f126890aSEmmanuel Vadot usart0: serial@fffc0000 { 610*f126890aSEmmanuel Vadot compatible = "atmel,at91rm9200-usart"; 611*f126890aSEmmanuel Vadot reg = <0xfffc0000 0x200>; 612*f126890aSEmmanuel Vadot atmel,usart-mode = <AT91_USART_MODE_SERIAL>; 613*f126890aSEmmanuel Vadot interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>; 614*f126890aSEmmanuel Vadot atmel,use-dma-rx; 615*f126890aSEmmanuel Vadot atmel,use-dma-tx; 616*f126890aSEmmanuel Vadot pinctrl-names = "default"; 617*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_uart0>; 618*f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 6>; 619*f126890aSEmmanuel Vadot clock-names = "usart"; 620*f126890aSEmmanuel Vadot status = "disabled"; 621*f126890aSEmmanuel Vadot }; 622*f126890aSEmmanuel Vadot 623*f126890aSEmmanuel Vadot usart1: serial@fffc4000 { 624*f126890aSEmmanuel Vadot compatible = "atmel,at91rm9200-usart"; 625*f126890aSEmmanuel Vadot reg = <0xfffc4000 0x200>; 626*f126890aSEmmanuel Vadot atmel,usart-mode = <AT91_USART_MODE_SERIAL>; 627*f126890aSEmmanuel Vadot interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>; 628*f126890aSEmmanuel Vadot atmel,use-dma-rx; 629*f126890aSEmmanuel Vadot atmel,use-dma-tx; 630*f126890aSEmmanuel Vadot pinctrl-names = "default"; 631*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_uart1>; 632*f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 7>; 633*f126890aSEmmanuel Vadot clock-names = "usart"; 634*f126890aSEmmanuel Vadot status = "disabled"; 635*f126890aSEmmanuel Vadot }; 636*f126890aSEmmanuel Vadot 637*f126890aSEmmanuel Vadot usart2: serial@fffc8000 { 638*f126890aSEmmanuel Vadot compatible = "atmel,at91rm9200-usart"; 639*f126890aSEmmanuel Vadot reg = <0xfffc8000 0x200>; 640*f126890aSEmmanuel Vadot atmel,usart-mode = <AT91_USART_MODE_SERIAL>; 641*f126890aSEmmanuel Vadot interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>; 642*f126890aSEmmanuel Vadot atmel,use-dma-rx; 643*f126890aSEmmanuel Vadot atmel,use-dma-tx; 644*f126890aSEmmanuel Vadot pinctrl-names = "default"; 645*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_uart2>; 646*f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 8>; 647*f126890aSEmmanuel Vadot clock-names = "usart"; 648*f126890aSEmmanuel Vadot status = "disabled"; 649*f126890aSEmmanuel Vadot }; 650*f126890aSEmmanuel Vadot 651*f126890aSEmmanuel Vadot usart3: serial@fffcc000 { 652*f126890aSEmmanuel Vadot compatible = "atmel,at91rm9200-usart"; 653*f126890aSEmmanuel Vadot reg = <0xfffcc000 0x200>; 654*f126890aSEmmanuel Vadot atmel,usart-mode = <AT91_USART_MODE_SERIAL>; 655*f126890aSEmmanuel Vadot interrupts = <23 IRQ_TYPE_LEVEL_HIGH 5>; 656*f126890aSEmmanuel Vadot atmel,use-dma-rx; 657*f126890aSEmmanuel Vadot atmel,use-dma-tx; 658*f126890aSEmmanuel Vadot pinctrl-names = "default"; 659*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_uart3>; 660*f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 9>; 661*f126890aSEmmanuel Vadot clock-names = "usart"; 662*f126890aSEmmanuel Vadot status = "disabled"; 663*f126890aSEmmanuel Vadot }; 664*f126890aSEmmanuel Vadot 665*f126890aSEmmanuel Vadot usb1: gadget@fffb0000 { 666*f126890aSEmmanuel Vadot compatible = "atmel,at91rm9200-udc"; 667*f126890aSEmmanuel Vadot reg = <0xfffb0000 0x4000>; 668*f126890aSEmmanuel Vadot interrupts = <11 IRQ_TYPE_LEVEL_HIGH 2>; 669*f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 11>, <&pmc PMC_TYPE_SYSTEM 1>; 670*f126890aSEmmanuel Vadot clock-names = "pclk", "hclk"; 671*f126890aSEmmanuel Vadot status = "disabled"; 672*f126890aSEmmanuel Vadot }; 673*f126890aSEmmanuel Vadot 674*f126890aSEmmanuel Vadot spi0: spi@fffe0000 { 675*f126890aSEmmanuel Vadot #address-cells = <1>; 676*f126890aSEmmanuel Vadot #size-cells = <0>; 677*f126890aSEmmanuel Vadot compatible = "atmel,at91rm9200-spi"; 678*f126890aSEmmanuel Vadot reg = <0xfffe0000 0x200>; 679*f126890aSEmmanuel Vadot interrupts = <13 IRQ_TYPE_LEVEL_HIGH 3>; 680*f126890aSEmmanuel Vadot pinctrl-names = "default"; 681*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_spi0>; 682*f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 13>; 683*f126890aSEmmanuel Vadot clock-names = "spi_clk"; 684*f126890aSEmmanuel Vadot status = "disabled"; 685*f126890aSEmmanuel Vadot }; 686*f126890aSEmmanuel Vadot }; 687*f126890aSEmmanuel Vadot 688*f126890aSEmmanuel Vadot nand0: nand@40000000 { 689*f126890aSEmmanuel Vadot compatible = "atmel,at91rm9200-nand"; 690*f126890aSEmmanuel Vadot #address-cells = <1>; 691*f126890aSEmmanuel Vadot #size-cells = <1>; 692*f126890aSEmmanuel Vadot reg = <0x40000000 0x10000000>; 693*f126890aSEmmanuel Vadot atmel,nand-addr-offset = <21>; 694*f126890aSEmmanuel Vadot atmel,nand-cmd-offset = <22>; 695*f126890aSEmmanuel Vadot pinctrl-names = "default"; 696*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_nand>; 697*f126890aSEmmanuel Vadot nand-ecc-mode = "soft"; 698*f126890aSEmmanuel Vadot gpios = <&pioC 2 GPIO_ACTIVE_HIGH 699*f126890aSEmmanuel Vadot 0 700*f126890aSEmmanuel Vadot &pioB 1 GPIO_ACTIVE_HIGH 701*f126890aSEmmanuel Vadot >; 702*f126890aSEmmanuel Vadot status = "disabled"; 703*f126890aSEmmanuel Vadot }; 704*f126890aSEmmanuel Vadot 705*f126890aSEmmanuel Vadot usb0: ohci@300000 { 706*f126890aSEmmanuel Vadot compatible = "atmel,at91rm9200-ohci", "usb-ohci"; 707*f126890aSEmmanuel Vadot reg = <0x00300000 0x100000>; 708*f126890aSEmmanuel Vadot interrupts = <23 IRQ_TYPE_LEVEL_HIGH 2>; 709*f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 23>, <&pmc PMC_TYPE_PERIPHERAL 23>, <&pmc PMC_TYPE_SYSTEM 4>; 710*f126890aSEmmanuel Vadot clock-names = "ohci_clk", "hclk", "uhpck"; 711*f126890aSEmmanuel Vadot status = "disabled"; 712*f126890aSEmmanuel Vadot }; 713*f126890aSEmmanuel Vadot }; 714*f126890aSEmmanuel Vadot 715*f126890aSEmmanuel Vadot i2c-gpio-0 { 716*f126890aSEmmanuel Vadot compatible = "i2c-gpio"; 717*f126890aSEmmanuel Vadot gpios = <&pioA 25 GPIO_ACTIVE_HIGH /* sda */ 718*f126890aSEmmanuel Vadot &pioA 26 GPIO_ACTIVE_HIGH /* scl */ 719*f126890aSEmmanuel Vadot >; 720*f126890aSEmmanuel Vadot i2c-gpio,sda-open-drain; 721*f126890aSEmmanuel Vadot i2c-gpio,scl-open-drain; 722*f126890aSEmmanuel Vadot i2c-gpio,delay-us = <2>; /* ~100 kHz */ 723*f126890aSEmmanuel Vadot pinctrl-names = "default"; 724*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_twi_gpio>; 725*f126890aSEmmanuel Vadot #address-cells = <1>; 726*f126890aSEmmanuel Vadot #size-cells = <0>; 727*f126890aSEmmanuel Vadot status = "disabled"; 728*f126890aSEmmanuel Vadot }; 729*f126890aSEmmanuel Vadot}; 730