1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later 2f126890aSEmmanuel Vadot/* 3f126890aSEmmanuel Vadot * at91sam9n12.dtsi - Device Tree include file for AT91SAM9N12 SoC 4f126890aSEmmanuel Vadot * 5f126890aSEmmanuel Vadot * Copyright (C) 2012 Atmel, 6f126890aSEmmanuel Vadot * 2012 Hong Xu <hong.xu@atmel.com> 7f126890aSEmmanuel Vadot */ 8f126890aSEmmanuel Vadot 9f126890aSEmmanuel Vadot#include <dt-bindings/dma/at91.h> 10f126890aSEmmanuel Vadot#include <dt-bindings/pinctrl/at91.h> 11f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h> 12f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 13f126890aSEmmanuel Vadot#include <dt-bindings/clock/at91.h> 14f126890aSEmmanuel Vadot#include <dt-bindings/mfd/at91-usart.h> 15f126890aSEmmanuel Vadot 16f126890aSEmmanuel Vadot/ { 17f126890aSEmmanuel Vadot #address-cells = <1>; 18f126890aSEmmanuel Vadot #size-cells = <1>; 19f126890aSEmmanuel Vadot model = "Atmel AT91SAM9N12 SoC"; 20f126890aSEmmanuel Vadot compatible = "atmel,at91sam9n12"; 21f126890aSEmmanuel Vadot interrupt-parent = <&aic>; 22f126890aSEmmanuel Vadot 23f126890aSEmmanuel Vadot aliases { 24f126890aSEmmanuel Vadot serial0 = &dbgu; 25f126890aSEmmanuel Vadot serial1 = &usart0; 26f126890aSEmmanuel Vadot serial2 = &usart1; 27f126890aSEmmanuel Vadot serial3 = &usart2; 28f126890aSEmmanuel Vadot serial4 = &usart3; 29f126890aSEmmanuel Vadot gpio0 = &pioA; 30f126890aSEmmanuel Vadot gpio1 = &pioB; 31f126890aSEmmanuel Vadot gpio2 = &pioC; 32f126890aSEmmanuel Vadot gpio3 = &pioD; 33f126890aSEmmanuel Vadot tcb0 = &tcb0; 34f126890aSEmmanuel Vadot tcb1 = &tcb1; 35f126890aSEmmanuel Vadot i2c0 = &i2c0; 36f126890aSEmmanuel Vadot i2c1 = &i2c1; 37f126890aSEmmanuel Vadot ssc0 = &ssc0; 38f126890aSEmmanuel Vadot pwm0 = &pwm0; 39f126890aSEmmanuel Vadot }; 40f126890aSEmmanuel Vadot cpus { 41f126890aSEmmanuel Vadot #address-cells = <1>; 42f126890aSEmmanuel Vadot #size-cells = <0>; 43f126890aSEmmanuel Vadot 44f126890aSEmmanuel Vadot cpu@0 { 45f126890aSEmmanuel Vadot compatible = "arm,arm926ej-s"; 46f126890aSEmmanuel Vadot device_type = "cpu"; 47f126890aSEmmanuel Vadot reg = <0>; 48f126890aSEmmanuel Vadot }; 49f126890aSEmmanuel Vadot }; 50f126890aSEmmanuel Vadot 51f126890aSEmmanuel Vadot memory@20000000 { 52f126890aSEmmanuel Vadot device_type = "memory"; 53f126890aSEmmanuel Vadot reg = <0x20000000 0x10000000>; 54f126890aSEmmanuel Vadot }; 55f126890aSEmmanuel Vadot 56f126890aSEmmanuel Vadot clocks { 57f126890aSEmmanuel Vadot slow_xtal: slow_xtal { 58f126890aSEmmanuel Vadot compatible = "fixed-clock"; 59f126890aSEmmanuel Vadot #clock-cells = <0>; 60f126890aSEmmanuel Vadot clock-frequency = <0>; 61f126890aSEmmanuel Vadot }; 62f126890aSEmmanuel Vadot 63f126890aSEmmanuel Vadot main_xtal: main_xtal { 64f126890aSEmmanuel Vadot compatible = "fixed-clock"; 65f126890aSEmmanuel Vadot #clock-cells = <0>; 66f126890aSEmmanuel Vadot clock-frequency = <0>; 67f126890aSEmmanuel Vadot }; 68f126890aSEmmanuel Vadot }; 69f126890aSEmmanuel Vadot 70f126890aSEmmanuel Vadot sram: sram@300000 { 71f126890aSEmmanuel Vadot compatible = "mmio-sram"; 72f126890aSEmmanuel Vadot reg = <0x00300000 0x8000>; 73f126890aSEmmanuel Vadot #address-cells = <1>; 74f126890aSEmmanuel Vadot #size-cells = <1>; 75f126890aSEmmanuel Vadot ranges = <0 0x00300000 0x8000>; 76f126890aSEmmanuel Vadot }; 77f126890aSEmmanuel Vadot 78f126890aSEmmanuel Vadot ahb { 79f126890aSEmmanuel Vadot compatible = "simple-bus"; 80f126890aSEmmanuel Vadot #address-cells = <1>; 81f126890aSEmmanuel Vadot #size-cells = <1>; 82f126890aSEmmanuel Vadot ranges; 83f126890aSEmmanuel Vadot 84f126890aSEmmanuel Vadot apb { 85f126890aSEmmanuel Vadot compatible = "simple-bus"; 86f126890aSEmmanuel Vadot #address-cells = <1>; 87f126890aSEmmanuel Vadot #size-cells = <1>; 88f126890aSEmmanuel Vadot ranges; 89f126890aSEmmanuel Vadot 90f126890aSEmmanuel Vadot aic: interrupt-controller@fffff000 { 91f126890aSEmmanuel Vadot #interrupt-cells = <3>; 92f126890aSEmmanuel Vadot compatible = "atmel,at91rm9200-aic"; 93f126890aSEmmanuel Vadot interrupt-controller; 94f126890aSEmmanuel Vadot reg = <0xfffff000 0x200>; 95f126890aSEmmanuel Vadot atmel,external-irqs = <31>; 96f126890aSEmmanuel Vadot }; 97f126890aSEmmanuel Vadot 98f126890aSEmmanuel Vadot matrix: matrix@ffffde00 { 99f126890aSEmmanuel Vadot compatible = "atmel,at91sam9n12-matrix", "syscon"; 100f126890aSEmmanuel Vadot reg = <0xffffde00 0x100>; 101f126890aSEmmanuel Vadot }; 102f126890aSEmmanuel Vadot 103f126890aSEmmanuel Vadot pmecc: ecc-engine@ffffe000 { 104f126890aSEmmanuel Vadot compatible = "atmel,at91sam9g45-pmecc"; 105f126890aSEmmanuel Vadot reg = <0xffffe000 0x600>, 106f126890aSEmmanuel Vadot <0xffffe600 0x200>; 107f126890aSEmmanuel Vadot }; 108f126890aSEmmanuel Vadot 109f126890aSEmmanuel Vadot ramc0: ramc@ffffe800 { 110f126890aSEmmanuel Vadot compatible = "atmel,at91sam9g45-ddramc"; 111f126890aSEmmanuel Vadot reg = <0xffffe800 0x200>; 112f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_SYSTEM 2>; 113f126890aSEmmanuel Vadot clock-names = "ddrck"; 114f126890aSEmmanuel Vadot }; 115f126890aSEmmanuel Vadot 116f126890aSEmmanuel Vadot smc: smc@ffffea00 { 117f126890aSEmmanuel Vadot compatible = "atmel,at91sam9260-smc", "syscon"; 118f126890aSEmmanuel Vadot reg = <0xffffea00 0x200>; 119f126890aSEmmanuel Vadot }; 120f126890aSEmmanuel Vadot 121f126890aSEmmanuel Vadot pmc: clock-controller@fffffc00 { 122f126890aSEmmanuel Vadot compatible = "atmel,at91sam9n12-pmc", "syscon"; 123f126890aSEmmanuel Vadot reg = <0xfffffc00 0x200>; 124f126890aSEmmanuel Vadot #clock-cells = <2>; 125f126890aSEmmanuel Vadot clocks = <&clk32k>, <&main_xtal>; 126f126890aSEmmanuel Vadot clock-names = "slow_clk", "main_xtal"; 127f126890aSEmmanuel Vadot interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; 128f126890aSEmmanuel Vadot }; 129f126890aSEmmanuel Vadot 130f126890aSEmmanuel Vadot reset-controller@fffffe00 { 131f126890aSEmmanuel Vadot compatible = "atmel,at91sam9g45-rstc"; 132f126890aSEmmanuel Vadot reg = <0xfffffe00 0x10>; 133f126890aSEmmanuel Vadot clocks = <&clk32k>; 134f126890aSEmmanuel Vadot }; 135f126890aSEmmanuel Vadot 136f126890aSEmmanuel Vadot pit: timer@fffffe30 { 137f126890aSEmmanuel Vadot compatible = "atmel,at91sam9260-pit"; 138f126890aSEmmanuel Vadot reg = <0xfffffe30 0xf>; 139f126890aSEmmanuel Vadot interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; 140f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_CORE PMC_MCK>; 141f126890aSEmmanuel Vadot }; 142f126890aSEmmanuel Vadot 143f126890aSEmmanuel Vadot poweroff@fffffe10 { 144f126890aSEmmanuel Vadot compatible = "atmel,at91sam9x5-shdwc"; 145f126890aSEmmanuel Vadot reg = <0xfffffe10 0x10>; 146f126890aSEmmanuel Vadot clocks = <&clk32k>; 147f126890aSEmmanuel Vadot }; 148f126890aSEmmanuel Vadot 149f126890aSEmmanuel Vadot clk32k: clock-controller@fffffe50 { 150f126890aSEmmanuel Vadot compatible = "atmel,at91sam9x5-sckc"; 151f126890aSEmmanuel Vadot reg = <0xfffffe50 0x4>; 152f126890aSEmmanuel Vadot clocks = <&slow_xtal>; 153f126890aSEmmanuel Vadot #clock-cells = <0>; 154f126890aSEmmanuel Vadot }; 155f126890aSEmmanuel Vadot 156f126890aSEmmanuel Vadot mmc0: mmc@f0008000 { 157f126890aSEmmanuel Vadot compatible = "atmel,hsmci"; 158f126890aSEmmanuel Vadot reg = <0xf0008000 0x600>; 159f126890aSEmmanuel Vadot interrupts = <12 IRQ_TYPE_LEVEL_HIGH 0>; 160f126890aSEmmanuel Vadot dmas = <&dma 1 AT91_DMA_CFG_PER_ID(0)>; 161f126890aSEmmanuel Vadot dma-names = "rxtx"; 162f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 12>; 163f126890aSEmmanuel Vadot clock-names = "mci_clk"; 164f126890aSEmmanuel Vadot #address-cells = <1>; 165f126890aSEmmanuel Vadot #size-cells = <0>; 166f126890aSEmmanuel Vadot status = "disabled"; 167f126890aSEmmanuel Vadot }; 168f126890aSEmmanuel Vadot 169f126890aSEmmanuel Vadot tcb0: timer@f8008000 { 170f126890aSEmmanuel Vadot compatible = "atmel,at91sam9x5-tcb", "simple-mfd", "syscon"; 171f126890aSEmmanuel Vadot #address-cells = <1>; 172f126890aSEmmanuel Vadot #size-cells = <0>; 173f126890aSEmmanuel Vadot reg = <0xf8008000 0x100>; 174f126890aSEmmanuel Vadot interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>; 175f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 17>, <&clk32k>; 176f126890aSEmmanuel Vadot clock-names = "t0_clk", "slow_clk"; 177f126890aSEmmanuel Vadot }; 178f126890aSEmmanuel Vadot 179f126890aSEmmanuel Vadot tcb1: timer@f800c000 { 180f126890aSEmmanuel Vadot compatible = "atmel,at91sam9x5-tcb", "simple-mfd", "syscon"; 181f126890aSEmmanuel Vadot #address-cells = <1>; 182f126890aSEmmanuel Vadot #size-cells = <0>; 183f126890aSEmmanuel Vadot reg = <0xf800c000 0x100>; 184f126890aSEmmanuel Vadot interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>; 185f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 17>, <&clk32k>; 186f126890aSEmmanuel Vadot clock-names = "t0_clk", "slow_clk"; 187f126890aSEmmanuel Vadot }; 188f126890aSEmmanuel Vadot 189f126890aSEmmanuel Vadot hlcdc: hlcdc@f8038000 { 190f126890aSEmmanuel Vadot compatible = "atmel,at91sam9n12-hlcdc"; 191f126890aSEmmanuel Vadot reg = <0xf8038000 0x2000>; 192f126890aSEmmanuel Vadot interrupts = <25 IRQ_TYPE_LEVEL_HIGH 0>; 193f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 25>, <&pmc PMC_TYPE_SYSTEM 3>, <&clk32k>; 194f126890aSEmmanuel Vadot clock-names = "periph_clk", "sys_clk", "slow_clk"; 195f126890aSEmmanuel Vadot status = "disabled"; 196f126890aSEmmanuel Vadot 197f126890aSEmmanuel Vadot hlcdc-display-controller { 198f126890aSEmmanuel Vadot compatible = "atmel,hlcdc-display-controller"; 199f126890aSEmmanuel Vadot #address-cells = <1>; 200f126890aSEmmanuel Vadot #size-cells = <0>; 201f126890aSEmmanuel Vadot 202f126890aSEmmanuel Vadot port@0 { 203f126890aSEmmanuel Vadot #address-cells = <1>; 204f126890aSEmmanuel Vadot #size-cells = <0>; 205f126890aSEmmanuel Vadot reg = <0>; 206f126890aSEmmanuel Vadot }; 207f126890aSEmmanuel Vadot }; 208f126890aSEmmanuel Vadot 209f126890aSEmmanuel Vadot hlcdc_pwm: hlcdc-pwm { 210f126890aSEmmanuel Vadot compatible = "atmel,hlcdc-pwm"; 211f126890aSEmmanuel Vadot pinctrl-names = "default"; 212f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_lcd_pwm>; 213f126890aSEmmanuel Vadot #pwm-cells = <3>; 214f126890aSEmmanuel Vadot }; 215f126890aSEmmanuel Vadot }; 216f126890aSEmmanuel Vadot 217f126890aSEmmanuel Vadot dma: dma-controller@ffffec00 { 218f126890aSEmmanuel Vadot compatible = "atmel,at91sam9g45-dma"; 219f126890aSEmmanuel Vadot reg = <0xffffec00 0x200>; 220f126890aSEmmanuel Vadot interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0>; 221f126890aSEmmanuel Vadot #dma-cells = <2>; 222f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 20>; 223f126890aSEmmanuel Vadot clock-names = "dma_clk"; 224f126890aSEmmanuel Vadot }; 225f126890aSEmmanuel Vadot 226f126890aSEmmanuel Vadot pinctrl@fffff400 { 227f126890aSEmmanuel Vadot #address-cells = <1>; 228f126890aSEmmanuel Vadot #size-cells = <1>; 229*b2d2a78aSEmmanuel Vadot compatible = "atmel,at91sam9x5-pinctrl", "simple-mfd"; 230f126890aSEmmanuel Vadot ranges = <0xfffff400 0xfffff400 0x800>; 231f126890aSEmmanuel Vadot 232f126890aSEmmanuel Vadot atmel,mux-mask = < 233f126890aSEmmanuel Vadot /* A B C */ 234f126890aSEmmanuel Vadot 0xffffffff 0xffe07983 0x00000000 /* pioA */ 235f126890aSEmmanuel Vadot 0x00040000 0x00047e0f 0x00000000 /* pioB */ 236f126890aSEmmanuel Vadot 0xfdffffff 0x07c00000 0xb83fffff /* pioC */ 237f126890aSEmmanuel Vadot 0x003fffff 0x003f8000 0x00000000 /* pioD */ 238f126890aSEmmanuel Vadot >; 239f126890aSEmmanuel Vadot 240f126890aSEmmanuel Vadot /* shared pinctrl settings */ 241f126890aSEmmanuel Vadot dbgu { 242f126890aSEmmanuel Vadot pinctrl_dbgu: dbgu-0 { 243f126890aSEmmanuel Vadot atmel,pins = 244f126890aSEmmanuel Vadot <AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP 245f126890aSEmmanuel Vadot AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE>; 246f126890aSEmmanuel Vadot }; 247f126890aSEmmanuel Vadot }; 248f126890aSEmmanuel Vadot 249f126890aSEmmanuel Vadot lcd { 250f126890aSEmmanuel Vadot pinctrl_lcd_base: lcd-base-0 { 251f126890aSEmmanuel Vadot atmel,pins = 252f126890aSEmmanuel Vadot <AT91_PIOC 27 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDVSYNC */ 253f126890aSEmmanuel Vadot AT91_PIOC 28 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDHSYNC */ 254f126890aSEmmanuel Vadot AT91_PIOC 24 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDDISP */ 255f126890aSEmmanuel Vadot AT91_PIOC 29 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDDEN */ 256f126890aSEmmanuel Vadot AT91_PIOC 30 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* LCDPCK */ 257f126890aSEmmanuel Vadot }; 258f126890aSEmmanuel Vadot 259f126890aSEmmanuel Vadot pinctrl_lcd_pwm: lcd-pwm-0 { 260f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOC 26 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* LCDPWM */ 261f126890aSEmmanuel Vadot }; 262f126890aSEmmanuel Vadot 263f126890aSEmmanuel Vadot pinctrl_lcd_rgb888: lcd-rgb-3 { 264f126890aSEmmanuel Vadot atmel,pins = 265f126890aSEmmanuel Vadot <AT91_PIOC 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD0 pin */ 266f126890aSEmmanuel Vadot AT91_PIOC 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD1 pin */ 267f126890aSEmmanuel Vadot AT91_PIOC 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD2 pin */ 268f126890aSEmmanuel Vadot AT91_PIOC 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD3 pin */ 269f126890aSEmmanuel Vadot AT91_PIOC 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD4 pin */ 270f126890aSEmmanuel Vadot AT91_PIOC 5 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD5 pin */ 271f126890aSEmmanuel Vadot AT91_PIOC 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD6 pin */ 272f126890aSEmmanuel Vadot AT91_PIOC 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD7 pin */ 273f126890aSEmmanuel Vadot AT91_PIOC 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD8 pin */ 274f126890aSEmmanuel Vadot AT91_PIOC 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD9 pin */ 275f126890aSEmmanuel Vadot AT91_PIOC 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD10 pin */ 276f126890aSEmmanuel Vadot AT91_PIOC 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD11 pin */ 277f126890aSEmmanuel Vadot AT91_PIOC 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD12 pin */ 278f126890aSEmmanuel Vadot AT91_PIOC 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD13 pin */ 279f126890aSEmmanuel Vadot AT91_PIOC 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD14 pin */ 280f126890aSEmmanuel Vadot AT91_PIOC 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD15 pin */ 281f126890aSEmmanuel Vadot AT91_PIOC 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD16 pin */ 282f126890aSEmmanuel Vadot AT91_PIOC 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD17 pin */ 283f126890aSEmmanuel Vadot AT91_PIOC 18 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD18 pin */ 284f126890aSEmmanuel Vadot AT91_PIOC 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD19 pin */ 285f126890aSEmmanuel Vadot AT91_PIOC 20 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD20 pin */ 286f126890aSEmmanuel Vadot AT91_PIOC 21 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD21 pin */ 287f126890aSEmmanuel Vadot AT91_PIOC 22 AT91_PERIPH_A AT91_PINCTRL_NONE /* LCDD22 pin */ 288f126890aSEmmanuel Vadot AT91_PIOC 23 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* LCDD23 pin */ 289f126890aSEmmanuel Vadot }; 290f126890aSEmmanuel Vadot }; 291f126890aSEmmanuel Vadot 292f126890aSEmmanuel Vadot usart0 { 293f126890aSEmmanuel Vadot pinctrl_usart0: usart0-0 { 294f126890aSEmmanuel Vadot atmel,pins = 295f126890aSEmmanuel Vadot <AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA1 periph A with pullup */ 296f126890aSEmmanuel Vadot AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA0 periph A */ 297f126890aSEmmanuel Vadot }; 298f126890aSEmmanuel Vadot 299f126890aSEmmanuel Vadot pinctrl_usart0_rts: usart0_rts-0 { 300f126890aSEmmanuel Vadot atmel,pins = 301f126890aSEmmanuel Vadot <AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA2 periph A */ 302f126890aSEmmanuel Vadot }; 303f126890aSEmmanuel Vadot 304f126890aSEmmanuel Vadot pinctrl_usart0_cts: usart0_cts-0 { 305f126890aSEmmanuel Vadot atmel,pins = 306f126890aSEmmanuel Vadot <AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA3 periph A */ 307f126890aSEmmanuel Vadot }; 308f126890aSEmmanuel Vadot }; 309f126890aSEmmanuel Vadot 310f126890aSEmmanuel Vadot usart1 { 311f126890aSEmmanuel Vadot pinctrl_usart1: usart1-0 { 312f126890aSEmmanuel Vadot atmel,pins = 313f126890aSEmmanuel Vadot <AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA6 periph A with pullup */ 314f126890aSEmmanuel Vadot AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA5 periph A */ 315f126890aSEmmanuel Vadot }; 316f126890aSEmmanuel Vadot }; 317f126890aSEmmanuel Vadot 318f126890aSEmmanuel Vadot usart2 { 319f126890aSEmmanuel Vadot pinctrl_usart2: usart2-0 { 320f126890aSEmmanuel Vadot atmel,pins = 321f126890aSEmmanuel Vadot <AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA8 periph A with pullup */ 322f126890aSEmmanuel Vadot AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA7 periph A */ 323f126890aSEmmanuel Vadot }; 324f126890aSEmmanuel Vadot 325f126890aSEmmanuel Vadot pinctrl_usart2_rts: usart2_rts-0 { 326f126890aSEmmanuel Vadot atmel,pins = 327f126890aSEmmanuel Vadot <AT91_PIOB 0 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB0 periph B */ 328f126890aSEmmanuel Vadot }; 329f126890aSEmmanuel Vadot 330f126890aSEmmanuel Vadot pinctrl_usart2_cts: usart2_cts-0 { 331f126890aSEmmanuel Vadot atmel,pins = 332f126890aSEmmanuel Vadot <AT91_PIOB 1 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB1 periph B */ 333f126890aSEmmanuel Vadot }; 334f126890aSEmmanuel Vadot }; 335f126890aSEmmanuel Vadot 336f126890aSEmmanuel Vadot usart3 { 337f126890aSEmmanuel Vadot pinctrl_usart3: usart3-0 { 338f126890aSEmmanuel Vadot atmel,pins = 339f126890aSEmmanuel Vadot <AT91_PIOC 23 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PC23 periph B with pullup */ 340f126890aSEmmanuel Vadot AT91_PIOC 22 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC22 periph B */ 341f126890aSEmmanuel Vadot }; 342f126890aSEmmanuel Vadot 343f126890aSEmmanuel Vadot pinctrl_usart3_rts: usart3_rts-0 { 344f126890aSEmmanuel Vadot atmel,pins = 345f126890aSEmmanuel Vadot <AT91_PIOC 24 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC24 periph B */ 346f126890aSEmmanuel Vadot }; 347f126890aSEmmanuel Vadot 348f126890aSEmmanuel Vadot pinctrl_usart3_cts: usart3_cts-0 { 349f126890aSEmmanuel Vadot atmel,pins = 350f126890aSEmmanuel Vadot <AT91_PIOC 25 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC25 periph B */ 351f126890aSEmmanuel Vadot }; 352f126890aSEmmanuel Vadot }; 353f126890aSEmmanuel Vadot 354f126890aSEmmanuel Vadot uart0 { 355f126890aSEmmanuel Vadot pinctrl_uart0: uart0-0 { 356f126890aSEmmanuel Vadot atmel,pins = 357f126890aSEmmanuel Vadot <AT91_PIOC 9 AT91_PERIPH_C AT91_PINCTRL_PULL_UP /* PC9 periph C with pullup */ 358f126890aSEmmanuel Vadot AT91_PIOC 8 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC8 periph C */ 359f126890aSEmmanuel Vadot }; 360f126890aSEmmanuel Vadot }; 361f126890aSEmmanuel Vadot 362f126890aSEmmanuel Vadot uart1 { 363f126890aSEmmanuel Vadot pinctrl_uart1: uart1-0 { 364f126890aSEmmanuel Vadot atmel,pins = 365f126890aSEmmanuel Vadot <AT91_PIOC 16 AT91_PERIPH_C AT91_PINCTRL_NONE 366f126890aSEmmanuel Vadot AT91_PIOC 17 AT91_PERIPH_C AT91_PINCTRL_PULL_UP>; 367f126890aSEmmanuel Vadot }; 368f126890aSEmmanuel Vadot }; 369f126890aSEmmanuel Vadot 370f126890aSEmmanuel Vadot nand { 371f126890aSEmmanuel Vadot pinctrl_nand_rb: nand-rb-0 { 372f126890aSEmmanuel Vadot atmel,pins = 373f126890aSEmmanuel Vadot <AT91_PIOD 5 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>; 374f126890aSEmmanuel Vadot }; 375f126890aSEmmanuel Vadot 376f126890aSEmmanuel Vadot pinctrl_nand_cs: nand-cs-0 { 377f126890aSEmmanuel Vadot atmel,pins = 378f126890aSEmmanuel Vadot <AT91_PIOD 4 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>; 379f126890aSEmmanuel Vadot }; 380f126890aSEmmanuel Vadot }; 381f126890aSEmmanuel Vadot 382f126890aSEmmanuel Vadot mmc0 { 383f126890aSEmmanuel Vadot pinctrl_mmc0_slot0_clk_cmd_dat0: mmc0_slot0_clk_cmd_dat0-0 { 384f126890aSEmmanuel Vadot atmel,pins = 385f126890aSEmmanuel Vadot <AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA17 periph A */ 386f126890aSEmmanuel Vadot AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA16 periph A with pullup */ 387f126890aSEmmanuel Vadot AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA15 periph A with pullup */ 388f126890aSEmmanuel Vadot }; 389f126890aSEmmanuel Vadot 390f126890aSEmmanuel Vadot pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 { 391f126890aSEmmanuel Vadot atmel,pins = 392f126890aSEmmanuel Vadot <AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA18 periph A with pullup */ 393f126890aSEmmanuel Vadot AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA19 periph A with pullup */ 394f126890aSEmmanuel Vadot AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA20 periph A with pullup */ 395f126890aSEmmanuel Vadot }; 396f126890aSEmmanuel Vadot 397f126890aSEmmanuel Vadot pinctrl_mmc0_slot0_dat4_7: mmc0_slot0_dat4_7-0 { 398f126890aSEmmanuel Vadot atmel,pins = 399f126890aSEmmanuel Vadot <AT91_PIOA 11 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA11 periph B with pullup */ 400f126890aSEmmanuel Vadot AT91_PIOA 12 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA12 periph B with pullup */ 401f126890aSEmmanuel Vadot AT91_PIOA 13 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA13 periph B with pullup */ 402f126890aSEmmanuel Vadot AT91_PIOA 14 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PA14 periph B with pullup */ 403f126890aSEmmanuel Vadot }; 404f126890aSEmmanuel Vadot }; 405f126890aSEmmanuel Vadot 406f126890aSEmmanuel Vadot ssc0 { 407f126890aSEmmanuel Vadot pinctrl_ssc0_tx: ssc0_tx-0 { 408f126890aSEmmanuel Vadot atmel,pins = 409f126890aSEmmanuel Vadot <AT91_PIOA 24 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA24 periph B */ 410f126890aSEmmanuel Vadot AT91_PIOA 25 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA25 periph B */ 411f126890aSEmmanuel Vadot AT91_PIOA 26 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA26 periph B */ 412f126890aSEmmanuel Vadot }; 413f126890aSEmmanuel Vadot 414f126890aSEmmanuel Vadot pinctrl_ssc0_rx: ssc0_rx-0 { 415f126890aSEmmanuel Vadot atmel,pins = 416f126890aSEmmanuel Vadot <AT91_PIOA 27 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA27 periph B */ 417f126890aSEmmanuel Vadot AT91_PIOA 28 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA28 periph B */ 418f126890aSEmmanuel Vadot AT91_PIOA 29 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA29 periph B */ 419f126890aSEmmanuel Vadot }; 420f126890aSEmmanuel Vadot }; 421f126890aSEmmanuel Vadot 422f126890aSEmmanuel Vadot spi0 { 423f126890aSEmmanuel Vadot pinctrl_spi0: spi0-0 { 424f126890aSEmmanuel Vadot atmel,pins = 425f126890aSEmmanuel Vadot <AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA11 periph A SPI0_MISO pin */ 426f126890aSEmmanuel Vadot AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA12 periph A SPI0_MOSI pin */ 427f126890aSEmmanuel Vadot AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA13 periph A SPI0_SPCK pin */ 428f126890aSEmmanuel Vadot }; 429f126890aSEmmanuel Vadot }; 430f126890aSEmmanuel Vadot 431f126890aSEmmanuel Vadot spi1 { 432f126890aSEmmanuel Vadot pinctrl_spi1: spi1-0 { 433f126890aSEmmanuel Vadot atmel,pins = 434f126890aSEmmanuel Vadot <AT91_PIOA 21 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA21 periph B SPI1_MISO pin */ 435f126890aSEmmanuel Vadot AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA22 periph B SPI1_MOSI pin */ 436f126890aSEmmanuel Vadot AT91_PIOA 23 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA23 periph B SPI1_SPCK pin */ 437f126890aSEmmanuel Vadot }; 438f126890aSEmmanuel Vadot }; 439f126890aSEmmanuel Vadot 440f126890aSEmmanuel Vadot i2c0 { 441f126890aSEmmanuel Vadot pinctrl_i2c0: i2c0-0 { 442f126890aSEmmanuel Vadot atmel,pins = 443f126890aSEmmanuel Vadot <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_NONE 444f126890aSEmmanuel Vadot AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_NONE>; 445f126890aSEmmanuel Vadot }; 446f126890aSEmmanuel Vadot }; 447f126890aSEmmanuel Vadot 448f126890aSEmmanuel Vadot i2c1 { 449f126890aSEmmanuel Vadot pinctrl_i2c1: i2c1-0 { 450f126890aSEmmanuel Vadot atmel,pins = 451f126890aSEmmanuel Vadot <AT91_PIOC 0 AT91_PERIPH_C AT91_PINCTRL_NONE 452f126890aSEmmanuel Vadot AT91_PIOC 1 AT91_PERIPH_C AT91_PINCTRL_NONE>; 453f126890aSEmmanuel Vadot }; 454f126890aSEmmanuel Vadot }; 455f126890aSEmmanuel Vadot 456f126890aSEmmanuel Vadot tcb0 { 457f126890aSEmmanuel Vadot pinctrl_tcb0_tclk0: tcb0_tclk0-0 { 458f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOA 24 AT91_PERIPH_A AT91_PINCTRL_NONE>; 459f126890aSEmmanuel Vadot }; 460f126890aSEmmanuel Vadot 461f126890aSEmmanuel Vadot pinctrl_tcb0_tclk1: tcb0_tclk1-0 { 462f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOA 25 AT91_PERIPH_A AT91_PINCTRL_NONE>; 463f126890aSEmmanuel Vadot }; 464f126890aSEmmanuel Vadot 465f126890aSEmmanuel Vadot pinctrl_tcb0_tclk2: tcb0_tclk2-0 { 466f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOA 26 AT91_PERIPH_A AT91_PINCTRL_NONE>; 467f126890aSEmmanuel Vadot }; 468f126890aSEmmanuel Vadot 469f126890aSEmmanuel Vadot pinctrl_tcb0_tioa0: tcb0_tioa0-0 { 470f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE>; 471f126890aSEmmanuel Vadot }; 472f126890aSEmmanuel Vadot 473f126890aSEmmanuel Vadot pinctrl_tcb0_tioa1: tcb0_tioa1-0 { 474f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_NONE>; 475f126890aSEmmanuel Vadot }; 476f126890aSEmmanuel Vadot 477f126890aSEmmanuel Vadot pinctrl_tcb0_tioa2: tcb0_tioa2-0 { 478f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_NONE>; 479f126890aSEmmanuel Vadot }; 480f126890aSEmmanuel Vadot 481f126890aSEmmanuel Vadot pinctrl_tcb0_tiob0: tcb0_tiob0-0 { 482f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOA 27 AT91_PERIPH_A AT91_PINCTRL_NONE>; 483f126890aSEmmanuel Vadot }; 484f126890aSEmmanuel Vadot 485f126890aSEmmanuel Vadot pinctrl_tcb0_tiob1: tcb0_tiob1-0 { 486f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOA 28 AT91_PERIPH_A AT91_PINCTRL_NONE>; 487f126890aSEmmanuel Vadot }; 488f126890aSEmmanuel Vadot 489f126890aSEmmanuel Vadot pinctrl_tcb0_tiob2: tcb0_tiob2-0 { 490f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOA 29 AT91_PERIPH_A AT91_PINCTRL_NONE>; 491f126890aSEmmanuel Vadot }; 492f126890aSEmmanuel Vadot }; 493f126890aSEmmanuel Vadot 494f126890aSEmmanuel Vadot tcb1 { 495f126890aSEmmanuel Vadot pinctrl_tcb1_tclk0: tcb1_tclk0-0 { 496f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOC 4 AT91_PERIPH_C AT91_PINCTRL_NONE>; 497f126890aSEmmanuel Vadot }; 498f126890aSEmmanuel Vadot 499f126890aSEmmanuel Vadot pinctrl_tcb1_tclk1: tcb1_tclk1-0 { 500f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOC 7 AT91_PERIPH_C AT91_PINCTRL_NONE>; 501f126890aSEmmanuel Vadot }; 502f126890aSEmmanuel Vadot 503f126890aSEmmanuel Vadot pinctrl_tcb1_tclk2: tcb1_tclk2-0 { 504f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOC 14 AT91_PERIPH_C AT91_PINCTRL_NONE>; 505f126890aSEmmanuel Vadot }; 506f126890aSEmmanuel Vadot 507f126890aSEmmanuel Vadot pinctrl_tcb1_tioa0: tcb1_tioa0-0 { 508f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOC 2 AT91_PERIPH_C AT91_PINCTRL_NONE>; 509f126890aSEmmanuel Vadot }; 510f126890aSEmmanuel Vadot 511f126890aSEmmanuel Vadot pinctrl_tcb1_tioa1: tcb1_tioa1-0 { 512f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOC 5 AT91_PERIPH_C AT91_PINCTRL_NONE>; 513f126890aSEmmanuel Vadot }; 514f126890aSEmmanuel Vadot 515f126890aSEmmanuel Vadot pinctrl_tcb1_tioa2: tcb1_tioa2-0 { 516f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOC 12 AT91_PERIPH_C AT91_PINCTRL_NONE>; 517f126890aSEmmanuel Vadot }; 518f126890aSEmmanuel Vadot 519f126890aSEmmanuel Vadot pinctrl_tcb1_tiob0: tcb1_tiob0-0 { 520f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOC 3 AT91_PERIPH_C AT91_PINCTRL_NONE>; 521f126890aSEmmanuel Vadot }; 522f126890aSEmmanuel Vadot 523f126890aSEmmanuel Vadot pinctrl_tcb1_tiob1: tcb1_tiob1-0 { 524f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOC 6 AT91_PERIPH_C AT91_PINCTRL_NONE>; 525f126890aSEmmanuel Vadot }; 526f126890aSEmmanuel Vadot 527f126890aSEmmanuel Vadot pinctrl_tcb1_tiob2: tcb1_tiob2-0 { 528f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOC 13 AT91_PERIPH_C AT91_PINCTRL_NONE>; 529f126890aSEmmanuel Vadot }; 530f126890aSEmmanuel Vadot }; 531f126890aSEmmanuel Vadot 532f126890aSEmmanuel Vadot pioA: gpio@fffff400 { 533f126890aSEmmanuel Vadot compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; 534f126890aSEmmanuel Vadot reg = <0xfffff400 0x200>; 535f126890aSEmmanuel Vadot interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>; 536f126890aSEmmanuel Vadot #gpio-cells = <2>; 537f126890aSEmmanuel Vadot gpio-controller; 538f126890aSEmmanuel Vadot interrupt-controller; 539f126890aSEmmanuel Vadot #interrupt-cells = <2>; 540f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 2>; 541f126890aSEmmanuel Vadot }; 542f126890aSEmmanuel Vadot 543f126890aSEmmanuel Vadot pioB: gpio@fffff600 { 544f126890aSEmmanuel Vadot compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; 545f126890aSEmmanuel Vadot reg = <0xfffff600 0x200>; 546f126890aSEmmanuel Vadot interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>; 547f126890aSEmmanuel Vadot #gpio-cells = <2>; 548f126890aSEmmanuel Vadot gpio-controller; 549f126890aSEmmanuel Vadot interrupt-controller; 550f126890aSEmmanuel Vadot #interrupt-cells = <2>; 551f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 2>; 552f126890aSEmmanuel Vadot }; 553f126890aSEmmanuel Vadot 554f126890aSEmmanuel Vadot pioC: gpio@fffff800 { 555f126890aSEmmanuel Vadot compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; 556f126890aSEmmanuel Vadot reg = <0xfffff800 0x200>; 557f126890aSEmmanuel Vadot interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>; 558f126890aSEmmanuel Vadot #gpio-cells = <2>; 559f126890aSEmmanuel Vadot gpio-controller; 560f126890aSEmmanuel Vadot interrupt-controller; 561f126890aSEmmanuel Vadot #interrupt-cells = <2>; 562f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 3>; 563f126890aSEmmanuel Vadot }; 564f126890aSEmmanuel Vadot 565f126890aSEmmanuel Vadot pioD: gpio@fffffa00 { 566f126890aSEmmanuel Vadot compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; 567f126890aSEmmanuel Vadot reg = <0xfffffa00 0x200>; 568f126890aSEmmanuel Vadot interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>; 569f126890aSEmmanuel Vadot #gpio-cells = <2>; 570f126890aSEmmanuel Vadot gpio-controller; 571f126890aSEmmanuel Vadot interrupt-controller; 572f126890aSEmmanuel Vadot #interrupt-cells = <2>; 573f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 3>; 574f126890aSEmmanuel Vadot }; 575f126890aSEmmanuel Vadot }; 576f126890aSEmmanuel Vadot 577f126890aSEmmanuel Vadot dbgu: serial@fffff200 { 578f126890aSEmmanuel Vadot compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart"; 579f126890aSEmmanuel Vadot reg = <0xfffff200 0x200>; 580f126890aSEmmanuel Vadot atmel,usart-mode = <AT91_USART_MODE_SERIAL>; 581f126890aSEmmanuel Vadot interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; 582f126890aSEmmanuel Vadot pinctrl-names = "default"; 583f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_dbgu>; 584f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_CORE PMC_MCK>; 585f126890aSEmmanuel Vadot clock-names = "usart"; 586f126890aSEmmanuel Vadot status = "disabled"; 587f126890aSEmmanuel Vadot }; 588f126890aSEmmanuel Vadot 589f126890aSEmmanuel Vadot ssc0: ssc@f0010000 { 590f126890aSEmmanuel Vadot compatible = "atmel,at91sam9g45-ssc"; 591f126890aSEmmanuel Vadot reg = <0xf0010000 0x4000>; 592f126890aSEmmanuel Vadot interrupts = <28 IRQ_TYPE_LEVEL_HIGH 5>; 593f126890aSEmmanuel Vadot dmas = <&dma 0 AT91_DMA_CFG_PER_ID(21)>, 594f126890aSEmmanuel Vadot <&dma 0 AT91_DMA_CFG_PER_ID(22)>; 595f126890aSEmmanuel Vadot dma-names = "tx", "rx"; 596f126890aSEmmanuel Vadot pinctrl-names = "default"; 597f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>; 598f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 28>; 599f126890aSEmmanuel Vadot clock-names = "pclk"; 600f126890aSEmmanuel Vadot status = "disabled"; 601f126890aSEmmanuel Vadot }; 602f126890aSEmmanuel Vadot 603f126890aSEmmanuel Vadot usart0: serial@f801c000 { 604f126890aSEmmanuel Vadot compatible = "atmel,at91sam9260-usart"; 605f126890aSEmmanuel Vadot reg = <0xf801c000 0x4000>; 606f126890aSEmmanuel Vadot atmel,usart-mode = <AT91_USART_MODE_SERIAL>; 607f126890aSEmmanuel Vadot interrupts = <5 IRQ_TYPE_LEVEL_HIGH 5>; 608f126890aSEmmanuel Vadot pinctrl-names = "default"; 609f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usart0>; 610f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 5>; 611f126890aSEmmanuel Vadot clock-names = "usart"; 612f126890aSEmmanuel Vadot status = "disabled"; 613f126890aSEmmanuel Vadot }; 614f126890aSEmmanuel Vadot 615f126890aSEmmanuel Vadot usart1: serial@f8020000 { 616f126890aSEmmanuel Vadot compatible = "atmel,at91sam9260-usart"; 617f126890aSEmmanuel Vadot reg = <0xf8020000 0x4000>; 618f126890aSEmmanuel Vadot atmel,usart-mode = <AT91_USART_MODE_SERIAL>; 619f126890aSEmmanuel Vadot interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>; 620f126890aSEmmanuel Vadot pinctrl-names = "default"; 621f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usart1>; 622f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 6>; 623f126890aSEmmanuel Vadot clock-names = "usart"; 624f126890aSEmmanuel Vadot status = "disabled"; 625f126890aSEmmanuel Vadot }; 626f126890aSEmmanuel Vadot 627f126890aSEmmanuel Vadot usart2: serial@f8024000 { 628f126890aSEmmanuel Vadot compatible = "atmel,at91sam9260-usart"; 629f126890aSEmmanuel Vadot reg = <0xf8024000 0x4000>; 630f126890aSEmmanuel Vadot atmel,usart-mode = <AT91_USART_MODE_SERIAL>; 631f126890aSEmmanuel Vadot interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>; 632f126890aSEmmanuel Vadot pinctrl-names = "default"; 633f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usart2>; 634f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 7>; 635f126890aSEmmanuel Vadot clock-names = "usart"; 636f126890aSEmmanuel Vadot status = "disabled"; 637f126890aSEmmanuel Vadot }; 638f126890aSEmmanuel Vadot 639f126890aSEmmanuel Vadot usart3: serial@f8028000 { 640f126890aSEmmanuel Vadot compatible = "atmel,at91sam9260-usart"; 641f126890aSEmmanuel Vadot reg = <0xf8028000 0x4000>; 642f126890aSEmmanuel Vadot atmel,usart-mode = <AT91_USART_MODE_SERIAL>; 643f126890aSEmmanuel Vadot interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>; 644f126890aSEmmanuel Vadot pinctrl-names = "default"; 645f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usart3>; 646f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 8>; 647f126890aSEmmanuel Vadot clock-names = "usart"; 648f126890aSEmmanuel Vadot status = "disabled"; 649f126890aSEmmanuel Vadot }; 650f126890aSEmmanuel Vadot 651f126890aSEmmanuel Vadot i2c0: i2c@f8010000 { 652f126890aSEmmanuel Vadot compatible = "atmel,at91sam9x5-i2c"; 653f126890aSEmmanuel Vadot reg = <0xf8010000 0x100>; 654f126890aSEmmanuel Vadot interrupts = <9 IRQ_TYPE_LEVEL_HIGH 6>; 655f126890aSEmmanuel Vadot dmas = <&dma 1 AT91_DMA_CFG_PER_ID(13)>, 656f126890aSEmmanuel Vadot <&dma 1 AT91_DMA_CFG_PER_ID(14)>; 657f126890aSEmmanuel Vadot dma-names = "tx", "rx"; 658f126890aSEmmanuel Vadot #address-cells = <1>; 659f126890aSEmmanuel Vadot #size-cells = <0>; 660f126890aSEmmanuel Vadot pinctrl-names = "default"; 661f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c0>; 662f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 9>; 663f126890aSEmmanuel Vadot status = "disabled"; 664f126890aSEmmanuel Vadot }; 665f126890aSEmmanuel Vadot 666f126890aSEmmanuel Vadot i2c1: i2c@f8014000 { 667f126890aSEmmanuel Vadot compatible = "atmel,at91sam9x5-i2c"; 668f126890aSEmmanuel Vadot reg = <0xf8014000 0x100>; 669f126890aSEmmanuel Vadot interrupts = <10 IRQ_TYPE_LEVEL_HIGH 6>; 670f126890aSEmmanuel Vadot dmas = <&dma 1 AT91_DMA_CFG_PER_ID(15)>, 671f126890aSEmmanuel Vadot <&dma 1 AT91_DMA_CFG_PER_ID(16)>; 672f126890aSEmmanuel Vadot dma-names = "tx", "rx"; 673f126890aSEmmanuel Vadot #address-cells = <1>; 674f126890aSEmmanuel Vadot #size-cells = <0>; 675f126890aSEmmanuel Vadot pinctrl-names = "default"; 676f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c1>; 677f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 10>; 678f126890aSEmmanuel Vadot status = "disabled"; 679f126890aSEmmanuel Vadot }; 680f126890aSEmmanuel Vadot 681f126890aSEmmanuel Vadot spi0: spi@f0000000 { 682f126890aSEmmanuel Vadot #address-cells = <1>; 683f126890aSEmmanuel Vadot #size-cells = <0>; 684f126890aSEmmanuel Vadot compatible = "atmel,at91rm9200-spi"; 685f126890aSEmmanuel Vadot reg = <0xf0000000 0x100>; 686f126890aSEmmanuel Vadot interrupts = <13 IRQ_TYPE_LEVEL_HIGH 3>; 687f126890aSEmmanuel Vadot dmas = <&dma 1 AT91_DMA_CFG_PER_ID(1)>, 688f126890aSEmmanuel Vadot <&dma 1 AT91_DMA_CFG_PER_ID(2)>; 689f126890aSEmmanuel Vadot dma-names = "tx", "rx"; 690f126890aSEmmanuel Vadot pinctrl-names = "default"; 691f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_spi0>; 692f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 13>; 693f126890aSEmmanuel Vadot clock-names = "spi_clk"; 694f126890aSEmmanuel Vadot status = "disabled"; 695f126890aSEmmanuel Vadot }; 696f126890aSEmmanuel Vadot 697f126890aSEmmanuel Vadot spi1: spi@f0004000 { 698f126890aSEmmanuel Vadot #address-cells = <1>; 699f126890aSEmmanuel Vadot #size-cells = <0>; 700f126890aSEmmanuel Vadot compatible = "atmel,at91rm9200-spi"; 701f126890aSEmmanuel Vadot reg = <0xf0004000 0x100>; 702f126890aSEmmanuel Vadot interrupts = <14 IRQ_TYPE_LEVEL_HIGH 3>; 703f126890aSEmmanuel Vadot dmas = <&dma 1 AT91_DMA_CFG_PER_ID(3)>, 704f126890aSEmmanuel Vadot <&dma 1 AT91_DMA_CFG_PER_ID(4)>; 705f126890aSEmmanuel Vadot dma-names = "tx", "rx"; 706f126890aSEmmanuel Vadot pinctrl-names = "default"; 707f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_spi1>; 708f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 14>; 709f126890aSEmmanuel Vadot clock-names = "spi_clk"; 710f126890aSEmmanuel Vadot status = "disabled"; 711f126890aSEmmanuel Vadot }; 712f126890aSEmmanuel Vadot 713f126890aSEmmanuel Vadot watchdog@fffffe40 { 714f126890aSEmmanuel Vadot compatible = "atmel,at91sam9260-wdt"; 715f126890aSEmmanuel Vadot reg = <0xfffffe40 0x10>; 716f126890aSEmmanuel Vadot interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; 717f126890aSEmmanuel Vadot clocks = <&clk32k>; 718f126890aSEmmanuel Vadot atmel,watchdog-type = "hardware"; 719f126890aSEmmanuel Vadot atmel,reset-type = "all"; 720f126890aSEmmanuel Vadot atmel,dbg-halt; 721f126890aSEmmanuel Vadot status = "disabled"; 722f126890aSEmmanuel Vadot }; 723f126890aSEmmanuel Vadot 724f126890aSEmmanuel Vadot rtc@fffffeb0 { 725f126890aSEmmanuel Vadot compatible = "atmel,at91rm9200-rtc"; 726f126890aSEmmanuel Vadot reg = <0xfffffeb0 0x40>; 727f126890aSEmmanuel Vadot interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; 728f126890aSEmmanuel Vadot clocks = <&clk32k>; 729f126890aSEmmanuel Vadot status = "disabled"; 730f126890aSEmmanuel Vadot }; 731f126890aSEmmanuel Vadot 732f126890aSEmmanuel Vadot pwm0: pwm@f8034000 { 733f126890aSEmmanuel Vadot compatible = "atmel,at91sam9rl-pwm"; 734f126890aSEmmanuel Vadot reg = <0xf8034000 0x300>; 735f126890aSEmmanuel Vadot interrupts = <18 IRQ_TYPE_LEVEL_HIGH 4>; 736f126890aSEmmanuel Vadot #pwm-cells = <3>; 737f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 18>; 738f126890aSEmmanuel Vadot status = "disabled"; 739f126890aSEmmanuel Vadot }; 740f126890aSEmmanuel Vadot 741f126890aSEmmanuel Vadot usb1: gadget@f803c000 { 742f126890aSEmmanuel Vadot compatible = "atmel,at91sam9260-udc"; 743f126890aSEmmanuel Vadot reg = <0xf803c000 0x4000>; 744f126890aSEmmanuel Vadot interrupts = <23 IRQ_TYPE_LEVEL_HIGH 2>; 745f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 23>, <&pmc PMC_TYPE_SYSTEM 7>; 746f126890aSEmmanuel Vadot clock-names = "pclk", "hclk"; 747f126890aSEmmanuel Vadot status = "disabled"; 748f126890aSEmmanuel Vadot }; 749f126890aSEmmanuel Vadot }; 750f126890aSEmmanuel Vadot 751f126890aSEmmanuel Vadot usb0: ohci@500000 { 752f126890aSEmmanuel Vadot compatible = "atmel,at91rm9200-ohci", "usb-ohci"; 753f126890aSEmmanuel Vadot reg = <0x00500000 0x00100000>; 754f126890aSEmmanuel Vadot interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>; 755f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 22>, <&pmc PMC_TYPE_PERIPHERAL 22>, <&pmc PMC_TYPE_SYSTEM 6>; 756f126890aSEmmanuel Vadot clock-names = "ohci_clk", "hclk", "uhpck"; 757f126890aSEmmanuel Vadot status = "disabled"; 758f126890aSEmmanuel Vadot }; 759f126890aSEmmanuel Vadot 760f126890aSEmmanuel Vadot ebi: ebi@10000000 { 761f126890aSEmmanuel Vadot compatible = "atmel,at91sam9x5-ebi"; 762f126890aSEmmanuel Vadot #address-cells = <2>; 763f126890aSEmmanuel Vadot #size-cells = <1>; 764f126890aSEmmanuel Vadot atmel,smc = <&smc>; 765f126890aSEmmanuel Vadot atmel,matrix = <&matrix>; 766f126890aSEmmanuel Vadot reg = <0x10000000 0x60000000>; 767f126890aSEmmanuel Vadot ranges = <0x0 0x0 0x10000000 0x10000000 768f126890aSEmmanuel Vadot 0x1 0x0 0x20000000 0x10000000 769f126890aSEmmanuel Vadot 0x2 0x0 0x30000000 0x10000000 770f126890aSEmmanuel Vadot 0x3 0x0 0x40000000 0x10000000 771f126890aSEmmanuel Vadot 0x4 0x0 0x50000000 0x10000000 772f126890aSEmmanuel Vadot 0x5 0x0 0x60000000 0x10000000>; 773f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_CORE PMC_MCK>; 774f126890aSEmmanuel Vadot status = "disabled"; 775f126890aSEmmanuel Vadot 776f126890aSEmmanuel Vadot nand_controller: nand-controller { 777f126890aSEmmanuel Vadot compatible = "atmel,at91sam9g45-nand-controller"; 778f126890aSEmmanuel Vadot ecc-engine = <&pmecc>; 779f126890aSEmmanuel Vadot #address-cells = <2>; 780f126890aSEmmanuel Vadot #size-cells = <1>; 781f126890aSEmmanuel Vadot ranges; 782f126890aSEmmanuel Vadot status = "disabled"; 783f126890aSEmmanuel Vadot }; 784f126890aSEmmanuel Vadot }; 785f126890aSEmmanuel Vadot }; 786f126890aSEmmanuel Vadot 787f126890aSEmmanuel Vadot i2c-gpio-0 { 788f126890aSEmmanuel Vadot compatible = "i2c-gpio"; 789f126890aSEmmanuel Vadot gpios = <&pioA 30 GPIO_ACTIVE_HIGH /* sda */ 790f126890aSEmmanuel Vadot &pioA 31 GPIO_ACTIVE_HIGH /* scl */ 791f126890aSEmmanuel Vadot >; 792f126890aSEmmanuel Vadot i2c-gpio,sda-open-drain; 793f126890aSEmmanuel Vadot i2c-gpio,scl-open-drain; 794f126890aSEmmanuel Vadot i2c-gpio,delay-us = <2>; /* ~100 kHz */ 795f126890aSEmmanuel Vadot #address-cells = <1>; 796f126890aSEmmanuel Vadot #size-cells = <0>; 797f126890aSEmmanuel Vadot status = "disabled"; 798f126890aSEmmanuel Vadot }; 799f126890aSEmmanuel Vadot}; 800