xref: /openbmc/linux/arch/arm/boot/dts/microchip/sama5d3.dtsi (revision c900529f3d9161bfde5cca0754f83b4d3c3e0220)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later
2724ba675SRob Herring/*
3724ba675SRob Herring * sama5d3.dtsi - Device Tree Include file for SAMA5D3 family SoC
4724ba675SRob Herring *                applies to SAMA5D31, SAMA5D33, SAMA5D34, SAMA5D35, SAMA5D36 SoC
5724ba675SRob Herring *
6724ba675SRob Herring *  Copyright (C) 2013 Atmel,
7724ba675SRob Herring *                2013 Ludovic Desroches <ludovic.desroches@atmel.com>
8724ba675SRob Herring */
9724ba675SRob Herring
10724ba675SRob Herring#include <dt-bindings/dma/at91.h>
11724ba675SRob Herring#include <dt-bindings/pinctrl/at91.h>
12724ba675SRob Herring#include <dt-bindings/interrupt-controller/irq.h>
13724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
14724ba675SRob Herring#include <dt-bindings/clock/at91.h>
15724ba675SRob Herring#include <dt-bindings/mfd/at91-usart.h>
16724ba675SRob Herring
17724ba675SRob Herring/ {
18724ba675SRob Herring	#address-cells = <1>;
19724ba675SRob Herring	#size-cells = <1>;
20724ba675SRob Herring	model = "Atmel SAMA5D3 family SoC";
21724ba675SRob Herring	compatible = "atmel,sama5d3", "atmel,sama5";
22724ba675SRob Herring	interrupt-parent = <&aic>;
23724ba675SRob Herring
24724ba675SRob Herring	aliases {
25724ba675SRob Herring		serial0 = &dbgu;
26724ba675SRob Herring		serial1 = &usart0;
27724ba675SRob Herring		serial2 = &usart1;
28724ba675SRob Herring		serial3 = &usart2;
29724ba675SRob Herring		serial4 = &usart3;
30724ba675SRob Herring		serial5 = &uart0;
31724ba675SRob Herring		gpio0 = &pioA;
32724ba675SRob Herring		gpio1 = &pioB;
33724ba675SRob Herring		gpio2 = &pioC;
34724ba675SRob Herring		gpio3 = &pioD;
35724ba675SRob Herring		gpio4 = &pioE;
36724ba675SRob Herring		tcb0 = &tcb0;
37724ba675SRob Herring		i2c0 = &i2c0;
38724ba675SRob Herring		i2c1 = &i2c1;
39724ba675SRob Herring		i2c2 = &i2c2;
40724ba675SRob Herring		ssc0 = &ssc0;
41724ba675SRob Herring		ssc1 = &ssc1;
42724ba675SRob Herring		pwm0 = &pwm0;
43724ba675SRob Herring	};
44724ba675SRob Herring	cpus {
45724ba675SRob Herring		#address-cells = <1>;
46724ba675SRob Herring		#size-cells = <0>;
47724ba675SRob Herring		cpu@0 {
48724ba675SRob Herring			device_type = "cpu";
49724ba675SRob Herring			compatible = "arm,cortex-a5";
50724ba675SRob Herring			reg = <0x0>;
51724ba675SRob Herring		};
52724ba675SRob Herring	};
53724ba675SRob Herring
54724ba675SRob Herring	pmu {
55724ba675SRob Herring		compatible = "arm,cortex-a5-pmu";
56724ba675SRob Herring		interrupts = <46 IRQ_TYPE_LEVEL_HIGH 0>;
57724ba675SRob Herring	};
58724ba675SRob Herring
59724ba675SRob Herring	memory@20000000 {
60724ba675SRob Herring		device_type = "memory";
61724ba675SRob Herring		reg = <0x20000000 0x8000000>;
62724ba675SRob Herring	};
63724ba675SRob Herring
64724ba675SRob Herring	clocks {
65724ba675SRob Herring		slow_xtal: slow_xtal {
66724ba675SRob Herring			compatible = "fixed-clock";
67724ba675SRob Herring			#clock-cells = <0>;
68724ba675SRob Herring			clock-frequency = <0>;
69724ba675SRob Herring		};
70724ba675SRob Herring
71724ba675SRob Herring		main_xtal: main_xtal {
72724ba675SRob Herring			compatible = "fixed-clock";
73724ba675SRob Herring			#clock-cells = <0>;
74724ba675SRob Herring			clock-frequency = <0>;
75724ba675SRob Herring		};
76724ba675SRob Herring
77724ba675SRob Herring		adc_op_clk: adc_op_clk {
78724ba675SRob Herring			compatible = "fixed-clock";
79724ba675SRob Herring			#clock-cells = <0>;
80724ba675SRob Herring			clock-frequency = <1000000>;
81724ba675SRob Herring		};
82724ba675SRob Herring	};
83724ba675SRob Herring
84724ba675SRob Herring	sram: sram@300000 {
85724ba675SRob Herring		compatible = "mmio-sram";
86724ba675SRob Herring		reg = <0x00300000 0x20000>;
87724ba675SRob Herring		#address-cells = <1>;
88724ba675SRob Herring		#size-cells = <1>;
89724ba675SRob Herring		ranges = <0 0x00300000 0x20000>;
90724ba675SRob Herring	};
91724ba675SRob Herring
92724ba675SRob Herring	ahb {
93724ba675SRob Herring		compatible = "simple-bus";
94724ba675SRob Herring		#address-cells = <1>;
95724ba675SRob Herring		#size-cells = <1>;
96724ba675SRob Herring		ranges;
97724ba675SRob Herring
98724ba675SRob Herring		apb {
99724ba675SRob Herring			compatible = "simple-bus";
100724ba675SRob Herring			#address-cells = <1>;
101724ba675SRob Herring			#size-cells = <1>;
102724ba675SRob Herring			ranges;
103724ba675SRob Herring
104724ba675SRob Herring			mmc0: mmc@f0000000 {
105724ba675SRob Herring				compatible = "atmel,hsmci";
106724ba675SRob Herring				reg = <0xf0000000 0x600>;
107724ba675SRob Herring				interrupts = <21 IRQ_TYPE_LEVEL_HIGH 0>;
108724ba675SRob Herring				dmas = <&dma0 2 AT91_DMA_CFG_PER_ID(0)>;
109724ba675SRob Herring				dma-names = "rxtx";
110724ba675SRob Herring				pinctrl-names = "default";
111724ba675SRob Herring				pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3 &pinctrl_mmc0_dat4_7>;
112724ba675SRob Herring				status = "disabled";
113724ba675SRob Herring				#address-cells = <1>;
114724ba675SRob Herring				#size-cells = <0>;
115724ba675SRob Herring				clocks = <&pmc PMC_TYPE_PERIPHERAL 21>;
116724ba675SRob Herring				clock-names = "mci_clk";
117724ba675SRob Herring			};
118724ba675SRob Herring
119724ba675SRob Herring			spi0: spi@f0004000 {
120724ba675SRob Herring				#address-cells = <1>;
121724ba675SRob Herring				#size-cells = <0>;
122724ba675SRob Herring				compatible = "atmel,at91rm9200-spi";
123724ba675SRob Herring				reg = <0xf0004000 0x100>;
124724ba675SRob Herring				interrupts = <24 IRQ_TYPE_LEVEL_HIGH 3>;
125724ba675SRob Herring				dmas = <&dma0 2 AT91_DMA_CFG_PER_ID(1)>,
126724ba675SRob Herring				       <&dma0 2 AT91_DMA_CFG_PER_ID(2)>;
127724ba675SRob Herring				dma-names = "tx", "rx";
128724ba675SRob Herring				pinctrl-names = "default";
129724ba675SRob Herring				pinctrl-0 = <&pinctrl_spi0>;
130724ba675SRob Herring				clocks = <&pmc PMC_TYPE_PERIPHERAL 24>;
131724ba675SRob Herring				clock-names = "spi_clk";
132724ba675SRob Herring				status = "disabled";
133724ba675SRob Herring			};
134724ba675SRob Herring
135724ba675SRob Herring			ssc0: ssc@f0008000 {
136724ba675SRob Herring				compatible = "atmel,at91sam9g45-ssc";
137724ba675SRob Herring				reg = <0xf0008000 0x4000>;
138724ba675SRob Herring				interrupts = <38 IRQ_TYPE_LEVEL_HIGH 4>;
139724ba675SRob Herring				dmas = <&dma0 2 AT91_DMA_CFG_PER_ID(13)>,
140724ba675SRob Herring				       <&dma0 2 AT91_DMA_CFG_PER_ID(14)>;
141724ba675SRob Herring				dma-names = "tx", "rx";
142724ba675SRob Herring				pinctrl-names = "default";
143724ba675SRob Herring				pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
144724ba675SRob Herring				clocks = <&pmc PMC_TYPE_PERIPHERAL 38>;
145724ba675SRob Herring				clock-names = "pclk";
146724ba675SRob Herring				status = "disabled";
147724ba675SRob Herring			};
148724ba675SRob Herring
149724ba675SRob Herring			tcb0: timer@f0010000 {
150724ba675SRob Herring				compatible = "atmel,at91sam9x5-tcb", "simple-mfd", "syscon";
151724ba675SRob Herring				#address-cells = <1>;
152724ba675SRob Herring				#size-cells = <0>;
153724ba675SRob Herring				reg = <0xf0010000 0x100>;
154724ba675SRob Herring				interrupts = <26 IRQ_TYPE_LEVEL_HIGH 0>;
155724ba675SRob Herring				clocks = <&pmc PMC_TYPE_PERIPHERAL 26>, <&clk32k>;
156724ba675SRob Herring				clock-names = "t0_clk", "slow_clk";
157724ba675SRob Herring			};
158724ba675SRob Herring
159724ba675SRob Herring			i2c0: i2c@f0014000 {
160724ba675SRob Herring				compatible = "atmel,at91sam9x5-i2c";
161724ba675SRob Herring				reg = <0xf0014000 0x4000>;
162724ba675SRob Herring				interrupts = <18 IRQ_TYPE_LEVEL_HIGH 6>;
163724ba675SRob Herring				dmas = <&dma0 2 AT91_DMA_CFG_PER_ID(7)>,
164724ba675SRob Herring				       <&dma0 2 AT91_DMA_CFG_PER_ID(8)>;
165724ba675SRob Herring				dma-names = "tx", "rx";
166724ba675SRob Herring				pinctrl-names = "default", "gpio";
167724ba675SRob Herring				pinctrl-0 = <&pinctrl_i2c0>;
168724ba675SRob Herring				pinctrl-1 = <&pinctrl_i2c0_gpio>;
169724ba675SRob Herring				sda-gpios = <&pioA 30 GPIO_ACTIVE_HIGH>;
170724ba675SRob Herring				scl-gpios = <&pioA 31 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
171724ba675SRob Herring				#address-cells = <1>;
172724ba675SRob Herring				#size-cells = <0>;
173724ba675SRob Herring				clocks = <&pmc PMC_TYPE_PERIPHERAL 18>;
174724ba675SRob Herring				status = "disabled";
175724ba675SRob Herring			};
176724ba675SRob Herring
177724ba675SRob Herring			i2c1: i2c@f0018000 {
178724ba675SRob Herring				compatible = "atmel,at91sam9x5-i2c";
179724ba675SRob Herring				reg = <0xf0018000 0x4000>;
180724ba675SRob Herring				interrupts = <19 IRQ_TYPE_LEVEL_HIGH 6>;
181724ba675SRob Herring				dmas = <&dma0 2 AT91_DMA_CFG_PER_ID(9)>,
182724ba675SRob Herring				       <&dma0 2 AT91_DMA_CFG_PER_ID(10)>;
183724ba675SRob Herring				dma-names = "tx", "rx";
184724ba675SRob Herring				pinctrl-names = "default", "gpio";
185724ba675SRob Herring				pinctrl-0 = <&pinctrl_i2c1>;
186724ba675SRob Herring				pinctrl-1 = <&pinctrl_i2c1_gpio>;
187724ba675SRob Herring				sda-gpios = <&pioC 26 GPIO_ACTIVE_HIGH>;
188724ba675SRob Herring				scl-gpios = <&pioC 27 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
189724ba675SRob Herring				#address-cells = <1>;
190724ba675SRob Herring				#size-cells = <0>;
191724ba675SRob Herring				clocks = <&pmc PMC_TYPE_PERIPHERAL 19>;
192724ba675SRob Herring				status = "disabled";
193724ba675SRob Herring			};
194724ba675SRob Herring
195724ba675SRob Herring			usart0: serial@f001c000 {
196724ba675SRob Herring				compatible = "atmel,at91sam9260-usart";
197724ba675SRob Herring				reg = <0xf001c000 0x100>;
198724ba675SRob Herring				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
199724ba675SRob Herring				interrupts = <12 IRQ_TYPE_LEVEL_HIGH 5>;
200724ba675SRob Herring				dmas = <&dma0 2 AT91_DMA_CFG_PER_ID(3)>,
201724ba675SRob Herring				       <&dma0 2 (AT91_DMA_CFG_PER_ID(4) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
202724ba675SRob Herring				dma-names = "tx", "rx";
203724ba675SRob Herring				pinctrl-names = "default";
204724ba675SRob Herring				pinctrl-0 = <&pinctrl_usart0>;
205724ba675SRob Herring				clocks = <&pmc PMC_TYPE_PERIPHERAL 12>;
206724ba675SRob Herring				clock-names = "usart";
207724ba675SRob Herring				status = "disabled";
208724ba675SRob Herring			};
209724ba675SRob Herring
210724ba675SRob Herring			usart1: serial@f0020000 {
211724ba675SRob Herring				compatible = "atmel,at91sam9260-usart";
212724ba675SRob Herring				reg = <0xf0020000 0x100>;
213724ba675SRob Herring				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
214724ba675SRob Herring				interrupts = <13 IRQ_TYPE_LEVEL_HIGH 5>;
215724ba675SRob Herring				dmas = <&dma0 2 AT91_DMA_CFG_PER_ID(5)>,
216724ba675SRob Herring				       <&dma0 2 (AT91_DMA_CFG_PER_ID(6) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
217724ba675SRob Herring				dma-names = "tx", "rx";
218724ba675SRob Herring				pinctrl-names = "default";
219724ba675SRob Herring				pinctrl-0 = <&pinctrl_usart1>;
220724ba675SRob Herring				clocks = <&pmc PMC_TYPE_PERIPHERAL 13>;
221724ba675SRob Herring				clock-names = "usart";
222724ba675SRob Herring				status = "disabled";
223724ba675SRob Herring			};
224724ba675SRob Herring
225724ba675SRob Herring			uart0: serial@f0024000 {
226724ba675SRob Herring				compatible = "atmel,at91sam9260-usart";
227724ba675SRob Herring				reg = <0xf0024000 0x100>;
228724ba675SRob Herring				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
229724ba675SRob Herring				interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
230724ba675SRob Herring				pinctrl-names = "default";
231724ba675SRob Herring				pinctrl-0 = <&pinctrl_uart0>;
232724ba675SRob Herring				clocks = <&pmc PMC_TYPE_PERIPHERAL 16>;
233724ba675SRob Herring				clock-names = "usart";
234724ba675SRob Herring				status = "disabled";
235724ba675SRob Herring			};
236724ba675SRob Herring
237724ba675SRob Herring			pwm0: pwm@f002c000 {
238724ba675SRob Herring				compatible = "atmel,sama5d3-pwm";
239724ba675SRob Herring				reg = <0xf002c000 0x300>;
240724ba675SRob Herring				interrupts = <28 IRQ_TYPE_LEVEL_HIGH 4>;
241724ba675SRob Herring				#pwm-cells = <3>;
242724ba675SRob Herring				clocks = <&pmc PMC_TYPE_PERIPHERAL 28>;
243724ba675SRob Herring				status = "disabled";
244724ba675SRob Herring			};
245724ba675SRob Herring
246724ba675SRob Herring			isi: isi@f0034000 {
247724ba675SRob Herring				compatible = "atmel,at91sam9g45-isi";
248724ba675SRob Herring				reg = <0xf0034000 0x4000>;
249724ba675SRob Herring				interrupts = <37 IRQ_TYPE_LEVEL_HIGH 5>;
250724ba675SRob Herring				pinctrl-names = "default";
251724ba675SRob Herring				pinctrl-0 = <&pinctrl_isi_data_0_7>;
252724ba675SRob Herring				clocks = <&pmc PMC_TYPE_PERIPHERAL 37>;
253724ba675SRob Herring				clock-names = "isi_clk";
254724ba675SRob Herring				status = "disabled";
255724ba675SRob Herring				port {
256724ba675SRob Herring					#address-cells = <1>;
257724ba675SRob Herring					#size-cells = <0>;
258724ba675SRob Herring				};
259724ba675SRob Herring			};
260724ba675SRob Herring
261724ba675SRob Herring			sfr: sfr@f0038000 {
262724ba675SRob Herring				compatible = "atmel,sama5d3-sfr", "syscon";
263724ba675SRob Herring				reg = <0xf0038000 0x60>;
264724ba675SRob Herring			};
265724ba675SRob Herring
266724ba675SRob Herring			mmc1: mmc@f8000000 {
267724ba675SRob Herring				compatible = "atmel,hsmci";
268724ba675SRob Herring				reg = <0xf8000000 0x600>;
269724ba675SRob Herring				interrupts = <22 IRQ_TYPE_LEVEL_HIGH 0>;
270724ba675SRob Herring				dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(0)>;
271724ba675SRob Herring				dma-names = "rxtx";
272724ba675SRob Herring				pinctrl-names = "default";
273724ba675SRob Herring				pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3>;
274724ba675SRob Herring				status = "disabled";
275724ba675SRob Herring				#address-cells = <1>;
276724ba675SRob Herring				#size-cells = <0>;
277724ba675SRob Herring				clocks = <&pmc PMC_TYPE_PERIPHERAL 22>;
278724ba675SRob Herring				clock-names = "mci_clk";
279724ba675SRob Herring			};
280724ba675SRob Herring
281724ba675SRob Herring			spi1: spi@f8008000 {
282724ba675SRob Herring				#address-cells = <1>;
283724ba675SRob Herring				#size-cells = <0>;
284724ba675SRob Herring				compatible = "atmel,at91rm9200-spi";
285724ba675SRob Herring				reg = <0xf8008000 0x100>;
286724ba675SRob Herring				interrupts = <25 IRQ_TYPE_LEVEL_HIGH 3>;
287724ba675SRob Herring				dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(15)>,
288724ba675SRob Herring				       <&dma1 2 AT91_DMA_CFG_PER_ID(16)>;
289724ba675SRob Herring				dma-names = "tx", "rx";
290724ba675SRob Herring				pinctrl-names = "default";
291724ba675SRob Herring				pinctrl-0 = <&pinctrl_spi1>;
292724ba675SRob Herring				clocks = <&pmc PMC_TYPE_PERIPHERAL 25>;
293724ba675SRob Herring				clock-names = "spi_clk";
294724ba675SRob Herring				status = "disabled";
295724ba675SRob Herring			};
296724ba675SRob Herring
297724ba675SRob Herring			ssc1: ssc@f800c000 {
298724ba675SRob Herring				compatible = "atmel,at91sam9g45-ssc";
299724ba675SRob Herring				reg = <0xf800c000 0x4000>;
300724ba675SRob Herring				interrupts = <39 IRQ_TYPE_LEVEL_HIGH 4>;
301724ba675SRob Herring				dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(3)>,
302724ba675SRob Herring				       <&dma1 2 AT91_DMA_CFG_PER_ID(4)>;
303724ba675SRob Herring				dma-names = "tx", "rx";
304724ba675SRob Herring				pinctrl-names = "default";
305724ba675SRob Herring				pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>;
306724ba675SRob Herring				clocks = <&pmc PMC_TYPE_PERIPHERAL 39>;
307724ba675SRob Herring				clock-names = "pclk";
308724ba675SRob Herring				status = "disabled";
309724ba675SRob Herring			};
310724ba675SRob Herring
311724ba675SRob Herring			adc0: adc@f8018000 {
312724ba675SRob Herring				compatible = "atmel,sama5d3-adc";
313724ba675SRob Herring				reg = <0xf8018000 0x100>;
314724ba675SRob Herring				interrupts = <29 IRQ_TYPE_LEVEL_HIGH 5>;
315724ba675SRob Herring				pinctrl-names = "default";
316724ba675SRob Herring				pinctrl-0 = <
317724ba675SRob Herring					&pinctrl_adc0_adtrg
318724ba675SRob Herring					&pinctrl_adc0_ad0
319724ba675SRob Herring					&pinctrl_adc0_ad1
320724ba675SRob Herring					&pinctrl_adc0_ad2
321724ba675SRob Herring					&pinctrl_adc0_ad3
322724ba675SRob Herring					&pinctrl_adc0_ad4
323724ba675SRob Herring					&pinctrl_adc0_ad5
324724ba675SRob Herring					&pinctrl_adc0_ad6
325724ba675SRob Herring					&pinctrl_adc0_ad7
326724ba675SRob Herring					&pinctrl_adc0_ad8
327724ba675SRob Herring					&pinctrl_adc0_ad9
328724ba675SRob Herring					&pinctrl_adc0_ad10
329724ba675SRob Herring					&pinctrl_adc0_ad11
330724ba675SRob Herring					>;
331724ba675SRob Herring				clocks = <&pmc PMC_TYPE_PERIPHERAL 29>,
332724ba675SRob Herring					 <&adc_op_clk>;
333724ba675SRob Herring				clock-names = "adc_clk", "adc_op_clk";
334724ba675SRob Herring				atmel,adc-channels-used = <0xfff>;
335724ba675SRob Herring				atmel,adc-startup-time = <40>;
336724ba675SRob Herring				atmel,adc-use-external-triggers;
337724ba675SRob Herring				atmel,adc-vref = <3000>;
338724ba675SRob Herring				atmel,adc-sample-hold-time = <11>;
339724ba675SRob Herring				status = "disabled";
340724ba675SRob Herring			};
341724ba675SRob Herring
342724ba675SRob Herring			i2c2: i2c@f801c000 {
343724ba675SRob Herring				compatible = "atmel,at91sam9x5-i2c";
344724ba675SRob Herring				reg = <0xf801c000 0x4000>;
345724ba675SRob Herring				interrupts = <20 IRQ_TYPE_LEVEL_HIGH 6>;
346724ba675SRob Herring				dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(11)>,
347724ba675SRob Herring				       <&dma1 2 AT91_DMA_CFG_PER_ID(12)>;
348724ba675SRob Herring				dma-names = "tx", "rx";
349724ba675SRob Herring				pinctrl-names = "default", "gpio";
350724ba675SRob Herring				pinctrl-0 = <&pinctrl_i2c2>;
351724ba675SRob Herring				pinctrl-1 = <&pinctrl_i2c2_gpio>;
352724ba675SRob Herring				sda-gpios = <&pioA 18 GPIO_ACTIVE_HIGH>;
353724ba675SRob Herring				scl-gpios = <&pioA 19 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
354724ba675SRob Herring				#address-cells = <1>;
355724ba675SRob Herring				#size-cells = <0>;
356724ba675SRob Herring				clocks = <&pmc PMC_TYPE_PERIPHERAL 20>;
357724ba675SRob Herring				status = "disabled";
358724ba675SRob Herring			};
359724ba675SRob Herring
360724ba675SRob Herring			usart2: serial@f8020000 {
361724ba675SRob Herring				compatible = "atmel,at91sam9260-usart";
362724ba675SRob Herring				reg = <0xf8020000 0x100>;
363724ba675SRob Herring				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
364724ba675SRob Herring				interrupts = <14 IRQ_TYPE_LEVEL_HIGH 5>;
365724ba675SRob Herring				dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(7)>,
366724ba675SRob Herring				       <&dma1 2 (AT91_DMA_CFG_PER_ID(8) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
367724ba675SRob Herring				dma-names = "tx", "rx";
368724ba675SRob Herring				pinctrl-names = "default";
369724ba675SRob Herring				pinctrl-0 = <&pinctrl_usart2>;
370724ba675SRob Herring				clocks = <&pmc PMC_TYPE_PERIPHERAL 14>;
371724ba675SRob Herring				clock-names = "usart";
372724ba675SRob Herring				status = "disabled";
373724ba675SRob Herring			};
374724ba675SRob Herring
375724ba675SRob Herring			usart3: serial@f8024000 {
376724ba675SRob Herring				compatible = "atmel,at91sam9260-usart";
377724ba675SRob Herring				reg = <0xf8024000 0x100>;
378724ba675SRob Herring				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
379724ba675SRob Herring				interrupts = <15 IRQ_TYPE_LEVEL_HIGH 5>;
380724ba675SRob Herring				dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(9)>,
381724ba675SRob Herring				       <&dma1 2 (AT91_DMA_CFG_PER_ID(10) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
382724ba675SRob Herring				dma-names = "tx", "rx";
383724ba675SRob Herring				pinctrl-names = "default";
384724ba675SRob Herring				pinctrl-0 = <&pinctrl_usart3>;
385724ba675SRob Herring				clocks = <&pmc PMC_TYPE_PERIPHERAL 15>;
386724ba675SRob Herring				clock-names = "usart";
387724ba675SRob Herring				status = "disabled";
388724ba675SRob Herring			};
389724ba675SRob Herring
390724ba675SRob Herring			sha: crypto@f8034000 {
391724ba675SRob Herring				compatible = "atmel,at91sam9g46-sha";
392724ba675SRob Herring				reg = <0xf8034000 0x100>;
393724ba675SRob Herring				interrupts = <42 IRQ_TYPE_LEVEL_HIGH 0>;
394724ba675SRob Herring				dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(17)>;
395724ba675SRob Herring				dma-names = "tx";
396724ba675SRob Herring				clocks = <&pmc PMC_TYPE_PERIPHERAL 42>;
397724ba675SRob Herring				clock-names = "sha_clk";
398724ba675SRob Herring			};
399724ba675SRob Herring
400724ba675SRob Herring			aes: crypto@f8038000 {
401724ba675SRob Herring				compatible = "atmel,at91sam9g46-aes";
402724ba675SRob Herring				reg = <0xf8038000 0x100>;
403724ba675SRob Herring				interrupts = <43 IRQ_TYPE_LEVEL_HIGH 0>;
404724ba675SRob Herring				dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(18)>,
405724ba675SRob Herring				       <&dma1 2 AT91_DMA_CFG_PER_ID(19)>;
406724ba675SRob Herring				dma-names = "tx", "rx";
407724ba675SRob Herring				clocks = <&pmc PMC_TYPE_PERIPHERAL 43>;
408724ba675SRob Herring				clock-names = "aes_clk";
409724ba675SRob Herring			};
410724ba675SRob Herring
411724ba675SRob Herring			tdes: crypto@f803c000 {
412724ba675SRob Herring				compatible = "atmel,at91sam9g46-tdes";
413724ba675SRob Herring				reg = <0xf803c000 0x100>;
414724ba675SRob Herring				interrupts = <44 IRQ_TYPE_LEVEL_HIGH 0>;
415724ba675SRob Herring				dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(20)>,
416724ba675SRob Herring				       <&dma1 2 AT91_DMA_CFG_PER_ID(21)>;
417724ba675SRob Herring				dma-names = "tx", "rx";
418724ba675SRob Herring				clocks = <&pmc PMC_TYPE_PERIPHERAL 44>;
419724ba675SRob Herring				clock-names = "tdes_clk";
420724ba675SRob Herring			};
421724ba675SRob Herring
422724ba675SRob Herring			trng@f8040000 {
423724ba675SRob Herring				compatible = "atmel,at91sam9g45-trng";
424724ba675SRob Herring				reg = <0xf8040000 0x100>;
425724ba675SRob Herring				interrupts = <45 IRQ_TYPE_LEVEL_HIGH 0>;
426724ba675SRob Herring				clocks = <&pmc PMC_TYPE_PERIPHERAL 45>;
427724ba675SRob Herring			};
428724ba675SRob Herring
429724ba675SRob Herring			hsmc: hsmc@ffffc000 {
430724ba675SRob Herring				compatible = "atmel,sama5d3-smc", "syscon", "simple-mfd";
431724ba675SRob Herring				reg = <0xffffc000 0x1000>;
432724ba675SRob Herring				interrupts = <5 IRQ_TYPE_LEVEL_HIGH 6>;
433724ba675SRob Herring				clocks = <&pmc PMC_TYPE_PERIPHERAL 5>;
434724ba675SRob Herring				#address-cells = <1>;
435724ba675SRob Herring				#size-cells = <1>;
436724ba675SRob Herring				ranges;
437724ba675SRob Herring
438724ba675SRob Herring				pmecc: ecc-engine@ffffc070 {
439724ba675SRob Herring					compatible = "atmel,at91sam9g45-pmecc";
440724ba675SRob Herring					reg = <0xffffc070 0x490>,
441724ba675SRob Herring					      <0xffffc500 0x100>;
442724ba675SRob Herring				};
443724ba675SRob Herring			};
444724ba675SRob Herring
445724ba675SRob Herring			dma0: dma-controller@ffffe600 {
446724ba675SRob Herring				compatible = "atmel,at91sam9g45-dma";
447724ba675SRob Herring				reg = <0xffffe600 0x200>;
448724ba675SRob Herring				interrupts = <30 IRQ_TYPE_LEVEL_HIGH 0>;
449724ba675SRob Herring				#dma-cells = <2>;
450724ba675SRob Herring				clocks = <&pmc PMC_TYPE_PERIPHERAL 30>;
451724ba675SRob Herring				clock-names = "dma_clk";
452724ba675SRob Herring			};
453724ba675SRob Herring
454724ba675SRob Herring			dma1: dma-controller@ffffe800 {
455724ba675SRob Herring				compatible = "atmel,at91sam9g45-dma";
456724ba675SRob Herring				reg = <0xffffe800 0x200>;
457724ba675SRob Herring				interrupts = <31 IRQ_TYPE_LEVEL_HIGH 0>;
458724ba675SRob Herring				#dma-cells = <2>;
459724ba675SRob Herring				clocks = <&pmc PMC_TYPE_PERIPHERAL 31>;
460724ba675SRob Herring				clock-names = "dma_clk";
461724ba675SRob Herring			};
462724ba675SRob Herring
463724ba675SRob Herring			ramc0: ramc@ffffea00 {
464724ba675SRob Herring				compatible = "atmel,sama5d3-ddramc";
465724ba675SRob Herring				reg = <0xffffea00 0x200>;
466724ba675SRob Herring				clocks = <&pmc PMC_TYPE_SYSTEM 2>, <&pmc PMC_TYPE_PERIPHERAL 49>;
467724ba675SRob Herring				clock-names = "ddrck", "mpddr";
468724ba675SRob Herring			};
469724ba675SRob Herring
470724ba675SRob Herring			dbgu: serial@ffffee00 {
471724ba675SRob Herring				compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
472724ba675SRob Herring				reg = <0xffffee00 0x200>;
473724ba675SRob Herring				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
474724ba675SRob Herring				interrupts = <2 IRQ_TYPE_LEVEL_HIGH 7>;
475724ba675SRob Herring				dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(13)>,
476724ba675SRob Herring				       <&dma1 2 (AT91_DMA_CFG_PER_ID(14) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
477724ba675SRob Herring				dma-names = "tx", "rx";
478724ba675SRob Herring				pinctrl-names = "default";
479724ba675SRob Herring				pinctrl-0 = <&pinctrl_dbgu>;
480724ba675SRob Herring				clocks = <&pmc PMC_TYPE_PERIPHERAL 2>;
481724ba675SRob Herring				clock-names = "usart";
482724ba675SRob Herring				status = "disabled";
483724ba675SRob Herring			};
484724ba675SRob Herring
485724ba675SRob Herring			aic: interrupt-controller@fffff000 {
486724ba675SRob Herring				#interrupt-cells = <3>;
487724ba675SRob Herring				compatible = "atmel,sama5d3-aic";
488724ba675SRob Herring				interrupt-controller;
489724ba675SRob Herring				reg = <0xfffff000 0x200>;
490724ba675SRob Herring				atmel,external-irqs = <47>;
491724ba675SRob Herring			};
492724ba675SRob Herring
493724ba675SRob Herring			pinctrl: pinctrl@fffff200 {
494724ba675SRob Herring				#address-cells = <1>;
495724ba675SRob Herring				#size-cells = <1>;
496724ba675SRob Herring				compatible = "atmel,sama5d3-pinctrl", "atmel,at91sam9x5-pinctrl", "simple-bus";
497724ba675SRob Herring				ranges = <0xfffff200 0xfffff200 0xa00>;
498724ba675SRob Herring				atmel,mux-mask = <
499724ba675SRob Herring					/*   A          B          C  */
500724ba675SRob Herring					0xffffffff 0xc0fc0000 0xc0ff0000	/* pioA */
501724ba675SRob Herring					0xffffffff 0x0ff8ffff 0x00000000	/* pioB */
502724ba675SRob Herring					0xffffffff 0xbc00f1ff 0x7c00fc00	/* pioC */
503724ba675SRob Herring					0xffffffff 0xc001c0e0 0x0001c1e0	/* pioD */
504724ba675SRob Herring					0xffffffff 0xbf9f8000 0x18000000	/* pioE */
505724ba675SRob Herring					>;
506724ba675SRob Herring
507724ba675SRob Herring				/* shared pinctrl settings */
508724ba675SRob Herring				adc0 {
509724ba675SRob Herring					pinctrl_adc0_adtrg: adc0_adtrg {
510724ba675SRob Herring						atmel,pins =
511724ba675SRob Herring							<AT91_PIOD 19 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PD19 periph A ADTRG */
512724ba675SRob Herring					};
513724ba675SRob Herring					pinctrl_adc0_ad0: adc0_ad0 {
514724ba675SRob Herring						atmel,pins =
515724ba675SRob Herring							<AT91_PIOD 20 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PD20 periph A AD0 */
516724ba675SRob Herring					};
517724ba675SRob Herring					pinctrl_adc0_ad1: adc0_ad1 {
518724ba675SRob Herring						atmel,pins =
519724ba675SRob Herring							<AT91_PIOD 21 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PD21 periph A AD1 */
520724ba675SRob Herring					};
521724ba675SRob Herring					pinctrl_adc0_ad2: adc0_ad2 {
522724ba675SRob Herring						atmel,pins =
523724ba675SRob Herring							<AT91_PIOD 22 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PD22 periph A AD2 */
524724ba675SRob Herring					};
525724ba675SRob Herring					pinctrl_adc0_ad3: adc0_ad3 {
526724ba675SRob Herring						atmel,pins =
527724ba675SRob Herring							<AT91_PIOD 23 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PD23 periph A AD3 */
528724ba675SRob Herring					};
529724ba675SRob Herring					pinctrl_adc0_ad4: adc0_ad4 {
530724ba675SRob Herring						atmel,pins =
531724ba675SRob Herring							<AT91_PIOD 24 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PD24 periph A AD4 */
532724ba675SRob Herring					};
533724ba675SRob Herring					pinctrl_adc0_ad5: adc0_ad5 {
534724ba675SRob Herring						atmel,pins =
535724ba675SRob Herring							<AT91_PIOD 25 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PD25 periph A AD5 */
536724ba675SRob Herring					};
537724ba675SRob Herring					pinctrl_adc0_ad6: adc0_ad6 {
538724ba675SRob Herring						atmel,pins =
539724ba675SRob Herring							<AT91_PIOD 26 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PD26 periph A AD6 */
540724ba675SRob Herring					};
541724ba675SRob Herring					pinctrl_adc0_ad7: adc0_ad7 {
542724ba675SRob Herring						atmel,pins =
543724ba675SRob Herring							<AT91_PIOD 27 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PD27 periph A AD7 */
544724ba675SRob Herring					};
545724ba675SRob Herring					pinctrl_adc0_ad8: adc0_ad8 {
546724ba675SRob Herring						atmel,pins =
547724ba675SRob Herring							<AT91_PIOD 28 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PD28 periph A AD8 */
548724ba675SRob Herring					};
549724ba675SRob Herring					pinctrl_adc0_ad9: adc0_ad9 {
550724ba675SRob Herring						atmel,pins =
551724ba675SRob Herring							<AT91_PIOD 29 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PD29 periph A AD9 */
552724ba675SRob Herring					};
553724ba675SRob Herring					pinctrl_adc0_ad10: adc0_ad10 {
554724ba675SRob Herring						atmel,pins =
555724ba675SRob Herring							<AT91_PIOD 30 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PD30 periph A AD10, conflicts with PCK0 */
556724ba675SRob Herring					};
557724ba675SRob Herring					pinctrl_adc0_ad11: adc0_ad11 {
558724ba675SRob Herring						atmel,pins =
559724ba675SRob Herring							<AT91_PIOD 31 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PD31 periph A AD11, conflicts with PCK1 */
560724ba675SRob Herring					};
561724ba675SRob Herring				};
562724ba675SRob Herring
563724ba675SRob Herring				dbgu {
564724ba675SRob Herring					pinctrl_dbgu: dbgu-0 {
565724ba675SRob Herring						atmel,pins =
566724ba675SRob Herring							<AT91_PIOB 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
567724ba675SRob Herring							 AT91_PIOB 31 AT91_PERIPH_A AT91_PINCTRL_NONE>;
568724ba675SRob Herring					};
569724ba675SRob Herring				};
570724ba675SRob Herring
571724ba675SRob Herring				ebi {
572724ba675SRob Herring					pinctrl_ebi_addr: ebi-addr-0 {
573724ba675SRob Herring						atmel,pins =
574724ba675SRob Herring							<AT91_PIOE 1 AT91_PERIPH_A AT91_PINCTRL_NONE
575724ba675SRob Herring							 AT91_PIOE 2 AT91_PERIPH_A AT91_PINCTRL_NONE
576724ba675SRob Herring							 AT91_PIOE 3 AT91_PERIPH_A AT91_PINCTRL_NONE
577724ba675SRob Herring							 AT91_PIOE 4 AT91_PERIPH_A AT91_PINCTRL_NONE
578724ba675SRob Herring							 AT91_PIOE 5 AT91_PERIPH_A AT91_PINCTRL_NONE
579724ba675SRob Herring							 AT91_PIOE 6 AT91_PERIPH_A AT91_PINCTRL_NONE
580724ba675SRob Herring							 AT91_PIOE 7 AT91_PERIPH_A AT91_PINCTRL_NONE
581724ba675SRob Herring							 AT91_PIOE 8 AT91_PERIPH_A AT91_PINCTRL_NONE
582724ba675SRob Herring							 AT91_PIOE 9 AT91_PERIPH_A AT91_PINCTRL_NONE
583724ba675SRob Herring							 AT91_PIOE 10 AT91_PERIPH_A AT91_PINCTRL_NONE
584724ba675SRob Herring							 AT91_PIOE 11 AT91_PERIPH_A AT91_PINCTRL_NONE
585724ba675SRob Herring							 AT91_PIOE 12 AT91_PERIPH_A AT91_PINCTRL_NONE
586724ba675SRob Herring							 AT91_PIOE 13 AT91_PERIPH_A AT91_PINCTRL_NONE
587724ba675SRob Herring							 AT91_PIOE 14 AT91_PERIPH_A AT91_PINCTRL_NONE
588724ba675SRob Herring							 AT91_PIOE 15 AT91_PERIPH_A AT91_PINCTRL_NONE
589724ba675SRob Herring							 AT91_PIOE 16 AT91_PERIPH_A AT91_PINCTRL_NONE
590724ba675SRob Herring							 AT91_PIOE 17 AT91_PERIPH_A AT91_PINCTRL_NONE
591724ba675SRob Herring							 AT91_PIOE 18 AT91_PERIPH_A AT91_PINCTRL_NONE
592724ba675SRob Herring							 AT91_PIOE 19 AT91_PERIPH_A AT91_PINCTRL_NONE
593724ba675SRob Herring							 AT91_PIOE 20 AT91_PERIPH_A AT91_PINCTRL_NONE
594724ba675SRob Herring							 AT91_PIOE 21 AT91_PERIPH_A AT91_PINCTRL_NONE
595724ba675SRob Herring							 AT91_PIOE 22 AT91_PERIPH_A AT91_PINCTRL_NONE
596724ba675SRob Herring							 AT91_PIOE 23 AT91_PERIPH_A AT91_PINCTRL_NONE>;
597724ba675SRob Herring					};
598724ba675SRob Herring
599724ba675SRob Herring					pinctrl_ebi_nand_addr: ebi-addr-1 {
600724ba675SRob Herring						atmel,pins =
601724ba675SRob Herring							<AT91_PIOE 21 AT91_PERIPH_A AT91_PINCTRL_NONE
602724ba675SRob Herring							 AT91_PIOE 22 AT91_PERIPH_A AT91_PINCTRL_NONE>;
603724ba675SRob Herring					};
604724ba675SRob Herring
605724ba675SRob Herring					pinctrl_ebi_cs0: ebi-cs0-0 {
606724ba675SRob Herring						atmel,pins =
607724ba675SRob Herring							<AT91_PIOE 24 AT91_PERIPH_A AT91_PINCTRL_NONE>;
608724ba675SRob Herring					};
609724ba675SRob Herring
610724ba675SRob Herring					pinctrl_ebi_cs1: ebi-cs1-0 {
611724ba675SRob Herring						atmel,pins =
612724ba675SRob Herring							<AT91_PIOE 25 AT91_PERIPH_A AT91_PINCTRL_NONE>;
613724ba675SRob Herring					};
614724ba675SRob Herring
615724ba675SRob Herring					pinctrl_ebi_cs2: ebi-cs2-0 {
616724ba675SRob Herring						atmel,pins =
617724ba675SRob Herring							<AT91_PIOE 26 AT91_PERIPH_A AT91_PINCTRL_NONE>;
618724ba675SRob Herring					};
619724ba675SRob Herring
620724ba675SRob Herring					pinctrl_ebi_nwait: ebi-nwait-0 {
621724ba675SRob Herring						atmel,pins =
622724ba675SRob Herring							<AT91_PIOE 28 AT91_PERIPH_A AT91_PINCTRL_NONE>;
623724ba675SRob Herring					};
624724ba675SRob Herring
625724ba675SRob Herring					pinctrl_ebi_nwr1_nbs1: ebi-nwr1-nbs1-0 {
626724ba675SRob Herring						atmel,pins =
627724ba675SRob Herring							<AT91_PIOE 27 AT91_PERIPH_A AT91_PINCTRL_NONE>;
628724ba675SRob Herring					};
629724ba675SRob Herring				};
630724ba675SRob Herring
631724ba675SRob Herring				i2c0 {
632724ba675SRob Herring					pinctrl_i2c0: i2c0-0 {
633724ba675SRob Herring						atmel,pins =
634724ba675SRob Herring							<AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PA30 periph A TWD0 pin, conflicts with URXD1, ISI_VSYNC */
635724ba675SRob Herring							 AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PA31 periph A TWCK0 pin, conflicts with UTXD1, ISI_HSYNC */
636724ba675SRob Herring					};
637724ba675SRob Herring
638724ba675SRob Herring					pinctrl_i2c0_gpio: i2c0-gpio {
639724ba675SRob Herring						atmel,pins =
640724ba675SRob Herring							<AT91_PIOA 30 AT91_PERIPH_GPIO AT91_PINCTRL_NONE
641724ba675SRob Herring							 AT91_PIOA 31 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
642724ba675SRob Herring					};
643724ba675SRob Herring				};
644724ba675SRob Herring
645724ba675SRob Herring				i2c1 {
646724ba675SRob Herring					pinctrl_i2c1: i2c1-0 {
647724ba675SRob Herring						atmel,pins =
648724ba675SRob Herring							<AT91_PIOC 26 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PC26 periph B TWD1 pin, conflicts with SPI1_NPCS1, ISI_D11 */
649724ba675SRob Herring							 AT91_PIOC 27 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* PC27 periph B TWCK1 pin, conflicts with SPI1_NPCS2, ISI_D10 */
650724ba675SRob Herring					};
651724ba675SRob Herring
652724ba675SRob Herring					pinctrl_i2c1_gpio: i2c1-gpio {
653724ba675SRob Herring						atmel,pins =
654724ba675SRob Herring							<AT91_PIOC 26 AT91_PERIPH_GPIO AT91_PINCTRL_NONE
655724ba675SRob Herring							 AT91_PIOC 27 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
656724ba675SRob Herring					};
657724ba675SRob Herring				};
658724ba675SRob Herring
659724ba675SRob Herring				i2c2 {
660724ba675SRob Herring					pinctrl_i2c2: i2c2-0 {
661724ba675SRob Herring						atmel,pins =
662724ba675SRob Herring							<AT91_PIOA 18 AT91_PERIPH_B AT91_PINCTRL_NONE	/* TWD2 pin, conflicts with LCDDAT18, ISI_D2 */
663724ba675SRob Herring							 AT91_PIOA 19 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* TWCK2 pin, conflicts with LCDDAT19, ISI_D3 */
664724ba675SRob Herring					};
665724ba675SRob Herring
666724ba675SRob Herring					pinctrl_i2c2_gpio: i2c2-gpio {
667724ba675SRob Herring						atmel,pins =
668724ba675SRob Herring							<AT91_PIOA 18 AT91_PERIPH_GPIO AT91_PINCTRL_NONE
669724ba675SRob Herring							 AT91_PIOA 19 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
670724ba675SRob Herring					};
671724ba675SRob Herring				};
672724ba675SRob Herring
673724ba675SRob Herring				isi {
674724ba675SRob Herring					pinctrl_isi_data_0_7: isi-0-data-0-7 {
675724ba675SRob Herring						atmel,pins =
676724ba675SRob Herring							<AT91_PIOA 16 AT91_PERIPH_C AT91_PINCTRL_NONE	/* PA16 periph C ISI_D0, conflicts with LCDDAT16 */
677724ba675SRob Herring							 AT91_PIOA 17 AT91_PERIPH_C AT91_PINCTRL_NONE	/* PA17 periph C ISI_D1, conflicts with LCDDAT17 */
678724ba675SRob Herring							 AT91_PIOA 18 AT91_PERIPH_C AT91_PINCTRL_NONE	/* PA18 periph C ISI_D2, conflicts with LCDDAT18, TWD2 */
679724ba675SRob Herring							 AT91_PIOA 19 AT91_PERIPH_C AT91_PINCTRL_NONE	/* PA19 periph C ISI_D3, conflicts with LCDDAT19, TWCK2 */
680724ba675SRob Herring							 AT91_PIOA 20 AT91_PERIPH_C AT91_PINCTRL_NONE	/* PA20 periph C ISI_D4, conflicts with LCDDAT20, PWMH0 */
681724ba675SRob Herring							 AT91_PIOA 21 AT91_PERIPH_C AT91_PINCTRL_NONE	/* PA21 periph C ISI_D5, conflicts with LCDDAT21, PWML0 */
682724ba675SRob Herring							 AT91_PIOA 22 AT91_PERIPH_C AT91_PINCTRL_NONE	/* PA22 periph C ISI_D6, conflicts with LCDDAT22, PWMH1 */
683724ba675SRob Herring							 AT91_PIOA 23 AT91_PERIPH_C AT91_PINCTRL_NONE	/* PA23 periph C ISI_D7, conflicts with LCDDAT23, PWML1 */
684724ba675SRob Herring							 AT91_PIOC 30 AT91_PERIPH_C AT91_PINCTRL_NONE	/* PC30 periph C ISI_PCK, conflicts with UTXD0 */
685724ba675SRob Herring							 AT91_PIOA 31 AT91_PERIPH_C AT91_PINCTRL_NONE	/* PA31 periph C ISI_HSYNC, conflicts with TWCK0, UTXD1 */
686724ba675SRob Herring							 AT91_PIOA 30 AT91_PERIPH_C AT91_PINCTRL_NONE>;	/* PA30 periph C ISI_VSYNC, conflicts with TWD0, URXD1 */
687724ba675SRob Herring					};
688724ba675SRob Herring
689724ba675SRob Herring					pinctrl_isi_data_8_9: isi-0-data-8-9 {
690724ba675SRob Herring						atmel,pins =
691724ba675SRob Herring							<AT91_PIOC 29 AT91_PERIPH_C AT91_PINCTRL_NONE	/* PC29 periph C ISI_PD8, conflicts with URXD0, PWMFI2 */
692724ba675SRob Herring							 AT91_PIOC 28 AT91_PERIPH_C AT91_PINCTRL_NONE>;	/* PC28 periph C ISI_PD9, conflicts with SPI1_NPCS3, PWMFI0 */
693724ba675SRob Herring					};
694724ba675SRob Herring
695724ba675SRob Herring					pinctrl_isi_data_10_11: isi-0-data-10-11 {
696724ba675SRob Herring						atmel,pins =
697724ba675SRob Herring							<AT91_PIOC 27 AT91_PERIPH_C AT91_PINCTRL_NONE	/* PC27 periph C ISI_PD10, conflicts with SPI1_NPCS2, TWCK1 */
698724ba675SRob Herring							 AT91_PIOC 26 AT91_PERIPH_C AT91_PINCTRL_NONE>;	/* PC26 periph C ISI_PD11, conflicts with SPI1_NPCS1, TWD1 */
699724ba675SRob Herring					};
700724ba675SRob Herring				};
701724ba675SRob Herring
702724ba675SRob Herring				mmc0 {
703724ba675SRob Herring					pinctrl_mmc0_clk_cmd_dat0: mmc0_clk_cmd_dat0 {
704724ba675SRob Herring						atmel,pins =
705724ba675SRob Herring							<AT91_PIOD 9 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PD9 periph A MCI0_CK */
706724ba675SRob Herring							 AT91_PIOD 0 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* PD0 periph A MCI0_CDA with pullup */
707724ba675SRob Herring							 AT91_PIOD 1 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;	/* PD1 periph A MCI0_DA0 with pullup */
708724ba675SRob Herring					};
709724ba675SRob Herring					pinctrl_mmc0_dat1_3: mmc0_dat1_3 {
710724ba675SRob Herring						atmel,pins =
711724ba675SRob Herring							<AT91_PIOD 2 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* PD2 periph A MCI0_DA1 with pullup */
712724ba675SRob Herring							 AT91_PIOD 3 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* PD3 periph A MCI0_DA2 with pullup */
713724ba675SRob Herring							 AT91_PIOD 4 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;	/* PD4 periph A MCI0_DA3 with pullup */
714724ba675SRob Herring					};
715724ba675SRob Herring					pinctrl_mmc0_dat4_7: mmc0_dat4_7 {
716724ba675SRob Herring						atmel,pins =
717724ba675SRob Herring							<AT91_PIOD 5 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* PD5 periph A MCI0_DA4 with pullup, conflicts with TIOA0, PWMH2 */
718724ba675SRob Herring							 AT91_PIOD 6 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* PD6 periph A MCI0_DA5 with pullup, conflicts with TIOB0, PWML2 */
719724ba675SRob Herring							 AT91_PIOD 7 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* PD7 periph A MCI0_DA6 with pullup, conflicts with TCLK0, PWMH3 */
720724ba675SRob Herring							 AT91_PIOD 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;	/* PD8 periph A MCI0_DA7 with pullup, conflicts with PWML3 */
721724ba675SRob Herring					};
722724ba675SRob Herring				};
723724ba675SRob Herring
724724ba675SRob Herring				mmc1 {
725724ba675SRob Herring					pinctrl_mmc1_clk_cmd_dat0: mmc1_clk_cmd_dat0 {
726724ba675SRob Herring						atmel,pins =
727724ba675SRob Herring							<AT91_PIOB 24 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB24 periph A MCI1_CK, conflicts with GRX5 */
728724ba675SRob Herring							 AT91_PIOB 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* PB19 periph A MCI1_CDA with pullup, conflicts with GTX4 */
729724ba675SRob Herring							 AT91_PIOB 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;	/* PB20 periph A MCI1_DA0 with pullup, conflicts with GTX5 */
730724ba675SRob Herring					};
731724ba675SRob Herring					pinctrl_mmc1_dat1_3: mmc1_dat1_3 {
732724ba675SRob Herring						atmel,pins =
733724ba675SRob Herring							<AT91_PIOB 21 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* PB21 periph A MCI1_DA1 with pullup, conflicts with GTX6 */
734724ba675SRob Herring							 AT91_PIOB 22 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* PB22 periph A MCI1_DA2 with pullup, conflicts with GTX7 */
735724ba675SRob Herring							 AT91_PIOB 23 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;	/* PB23 periph A MCI1_DA3 with pullup, conflicts with GRX4 */
736724ba675SRob Herring					};
737724ba675SRob Herring				};
738724ba675SRob Herring
739724ba675SRob Herring				nand0 {
740724ba675SRob Herring					pinctrl_nand0_ale_cle: nand0_ale_cle-0 {
741724ba675SRob Herring						atmel,pins =
742724ba675SRob Herring							<AT91_PIOE 21 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* PE21 periph A with pullup */
743724ba675SRob Herring							 AT91_PIOE 22 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;	/* PE22 periph A with pullup */
744724ba675SRob Herring					};
745724ba675SRob Herring				};
746724ba675SRob Herring
747724ba675SRob Herring				pwm0 {
748724ba675SRob Herring					pinctrl_pwm0_pwmh0_0: pwm0_pwmh0-0 {
749724ba675SRob Herring						atmel,pins =
750724ba675SRob Herring							<AT91_PIOA 20 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* conflicts with ISI_D4 and LCDDAT20 */
751724ba675SRob Herring					};
752724ba675SRob Herring					pinctrl_pwm0_pwmh0_1: pwm0_pwmh0-1 {
753724ba675SRob Herring						atmel,pins =
754724ba675SRob Herring							<AT91_PIOB 0 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* conflicts with GTX0 */
755724ba675SRob Herring					};
756724ba675SRob Herring					pinctrl_pwm0_pwml0_0: pwm0_pwml0-0 {
757724ba675SRob Herring						atmel,pins =
758724ba675SRob Herring							<AT91_PIOA 21 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* conflicts with ISI_D5 and LCDDAT21 */
759724ba675SRob Herring					};
760724ba675SRob Herring					pinctrl_pwm0_pwml0_1: pwm0_pwml0-1 {
761724ba675SRob Herring						atmel,pins =
762724ba675SRob Herring							<AT91_PIOB 1 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* conflicts with GTX1 */
763724ba675SRob Herring					};
764724ba675SRob Herring
765724ba675SRob Herring					pinctrl_pwm0_pwmh1_0: pwm0_pwmh1-0 {
766724ba675SRob Herring						atmel,pins =
767724ba675SRob Herring							<AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* conflicts with ISI_D6 and LCDDAT22 */
768724ba675SRob Herring					};
769724ba675SRob Herring					pinctrl_pwm0_pwmh1_1: pwm0_pwmh1-1 {
770724ba675SRob Herring						atmel,pins =
771724ba675SRob Herring							<AT91_PIOB 4 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* conflicts with GRX0 */
772724ba675SRob Herring					};
773724ba675SRob Herring					pinctrl_pwm0_pwmh1_2: pwm0_pwmh1-2 {
774724ba675SRob Herring						atmel,pins =
775724ba675SRob Herring							<AT91_PIOB 27 AT91_PERIPH_C AT91_PINCTRL_NONE>;	/* conflicts with G125CKO and RTS1 */
776724ba675SRob Herring					};
777724ba675SRob Herring					pinctrl_pwm0_pwml1_0: pwm0_pwml1-0 {
778724ba675SRob Herring						atmel,pins =
779724ba675SRob Herring							<AT91_PIOA 23 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* conflicts with ISI_D7 and LCDDAT23 */
780724ba675SRob Herring					};
781724ba675SRob Herring					pinctrl_pwm0_pwml1_1: pwm0_pwml1-1 {
782724ba675SRob Herring						atmel,pins =
783724ba675SRob Herring							<AT91_PIOB 5 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* conflicts with GRX1 */
784724ba675SRob Herring					};
785724ba675SRob Herring					pinctrl_pwm0_pwml1_2: pwm0_pwml1-2 {
786724ba675SRob Herring						atmel,pins =
787724ba675SRob Herring							<AT91_PIOE 31 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* conflicts with IRQ */
788724ba675SRob Herring					};
789724ba675SRob Herring
790724ba675SRob Herring					pinctrl_pwm0_pwmh2_0: pwm0_pwmh2-0 {
791724ba675SRob Herring						atmel,pins =
792724ba675SRob Herring							<AT91_PIOB 8 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* conflicts with GTXCK */
793724ba675SRob Herring					};
794724ba675SRob Herring					pinctrl_pwm0_pwmh2_1: pwm0_pwmh2-1 {
795724ba675SRob Herring						atmel,pins =
796724ba675SRob Herring							<AT91_PIOD 5 AT91_PERIPH_C AT91_PINCTRL_NONE>;	/* conflicts with MCI0_DA4 and TIOA0 */
797724ba675SRob Herring					};
798724ba675SRob Herring					pinctrl_pwm0_pwml2_0: pwm0_pwml2-0 {
799724ba675SRob Herring						atmel,pins =
800724ba675SRob Herring							<AT91_PIOB 9 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* conflicts with GTXEN */
801724ba675SRob Herring					};
802724ba675SRob Herring					pinctrl_pwm0_pwml2_1: pwm0_pwml2-1 {
803724ba675SRob Herring						atmel,pins =
804724ba675SRob Herring							<AT91_PIOD 6 AT91_PERIPH_C AT91_PINCTRL_NONE>;	/* conflicts with MCI0_DA5 and TIOB0 */
805724ba675SRob Herring					};
806724ba675SRob Herring
807724ba675SRob Herring					pinctrl_pwm0_pwmh3_0: pwm0_pwmh3-0 {
808724ba675SRob Herring						atmel,pins =
809724ba675SRob Herring							<AT91_PIOB 12 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* conflicts with GRXDV */
810724ba675SRob Herring					};
811724ba675SRob Herring					pinctrl_pwm0_pwmh3_1: pwm0_pwmh3-1 {
812724ba675SRob Herring						atmel,pins =
813724ba675SRob Herring							<AT91_PIOD 7 AT91_PERIPH_C AT91_PINCTRL_NONE>;	/* conflicts with MCI0_DA6 and TCLK0 */
814724ba675SRob Herring					};
815724ba675SRob Herring					pinctrl_pwm0_pwml3_0: pwm0_pwml3-0 {
816724ba675SRob Herring						atmel,pins =
817724ba675SRob Herring							<AT91_PIOB 13 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* conflicts with GRXER */
818724ba675SRob Herring					};
819724ba675SRob Herring					pinctrl_pwm0_pwml3_1: pwm0_pwml3-1 {
820724ba675SRob Herring						atmel,pins =
821724ba675SRob Herring							<AT91_PIOD 8 AT91_PERIPH_C AT91_PINCTRL_NONE>;	/* conflicts with MCI0_DA7 */
822724ba675SRob Herring					};
823724ba675SRob Herring				};
824724ba675SRob Herring
825724ba675SRob Herring				spi0 {
826724ba675SRob Herring					pinctrl_spi0: spi0-0 {
827724ba675SRob Herring						atmel,pins =
828724ba675SRob Herring							<AT91_PIOD 10 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PD10 periph A SPI0_MISO pin */
829724ba675SRob Herring							 AT91_PIOD 11 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PD11 periph A SPI0_MOSI pin */
830724ba675SRob Herring							 AT91_PIOD 12 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PD12 periph A SPI0_SPCK pin */
831724ba675SRob Herring					};
832724ba675SRob Herring				};
833724ba675SRob Herring
834724ba675SRob Herring				spi1 {
835724ba675SRob Herring					pinctrl_spi1: spi1-0 {
836724ba675SRob Herring						atmel,pins =
837724ba675SRob Herring							<AT91_PIOC 22 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PC22 periph A SPI1_MISO pin */
838724ba675SRob Herring							 AT91_PIOC 23 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PC23 periph A SPI1_MOSI pin */
839724ba675SRob Herring							 AT91_PIOC 24 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PC24 periph A SPI1_SPCK pin */
840724ba675SRob Herring					};
841724ba675SRob Herring				};
842724ba675SRob Herring
843724ba675SRob Herring				ssc0 {
844724ba675SRob Herring					pinctrl_ssc0_tx: ssc0_tx {
845724ba675SRob Herring						atmel,pins =
846724ba675SRob Herring							<AT91_PIOC 16 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PC16 periph A TK0 */
847724ba675SRob Herring							 AT91_PIOC 17 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PC17 periph A TF0 */
848724ba675SRob Herring							 AT91_PIOC 18 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PC18 periph A TD0 */
849724ba675SRob Herring					};
850724ba675SRob Herring
851724ba675SRob Herring					pinctrl_ssc0_rx: ssc0_rx {
852724ba675SRob Herring						atmel,pins =
853724ba675SRob Herring							<AT91_PIOC 19 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PC19 periph A RK0 */
854724ba675SRob Herring							 AT91_PIOC 20 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PC20 periph A RF0 */
855724ba675SRob Herring							 AT91_PIOC 21 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PC21 periph A RD0 */
856724ba675SRob Herring					};
857724ba675SRob Herring				};
858724ba675SRob Herring
859724ba675SRob Herring				ssc1 {
860724ba675SRob Herring					pinctrl_ssc1_tx: ssc1_tx {
861724ba675SRob Herring						atmel,pins =
862724ba675SRob Herring							<AT91_PIOB 2 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PB2 periph B TK1, conflicts with GTX2 */
863724ba675SRob Herring							 AT91_PIOB 3 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PB3 periph B TF1, conflicts with GTX3 */
864724ba675SRob Herring							 AT91_PIOB 6 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* PB6 periph B TD1, conflicts with TD1 */
865724ba675SRob Herring					};
866724ba675SRob Herring
867724ba675SRob Herring					pinctrl_ssc1_rx: ssc1_rx {
868724ba675SRob Herring						atmel,pins =
869724ba675SRob Herring							<AT91_PIOB 7 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PB7 periph B RK1, conflicts with EREFCK */
870724ba675SRob Herring							 AT91_PIOB 10 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PB10 periph B RF1, conflicts with GTXER */
871724ba675SRob Herring							 AT91_PIOB 11 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* PB11 periph B RD1, conflicts with GRXCK */
872724ba675SRob Herring					};
873724ba675SRob Herring				};
874724ba675SRob Herring
875724ba675SRob Herring				uart0 {
876724ba675SRob Herring					pinctrl_uart0: uart0-0 {
877724ba675SRob Herring						atmel,pins =
878724ba675SRob Herring							<AT91_PIOC 29 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* conflicts with PWMFI2, ISI_D8 */
879724ba675SRob Herring							 AT91_PIOC 30 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* conflicts with ISI_PCK */
880724ba675SRob Herring					};
881724ba675SRob Herring				};
882724ba675SRob Herring
883724ba675SRob Herring				uart1 {
884724ba675SRob Herring					pinctrl_uart1: uart1-0 {
885724ba675SRob Herring						atmel,pins =
886724ba675SRob Herring							<AT91_PIOA 30 AT91_PERIPH_B AT91_PINCTRL_PULL_UP	/* conflicts with TWD0, ISI_VSYNC */
887724ba675SRob Herring							 AT91_PIOA 31 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* conflicts with TWCK0, ISI_HSYNC */
888724ba675SRob Herring					};
889724ba675SRob Herring				};
890724ba675SRob Herring
891724ba675SRob Herring				usart0 {
892724ba675SRob Herring					pinctrl_usart0: usart0-0 {
893724ba675SRob Herring						atmel,pins =
894724ba675SRob Herring							<AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
895724ba675SRob Herring							 AT91_PIOD 18 AT91_PERIPH_A AT91_PINCTRL_NONE>;
896724ba675SRob Herring					};
897724ba675SRob Herring
898724ba675SRob Herring					pinctrl_usart0_rts_cts: usart0_rts_cts-0 {
899724ba675SRob Herring						atmel,pins =
900724ba675SRob Herring							<AT91_PIOD 15 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PD15 periph A, conflicts with SPI0_NPCS2, CANTX0 */
901724ba675SRob Herring							 AT91_PIOD 16 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PD16 periph A, conflicts with SPI0_NPCS3, PWMFI3 */
902724ba675SRob Herring					};
903724ba675SRob Herring				};
904724ba675SRob Herring
905724ba675SRob Herring				usart1 {
906724ba675SRob Herring					pinctrl_usart1: usart1-0 {
907724ba675SRob Herring						atmel,pins =
908724ba675SRob Herring							<AT91_PIOB 28 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
909724ba675SRob Herring							 AT91_PIOB 29 AT91_PERIPH_A AT91_PINCTRL_NONE>;
910724ba675SRob Herring					};
911724ba675SRob Herring
912724ba675SRob Herring					pinctrl_usart1_rts_cts: usart1_rts_cts-0 {
913724ba675SRob Herring						atmel,pins =
914724ba675SRob Herring							<AT91_PIOB 26 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB26 periph A, conflicts with GRX7 */
915724ba675SRob Herring							 AT91_PIOB 27 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PB27 periph A, conflicts with G125CKO */
916724ba675SRob Herring					};
917724ba675SRob Herring				};
918724ba675SRob Herring
919724ba675SRob Herring				usart2 {
920724ba675SRob Herring					pinctrl_usart2: usart2-0 {
921724ba675SRob Herring						atmel,pins =
922724ba675SRob Herring							<AT91_PIOE 25 AT91_PERIPH_B AT91_PINCTRL_PULL_UP	/* conflicts with A25 */
923724ba675SRob Herring							 AT91_PIOE 26 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* conflicts NCS0 */
924724ba675SRob Herring					};
925724ba675SRob Herring
926724ba675SRob Herring					pinctrl_usart2_rts_cts: usart2_rts_cts-0 {
927724ba675SRob Herring						atmel,pins =
928724ba675SRob Herring							<AT91_PIOE 23 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PE23 periph B, conflicts with A23 */
929724ba675SRob Herring							 AT91_PIOE 24 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* PE24 periph B, conflicts with A24 */
930724ba675SRob Herring					};
931724ba675SRob Herring				};
932724ba675SRob Herring
933724ba675SRob Herring				usart3 {
934724ba675SRob Herring					pinctrl_usart3: usart3-0 {
935724ba675SRob Herring						atmel,pins =
936724ba675SRob Herring							<AT91_PIOE 18 AT91_PERIPH_B AT91_PINCTRL_PULL_UP	/* conflicts with A18 */
937724ba675SRob Herring							 AT91_PIOE 19 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* conflicts with A19 */
938724ba675SRob Herring					};
939724ba675SRob Herring
940724ba675SRob Herring					pinctrl_usart3_rts_cts: usart3_rts_cts-0 {
941724ba675SRob Herring						atmel,pins =
942724ba675SRob Herring							<AT91_PIOE 16 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PE16 periph B, conflicts with A16 */
943724ba675SRob Herring							 AT91_PIOE 17 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* PE17 periph B, conflicts with A17 */
944724ba675SRob Herring					};
945724ba675SRob Herring				};
946724ba675SRob Herring
947724ba675SRob Herring
948724ba675SRob Herring				pioA: gpio@fffff200 {
949724ba675SRob Herring					compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
950724ba675SRob Herring					reg = <0xfffff200 0x100>;
951724ba675SRob Herring					interrupts = <6 IRQ_TYPE_LEVEL_HIGH 1>;
952724ba675SRob Herring					#gpio-cells = <2>;
953724ba675SRob Herring					gpio-controller;
954724ba675SRob Herring					interrupt-controller;
955724ba675SRob Herring					#interrupt-cells = <2>;
956724ba675SRob Herring					clocks = <&pmc PMC_TYPE_PERIPHERAL 6>;
957724ba675SRob Herring				};
958724ba675SRob Herring
959724ba675SRob Herring				pioB: gpio@fffff400 {
960724ba675SRob Herring					compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
961724ba675SRob Herring					reg = <0xfffff400 0x100>;
962724ba675SRob Herring					interrupts = <7 IRQ_TYPE_LEVEL_HIGH 1>;
963724ba675SRob Herring					#gpio-cells = <2>;
964724ba675SRob Herring					gpio-controller;
965724ba675SRob Herring					interrupt-controller;
966724ba675SRob Herring					#interrupt-cells = <2>;
967724ba675SRob Herring					clocks = <&pmc PMC_TYPE_PERIPHERAL 7>;
968724ba675SRob Herring				};
969724ba675SRob Herring
970724ba675SRob Herring				pioC: gpio@fffff600 {
971724ba675SRob Herring					compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
972724ba675SRob Herring					reg = <0xfffff600 0x100>;
973724ba675SRob Herring					interrupts = <8 IRQ_TYPE_LEVEL_HIGH 1>;
974724ba675SRob Herring					#gpio-cells = <2>;
975724ba675SRob Herring					gpio-controller;
976724ba675SRob Herring					interrupt-controller;
977724ba675SRob Herring					#interrupt-cells = <2>;
978724ba675SRob Herring					clocks = <&pmc PMC_TYPE_PERIPHERAL 8>;
979724ba675SRob Herring				};
980724ba675SRob Herring
981724ba675SRob Herring				pioD: gpio@fffff800 {
982724ba675SRob Herring					compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
983724ba675SRob Herring					reg = <0xfffff800 0x100>;
984724ba675SRob Herring					interrupts = <9 IRQ_TYPE_LEVEL_HIGH 1>;
985724ba675SRob Herring					#gpio-cells = <2>;
986724ba675SRob Herring					gpio-controller;
987724ba675SRob Herring					interrupt-controller;
988724ba675SRob Herring					#interrupt-cells = <2>;
989724ba675SRob Herring					clocks = <&pmc PMC_TYPE_PERIPHERAL 9>;
990724ba675SRob Herring				};
991724ba675SRob Herring
992724ba675SRob Herring				pioE: gpio@fffffa00 {
993724ba675SRob Herring					compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
994724ba675SRob Herring					reg = <0xfffffa00 0x100>;
995724ba675SRob Herring					interrupts = <10 IRQ_TYPE_LEVEL_HIGH 1>;
996724ba675SRob Herring					#gpio-cells = <2>;
997724ba675SRob Herring					gpio-controller;
998724ba675SRob Herring					interrupt-controller;
999724ba675SRob Herring					#interrupt-cells = <2>;
1000724ba675SRob Herring					clocks = <&pmc PMC_TYPE_PERIPHERAL 10>;
1001724ba675SRob Herring				};
1002724ba675SRob Herring			};
1003724ba675SRob Herring
1004724ba675SRob Herring			pmc: clock-controller@fffffc00 {
1005724ba675SRob Herring				compatible = "atmel,sama5d3-pmc", "syscon";
1006724ba675SRob Herring				reg = <0xfffffc00 0x120>;
1007724ba675SRob Herring				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
1008724ba675SRob Herring				#clock-cells = <2>;
1009724ba675SRob Herring				clocks = <&clk32k>, <&main_xtal>;
1010724ba675SRob Herring				clock-names = "slow_clk", "main_xtal";
1011724ba675SRob Herring			};
1012724ba675SRob Herring
1013724ba675SRob Herring			reset_controller: reset-controller@fffffe00 {
1014724ba675SRob Herring				compatible = "atmel,sama5d3-rstc", "atmel,at91sam9g45-rstc";
1015724ba675SRob Herring				reg = <0xfffffe00 0x10>;
1016724ba675SRob Herring				clocks = <&clk32k>;
1017724ba675SRob Herring			};
1018724ba675SRob Herring
1019*a4bd03e7SArnd Bergmann			shutdown_controller: poweroff@fffffe10 {
1020724ba675SRob Herring				compatible = "atmel,at91sam9x5-shdwc";
1021724ba675SRob Herring				reg = <0xfffffe10 0x10>;
1022724ba675SRob Herring				clocks = <&clk32k>;
1023724ba675SRob Herring			};
1024724ba675SRob Herring
1025724ba675SRob Herring			pit: timer@fffffe30 {
1026724ba675SRob Herring				compatible = "atmel,at91sam9260-pit";
1027724ba675SRob Herring				reg = <0xfffffe30 0xf>;
1028724ba675SRob Herring				interrupts = <3 IRQ_TYPE_LEVEL_HIGH 5>;
1029724ba675SRob Herring				clocks = <&pmc PMC_TYPE_CORE PMC_MCK>;
1030724ba675SRob Herring			};
1031724ba675SRob Herring
1032724ba675SRob Herring			watchdog: watchdog@fffffe40 {
1033724ba675SRob Herring				compatible = "atmel,at91sam9260-wdt";
1034724ba675SRob Herring				reg = <0xfffffe40 0x10>;
1035724ba675SRob Herring				interrupts = <4 IRQ_TYPE_LEVEL_HIGH 7>;
1036724ba675SRob Herring				clocks = <&clk32k>;
1037724ba675SRob Herring				atmel,watchdog-type = "hardware";
1038724ba675SRob Herring				atmel,reset-type = "all";
1039724ba675SRob Herring				atmel,dbg-halt;
1040724ba675SRob Herring				status = "disabled";
1041724ba675SRob Herring			};
1042724ba675SRob Herring
1043724ba675SRob Herring			clk32k: clock-controller@fffffe50 {
1044724ba675SRob Herring				compatible = "atmel,sama5d3-sckc";
1045724ba675SRob Herring				reg = <0xfffffe50 0x4>;
1046724ba675SRob Herring				clocks = <&slow_xtal>;
1047724ba675SRob Herring				#clock-cells = <0>;
1048724ba675SRob Herring			};
1049724ba675SRob Herring
1050724ba675SRob Herring			rtc@fffffeb0 {
1051724ba675SRob Herring				compatible = "atmel,at91rm9200-rtc";
1052724ba675SRob Herring				reg = <0xfffffeb0 0x30>;
1053724ba675SRob Herring				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
1054724ba675SRob Herring				clocks = <&clk32k>;
1055724ba675SRob Herring			};
1056724ba675SRob Herring		};
1057724ba675SRob Herring
1058724ba675SRob Herring		nfc_sram: sram@200000 {
1059724ba675SRob Herring			compatible = "mmio-sram";
1060724ba675SRob Herring			no-memory-wc;
1061724ba675SRob Herring			reg = <0x200000 0x2400>;
1062724ba675SRob Herring			#address-cells = <1>;
1063724ba675SRob Herring			#size-cells = <1>;
1064724ba675SRob Herring			ranges = <0 0x200000 0x2400>;
1065724ba675SRob Herring		};
1066724ba675SRob Herring
1067724ba675SRob Herring		usb0: gadget@500000 {
1068724ba675SRob Herring			compatible = "atmel,sama5d3-udc";
1069724ba675SRob Herring			reg = <0x00500000 0x100000
1070724ba675SRob Herring			       0xf8030000 0x4000>;
1071724ba675SRob Herring			interrupts = <33 IRQ_TYPE_LEVEL_HIGH 2>;
1072724ba675SRob Herring			clocks = <&pmc PMC_TYPE_PERIPHERAL 33>, <&pmc PMC_TYPE_CORE PMC_UTMI>;
1073724ba675SRob Herring			clock-names = "pclk", "hclk";
1074724ba675SRob Herring			status = "disabled";
1075724ba675SRob Herring		};
1076724ba675SRob Herring
1077724ba675SRob Herring		usb1: ohci@600000 {
1078724ba675SRob Herring			compatible = "atmel,at91rm9200-ohci", "usb-ohci";
1079724ba675SRob Herring			reg = <0x00600000 0x100000>;
1080724ba675SRob Herring			interrupts = <32 IRQ_TYPE_LEVEL_HIGH 2>;
1081724ba675SRob Herring			clocks = <&pmc PMC_TYPE_PERIPHERAL 32>, <&pmc PMC_TYPE_PERIPHERAL 32>, <&pmc PMC_TYPE_SYSTEM 6>;
1082724ba675SRob Herring			clock-names = "ohci_clk", "hclk", "uhpck";
1083724ba675SRob Herring			status = "disabled";
1084724ba675SRob Herring		};
1085724ba675SRob Herring
1086724ba675SRob Herring		usb2: ehci@700000 {
1087724ba675SRob Herring			compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
1088724ba675SRob Herring			reg = <0x00700000 0x100000>;
1089724ba675SRob Herring			interrupts = <32 IRQ_TYPE_LEVEL_HIGH 2>;
1090724ba675SRob Herring			clocks = <&pmc PMC_TYPE_CORE PMC_UTMI>, <&pmc PMC_TYPE_PERIPHERAL 32>;
1091724ba675SRob Herring			clock-names = "usb_clk", "ehci_clk";
1092724ba675SRob Herring			status = "disabled";
1093724ba675SRob Herring		};
1094724ba675SRob Herring
1095724ba675SRob Herring		ebi: ebi@10000000 {
1096724ba675SRob Herring			compatible = "atmel,sama5d3-ebi";
1097724ba675SRob Herring			#address-cells = <2>;
1098724ba675SRob Herring			#size-cells = <1>;
1099724ba675SRob Herring			atmel,smc = <&hsmc>;
1100724ba675SRob Herring			reg = <0x10000000 0x10000000
1101724ba675SRob Herring			       0x40000000 0x30000000>;
1102724ba675SRob Herring			ranges = <0x0 0x0 0x10000000 0x10000000
1103724ba675SRob Herring				  0x1 0x0 0x40000000 0x10000000
1104724ba675SRob Herring				  0x2 0x0 0x50000000 0x10000000
1105724ba675SRob Herring				  0x3 0x0 0x60000000 0x10000000>;
1106724ba675SRob Herring			clocks = <&pmc PMC_TYPE_CORE PMC_MCK>;
1107724ba675SRob Herring			status = "disabled";
1108724ba675SRob Herring
1109724ba675SRob Herring			nand_controller: nand-controller {
1110724ba675SRob Herring				compatible = "atmel,sama5d3-nand-controller";
1111724ba675SRob Herring				atmel,nfc-sram = <&nfc_sram>;
1112724ba675SRob Herring				atmel,nfc-io = <&nfc_io>;
1113724ba675SRob Herring				ecc-engine = <&pmecc>;
1114724ba675SRob Herring				#address-cells = <2>;
1115724ba675SRob Herring				#size-cells = <1>;
1116724ba675SRob Herring				ranges;
1117724ba675SRob Herring				status = "disabled";
1118724ba675SRob Herring			};
1119724ba675SRob Herring		};
1120724ba675SRob Herring
1121724ba675SRob Herring		nfc_io: nfc-io@70000000 {
1122724ba675SRob Herring			compatible = "atmel,sama5d3-nfc-io", "syscon";
1123724ba675SRob Herring			reg = <0x70000000 0x8000000>;
1124724ba675SRob Herring		};
1125724ba675SRob Herring	};
1126724ba675SRob Herring};
1127