1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later 2f126890aSEmmanuel Vadot/* 3f126890aSEmmanuel Vadot * sama5d3.dtsi - Device Tree Include file for SAMA5D3 family SoC 4f126890aSEmmanuel Vadot * applies to SAMA5D31, SAMA5D33, SAMA5D34, SAMA5D35, SAMA5D36 SoC 5f126890aSEmmanuel Vadot * 6f126890aSEmmanuel Vadot * Copyright (C) 2013 Atmel, 7f126890aSEmmanuel Vadot * 2013 Ludovic Desroches <ludovic.desroches@atmel.com> 8f126890aSEmmanuel Vadot */ 9f126890aSEmmanuel Vadot 10f126890aSEmmanuel Vadot#include <dt-bindings/dma/at91.h> 11f126890aSEmmanuel Vadot#include <dt-bindings/pinctrl/at91.h> 12f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h> 13f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 14f126890aSEmmanuel Vadot#include <dt-bindings/clock/at91.h> 15f126890aSEmmanuel Vadot#include <dt-bindings/mfd/at91-usart.h> 16f126890aSEmmanuel Vadot 17f126890aSEmmanuel Vadot/ { 18f126890aSEmmanuel Vadot #address-cells = <1>; 19f126890aSEmmanuel Vadot #size-cells = <1>; 20f126890aSEmmanuel Vadot model = "Atmel SAMA5D3 family SoC"; 21f126890aSEmmanuel Vadot compatible = "atmel,sama5d3", "atmel,sama5"; 22f126890aSEmmanuel Vadot interrupt-parent = <&aic>; 23f126890aSEmmanuel Vadot 24f126890aSEmmanuel Vadot aliases { 25f126890aSEmmanuel Vadot serial0 = &dbgu; 26f126890aSEmmanuel Vadot serial1 = &usart0; 27f126890aSEmmanuel Vadot serial2 = &usart1; 28f126890aSEmmanuel Vadot serial3 = &usart2; 29f126890aSEmmanuel Vadot serial4 = &usart3; 30f126890aSEmmanuel Vadot serial5 = &uart0; 31f126890aSEmmanuel Vadot gpio0 = &pioA; 32f126890aSEmmanuel Vadot gpio1 = &pioB; 33f126890aSEmmanuel Vadot gpio2 = &pioC; 34f126890aSEmmanuel Vadot gpio3 = &pioD; 35f126890aSEmmanuel Vadot gpio4 = &pioE; 36f126890aSEmmanuel Vadot tcb0 = &tcb0; 37f126890aSEmmanuel Vadot i2c0 = &i2c0; 38f126890aSEmmanuel Vadot i2c1 = &i2c1; 39f126890aSEmmanuel Vadot i2c2 = &i2c2; 40f126890aSEmmanuel Vadot ssc0 = &ssc0; 41f126890aSEmmanuel Vadot ssc1 = &ssc1; 42f126890aSEmmanuel Vadot pwm0 = &pwm0; 43f126890aSEmmanuel Vadot }; 44f126890aSEmmanuel Vadot cpus { 45f126890aSEmmanuel Vadot #address-cells = <1>; 46f126890aSEmmanuel Vadot #size-cells = <0>; 47f126890aSEmmanuel Vadot cpu@0 { 48f126890aSEmmanuel Vadot device_type = "cpu"; 49f126890aSEmmanuel Vadot compatible = "arm,cortex-a5"; 50f126890aSEmmanuel Vadot reg = <0x0>; 51f126890aSEmmanuel Vadot }; 52f126890aSEmmanuel Vadot }; 53f126890aSEmmanuel Vadot 54f126890aSEmmanuel Vadot pmu { 55f126890aSEmmanuel Vadot compatible = "arm,cortex-a5-pmu"; 56f126890aSEmmanuel Vadot interrupts = <46 IRQ_TYPE_LEVEL_HIGH 0>; 57f126890aSEmmanuel Vadot }; 58f126890aSEmmanuel Vadot 59f126890aSEmmanuel Vadot memory@20000000 { 60f126890aSEmmanuel Vadot device_type = "memory"; 61f126890aSEmmanuel Vadot reg = <0x20000000 0x8000000>; 62f126890aSEmmanuel Vadot }; 63f126890aSEmmanuel Vadot 64f126890aSEmmanuel Vadot clocks { 65f126890aSEmmanuel Vadot slow_xtal: slow_xtal { 66f126890aSEmmanuel Vadot compatible = "fixed-clock"; 67f126890aSEmmanuel Vadot #clock-cells = <0>; 68f126890aSEmmanuel Vadot clock-frequency = <0>; 69f126890aSEmmanuel Vadot }; 70f126890aSEmmanuel Vadot 71f126890aSEmmanuel Vadot main_xtal: main_xtal { 72f126890aSEmmanuel Vadot compatible = "fixed-clock"; 73f126890aSEmmanuel Vadot #clock-cells = <0>; 74f126890aSEmmanuel Vadot clock-frequency = <0>; 75f126890aSEmmanuel Vadot }; 76f126890aSEmmanuel Vadot 77f126890aSEmmanuel Vadot adc_op_clk: adc_op_clk { 78f126890aSEmmanuel Vadot compatible = "fixed-clock"; 79f126890aSEmmanuel Vadot #clock-cells = <0>; 80f126890aSEmmanuel Vadot clock-frequency = <1000000>; 81f126890aSEmmanuel Vadot }; 82f126890aSEmmanuel Vadot }; 83f126890aSEmmanuel Vadot 84f126890aSEmmanuel Vadot sram: sram@300000 { 85f126890aSEmmanuel Vadot compatible = "mmio-sram"; 86f126890aSEmmanuel Vadot reg = <0x00300000 0x20000>; 87f126890aSEmmanuel Vadot #address-cells = <1>; 88f126890aSEmmanuel Vadot #size-cells = <1>; 89f126890aSEmmanuel Vadot ranges = <0 0x00300000 0x20000>; 90f126890aSEmmanuel Vadot }; 91f126890aSEmmanuel Vadot 92f126890aSEmmanuel Vadot ahb { 93f126890aSEmmanuel Vadot compatible = "simple-bus"; 94f126890aSEmmanuel Vadot #address-cells = <1>; 95f126890aSEmmanuel Vadot #size-cells = <1>; 96f126890aSEmmanuel Vadot ranges; 97f126890aSEmmanuel Vadot 98f126890aSEmmanuel Vadot apb { 99f126890aSEmmanuel Vadot compatible = "simple-bus"; 100f126890aSEmmanuel Vadot #address-cells = <1>; 101f126890aSEmmanuel Vadot #size-cells = <1>; 102f126890aSEmmanuel Vadot ranges; 103f126890aSEmmanuel Vadot 104f126890aSEmmanuel Vadot mmc0: mmc@f0000000 { 105f126890aSEmmanuel Vadot compatible = "atmel,hsmci"; 106f126890aSEmmanuel Vadot reg = <0xf0000000 0x600>; 107f126890aSEmmanuel Vadot interrupts = <21 IRQ_TYPE_LEVEL_HIGH 0>; 108f126890aSEmmanuel Vadot dmas = <&dma0 2 AT91_DMA_CFG_PER_ID(0)>; 109f126890aSEmmanuel Vadot dma-names = "rxtx"; 110f126890aSEmmanuel Vadot pinctrl-names = "default"; 111f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3 &pinctrl_mmc0_dat4_7>; 112f126890aSEmmanuel Vadot status = "disabled"; 113f126890aSEmmanuel Vadot #address-cells = <1>; 114f126890aSEmmanuel Vadot #size-cells = <0>; 115f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 21>; 116f126890aSEmmanuel Vadot clock-names = "mci_clk"; 117f126890aSEmmanuel Vadot }; 118f126890aSEmmanuel Vadot 119f126890aSEmmanuel Vadot spi0: spi@f0004000 { 120f126890aSEmmanuel Vadot #address-cells = <1>; 121f126890aSEmmanuel Vadot #size-cells = <0>; 122f126890aSEmmanuel Vadot compatible = "atmel,at91rm9200-spi"; 123f126890aSEmmanuel Vadot reg = <0xf0004000 0x100>; 124f126890aSEmmanuel Vadot interrupts = <24 IRQ_TYPE_LEVEL_HIGH 3>; 125f126890aSEmmanuel Vadot dmas = <&dma0 2 AT91_DMA_CFG_PER_ID(1)>, 126f126890aSEmmanuel Vadot <&dma0 2 AT91_DMA_CFG_PER_ID(2)>; 127f126890aSEmmanuel Vadot dma-names = "tx", "rx"; 128f126890aSEmmanuel Vadot pinctrl-names = "default"; 129f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_spi0>; 130f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 24>; 131f126890aSEmmanuel Vadot clock-names = "spi_clk"; 132f126890aSEmmanuel Vadot status = "disabled"; 133f126890aSEmmanuel Vadot }; 134f126890aSEmmanuel Vadot 135f126890aSEmmanuel Vadot ssc0: ssc@f0008000 { 136f126890aSEmmanuel Vadot compatible = "atmel,at91sam9g45-ssc"; 137f126890aSEmmanuel Vadot reg = <0xf0008000 0x4000>; 138f126890aSEmmanuel Vadot interrupts = <38 IRQ_TYPE_LEVEL_HIGH 4>; 139f126890aSEmmanuel Vadot dmas = <&dma0 2 AT91_DMA_CFG_PER_ID(13)>, 140f126890aSEmmanuel Vadot <&dma0 2 AT91_DMA_CFG_PER_ID(14)>; 141f126890aSEmmanuel Vadot dma-names = "tx", "rx"; 142f126890aSEmmanuel Vadot pinctrl-names = "default"; 143f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>; 144f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 38>; 145f126890aSEmmanuel Vadot clock-names = "pclk"; 146f126890aSEmmanuel Vadot status = "disabled"; 147f126890aSEmmanuel Vadot }; 148f126890aSEmmanuel Vadot 149f126890aSEmmanuel Vadot tcb0: timer@f0010000 { 150f126890aSEmmanuel Vadot compatible = "atmel,at91sam9x5-tcb", "simple-mfd", "syscon"; 151f126890aSEmmanuel Vadot #address-cells = <1>; 152f126890aSEmmanuel Vadot #size-cells = <0>; 153f126890aSEmmanuel Vadot reg = <0xf0010000 0x100>; 154f126890aSEmmanuel Vadot interrupts = <26 IRQ_TYPE_LEVEL_HIGH 0>; 155f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 26>, <&clk32k>; 156f126890aSEmmanuel Vadot clock-names = "t0_clk", "slow_clk"; 157f126890aSEmmanuel Vadot }; 158f126890aSEmmanuel Vadot 159f126890aSEmmanuel Vadot i2c0: i2c@f0014000 { 160f126890aSEmmanuel Vadot compatible = "atmel,at91sam9x5-i2c"; 161f126890aSEmmanuel Vadot reg = <0xf0014000 0x4000>; 162f126890aSEmmanuel Vadot interrupts = <18 IRQ_TYPE_LEVEL_HIGH 6>; 163f126890aSEmmanuel Vadot dmas = <&dma0 2 AT91_DMA_CFG_PER_ID(7)>, 164f126890aSEmmanuel Vadot <&dma0 2 AT91_DMA_CFG_PER_ID(8)>; 165f126890aSEmmanuel Vadot dma-names = "tx", "rx"; 166f126890aSEmmanuel Vadot pinctrl-names = "default", "gpio"; 167f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c0>; 168f126890aSEmmanuel Vadot pinctrl-1 = <&pinctrl_i2c0_gpio>; 169f126890aSEmmanuel Vadot sda-gpios = <&pioA 30 GPIO_ACTIVE_HIGH>; 170f126890aSEmmanuel Vadot scl-gpios = <&pioA 31 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 171f126890aSEmmanuel Vadot #address-cells = <1>; 172f126890aSEmmanuel Vadot #size-cells = <0>; 173f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 18>; 174f126890aSEmmanuel Vadot status = "disabled"; 175f126890aSEmmanuel Vadot }; 176f126890aSEmmanuel Vadot 177f126890aSEmmanuel Vadot i2c1: i2c@f0018000 { 178f126890aSEmmanuel Vadot compatible = "atmel,at91sam9x5-i2c"; 179f126890aSEmmanuel Vadot reg = <0xf0018000 0x4000>; 180f126890aSEmmanuel Vadot interrupts = <19 IRQ_TYPE_LEVEL_HIGH 6>; 181f126890aSEmmanuel Vadot dmas = <&dma0 2 AT91_DMA_CFG_PER_ID(9)>, 182f126890aSEmmanuel Vadot <&dma0 2 AT91_DMA_CFG_PER_ID(10)>; 183f126890aSEmmanuel Vadot dma-names = "tx", "rx"; 184f126890aSEmmanuel Vadot pinctrl-names = "default", "gpio"; 185f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c1>; 186f126890aSEmmanuel Vadot pinctrl-1 = <&pinctrl_i2c1_gpio>; 187f126890aSEmmanuel Vadot sda-gpios = <&pioC 26 GPIO_ACTIVE_HIGH>; 188f126890aSEmmanuel Vadot scl-gpios = <&pioC 27 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 189f126890aSEmmanuel Vadot #address-cells = <1>; 190f126890aSEmmanuel Vadot #size-cells = <0>; 191f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 19>; 192f126890aSEmmanuel Vadot status = "disabled"; 193f126890aSEmmanuel Vadot }; 194f126890aSEmmanuel Vadot 195f126890aSEmmanuel Vadot usart0: serial@f001c000 { 196f126890aSEmmanuel Vadot compatible = "atmel,at91sam9260-usart"; 197f126890aSEmmanuel Vadot reg = <0xf001c000 0x100>; 198f126890aSEmmanuel Vadot atmel,usart-mode = <AT91_USART_MODE_SERIAL>; 199f126890aSEmmanuel Vadot interrupts = <12 IRQ_TYPE_LEVEL_HIGH 5>; 200f126890aSEmmanuel Vadot dmas = <&dma0 2 AT91_DMA_CFG_PER_ID(3)>, 201f126890aSEmmanuel Vadot <&dma0 2 (AT91_DMA_CFG_PER_ID(4) | AT91_DMA_CFG_FIFOCFG_ASAP)>; 202f126890aSEmmanuel Vadot dma-names = "tx", "rx"; 203f126890aSEmmanuel Vadot pinctrl-names = "default"; 204f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usart0>; 205f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 12>; 206f126890aSEmmanuel Vadot clock-names = "usart"; 207f126890aSEmmanuel Vadot status = "disabled"; 208f126890aSEmmanuel Vadot }; 209f126890aSEmmanuel Vadot 210f126890aSEmmanuel Vadot usart1: serial@f0020000 { 211f126890aSEmmanuel Vadot compatible = "atmel,at91sam9260-usart"; 212f126890aSEmmanuel Vadot reg = <0xf0020000 0x100>; 213f126890aSEmmanuel Vadot atmel,usart-mode = <AT91_USART_MODE_SERIAL>; 214f126890aSEmmanuel Vadot interrupts = <13 IRQ_TYPE_LEVEL_HIGH 5>; 215f126890aSEmmanuel Vadot dmas = <&dma0 2 AT91_DMA_CFG_PER_ID(5)>, 216f126890aSEmmanuel Vadot <&dma0 2 (AT91_DMA_CFG_PER_ID(6) | AT91_DMA_CFG_FIFOCFG_ASAP)>; 217f126890aSEmmanuel Vadot dma-names = "tx", "rx"; 218f126890aSEmmanuel Vadot pinctrl-names = "default"; 219f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usart1>; 220f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 13>; 221f126890aSEmmanuel Vadot clock-names = "usart"; 222f126890aSEmmanuel Vadot status = "disabled"; 223f126890aSEmmanuel Vadot }; 224f126890aSEmmanuel Vadot 225f126890aSEmmanuel Vadot uart0: serial@f0024000 { 226f126890aSEmmanuel Vadot compatible = "atmel,at91sam9260-usart"; 227f126890aSEmmanuel Vadot reg = <0xf0024000 0x100>; 228f126890aSEmmanuel Vadot atmel,usart-mode = <AT91_USART_MODE_SERIAL>; 229f126890aSEmmanuel Vadot interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>; 230f126890aSEmmanuel Vadot pinctrl-names = "default"; 231f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_uart0>; 232f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 16>; 233f126890aSEmmanuel Vadot clock-names = "usart"; 234f126890aSEmmanuel Vadot status = "disabled"; 235f126890aSEmmanuel Vadot }; 236f126890aSEmmanuel Vadot 237f126890aSEmmanuel Vadot pwm0: pwm@f002c000 { 238f126890aSEmmanuel Vadot compatible = "atmel,sama5d3-pwm"; 239f126890aSEmmanuel Vadot reg = <0xf002c000 0x300>; 240f126890aSEmmanuel Vadot interrupts = <28 IRQ_TYPE_LEVEL_HIGH 4>; 241f126890aSEmmanuel Vadot #pwm-cells = <3>; 242f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 28>; 243f126890aSEmmanuel Vadot status = "disabled"; 244f126890aSEmmanuel Vadot }; 245f126890aSEmmanuel Vadot 246f126890aSEmmanuel Vadot isi: isi@f0034000 { 247f126890aSEmmanuel Vadot compatible = "atmel,at91sam9g45-isi"; 248f126890aSEmmanuel Vadot reg = <0xf0034000 0x4000>; 249f126890aSEmmanuel Vadot interrupts = <37 IRQ_TYPE_LEVEL_HIGH 5>; 250f126890aSEmmanuel Vadot pinctrl-names = "default"; 251f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_isi_data_0_7>; 252f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 37>; 253f126890aSEmmanuel Vadot clock-names = "isi_clk"; 254f126890aSEmmanuel Vadot status = "disabled"; 255f126890aSEmmanuel Vadot port { 256f126890aSEmmanuel Vadot #address-cells = <1>; 257f126890aSEmmanuel Vadot #size-cells = <0>; 258f126890aSEmmanuel Vadot }; 259f126890aSEmmanuel Vadot }; 260f126890aSEmmanuel Vadot 261f126890aSEmmanuel Vadot sfr: sfr@f0038000 { 262f126890aSEmmanuel Vadot compatible = "atmel,sama5d3-sfr", "syscon"; 263f126890aSEmmanuel Vadot reg = <0xf0038000 0x60>; 264f126890aSEmmanuel Vadot }; 265f126890aSEmmanuel Vadot 266f126890aSEmmanuel Vadot mmc1: mmc@f8000000 { 267f126890aSEmmanuel Vadot compatible = "atmel,hsmci"; 268f126890aSEmmanuel Vadot reg = <0xf8000000 0x600>; 269f126890aSEmmanuel Vadot interrupts = <22 IRQ_TYPE_LEVEL_HIGH 0>; 270f126890aSEmmanuel Vadot dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(0)>; 271f126890aSEmmanuel Vadot dma-names = "rxtx"; 272f126890aSEmmanuel Vadot pinctrl-names = "default"; 273f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3>; 274f126890aSEmmanuel Vadot status = "disabled"; 275f126890aSEmmanuel Vadot #address-cells = <1>; 276f126890aSEmmanuel Vadot #size-cells = <0>; 277f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 22>; 278f126890aSEmmanuel Vadot clock-names = "mci_clk"; 279f126890aSEmmanuel Vadot }; 280f126890aSEmmanuel Vadot 281f126890aSEmmanuel Vadot spi1: spi@f8008000 { 282f126890aSEmmanuel Vadot #address-cells = <1>; 283f126890aSEmmanuel Vadot #size-cells = <0>; 284f126890aSEmmanuel Vadot compatible = "atmel,at91rm9200-spi"; 285f126890aSEmmanuel Vadot reg = <0xf8008000 0x100>; 286f126890aSEmmanuel Vadot interrupts = <25 IRQ_TYPE_LEVEL_HIGH 3>; 287f126890aSEmmanuel Vadot dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(15)>, 288f126890aSEmmanuel Vadot <&dma1 2 AT91_DMA_CFG_PER_ID(16)>; 289f126890aSEmmanuel Vadot dma-names = "tx", "rx"; 290f126890aSEmmanuel Vadot pinctrl-names = "default"; 291f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_spi1>; 292f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 25>; 293f126890aSEmmanuel Vadot clock-names = "spi_clk"; 294f126890aSEmmanuel Vadot status = "disabled"; 295f126890aSEmmanuel Vadot }; 296f126890aSEmmanuel Vadot 297f126890aSEmmanuel Vadot ssc1: ssc@f800c000 { 298f126890aSEmmanuel Vadot compatible = "atmel,at91sam9g45-ssc"; 299f126890aSEmmanuel Vadot reg = <0xf800c000 0x4000>; 300f126890aSEmmanuel Vadot interrupts = <39 IRQ_TYPE_LEVEL_HIGH 4>; 301f126890aSEmmanuel Vadot dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(3)>, 302f126890aSEmmanuel Vadot <&dma1 2 AT91_DMA_CFG_PER_ID(4)>; 303f126890aSEmmanuel Vadot dma-names = "tx", "rx"; 304f126890aSEmmanuel Vadot pinctrl-names = "default"; 305f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>; 306f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 39>; 307f126890aSEmmanuel Vadot clock-names = "pclk"; 308f126890aSEmmanuel Vadot status = "disabled"; 309f126890aSEmmanuel Vadot }; 310f126890aSEmmanuel Vadot 311f126890aSEmmanuel Vadot adc0: adc@f8018000 { 312f126890aSEmmanuel Vadot compatible = "atmel,sama5d3-adc"; 313f126890aSEmmanuel Vadot reg = <0xf8018000 0x100>; 314f126890aSEmmanuel Vadot interrupts = <29 IRQ_TYPE_LEVEL_HIGH 5>; 315f126890aSEmmanuel Vadot pinctrl-names = "default"; 316f126890aSEmmanuel Vadot pinctrl-0 = < 317f126890aSEmmanuel Vadot &pinctrl_adc0_adtrg 318f126890aSEmmanuel Vadot &pinctrl_adc0_ad0 319f126890aSEmmanuel Vadot &pinctrl_adc0_ad1 320f126890aSEmmanuel Vadot &pinctrl_adc0_ad2 321f126890aSEmmanuel Vadot &pinctrl_adc0_ad3 322f126890aSEmmanuel Vadot &pinctrl_adc0_ad4 323f126890aSEmmanuel Vadot &pinctrl_adc0_ad5 324f126890aSEmmanuel Vadot &pinctrl_adc0_ad6 325f126890aSEmmanuel Vadot &pinctrl_adc0_ad7 326f126890aSEmmanuel Vadot &pinctrl_adc0_ad8 327f126890aSEmmanuel Vadot &pinctrl_adc0_ad9 328f126890aSEmmanuel Vadot &pinctrl_adc0_ad10 329f126890aSEmmanuel Vadot &pinctrl_adc0_ad11 330f126890aSEmmanuel Vadot >; 331f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 29>, 332f126890aSEmmanuel Vadot <&adc_op_clk>; 333f126890aSEmmanuel Vadot clock-names = "adc_clk", "adc_op_clk"; 334f126890aSEmmanuel Vadot atmel,adc-channels-used = <0xfff>; 335f126890aSEmmanuel Vadot atmel,adc-startup-time = <40>; 336f126890aSEmmanuel Vadot atmel,adc-use-external-triggers; 337f126890aSEmmanuel Vadot atmel,adc-vref = <3000>; 338f126890aSEmmanuel Vadot atmel,adc-sample-hold-time = <11>; 339f126890aSEmmanuel Vadot status = "disabled"; 340f126890aSEmmanuel Vadot }; 341f126890aSEmmanuel Vadot 342f126890aSEmmanuel Vadot i2c2: i2c@f801c000 { 343f126890aSEmmanuel Vadot compatible = "atmel,at91sam9x5-i2c"; 344f126890aSEmmanuel Vadot reg = <0xf801c000 0x4000>; 345f126890aSEmmanuel Vadot interrupts = <20 IRQ_TYPE_LEVEL_HIGH 6>; 346f126890aSEmmanuel Vadot dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(11)>, 347f126890aSEmmanuel Vadot <&dma1 2 AT91_DMA_CFG_PER_ID(12)>; 348f126890aSEmmanuel Vadot dma-names = "tx", "rx"; 349f126890aSEmmanuel Vadot pinctrl-names = "default", "gpio"; 350f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c2>; 351f126890aSEmmanuel Vadot pinctrl-1 = <&pinctrl_i2c2_gpio>; 352f126890aSEmmanuel Vadot sda-gpios = <&pioA 18 GPIO_ACTIVE_HIGH>; 353f126890aSEmmanuel Vadot scl-gpios = <&pioA 19 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 354f126890aSEmmanuel Vadot #address-cells = <1>; 355f126890aSEmmanuel Vadot #size-cells = <0>; 356f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 20>; 357f126890aSEmmanuel Vadot status = "disabled"; 358f126890aSEmmanuel Vadot }; 359f126890aSEmmanuel Vadot 360f126890aSEmmanuel Vadot usart2: serial@f8020000 { 361f126890aSEmmanuel Vadot compatible = "atmel,at91sam9260-usart"; 362f126890aSEmmanuel Vadot reg = <0xf8020000 0x100>; 363f126890aSEmmanuel Vadot atmel,usart-mode = <AT91_USART_MODE_SERIAL>; 364f126890aSEmmanuel Vadot interrupts = <14 IRQ_TYPE_LEVEL_HIGH 5>; 365f126890aSEmmanuel Vadot dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(7)>, 366f126890aSEmmanuel Vadot <&dma1 2 (AT91_DMA_CFG_PER_ID(8) | AT91_DMA_CFG_FIFOCFG_ASAP)>; 367f126890aSEmmanuel Vadot dma-names = "tx", "rx"; 368f126890aSEmmanuel Vadot pinctrl-names = "default"; 369f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usart2>; 370f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 14>; 371f126890aSEmmanuel Vadot clock-names = "usart"; 372f126890aSEmmanuel Vadot status = "disabled"; 373f126890aSEmmanuel Vadot }; 374f126890aSEmmanuel Vadot 375f126890aSEmmanuel Vadot usart3: serial@f8024000 { 376f126890aSEmmanuel Vadot compatible = "atmel,at91sam9260-usart"; 377f126890aSEmmanuel Vadot reg = <0xf8024000 0x100>; 378f126890aSEmmanuel Vadot atmel,usart-mode = <AT91_USART_MODE_SERIAL>; 379f126890aSEmmanuel Vadot interrupts = <15 IRQ_TYPE_LEVEL_HIGH 5>; 380f126890aSEmmanuel Vadot dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(9)>, 381f126890aSEmmanuel Vadot <&dma1 2 (AT91_DMA_CFG_PER_ID(10) | AT91_DMA_CFG_FIFOCFG_ASAP)>; 382f126890aSEmmanuel Vadot dma-names = "tx", "rx"; 383f126890aSEmmanuel Vadot pinctrl-names = "default"; 384f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usart3>; 385f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 15>; 386f126890aSEmmanuel Vadot clock-names = "usart"; 387f126890aSEmmanuel Vadot status = "disabled"; 388f126890aSEmmanuel Vadot }; 389f126890aSEmmanuel Vadot 390f126890aSEmmanuel Vadot sha: crypto@f8034000 { 391f126890aSEmmanuel Vadot compatible = "atmel,at91sam9g46-sha"; 392f126890aSEmmanuel Vadot reg = <0xf8034000 0x100>; 393f126890aSEmmanuel Vadot interrupts = <42 IRQ_TYPE_LEVEL_HIGH 0>; 394f126890aSEmmanuel Vadot dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(17)>; 395f126890aSEmmanuel Vadot dma-names = "tx"; 396f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 42>; 397f126890aSEmmanuel Vadot clock-names = "sha_clk"; 398f126890aSEmmanuel Vadot }; 399f126890aSEmmanuel Vadot 400f126890aSEmmanuel Vadot aes: crypto@f8038000 { 401f126890aSEmmanuel Vadot compatible = "atmel,at91sam9g46-aes"; 402f126890aSEmmanuel Vadot reg = <0xf8038000 0x100>; 403f126890aSEmmanuel Vadot interrupts = <43 IRQ_TYPE_LEVEL_HIGH 0>; 404f126890aSEmmanuel Vadot dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(18)>, 405f126890aSEmmanuel Vadot <&dma1 2 AT91_DMA_CFG_PER_ID(19)>; 406f126890aSEmmanuel Vadot dma-names = "tx", "rx"; 407f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 43>; 408f126890aSEmmanuel Vadot clock-names = "aes_clk"; 409f126890aSEmmanuel Vadot }; 410f126890aSEmmanuel Vadot 411f126890aSEmmanuel Vadot tdes: crypto@f803c000 { 412f126890aSEmmanuel Vadot compatible = "atmel,at91sam9g46-tdes"; 413f126890aSEmmanuel Vadot reg = <0xf803c000 0x100>; 414f126890aSEmmanuel Vadot interrupts = <44 IRQ_TYPE_LEVEL_HIGH 0>; 415f126890aSEmmanuel Vadot dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(20)>, 416f126890aSEmmanuel Vadot <&dma1 2 AT91_DMA_CFG_PER_ID(21)>; 417f126890aSEmmanuel Vadot dma-names = "tx", "rx"; 418f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 44>; 419f126890aSEmmanuel Vadot clock-names = "tdes_clk"; 420f126890aSEmmanuel Vadot }; 421f126890aSEmmanuel Vadot 422f126890aSEmmanuel Vadot trng@f8040000 { 423f126890aSEmmanuel Vadot compatible = "atmel,at91sam9g45-trng"; 424f126890aSEmmanuel Vadot reg = <0xf8040000 0x100>; 425f126890aSEmmanuel Vadot interrupts = <45 IRQ_TYPE_LEVEL_HIGH 0>; 426f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 45>; 427f126890aSEmmanuel Vadot }; 428f126890aSEmmanuel Vadot 429f126890aSEmmanuel Vadot hsmc: hsmc@ffffc000 { 430f126890aSEmmanuel Vadot compatible = "atmel,sama5d3-smc", "syscon", "simple-mfd"; 431f126890aSEmmanuel Vadot reg = <0xffffc000 0x1000>; 432f126890aSEmmanuel Vadot interrupts = <5 IRQ_TYPE_LEVEL_HIGH 6>; 433f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 5>; 434f126890aSEmmanuel Vadot #address-cells = <1>; 435f126890aSEmmanuel Vadot #size-cells = <1>; 436f126890aSEmmanuel Vadot ranges; 437f126890aSEmmanuel Vadot 438f126890aSEmmanuel Vadot pmecc: ecc-engine@ffffc070 { 439f126890aSEmmanuel Vadot compatible = "atmel,at91sam9g45-pmecc"; 440f126890aSEmmanuel Vadot reg = <0xffffc070 0x490>, 441f126890aSEmmanuel Vadot <0xffffc500 0x100>; 442f126890aSEmmanuel Vadot }; 443f126890aSEmmanuel Vadot }; 444f126890aSEmmanuel Vadot 445f126890aSEmmanuel Vadot dma0: dma-controller@ffffe600 { 446f126890aSEmmanuel Vadot compatible = "atmel,at91sam9g45-dma"; 447f126890aSEmmanuel Vadot reg = <0xffffe600 0x200>; 448f126890aSEmmanuel Vadot interrupts = <30 IRQ_TYPE_LEVEL_HIGH 0>; 449f126890aSEmmanuel Vadot #dma-cells = <2>; 450f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 30>; 451f126890aSEmmanuel Vadot clock-names = "dma_clk"; 452f126890aSEmmanuel Vadot }; 453f126890aSEmmanuel Vadot 454f126890aSEmmanuel Vadot dma1: dma-controller@ffffe800 { 455f126890aSEmmanuel Vadot compatible = "atmel,at91sam9g45-dma"; 456f126890aSEmmanuel Vadot reg = <0xffffe800 0x200>; 457f126890aSEmmanuel Vadot interrupts = <31 IRQ_TYPE_LEVEL_HIGH 0>; 458f126890aSEmmanuel Vadot #dma-cells = <2>; 459f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 31>; 460f126890aSEmmanuel Vadot clock-names = "dma_clk"; 461f126890aSEmmanuel Vadot }; 462f126890aSEmmanuel Vadot 463f126890aSEmmanuel Vadot ramc0: ramc@ffffea00 { 464f126890aSEmmanuel Vadot compatible = "atmel,sama5d3-ddramc"; 465f126890aSEmmanuel Vadot reg = <0xffffea00 0x200>; 466f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_SYSTEM 2>, <&pmc PMC_TYPE_PERIPHERAL 49>; 467f126890aSEmmanuel Vadot clock-names = "ddrck", "mpddr"; 468f126890aSEmmanuel Vadot }; 469f126890aSEmmanuel Vadot 470f126890aSEmmanuel Vadot dbgu: serial@ffffee00 { 471f126890aSEmmanuel Vadot compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart"; 472f126890aSEmmanuel Vadot reg = <0xffffee00 0x200>; 473f126890aSEmmanuel Vadot atmel,usart-mode = <AT91_USART_MODE_SERIAL>; 474f126890aSEmmanuel Vadot interrupts = <2 IRQ_TYPE_LEVEL_HIGH 7>; 475f126890aSEmmanuel Vadot dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(13)>, 476f126890aSEmmanuel Vadot <&dma1 2 (AT91_DMA_CFG_PER_ID(14) | AT91_DMA_CFG_FIFOCFG_ASAP)>; 477f126890aSEmmanuel Vadot dma-names = "tx", "rx"; 478f126890aSEmmanuel Vadot pinctrl-names = "default"; 479f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_dbgu>; 480f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 2>; 481f126890aSEmmanuel Vadot clock-names = "usart"; 482f126890aSEmmanuel Vadot status = "disabled"; 483f126890aSEmmanuel Vadot }; 484f126890aSEmmanuel Vadot 485f126890aSEmmanuel Vadot aic: interrupt-controller@fffff000 { 486f126890aSEmmanuel Vadot #interrupt-cells = <3>; 487f126890aSEmmanuel Vadot compatible = "atmel,sama5d3-aic"; 488f126890aSEmmanuel Vadot interrupt-controller; 489f126890aSEmmanuel Vadot reg = <0xfffff000 0x200>; 490f126890aSEmmanuel Vadot atmel,external-irqs = <47>; 491f126890aSEmmanuel Vadot }; 492f126890aSEmmanuel Vadot 493f126890aSEmmanuel Vadot pinctrl: pinctrl@fffff200 { 494f126890aSEmmanuel Vadot #address-cells = <1>; 495f126890aSEmmanuel Vadot #size-cells = <1>; 496*b2d2a78aSEmmanuel Vadot compatible = "atmel,sama5d3-pinctrl", "simple-mfd"; 497f126890aSEmmanuel Vadot ranges = <0xfffff200 0xfffff200 0xa00>; 498f126890aSEmmanuel Vadot atmel,mux-mask = < 499f126890aSEmmanuel Vadot /* A B C */ 500f126890aSEmmanuel Vadot 0xffffffff 0xc0fc0000 0xc0ff0000 /* pioA */ 501f126890aSEmmanuel Vadot 0xffffffff 0x0ff8ffff 0x00000000 /* pioB */ 502f126890aSEmmanuel Vadot 0xffffffff 0xbc00f1ff 0x7c00fc00 /* pioC */ 503f126890aSEmmanuel Vadot 0xffffffff 0xc001c0e0 0x0001c1e0 /* pioD */ 504f126890aSEmmanuel Vadot 0xffffffff 0xbf9f8000 0x18000000 /* pioE */ 505f126890aSEmmanuel Vadot >; 506f126890aSEmmanuel Vadot 507f126890aSEmmanuel Vadot /* shared pinctrl settings */ 508f126890aSEmmanuel Vadot adc0 { 509f126890aSEmmanuel Vadot pinctrl_adc0_adtrg: adc0_adtrg { 510f126890aSEmmanuel Vadot atmel,pins = 511f126890aSEmmanuel Vadot <AT91_PIOD 19 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD19 periph A ADTRG */ 512f126890aSEmmanuel Vadot }; 513f126890aSEmmanuel Vadot pinctrl_adc0_ad0: adc0_ad0 { 514f126890aSEmmanuel Vadot atmel,pins = 515f126890aSEmmanuel Vadot <AT91_PIOD 20 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD20 periph A AD0 */ 516f126890aSEmmanuel Vadot }; 517f126890aSEmmanuel Vadot pinctrl_adc0_ad1: adc0_ad1 { 518f126890aSEmmanuel Vadot atmel,pins = 519f126890aSEmmanuel Vadot <AT91_PIOD 21 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD21 periph A AD1 */ 520f126890aSEmmanuel Vadot }; 521f126890aSEmmanuel Vadot pinctrl_adc0_ad2: adc0_ad2 { 522f126890aSEmmanuel Vadot atmel,pins = 523f126890aSEmmanuel Vadot <AT91_PIOD 22 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD22 periph A AD2 */ 524f126890aSEmmanuel Vadot }; 525f126890aSEmmanuel Vadot pinctrl_adc0_ad3: adc0_ad3 { 526f126890aSEmmanuel Vadot atmel,pins = 527f126890aSEmmanuel Vadot <AT91_PIOD 23 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD23 periph A AD3 */ 528f126890aSEmmanuel Vadot }; 529f126890aSEmmanuel Vadot pinctrl_adc0_ad4: adc0_ad4 { 530f126890aSEmmanuel Vadot atmel,pins = 531f126890aSEmmanuel Vadot <AT91_PIOD 24 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD24 periph A AD4 */ 532f126890aSEmmanuel Vadot }; 533f126890aSEmmanuel Vadot pinctrl_adc0_ad5: adc0_ad5 { 534f126890aSEmmanuel Vadot atmel,pins = 535f126890aSEmmanuel Vadot <AT91_PIOD 25 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD25 periph A AD5 */ 536f126890aSEmmanuel Vadot }; 537f126890aSEmmanuel Vadot pinctrl_adc0_ad6: adc0_ad6 { 538f126890aSEmmanuel Vadot atmel,pins = 539f126890aSEmmanuel Vadot <AT91_PIOD 26 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD26 periph A AD6 */ 540f126890aSEmmanuel Vadot }; 541f126890aSEmmanuel Vadot pinctrl_adc0_ad7: adc0_ad7 { 542f126890aSEmmanuel Vadot atmel,pins = 543f126890aSEmmanuel Vadot <AT91_PIOD 27 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD27 periph A AD7 */ 544f126890aSEmmanuel Vadot }; 545f126890aSEmmanuel Vadot pinctrl_adc0_ad8: adc0_ad8 { 546f126890aSEmmanuel Vadot atmel,pins = 547f126890aSEmmanuel Vadot <AT91_PIOD 28 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD28 periph A AD8 */ 548f126890aSEmmanuel Vadot }; 549f126890aSEmmanuel Vadot pinctrl_adc0_ad9: adc0_ad9 { 550f126890aSEmmanuel Vadot atmel,pins = 551f126890aSEmmanuel Vadot <AT91_PIOD 29 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD29 periph A AD9 */ 552f126890aSEmmanuel Vadot }; 553f126890aSEmmanuel Vadot pinctrl_adc0_ad10: adc0_ad10 { 554f126890aSEmmanuel Vadot atmel,pins = 555f126890aSEmmanuel Vadot <AT91_PIOD 30 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD30 periph A AD10, conflicts with PCK0 */ 556f126890aSEmmanuel Vadot }; 557f126890aSEmmanuel Vadot pinctrl_adc0_ad11: adc0_ad11 { 558f126890aSEmmanuel Vadot atmel,pins = 559f126890aSEmmanuel Vadot <AT91_PIOD 31 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD31 periph A AD11, conflicts with PCK1 */ 560f126890aSEmmanuel Vadot }; 561f126890aSEmmanuel Vadot }; 562f126890aSEmmanuel Vadot 563f126890aSEmmanuel Vadot dbgu { 564f126890aSEmmanuel Vadot pinctrl_dbgu: dbgu-0 { 565f126890aSEmmanuel Vadot atmel,pins = 566f126890aSEmmanuel Vadot <AT91_PIOB 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP 567f126890aSEmmanuel Vadot AT91_PIOB 31 AT91_PERIPH_A AT91_PINCTRL_NONE>; 568f126890aSEmmanuel Vadot }; 569f126890aSEmmanuel Vadot }; 570f126890aSEmmanuel Vadot 571f126890aSEmmanuel Vadot ebi { 572f126890aSEmmanuel Vadot pinctrl_ebi_addr: ebi-addr-0 { 573f126890aSEmmanuel Vadot atmel,pins = 574f126890aSEmmanuel Vadot <AT91_PIOE 1 AT91_PERIPH_A AT91_PINCTRL_NONE 575f126890aSEmmanuel Vadot AT91_PIOE 2 AT91_PERIPH_A AT91_PINCTRL_NONE 576f126890aSEmmanuel Vadot AT91_PIOE 3 AT91_PERIPH_A AT91_PINCTRL_NONE 577f126890aSEmmanuel Vadot AT91_PIOE 4 AT91_PERIPH_A AT91_PINCTRL_NONE 578f126890aSEmmanuel Vadot AT91_PIOE 5 AT91_PERIPH_A AT91_PINCTRL_NONE 579f126890aSEmmanuel Vadot AT91_PIOE 6 AT91_PERIPH_A AT91_PINCTRL_NONE 580f126890aSEmmanuel Vadot AT91_PIOE 7 AT91_PERIPH_A AT91_PINCTRL_NONE 581f126890aSEmmanuel Vadot AT91_PIOE 8 AT91_PERIPH_A AT91_PINCTRL_NONE 582f126890aSEmmanuel Vadot AT91_PIOE 9 AT91_PERIPH_A AT91_PINCTRL_NONE 583f126890aSEmmanuel Vadot AT91_PIOE 10 AT91_PERIPH_A AT91_PINCTRL_NONE 584f126890aSEmmanuel Vadot AT91_PIOE 11 AT91_PERIPH_A AT91_PINCTRL_NONE 585f126890aSEmmanuel Vadot AT91_PIOE 12 AT91_PERIPH_A AT91_PINCTRL_NONE 586f126890aSEmmanuel Vadot AT91_PIOE 13 AT91_PERIPH_A AT91_PINCTRL_NONE 587f126890aSEmmanuel Vadot AT91_PIOE 14 AT91_PERIPH_A AT91_PINCTRL_NONE 588f126890aSEmmanuel Vadot AT91_PIOE 15 AT91_PERIPH_A AT91_PINCTRL_NONE 589f126890aSEmmanuel Vadot AT91_PIOE 16 AT91_PERIPH_A AT91_PINCTRL_NONE 590f126890aSEmmanuel Vadot AT91_PIOE 17 AT91_PERIPH_A AT91_PINCTRL_NONE 591f126890aSEmmanuel Vadot AT91_PIOE 18 AT91_PERIPH_A AT91_PINCTRL_NONE 592f126890aSEmmanuel Vadot AT91_PIOE 19 AT91_PERIPH_A AT91_PINCTRL_NONE 593f126890aSEmmanuel Vadot AT91_PIOE 20 AT91_PERIPH_A AT91_PINCTRL_NONE 594f126890aSEmmanuel Vadot AT91_PIOE 21 AT91_PERIPH_A AT91_PINCTRL_NONE 595f126890aSEmmanuel Vadot AT91_PIOE 22 AT91_PERIPH_A AT91_PINCTRL_NONE 596f126890aSEmmanuel Vadot AT91_PIOE 23 AT91_PERIPH_A AT91_PINCTRL_NONE>; 597f126890aSEmmanuel Vadot }; 598f126890aSEmmanuel Vadot 599f126890aSEmmanuel Vadot pinctrl_ebi_nand_addr: ebi-addr-1 { 600f126890aSEmmanuel Vadot atmel,pins = 601f126890aSEmmanuel Vadot <AT91_PIOE 21 AT91_PERIPH_A AT91_PINCTRL_NONE 602f126890aSEmmanuel Vadot AT91_PIOE 22 AT91_PERIPH_A AT91_PINCTRL_NONE>; 603f126890aSEmmanuel Vadot }; 604f126890aSEmmanuel Vadot 605f126890aSEmmanuel Vadot pinctrl_ebi_cs0: ebi-cs0-0 { 606f126890aSEmmanuel Vadot atmel,pins = 607f126890aSEmmanuel Vadot <AT91_PIOE 24 AT91_PERIPH_A AT91_PINCTRL_NONE>; 608f126890aSEmmanuel Vadot }; 609f126890aSEmmanuel Vadot 610f126890aSEmmanuel Vadot pinctrl_ebi_cs1: ebi-cs1-0 { 611f126890aSEmmanuel Vadot atmel,pins = 612f126890aSEmmanuel Vadot <AT91_PIOE 25 AT91_PERIPH_A AT91_PINCTRL_NONE>; 613f126890aSEmmanuel Vadot }; 614f126890aSEmmanuel Vadot 615f126890aSEmmanuel Vadot pinctrl_ebi_cs2: ebi-cs2-0 { 616f126890aSEmmanuel Vadot atmel,pins = 617f126890aSEmmanuel Vadot <AT91_PIOE 26 AT91_PERIPH_A AT91_PINCTRL_NONE>; 618f126890aSEmmanuel Vadot }; 619f126890aSEmmanuel Vadot 620f126890aSEmmanuel Vadot pinctrl_ebi_nwait: ebi-nwait-0 { 621f126890aSEmmanuel Vadot atmel,pins = 622f126890aSEmmanuel Vadot <AT91_PIOE 28 AT91_PERIPH_A AT91_PINCTRL_NONE>; 623f126890aSEmmanuel Vadot }; 624f126890aSEmmanuel Vadot 625f126890aSEmmanuel Vadot pinctrl_ebi_nwr1_nbs1: ebi-nwr1-nbs1-0 { 626f126890aSEmmanuel Vadot atmel,pins = 627f126890aSEmmanuel Vadot <AT91_PIOE 27 AT91_PERIPH_A AT91_PINCTRL_NONE>; 628f126890aSEmmanuel Vadot }; 629f126890aSEmmanuel Vadot }; 630f126890aSEmmanuel Vadot 631f126890aSEmmanuel Vadot i2c0 { 632f126890aSEmmanuel Vadot pinctrl_i2c0: i2c0-0 { 633f126890aSEmmanuel Vadot atmel,pins = 634f126890aSEmmanuel Vadot <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA30 periph A TWD0 pin, conflicts with URXD1, ISI_VSYNC */ 635f126890aSEmmanuel Vadot AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA31 periph A TWCK0 pin, conflicts with UTXD1, ISI_HSYNC */ 636f126890aSEmmanuel Vadot }; 637f126890aSEmmanuel Vadot 638f126890aSEmmanuel Vadot pinctrl_i2c0_gpio: i2c0-gpio { 639f126890aSEmmanuel Vadot atmel,pins = 640f126890aSEmmanuel Vadot <AT91_PIOA 30 AT91_PERIPH_GPIO AT91_PINCTRL_NONE 641f126890aSEmmanuel Vadot AT91_PIOA 31 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>; 642f126890aSEmmanuel Vadot }; 643f126890aSEmmanuel Vadot }; 644f126890aSEmmanuel Vadot 645f126890aSEmmanuel Vadot i2c1 { 646f126890aSEmmanuel Vadot pinctrl_i2c1: i2c1-0 { 647f126890aSEmmanuel Vadot atmel,pins = 648f126890aSEmmanuel Vadot <AT91_PIOC 26 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC26 periph B TWD1 pin, conflicts with SPI1_NPCS1, ISI_D11 */ 649f126890aSEmmanuel Vadot AT91_PIOC 27 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC27 periph B TWCK1 pin, conflicts with SPI1_NPCS2, ISI_D10 */ 650f126890aSEmmanuel Vadot }; 651f126890aSEmmanuel Vadot 652f126890aSEmmanuel Vadot pinctrl_i2c1_gpio: i2c1-gpio { 653f126890aSEmmanuel Vadot atmel,pins = 654f126890aSEmmanuel Vadot <AT91_PIOC 26 AT91_PERIPH_GPIO AT91_PINCTRL_NONE 655f126890aSEmmanuel Vadot AT91_PIOC 27 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>; 656f126890aSEmmanuel Vadot }; 657f126890aSEmmanuel Vadot }; 658f126890aSEmmanuel Vadot 659f126890aSEmmanuel Vadot i2c2 { 660f126890aSEmmanuel Vadot pinctrl_i2c2: i2c2-0 { 661f126890aSEmmanuel Vadot atmel,pins = 662f126890aSEmmanuel Vadot <AT91_PIOA 18 AT91_PERIPH_B AT91_PINCTRL_NONE /* TWD2 pin, conflicts with LCDDAT18, ISI_D2 */ 663f126890aSEmmanuel Vadot AT91_PIOA 19 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* TWCK2 pin, conflicts with LCDDAT19, ISI_D3 */ 664f126890aSEmmanuel Vadot }; 665f126890aSEmmanuel Vadot 666f126890aSEmmanuel Vadot pinctrl_i2c2_gpio: i2c2-gpio { 667f126890aSEmmanuel Vadot atmel,pins = 668f126890aSEmmanuel Vadot <AT91_PIOA 18 AT91_PERIPH_GPIO AT91_PINCTRL_NONE 669f126890aSEmmanuel Vadot AT91_PIOA 19 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>; 670f126890aSEmmanuel Vadot }; 671f126890aSEmmanuel Vadot }; 672f126890aSEmmanuel Vadot 673f126890aSEmmanuel Vadot isi { 674f126890aSEmmanuel Vadot pinctrl_isi_data_0_7: isi-0-data-0-7 { 675f126890aSEmmanuel Vadot atmel,pins = 676f126890aSEmmanuel Vadot <AT91_PIOA 16 AT91_PERIPH_C AT91_PINCTRL_NONE /* PA16 periph C ISI_D0, conflicts with LCDDAT16 */ 677f126890aSEmmanuel Vadot AT91_PIOA 17 AT91_PERIPH_C AT91_PINCTRL_NONE /* PA17 periph C ISI_D1, conflicts with LCDDAT17 */ 678f126890aSEmmanuel Vadot AT91_PIOA 18 AT91_PERIPH_C AT91_PINCTRL_NONE /* PA18 periph C ISI_D2, conflicts with LCDDAT18, TWD2 */ 679f126890aSEmmanuel Vadot AT91_PIOA 19 AT91_PERIPH_C AT91_PINCTRL_NONE /* PA19 periph C ISI_D3, conflicts with LCDDAT19, TWCK2 */ 680f126890aSEmmanuel Vadot AT91_PIOA 20 AT91_PERIPH_C AT91_PINCTRL_NONE /* PA20 periph C ISI_D4, conflicts with LCDDAT20, PWMH0 */ 681f126890aSEmmanuel Vadot AT91_PIOA 21 AT91_PERIPH_C AT91_PINCTRL_NONE /* PA21 periph C ISI_D5, conflicts with LCDDAT21, PWML0 */ 682f126890aSEmmanuel Vadot AT91_PIOA 22 AT91_PERIPH_C AT91_PINCTRL_NONE /* PA22 periph C ISI_D6, conflicts with LCDDAT22, PWMH1 */ 683f126890aSEmmanuel Vadot AT91_PIOA 23 AT91_PERIPH_C AT91_PINCTRL_NONE /* PA23 periph C ISI_D7, conflicts with LCDDAT23, PWML1 */ 684f126890aSEmmanuel Vadot AT91_PIOC 30 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC30 periph C ISI_PCK, conflicts with UTXD0 */ 685f126890aSEmmanuel Vadot AT91_PIOA 31 AT91_PERIPH_C AT91_PINCTRL_NONE /* PA31 periph C ISI_HSYNC, conflicts with TWCK0, UTXD1 */ 686f126890aSEmmanuel Vadot AT91_PIOA 30 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PA30 periph C ISI_VSYNC, conflicts with TWD0, URXD1 */ 687f126890aSEmmanuel Vadot }; 688f126890aSEmmanuel Vadot 689f126890aSEmmanuel Vadot pinctrl_isi_data_8_9: isi-0-data-8-9 { 690f126890aSEmmanuel Vadot atmel,pins = 691f126890aSEmmanuel Vadot <AT91_PIOC 29 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC29 periph C ISI_PD8, conflicts with URXD0, PWMFI2 */ 692f126890aSEmmanuel Vadot AT91_PIOC 28 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC28 periph C ISI_PD9, conflicts with SPI1_NPCS3, PWMFI0 */ 693f126890aSEmmanuel Vadot }; 694f126890aSEmmanuel Vadot 695f126890aSEmmanuel Vadot pinctrl_isi_data_10_11: isi-0-data-10-11 { 696f126890aSEmmanuel Vadot atmel,pins = 697f126890aSEmmanuel Vadot <AT91_PIOC 27 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC27 periph C ISI_PD10, conflicts with SPI1_NPCS2, TWCK1 */ 698f126890aSEmmanuel Vadot AT91_PIOC 26 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC26 periph C ISI_PD11, conflicts with SPI1_NPCS1, TWD1 */ 699f126890aSEmmanuel Vadot }; 700f126890aSEmmanuel Vadot }; 701f126890aSEmmanuel Vadot 702f126890aSEmmanuel Vadot mmc0 { 703f126890aSEmmanuel Vadot pinctrl_mmc0_clk_cmd_dat0: mmc0_clk_cmd_dat0 { 704f126890aSEmmanuel Vadot atmel,pins = 705f126890aSEmmanuel Vadot <AT91_PIOD 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD9 periph A MCI0_CK */ 706f126890aSEmmanuel Vadot AT91_PIOD 0 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD0 periph A MCI0_CDA with pullup */ 707f126890aSEmmanuel Vadot AT91_PIOD 1 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PD1 periph A MCI0_DA0 with pullup */ 708f126890aSEmmanuel Vadot }; 709f126890aSEmmanuel Vadot pinctrl_mmc0_dat1_3: mmc0_dat1_3 { 710f126890aSEmmanuel Vadot atmel,pins = 711f126890aSEmmanuel Vadot <AT91_PIOD 2 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD2 periph A MCI0_DA1 with pullup */ 712f126890aSEmmanuel Vadot AT91_PIOD 3 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD3 periph A MCI0_DA2 with pullup */ 713f126890aSEmmanuel Vadot AT91_PIOD 4 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PD4 periph A MCI0_DA3 with pullup */ 714f126890aSEmmanuel Vadot }; 715f126890aSEmmanuel Vadot pinctrl_mmc0_dat4_7: mmc0_dat4_7 { 716f126890aSEmmanuel Vadot atmel,pins = 717f126890aSEmmanuel Vadot <AT91_PIOD 5 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD5 periph A MCI0_DA4 with pullup, conflicts with TIOA0, PWMH2 */ 718f126890aSEmmanuel Vadot AT91_PIOD 6 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD6 periph A MCI0_DA5 with pullup, conflicts with TIOB0, PWML2 */ 719f126890aSEmmanuel Vadot AT91_PIOD 7 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD7 periph A MCI0_DA6 with pullup, conflicts with TCLK0, PWMH3 */ 720f126890aSEmmanuel Vadot AT91_PIOD 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PD8 periph A MCI0_DA7 with pullup, conflicts with PWML3 */ 721f126890aSEmmanuel Vadot }; 722f126890aSEmmanuel Vadot }; 723f126890aSEmmanuel Vadot 724f126890aSEmmanuel Vadot mmc1 { 725f126890aSEmmanuel Vadot pinctrl_mmc1_clk_cmd_dat0: mmc1_clk_cmd_dat0 { 726f126890aSEmmanuel Vadot atmel,pins = 727f126890aSEmmanuel Vadot <AT91_PIOB 24 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB24 periph A MCI1_CK, conflicts with GRX5 */ 728f126890aSEmmanuel Vadot AT91_PIOB 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB19 periph A MCI1_CDA with pullup, conflicts with GTX4 */ 729f126890aSEmmanuel Vadot AT91_PIOB 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PB20 periph A MCI1_DA0 with pullup, conflicts with GTX5 */ 730f126890aSEmmanuel Vadot }; 731f126890aSEmmanuel Vadot pinctrl_mmc1_dat1_3: mmc1_dat1_3 { 732f126890aSEmmanuel Vadot atmel,pins = 733f126890aSEmmanuel Vadot <AT91_PIOB 21 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB21 periph A MCI1_DA1 with pullup, conflicts with GTX6 */ 734f126890aSEmmanuel Vadot AT91_PIOB 22 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB22 periph A MCI1_DA2 with pullup, conflicts with GTX7 */ 735f126890aSEmmanuel Vadot AT91_PIOB 23 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PB23 periph A MCI1_DA3 with pullup, conflicts with GRX4 */ 736f126890aSEmmanuel Vadot }; 737f126890aSEmmanuel Vadot }; 738f126890aSEmmanuel Vadot 739f126890aSEmmanuel Vadot nand0 { 740f126890aSEmmanuel Vadot pinctrl_nand0_ale_cle: nand0_ale_cle-0 { 741f126890aSEmmanuel Vadot atmel,pins = 742f126890aSEmmanuel Vadot <AT91_PIOE 21 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PE21 periph A with pullup */ 743f126890aSEmmanuel Vadot AT91_PIOE 22 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PE22 periph A with pullup */ 744f126890aSEmmanuel Vadot }; 745f126890aSEmmanuel Vadot }; 746f126890aSEmmanuel Vadot 747f126890aSEmmanuel Vadot pwm0 { 748f126890aSEmmanuel Vadot pinctrl_pwm0_pwmh0_0: pwm0_pwmh0-0 { 749f126890aSEmmanuel Vadot atmel,pins = 750f126890aSEmmanuel Vadot <AT91_PIOA 20 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with ISI_D4 and LCDDAT20 */ 751f126890aSEmmanuel Vadot }; 752f126890aSEmmanuel Vadot pinctrl_pwm0_pwmh0_1: pwm0_pwmh0-1 { 753f126890aSEmmanuel Vadot atmel,pins = 754f126890aSEmmanuel Vadot <AT91_PIOB 0 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with GTX0 */ 755f126890aSEmmanuel Vadot }; 756f126890aSEmmanuel Vadot pinctrl_pwm0_pwml0_0: pwm0_pwml0-0 { 757f126890aSEmmanuel Vadot atmel,pins = 758f126890aSEmmanuel Vadot <AT91_PIOA 21 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with ISI_D5 and LCDDAT21 */ 759f126890aSEmmanuel Vadot }; 760f126890aSEmmanuel Vadot pinctrl_pwm0_pwml0_1: pwm0_pwml0-1 { 761f126890aSEmmanuel Vadot atmel,pins = 762f126890aSEmmanuel Vadot <AT91_PIOB 1 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with GTX1 */ 763f126890aSEmmanuel Vadot }; 764f126890aSEmmanuel Vadot 765f126890aSEmmanuel Vadot pinctrl_pwm0_pwmh1_0: pwm0_pwmh1-0 { 766f126890aSEmmanuel Vadot atmel,pins = 767f126890aSEmmanuel Vadot <AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with ISI_D6 and LCDDAT22 */ 768f126890aSEmmanuel Vadot }; 769f126890aSEmmanuel Vadot pinctrl_pwm0_pwmh1_1: pwm0_pwmh1-1 { 770f126890aSEmmanuel Vadot atmel,pins = 771f126890aSEmmanuel Vadot <AT91_PIOB 4 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with GRX0 */ 772f126890aSEmmanuel Vadot }; 773f126890aSEmmanuel Vadot pinctrl_pwm0_pwmh1_2: pwm0_pwmh1-2 { 774f126890aSEmmanuel Vadot atmel,pins = 775f126890aSEmmanuel Vadot <AT91_PIOB 27 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* conflicts with G125CKO and RTS1 */ 776f126890aSEmmanuel Vadot }; 777f126890aSEmmanuel Vadot pinctrl_pwm0_pwml1_0: pwm0_pwml1-0 { 778f126890aSEmmanuel Vadot atmel,pins = 779f126890aSEmmanuel Vadot <AT91_PIOA 23 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with ISI_D7 and LCDDAT23 */ 780f126890aSEmmanuel Vadot }; 781f126890aSEmmanuel Vadot pinctrl_pwm0_pwml1_1: pwm0_pwml1-1 { 782f126890aSEmmanuel Vadot atmel,pins = 783f126890aSEmmanuel Vadot <AT91_PIOB 5 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with GRX1 */ 784f126890aSEmmanuel Vadot }; 785f126890aSEmmanuel Vadot pinctrl_pwm0_pwml1_2: pwm0_pwml1-2 { 786f126890aSEmmanuel Vadot atmel,pins = 787f126890aSEmmanuel Vadot <AT91_PIOE 31 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with IRQ */ 788f126890aSEmmanuel Vadot }; 789f126890aSEmmanuel Vadot 790f126890aSEmmanuel Vadot pinctrl_pwm0_pwmh2_0: pwm0_pwmh2-0 { 791f126890aSEmmanuel Vadot atmel,pins = 792f126890aSEmmanuel Vadot <AT91_PIOB 8 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with GTXCK */ 793f126890aSEmmanuel Vadot }; 794f126890aSEmmanuel Vadot pinctrl_pwm0_pwmh2_1: pwm0_pwmh2-1 { 795f126890aSEmmanuel Vadot atmel,pins = 796f126890aSEmmanuel Vadot <AT91_PIOD 5 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* conflicts with MCI0_DA4 and TIOA0 */ 797f126890aSEmmanuel Vadot }; 798f126890aSEmmanuel Vadot pinctrl_pwm0_pwml2_0: pwm0_pwml2-0 { 799f126890aSEmmanuel Vadot atmel,pins = 800f126890aSEmmanuel Vadot <AT91_PIOB 9 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with GTXEN */ 801f126890aSEmmanuel Vadot }; 802f126890aSEmmanuel Vadot pinctrl_pwm0_pwml2_1: pwm0_pwml2-1 { 803f126890aSEmmanuel Vadot atmel,pins = 804f126890aSEmmanuel Vadot <AT91_PIOD 6 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* conflicts with MCI0_DA5 and TIOB0 */ 805f126890aSEmmanuel Vadot }; 806f126890aSEmmanuel Vadot 807f126890aSEmmanuel Vadot pinctrl_pwm0_pwmh3_0: pwm0_pwmh3-0 { 808f126890aSEmmanuel Vadot atmel,pins = 809f126890aSEmmanuel Vadot <AT91_PIOB 12 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with GRXDV */ 810f126890aSEmmanuel Vadot }; 811f126890aSEmmanuel Vadot pinctrl_pwm0_pwmh3_1: pwm0_pwmh3-1 { 812f126890aSEmmanuel Vadot atmel,pins = 813f126890aSEmmanuel Vadot <AT91_PIOD 7 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* conflicts with MCI0_DA6 and TCLK0 */ 814f126890aSEmmanuel Vadot }; 815f126890aSEmmanuel Vadot pinctrl_pwm0_pwml3_0: pwm0_pwml3-0 { 816f126890aSEmmanuel Vadot atmel,pins = 817f126890aSEmmanuel Vadot <AT91_PIOB 13 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with GRXER */ 818f126890aSEmmanuel Vadot }; 819f126890aSEmmanuel Vadot pinctrl_pwm0_pwml3_1: pwm0_pwml3-1 { 820f126890aSEmmanuel Vadot atmel,pins = 821f126890aSEmmanuel Vadot <AT91_PIOD 8 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* conflicts with MCI0_DA7 */ 822f126890aSEmmanuel Vadot }; 823f126890aSEmmanuel Vadot }; 824f126890aSEmmanuel Vadot 825f126890aSEmmanuel Vadot spi0 { 826f126890aSEmmanuel Vadot pinctrl_spi0: spi0-0 { 827f126890aSEmmanuel Vadot atmel,pins = 828f126890aSEmmanuel Vadot <AT91_PIOD 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD10 periph A SPI0_MISO pin */ 829f126890aSEmmanuel Vadot AT91_PIOD 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD11 periph A SPI0_MOSI pin */ 830f126890aSEmmanuel Vadot AT91_PIOD 12 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD12 periph A SPI0_SPCK pin */ 831f126890aSEmmanuel Vadot }; 832f126890aSEmmanuel Vadot }; 833f126890aSEmmanuel Vadot 834f126890aSEmmanuel Vadot spi1 { 835f126890aSEmmanuel Vadot pinctrl_spi1: spi1-0 { 836f126890aSEmmanuel Vadot atmel,pins = 837f126890aSEmmanuel Vadot <AT91_PIOC 22 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC22 periph A SPI1_MISO pin */ 838f126890aSEmmanuel Vadot AT91_PIOC 23 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC23 periph A SPI1_MOSI pin */ 839f126890aSEmmanuel Vadot AT91_PIOC 24 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PC24 periph A SPI1_SPCK pin */ 840f126890aSEmmanuel Vadot }; 841f126890aSEmmanuel Vadot }; 842f126890aSEmmanuel Vadot 843f126890aSEmmanuel Vadot ssc0 { 844f126890aSEmmanuel Vadot pinctrl_ssc0_tx: ssc0_tx { 845f126890aSEmmanuel Vadot atmel,pins = 846f126890aSEmmanuel Vadot <AT91_PIOC 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC16 periph A TK0 */ 847f126890aSEmmanuel Vadot AT91_PIOC 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC17 periph A TF0 */ 848f126890aSEmmanuel Vadot AT91_PIOC 18 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PC18 periph A TD0 */ 849f126890aSEmmanuel Vadot }; 850f126890aSEmmanuel Vadot 851f126890aSEmmanuel Vadot pinctrl_ssc0_rx: ssc0_rx { 852f126890aSEmmanuel Vadot atmel,pins = 853f126890aSEmmanuel Vadot <AT91_PIOC 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC19 periph A RK0 */ 854f126890aSEmmanuel Vadot AT91_PIOC 20 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC20 periph A RF0 */ 855f126890aSEmmanuel Vadot AT91_PIOC 21 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PC21 periph A RD0 */ 856f126890aSEmmanuel Vadot }; 857f126890aSEmmanuel Vadot }; 858f126890aSEmmanuel Vadot 859f126890aSEmmanuel Vadot ssc1 { 860f126890aSEmmanuel Vadot pinctrl_ssc1_tx: ssc1_tx { 861f126890aSEmmanuel Vadot atmel,pins = 862f126890aSEmmanuel Vadot <AT91_PIOB 2 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB2 periph B TK1, conflicts with GTX2 */ 863f126890aSEmmanuel Vadot AT91_PIOB 3 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB3 periph B TF1, conflicts with GTX3 */ 864f126890aSEmmanuel Vadot AT91_PIOB 6 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB6 periph B TD1, conflicts with TD1 */ 865f126890aSEmmanuel Vadot }; 866f126890aSEmmanuel Vadot 867f126890aSEmmanuel Vadot pinctrl_ssc1_rx: ssc1_rx { 868f126890aSEmmanuel Vadot atmel,pins = 869f126890aSEmmanuel Vadot <AT91_PIOB 7 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB7 periph B RK1, conflicts with EREFCK */ 870f126890aSEmmanuel Vadot AT91_PIOB 10 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB10 periph B RF1, conflicts with GTXER */ 871f126890aSEmmanuel Vadot AT91_PIOB 11 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB11 periph B RD1, conflicts with GRXCK */ 872f126890aSEmmanuel Vadot }; 873f126890aSEmmanuel Vadot }; 874f126890aSEmmanuel Vadot 875f126890aSEmmanuel Vadot uart0 { 876f126890aSEmmanuel Vadot pinctrl_uart0: uart0-0 { 877f126890aSEmmanuel Vadot atmel,pins = 878f126890aSEmmanuel Vadot <AT91_PIOC 29 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* conflicts with PWMFI2, ISI_D8 */ 879f126890aSEmmanuel Vadot AT91_PIOC 30 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* conflicts with ISI_PCK */ 880f126890aSEmmanuel Vadot }; 881f126890aSEmmanuel Vadot }; 882f126890aSEmmanuel Vadot 883f126890aSEmmanuel Vadot uart1 { 884f126890aSEmmanuel Vadot pinctrl_uart1: uart1-0 { 885f126890aSEmmanuel Vadot atmel,pins = 886f126890aSEmmanuel Vadot <AT91_PIOA 30 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* conflicts with TWD0, ISI_VSYNC */ 887f126890aSEmmanuel Vadot AT91_PIOA 31 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with TWCK0, ISI_HSYNC */ 888f126890aSEmmanuel Vadot }; 889f126890aSEmmanuel Vadot }; 890f126890aSEmmanuel Vadot 891f126890aSEmmanuel Vadot usart0 { 892f126890aSEmmanuel Vadot pinctrl_usart0: usart0-0 { 893f126890aSEmmanuel Vadot atmel,pins = 894f126890aSEmmanuel Vadot <AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_PULL_UP 895f126890aSEmmanuel Vadot AT91_PIOD 18 AT91_PERIPH_A AT91_PINCTRL_NONE>; 896f126890aSEmmanuel Vadot }; 897f126890aSEmmanuel Vadot 898f126890aSEmmanuel Vadot pinctrl_usart0_rts_cts: usart0_rts_cts-0 { 899f126890aSEmmanuel Vadot atmel,pins = 900f126890aSEmmanuel Vadot <AT91_PIOD 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD15 periph A, conflicts with SPI0_NPCS2, CANTX0 */ 901f126890aSEmmanuel Vadot AT91_PIOD 16 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD16 periph A, conflicts with SPI0_NPCS3, PWMFI3 */ 902f126890aSEmmanuel Vadot }; 903f126890aSEmmanuel Vadot }; 904f126890aSEmmanuel Vadot 905f126890aSEmmanuel Vadot usart1 { 906f126890aSEmmanuel Vadot pinctrl_usart1: usart1-0 { 907f126890aSEmmanuel Vadot atmel,pins = 908f126890aSEmmanuel Vadot <AT91_PIOB 28 AT91_PERIPH_A AT91_PINCTRL_PULL_UP 909f126890aSEmmanuel Vadot AT91_PIOB 29 AT91_PERIPH_A AT91_PINCTRL_NONE>; 910f126890aSEmmanuel Vadot }; 911f126890aSEmmanuel Vadot 912f126890aSEmmanuel Vadot pinctrl_usart1_rts_cts: usart1_rts_cts-0 { 913f126890aSEmmanuel Vadot atmel,pins = 914f126890aSEmmanuel Vadot <AT91_PIOB 26 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB26 periph A, conflicts with GRX7 */ 915f126890aSEmmanuel Vadot AT91_PIOB 27 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB27 periph A, conflicts with G125CKO */ 916f126890aSEmmanuel Vadot }; 917f126890aSEmmanuel Vadot }; 918f126890aSEmmanuel Vadot 919f126890aSEmmanuel Vadot usart2 { 920f126890aSEmmanuel Vadot pinctrl_usart2: usart2-0 { 921f126890aSEmmanuel Vadot atmel,pins = 922f126890aSEmmanuel Vadot <AT91_PIOE 25 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* conflicts with A25 */ 923f126890aSEmmanuel Vadot AT91_PIOE 26 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts NCS0 */ 924f126890aSEmmanuel Vadot }; 925f126890aSEmmanuel Vadot 926f126890aSEmmanuel Vadot pinctrl_usart2_rts_cts: usart2_rts_cts-0 { 927f126890aSEmmanuel Vadot atmel,pins = 928f126890aSEmmanuel Vadot <AT91_PIOE 23 AT91_PERIPH_B AT91_PINCTRL_NONE /* PE23 periph B, conflicts with A23 */ 929f126890aSEmmanuel Vadot AT91_PIOE 24 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PE24 periph B, conflicts with A24 */ 930f126890aSEmmanuel Vadot }; 931f126890aSEmmanuel Vadot }; 932f126890aSEmmanuel Vadot 933f126890aSEmmanuel Vadot usart3 { 934f126890aSEmmanuel Vadot pinctrl_usart3: usart3-0 { 935f126890aSEmmanuel Vadot atmel,pins = 936f126890aSEmmanuel Vadot <AT91_PIOE 18 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* conflicts with A18 */ 937f126890aSEmmanuel Vadot AT91_PIOE 19 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with A19 */ 938f126890aSEmmanuel Vadot }; 939f126890aSEmmanuel Vadot 940f126890aSEmmanuel Vadot pinctrl_usart3_rts_cts: usart3_rts_cts-0 { 941f126890aSEmmanuel Vadot atmel,pins = 942f126890aSEmmanuel Vadot <AT91_PIOE 16 AT91_PERIPH_B AT91_PINCTRL_NONE /* PE16 periph B, conflicts with A16 */ 943f126890aSEmmanuel Vadot AT91_PIOE 17 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PE17 periph B, conflicts with A17 */ 944f126890aSEmmanuel Vadot }; 945f126890aSEmmanuel Vadot }; 946f126890aSEmmanuel Vadot 947f126890aSEmmanuel Vadot 948f126890aSEmmanuel Vadot pioA: gpio@fffff200 { 949f126890aSEmmanuel Vadot compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; 950f126890aSEmmanuel Vadot reg = <0xfffff200 0x100>; 951f126890aSEmmanuel Vadot interrupts = <6 IRQ_TYPE_LEVEL_HIGH 1>; 952f126890aSEmmanuel Vadot #gpio-cells = <2>; 953f126890aSEmmanuel Vadot gpio-controller; 954f126890aSEmmanuel Vadot interrupt-controller; 955f126890aSEmmanuel Vadot #interrupt-cells = <2>; 956f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 6>; 957f126890aSEmmanuel Vadot }; 958f126890aSEmmanuel Vadot 959f126890aSEmmanuel Vadot pioB: gpio@fffff400 { 960f126890aSEmmanuel Vadot compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; 961f126890aSEmmanuel Vadot reg = <0xfffff400 0x100>; 962f126890aSEmmanuel Vadot interrupts = <7 IRQ_TYPE_LEVEL_HIGH 1>; 963f126890aSEmmanuel Vadot #gpio-cells = <2>; 964f126890aSEmmanuel Vadot gpio-controller; 965f126890aSEmmanuel Vadot interrupt-controller; 966f126890aSEmmanuel Vadot #interrupt-cells = <2>; 967f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 7>; 968f126890aSEmmanuel Vadot }; 969f126890aSEmmanuel Vadot 970f126890aSEmmanuel Vadot pioC: gpio@fffff600 { 971f126890aSEmmanuel Vadot compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; 972f126890aSEmmanuel Vadot reg = <0xfffff600 0x100>; 973f126890aSEmmanuel Vadot interrupts = <8 IRQ_TYPE_LEVEL_HIGH 1>; 974f126890aSEmmanuel Vadot #gpio-cells = <2>; 975f126890aSEmmanuel Vadot gpio-controller; 976f126890aSEmmanuel Vadot interrupt-controller; 977f126890aSEmmanuel Vadot #interrupt-cells = <2>; 978f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 8>; 979f126890aSEmmanuel Vadot }; 980f126890aSEmmanuel Vadot 981f126890aSEmmanuel Vadot pioD: gpio@fffff800 { 982f126890aSEmmanuel Vadot compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; 983f126890aSEmmanuel Vadot reg = <0xfffff800 0x100>; 984f126890aSEmmanuel Vadot interrupts = <9 IRQ_TYPE_LEVEL_HIGH 1>; 985f126890aSEmmanuel Vadot #gpio-cells = <2>; 986f126890aSEmmanuel Vadot gpio-controller; 987f126890aSEmmanuel Vadot interrupt-controller; 988f126890aSEmmanuel Vadot #interrupt-cells = <2>; 989f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 9>; 990f126890aSEmmanuel Vadot }; 991f126890aSEmmanuel Vadot 992f126890aSEmmanuel Vadot pioE: gpio@fffffa00 { 993f126890aSEmmanuel Vadot compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; 994f126890aSEmmanuel Vadot reg = <0xfffffa00 0x100>; 995f126890aSEmmanuel Vadot interrupts = <10 IRQ_TYPE_LEVEL_HIGH 1>; 996f126890aSEmmanuel Vadot #gpio-cells = <2>; 997f126890aSEmmanuel Vadot gpio-controller; 998f126890aSEmmanuel Vadot interrupt-controller; 999f126890aSEmmanuel Vadot #interrupt-cells = <2>; 1000f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 10>; 1001f126890aSEmmanuel Vadot }; 1002f126890aSEmmanuel Vadot }; 1003f126890aSEmmanuel Vadot 1004f126890aSEmmanuel Vadot pmc: clock-controller@fffffc00 { 1005f126890aSEmmanuel Vadot compatible = "atmel,sama5d3-pmc", "syscon"; 1006f126890aSEmmanuel Vadot reg = <0xfffffc00 0x120>; 1007f126890aSEmmanuel Vadot interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; 1008f126890aSEmmanuel Vadot #clock-cells = <2>; 1009f126890aSEmmanuel Vadot clocks = <&clk32k>, <&main_xtal>; 1010f126890aSEmmanuel Vadot clock-names = "slow_clk", "main_xtal"; 1011f126890aSEmmanuel Vadot }; 1012f126890aSEmmanuel Vadot 1013f126890aSEmmanuel Vadot reset_controller: reset-controller@fffffe00 { 1014f126890aSEmmanuel Vadot compatible = "atmel,sama5d3-rstc", "atmel,at91sam9g45-rstc"; 1015f126890aSEmmanuel Vadot reg = <0xfffffe00 0x10>; 1016f126890aSEmmanuel Vadot clocks = <&clk32k>; 1017f126890aSEmmanuel Vadot }; 1018f126890aSEmmanuel Vadot 1019f126890aSEmmanuel Vadot shutdown_controller: poweroff@fffffe10 { 1020f126890aSEmmanuel Vadot compatible = "atmel,at91sam9x5-shdwc"; 1021f126890aSEmmanuel Vadot reg = <0xfffffe10 0x10>; 1022f126890aSEmmanuel Vadot clocks = <&clk32k>; 1023f126890aSEmmanuel Vadot }; 1024f126890aSEmmanuel Vadot 1025f126890aSEmmanuel Vadot pit: timer@fffffe30 { 1026f126890aSEmmanuel Vadot compatible = "atmel,at91sam9260-pit"; 1027f126890aSEmmanuel Vadot reg = <0xfffffe30 0xf>; 1028f126890aSEmmanuel Vadot interrupts = <3 IRQ_TYPE_LEVEL_HIGH 5>; 1029f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_CORE PMC_MCK>; 1030f126890aSEmmanuel Vadot }; 1031f126890aSEmmanuel Vadot 1032f126890aSEmmanuel Vadot watchdog: watchdog@fffffe40 { 1033f126890aSEmmanuel Vadot compatible = "atmel,at91sam9260-wdt"; 1034f126890aSEmmanuel Vadot reg = <0xfffffe40 0x10>; 1035f126890aSEmmanuel Vadot interrupts = <4 IRQ_TYPE_LEVEL_HIGH 7>; 1036f126890aSEmmanuel Vadot clocks = <&clk32k>; 1037f126890aSEmmanuel Vadot atmel,watchdog-type = "hardware"; 1038f126890aSEmmanuel Vadot atmel,reset-type = "all"; 1039f126890aSEmmanuel Vadot atmel,dbg-halt; 1040f126890aSEmmanuel Vadot status = "disabled"; 1041f126890aSEmmanuel Vadot }; 1042f126890aSEmmanuel Vadot 1043f126890aSEmmanuel Vadot clk32k: clock-controller@fffffe50 { 1044f126890aSEmmanuel Vadot compatible = "atmel,sama5d3-sckc"; 1045f126890aSEmmanuel Vadot reg = <0xfffffe50 0x4>; 1046f126890aSEmmanuel Vadot clocks = <&slow_xtal>; 1047f126890aSEmmanuel Vadot #clock-cells = <0>; 1048f126890aSEmmanuel Vadot }; 1049f126890aSEmmanuel Vadot 1050f126890aSEmmanuel Vadot rtc@fffffeb0 { 1051f126890aSEmmanuel Vadot compatible = "atmel,at91rm9200-rtc"; 1052f126890aSEmmanuel Vadot reg = <0xfffffeb0 0x30>; 1053f126890aSEmmanuel Vadot interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; 1054f126890aSEmmanuel Vadot clocks = <&clk32k>; 1055f126890aSEmmanuel Vadot }; 1056f126890aSEmmanuel Vadot }; 1057f126890aSEmmanuel Vadot 1058f126890aSEmmanuel Vadot nfc_sram: sram@200000 { 1059f126890aSEmmanuel Vadot compatible = "mmio-sram"; 1060f126890aSEmmanuel Vadot no-memory-wc; 1061f126890aSEmmanuel Vadot reg = <0x200000 0x2400>; 1062f126890aSEmmanuel Vadot #address-cells = <1>; 1063f126890aSEmmanuel Vadot #size-cells = <1>; 1064f126890aSEmmanuel Vadot ranges = <0 0x200000 0x2400>; 1065f126890aSEmmanuel Vadot }; 1066f126890aSEmmanuel Vadot 1067f126890aSEmmanuel Vadot usb0: gadget@500000 { 1068f126890aSEmmanuel Vadot compatible = "atmel,sama5d3-udc"; 1069f126890aSEmmanuel Vadot reg = <0x00500000 0x100000 1070f126890aSEmmanuel Vadot 0xf8030000 0x4000>; 1071f126890aSEmmanuel Vadot interrupts = <33 IRQ_TYPE_LEVEL_HIGH 2>; 1072f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 33>, <&pmc PMC_TYPE_CORE PMC_UTMI>; 1073f126890aSEmmanuel Vadot clock-names = "pclk", "hclk"; 1074f126890aSEmmanuel Vadot status = "disabled"; 1075f126890aSEmmanuel Vadot }; 1076f126890aSEmmanuel Vadot 1077f126890aSEmmanuel Vadot usb1: ohci@600000 { 1078f126890aSEmmanuel Vadot compatible = "atmel,at91rm9200-ohci", "usb-ohci"; 1079f126890aSEmmanuel Vadot reg = <0x00600000 0x100000>; 1080f126890aSEmmanuel Vadot interrupts = <32 IRQ_TYPE_LEVEL_HIGH 2>; 1081f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 32>, <&pmc PMC_TYPE_PERIPHERAL 32>, <&pmc PMC_TYPE_SYSTEM 6>; 1082f126890aSEmmanuel Vadot clock-names = "ohci_clk", "hclk", "uhpck"; 1083f126890aSEmmanuel Vadot status = "disabled"; 1084f126890aSEmmanuel Vadot }; 1085f126890aSEmmanuel Vadot 1086f126890aSEmmanuel Vadot usb2: ehci@700000 { 1087f126890aSEmmanuel Vadot compatible = "atmel,at91sam9g45-ehci", "usb-ehci"; 1088f126890aSEmmanuel Vadot reg = <0x00700000 0x100000>; 1089f126890aSEmmanuel Vadot interrupts = <32 IRQ_TYPE_LEVEL_HIGH 2>; 1090f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_CORE PMC_UTMI>, <&pmc PMC_TYPE_PERIPHERAL 32>; 1091f126890aSEmmanuel Vadot clock-names = "usb_clk", "ehci_clk"; 1092f126890aSEmmanuel Vadot status = "disabled"; 1093f126890aSEmmanuel Vadot }; 1094f126890aSEmmanuel Vadot 1095f126890aSEmmanuel Vadot ebi: ebi@10000000 { 1096f126890aSEmmanuel Vadot compatible = "atmel,sama5d3-ebi"; 1097f126890aSEmmanuel Vadot #address-cells = <2>; 1098f126890aSEmmanuel Vadot #size-cells = <1>; 1099f126890aSEmmanuel Vadot atmel,smc = <&hsmc>; 1100f126890aSEmmanuel Vadot reg = <0x10000000 0x10000000 1101f126890aSEmmanuel Vadot 0x40000000 0x30000000>; 1102f126890aSEmmanuel Vadot ranges = <0x0 0x0 0x10000000 0x10000000 1103f126890aSEmmanuel Vadot 0x1 0x0 0x40000000 0x10000000 1104f126890aSEmmanuel Vadot 0x2 0x0 0x50000000 0x10000000 1105f126890aSEmmanuel Vadot 0x3 0x0 0x60000000 0x10000000>; 1106f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_CORE PMC_MCK>; 1107f126890aSEmmanuel Vadot status = "disabled"; 1108f126890aSEmmanuel Vadot 1109f126890aSEmmanuel Vadot nand_controller: nand-controller { 1110f126890aSEmmanuel Vadot compatible = "atmel,sama5d3-nand-controller"; 1111f126890aSEmmanuel Vadot atmel,nfc-sram = <&nfc_sram>; 1112f126890aSEmmanuel Vadot atmel,nfc-io = <&nfc_io>; 1113f126890aSEmmanuel Vadot ecc-engine = <&pmecc>; 1114f126890aSEmmanuel Vadot #address-cells = <2>; 1115f126890aSEmmanuel Vadot #size-cells = <1>; 1116f126890aSEmmanuel Vadot ranges; 1117f126890aSEmmanuel Vadot status = "disabled"; 1118f126890aSEmmanuel Vadot }; 1119f126890aSEmmanuel Vadot }; 1120f126890aSEmmanuel Vadot 1121f126890aSEmmanuel Vadot nfc_io: nfc-io@70000000 { 1122f126890aSEmmanuel Vadot compatible = "atmel,sama5d3-nfc-io", "syscon"; 1123f126890aSEmmanuel Vadot reg = <0x70000000 0x8000000>; 1124f126890aSEmmanuel Vadot }; 1125f126890aSEmmanuel Vadot }; 1126f126890aSEmmanuel Vadot}; 1127