xref: /freebsd-src/sys/contrib/device-tree/src/arm/microchip/sama5d4.dtsi (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * sama5d4.dtsi - Device Tree Include file for SAMA5D4 family SoC
4f126890aSEmmanuel Vadot *
5f126890aSEmmanuel Vadot *  Copyright (C) 2014 Atmel,
6f126890aSEmmanuel Vadot *                2014 Nicolas Ferre <nicolas.ferre@atmel.com>
7f126890aSEmmanuel Vadot */
8f126890aSEmmanuel Vadot
9f126890aSEmmanuel Vadot#include <dt-bindings/clock/at91.h>
10f126890aSEmmanuel Vadot#include <dt-bindings/dma/at91.h>
11f126890aSEmmanuel Vadot#include <dt-bindings/mfd/at91-usart.h>
12f126890aSEmmanuel Vadot#include <dt-bindings/pinctrl/at91.h>
13f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h>
14f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
15f126890aSEmmanuel Vadot
16f126890aSEmmanuel Vadot/ {
17f126890aSEmmanuel Vadot	#address-cells = <1>;
18f126890aSEmmanuel Vadot	#size-cells = <1>;
19f126890aSEmmanuel Vadot	model = "Atmel SAMA5D4 family SoC";
20f126890aSEmmanuel Vadot	compatible = "atmel,sama5d4";
21f126890aSEmmanuel Vadot	interrupt-parent = <&aic>;
22f126890aSEmmanuel Vadot
23f126890aSEmmanuel Vadot	aliases {
24f126890aSEmmanuel Vadot		serial0 = &usart3;
25f126890aSEmmanuel Vadot		serial1 = &usart4;
26f126890aSEmmanuel Vadot		serial2 = &usart2;
27f126890aSEmmanuel Vadot		serial3 = &usart0;
28f126890aSEmmanuel Vadot		serial4 = &usart1;
29f126890aSEmmanuel Vadot		serial5 = &uart0;
30f126890aSEmmanuel Vadot		serial6 = &uart1;
31f126890aSEmmanuel Vadot		gpio0 = &pioA;
32f126890aSEmmanuel Vadot		gpio1 = &pioB;
33f126890aSEmmanuel Vadot		gpio2 = &pioC;
34f126890aSEmmanuel Vadot		gpio3 = &pioD;
35f126890aSEmmanuel Vadot		gpio4 = &pioE;
36f126890aSEmmanuel Vadot		pwm0 = &pwm0;
37f126890aSEmmanuel Vadot		ssc0 = &ssc0;
38f126890aSEmmanuel Vadot		ssc1 = &ssc1;
39f126890aSEmmanuel Vadot		tcb0 = &tcb0;
40f126890aSEmmanuel Vadot		tcb1 = &tcb1;
41f126890aSEmmanuel Vadot		i2c0 = &i2c0;
42f126890aSEmmanuel Vadot		i2c1 = &i2c1;
43f126890aSEmmanuel Vadot		i2c2 = &i2c2;
44f126890aSEmmanuel Vadot	};
45f126890aSEmmanuel Vadot	cpus {
46f126890aSEmmanuel Vadot		#address-cells = <1>;
47f126890aSEmmanuel Vadot		#size-cells = <0>;
48f126890aSEmmanuel Vadot
49f126890aSEmmanuel Vadot		cpu@0 {
50f126890aSEmmanuel Vadot			device_type = "cpu";
51f126890aSEmmanuel Vadot			compatible = "arm,cortex-a5";
52f126890aSEmmanuel Vadot			reg = <0>;
53f126890aSEmmanuel Vadot			next-level-cache = <&L2>;
54f126890aSEmmanuel Vadot		};
55f126890aSEmmanuel Vadot	};
56f126890aSEmmanuel Vadot
57f126890aSEmmanuel Vadot	memory@20000000 {
58f126890aSEmmanuel Vadot		device_type = "memory";
59f126890aSEmmanuel Vadot		reg = <0x20000000 0x20000000>;
60f126890aSEmmanuel Vadot	};
61f126890aSEmmanuel Vadot
62f126890aSEmmanuel Vadot	clocks {
63f126890aSEmmanuel Vadot		slow_xtal: slow_xtal {
64f126890aSEmmanuel Vadot			compatible = "fixed-clock";
65f126890aSEmmanuel Vadot			#clock-cells = <0>;
66f126890aSEmmanuel Vadot			clock-frequency = <0>;
67f126890aSEmmanuel Vadot		};
68f126890aSEmmanuel Vadot
69f126890aSEmmanuel Vadot		main_xtal: main_xtal {
70f126890aSEmmanuel Vadot			compatible = "fixed-clock";
71f126890aSEmmanuel Vadot			#clock-cells = <0>;
72f126890aSEmmanuel Vadot			clock-frequency = <0>;
73f126890aSEmmanuel Vadot		};
74f126890aSEmmanuel Vadot
75f126890aSEmmanuel Vadot		adc_op_clk: adc_op_clk {
76f126890aSEmmanuel Vadot			compatible = "fixed-clock";
77f126890aSEmmanuel Vadot			#clock-cells = <0>;
78f126890aSEmmanuel Vadot			clock-frequency = <1000000>;
79f126890aSEmmanuel Vadot		};
80f126890aSEmmanuel Vadot	};
81f126890aSEmmanuel Vadot
82f126890aSEmmanuel Vadot	ns_sram: sram@210000 {
83f126890aSEmmanuel Vadot		compatible = "mmio-sram";
84f126890aSEmmanuel Vadot		reg = <0x00210000 0x10000>;
85f126890aSEmmanuel Vadot		#address-cells = <1>;
86f126890aSEmmanuel Vadot		#size-cells = <1>;
87f126890aSEmmanuel Vadot		ranges = <0 0x00210000 0x10000>;
88f126890aSEmmanuel Vadot	};
89f126890aSEmmanuel Vadot
90f126890aSEmmanuel Vadot	ahb {
91f126890aSEmmanuel Vadot		compatible = "simple-bus";
92f126890aSEmmanuel Vadot		#address-cells = <1>;
93f126890aSEmmanuel Vadot		#size-cells = <1>;
94f126890aSEmmanuel Vadot		ranges;
95f126890aSEmmanuel Vadot
96f126890aSEmmanuel Vadot		nfc_sram: sram@100000 {
97f126890aSEmmanuel Vadot			compatible = "mmio-sram";
98f126890aSEmmanuel Vadot			no-memory-wc;
99f126890aSEmmanuel Vadot			reg = <0x100000 0x2400>;
100f126890aSEmmanuel Vadot			#address-cells = <1>;
101f126890aSEmmanuel Vadot			#size-cells = <1>;
102f126890aSEmmanuel Vadot			ranges = <0 0x100000 0x2400>;
103f126890aSEmmanuel Vadot		};
104f126890aSEmmanuel Vadot
105f126890aSEmmanuel Vadot		vdec0: vdec@300000 {
106f126890aSEmmanuel Vadot			compatible = "microchip,sama5d4-vdec";
107f126890aSEmmanuel Vadot			reg = <0x00300000 0x100000>;
108f126890aSEmmanuel Vadot			interrupts = <19 IRQ_TYPE_LEVEL_HIGH 4>;
109f126890aSEmmanuel Vadot			clocks = <&pmc PMC_TYPE_PERIPHERAL 19>;
110f126890aSEmmanuel Vadot		};
111f126890aSEmmanuel Vadot
112f126890aSEmmanuel Vadot		usb0: gadget@400000 {
113f126890aSEmmanuel Vadot			compatible = "atmel,sama5d3-udc";
114f126890aSEmmanuel Vadot			reg = <0x00400000 0x100000
115f126890aSEmmanuel Vadot			       0xfc02c000 0x4000>;
116f126890aSEmmanuel Vadot			interrupts = <47 IRQ_TYPE_LEVEL_HIGH 2>;
117f126890aSEmmanuel Vadot			clocks = <&pmc PMC_TYPE_PERIPHERAL 47>, <&pmc PMC_TYPE_CORE PMC_UTMI>;
118f126890aSEmmanuel Vadot			clock-names = "pclk", "hclk";
119f126890aSEmmanuel Vadot			status = "disabled";
120f126890aSEmmanuel Vadot		};
121f126890aSEmmanuel Vadot
122f126890aSEmmanuel Vadot		usb1: ohci@500000 {
123f126890aSEmmanuel Vadot			compatible = "atmel,at91rm9200-ohci", "usb-ohci";
124f126890aSEmmanuel Vadot			reg = <0x00500000 0x100000>;
125f126890aSEmmanuel Vadot			interrupts = <46 IRQ_TYPE_LEVEL_HIGH 2>;
126f126890aSEmmanuel Vadot			clocks = <&pmc PMC_TYPE_PERIPHERAL 46>, <&pmc PMC_TYPE_PERIPHERAL 46>, <&pmc PMC_TYPE_SYSTEM 6>;
127f126890aSEmmanuel Vadot			clock-names = "ohci_clk", "hclk", "uhpck";
128f126890aSEmmanuel Vadot			status = "disabled";
129f126890aSEmmanuel Vadot		};
130f126890aSEmmanuel Vadot
131f126890aSEmmanuel Vadot		usb2: ehci@600000 {
132f126890aSEmmanuel Vadot			compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
133f126890aSEmmanuel Vadot			reg = <0x00600000 0x100000>;
134f126890aSEmmanuel Vadot			interrupts = <46 IRQ_TYPE_LEVEL_HIGH 2>;
135f126890aSEmmanuel Vadot			clocks = <&pmc PMC_TYPE_CORE PMC_UTMI>, <&pmc PMC_TYPE_PERIPHERAL 46>;
136f126890aSEmmanuel Vadot			clock-names = "usb_clk", "ehci_clk";
137f126890aSEmmanuel Vadot			status = "disabled";
138f126890aSEmmanuel Vadot		};
139f126890aSEmmanuel Vadot
140f126890aSEmmanuel Vadot		L2: cache-controller@a00000 {
141f126890aSEmmanuel Vadot			compatible = "arm,pl310-cache";
142f126890aSEmmanuel Vadot			reg = <0x00a00000 0x1000>;
143f126890aSEmmanuel Vadot			interrupts = <67 IRQ_TYPE_LEVEL_HIGH 4>;
144f126890aSEmmanuel Vadot			cache-unified;
145f126890aSEmmanuel Vadot			cache-level = <2>;
146f126890aSEmmanuel Vadot		};
147f126890aSEmmanuel Vadot
148f126890aSEmmanuel Vadot		ebi: ebi@10000000 {
149f126890aSEmmanuel Vadot			compatible = "atmel,sama5d3-ebi";
150f126890aSEmmanuel Vadot			#address-cells = <2>;
151f126890aSEmmanuel Vadot			#size-cells = <1>;
152f126890aSEmmanuel Vadot			atmel,smc = <&hsmc>;
153f126890aSEmmanuel Vadot			reg = <0x10000000 0x10000000
154f126890aSEmmanuel Vadot			       0x60000000 0x28000000>;
155f126890aSEmmanuel Vadot			ranges = <0x0 0x0 0x10000000 0x10000000
156f126890aSEmmanuel Vadot				  0x1 0x0 0x60000000 0x10000000
157f126890aSEmmanuel Vadot				  0x2 0x0 0x70000000 0x10000000
158f126890aSEmmanuel Vadot				  0x3 0x0 0x80000000 0x8000000>;
159f126890aSEmmanuel Vadot			clocks = <&pmc PMC_TYPE_CORE PMC_MCK>;
160f126890aSEmmanuel Vadot			status = "disabled";
161f126890aSEmmanuel Vadot
162f126890aSEmmanuel Vadot			nand_controller: nand-controller {
163f126890aSEmmanuel Vadot				compatible = "atmel,sama5d3-nand-controller";
164f126890aSEmmanuel Vadot				atmel,nfc-sram = <&nfc_sram>;
165f126890aSEmmanuel Vadot				atmel,nfc-io = <&nfc_io>;
166f126890aSEmmanuel Vadot				ecc-engine = <&pmecc>;
167f126890aSEmmanuel Vadot				#address-cells = <2>;
168f126890aSEmmanuel Vadot				#size-cells = <1>;
169f126890aSEmmanuel Vadot				ranges;
170f126890aSEmmanuel Vadot				status = "disabled";
171f126890aSEmmanuel Vadot			};
172f126890aSEmmanuel Vadot		};
173f126890aSEmmanuel Vadot
174f126890aSEmmanuel Vadot		nfc_io: nfc-io@90000000 {
175f126890aSEmmanuel Vadot			compatible = "atmel,sama5d3-nfc-io", "syscon";
176f126890aSEmmanuel Vadot			reg = <0x90000000 0x8000000>;
177f126890aSEmmanuel Vadot		};
178f126890aSEmmanuel Vadot
179f126890aSEmmanuel Vadot		apb {
180f126890aSEmmanuel Vadot			compatible = "simple-bus";
181f126890aSEmmanuel Vadot			#address-cells = <1>;
182f126890aSEmmanuel Vadot			#size-cells = <1>;
183f126890aSEmmanuel Vadot			ranges;
184f126890aSEmmanuel Vadot
185f126890aSEmmanuel Vadot			hlcdc: hlcdc@f0000000 {
186f126890aSEmmanuel Vadot				compatible = "atmel,sama5d4-hlcdc";
187f126890aSEmmanuel Vadot				reg = <0xf0000000 0x4000>;
188f126890aSEmmanuel Vadot				interrupts = <51 IRQ_TYPE_LEVEL_HIGH 0>;
189f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 51>, <&pmc PMC_TYPE_SYSTEM 3>, <&clk32k>;
190f126890aSEmmanuel Vadot				clock-names = "periph_clk","sys_clk", "slow_clk";
191f126890aSEmmanuel Vadot				status = "disabled";
192f126890aSEmmanuel Vadot
193f126890aSEmmanuel Vadot				hlcdc-display-controller {
194f126890aSEmmanuel Vadot					compatible = "atmel,hlcdc-display-controller";
195f126890aSEmmanuel Vadot					#address-cells = <1>;
196f126890aSEmmanuel Vadot					#size-cells = <0>;
197f126890aSEmmanuel Vadot
198f126890aSEmmanuel Vadot					port@0 {
199f126890aSEmmanuel Vadot						#address-cells = <1>;
200f126890aSEmmanuel Vadot						#size-cells = <0>;
201f126890aSEmmanuel Vadot						reg = <0>;
202f126890aSEmmanuel Vadot					};
203f126890aSEmmanuel Vadot				};
204f126890aSEmmanuel Vadot
205f126890aSEmmanuel Vadot				hlcdc_pwm: hlcdc-pwm {
206f126890aSEmmanuel Vadot					compatible = "atmel,hlcdc-pwm";
207f126890aSEmmanuel Vadot					pinctrl-names = "default";
208f126890aSEmmanuel Vadot					pinctrl-0 = <&pinctrl_lcd_pwm>;
209f126890aSEmmanuel Vadot					#pwm-cells = <3>;
210f126890aSEmmanuel Vadot				};
211f126890aSEmmanuel Vadot			};
212f126890aSEmmanuel Vadot
213f126890aSEmmanuel Vadot			dma1: dma-controller@f0004000 {
214f126890aSEmmanuel Vadot				compatible = "atmel,sama5d4-dma";
215f126890aSEmmanuel Vadot				reg = <0xf0004000 0x200>;
216f126890aSEmmanuel Vadot				interrupts = <50 IRQ_TYPE_LEVEL_HIGH 0>;
217f126890aSEmmanuel Vadot				#dma-cells = <1>;
218f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 50>;
219f126890aSEmmanuel Vadot				clock-names = "dma_clk";
220f126890aSEmmanuel Vadot			};
221f126890aSEmmanuel Vadot
222f126890aSEmmanuel Vadot			isi: isi@f0008000 {
223f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9g45-isi";
224f126890aSEmmanuel Vadot				reg = <0xf0008000 0x4000>;
225f126890aSEmmanuel Vadot				interrupts = <52 IRQ_TYPE_LEVEL_HIGH 5>;
226f126890aSEmmanuel Vadot				pinctrl-names = "default";
227f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_isi_data_0_7>;
228f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 52>;
229f126890aSEmmanuel Vadot				clock-names = "isi_clk";
230f126890aSEmmanuel Vadot				status = "disabled";
231f126890aSEmmanuel Vadot				port {
232f126890aSEmmanuel Vadot					#address-cells = <1>;
233f126890aSEmmanuel Vadot					#size-cells = <0>;
234f126890aSEmmanuel Vadot				};
235f126890aSEmmanuel Vadot			};
236f126890aSEmmanuel Vadot
237f126890aSEmmanuel Vadot			ramc0: ramc@f0010000 {
238f126890aSEmmanuel Vadot				compatible = "atmel,sama5d3-ddramc";
239f126890aSEmmanuel Vadot				reg = <0xf0010000 0x200>;
240f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_SYSTEM 2>, <&pmc PMC_TYPE_PERIPHERAL 16>;
241f126890aSEmmanuel Vadot				clock-names = "ddrck", "mpddr";
242f126890aSEmmanuel Vadot			};
243f126890aSEmmanuel Vadot
244f126890aSEmmanuel Vadot			dma0: dma-controller@f0014000 {
245f126890aSEmmanuel Vadot				compatible = "atmel,sama5d4-dma";
246f126890aSEmmanuel Vadot				reg = <0xf0014000 0x200>;
247f126890aSEmmanuel Vadot				interrupts = <8 IRQ_TYPE_LEVEL_HIGH 0>;
248f126890aSEmmanuel Vadot				#dma-cells = <1>;
249f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 8>;
250f126890aSEmmanuel Vadot				clock-names = "dma_clk";
251f126890aSEmmanuel Vadot			};
252f126890aSEmmanuel Vadot
253f126890aSEmmanuel Vadot			pmc: clock-controller@f0018000 {
254f126890aSEmmanuel Vadot				compatible = "atmel,sama5d4-pmc", "syscon";
255f126890aSEmmanuel Vadot				reg = <0xf0018000 0x120>;
256f126890aSEmmanuel Vadot				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
257f126890aSEmmanuel Vadot				#clock-cells = <2>;
258f126890aSEmmanuel Vadot				clocks = <&clk32k>, <&main_xtal>;
259f126890aSEmmanuel Vadot				clock-names = "slow_clk", "main_xtal";
260f126890aSEmmanuel Vadot			};
261f126890aSEmmanuel Vadot
262f126890aSEmmanuel Vadot			mmc0: mmc@f8000000 {
263f126890aSEmmanuel Vadot				compatible = "atmel,hsmci";
264f126890aSEmmanuel Vadot				reg = <0xf8000000 0x600>;
265f126890aSEmmanuel Vadot				interrupts = <35 IRQ_TYPE_LEVEL_HIGH 0>;
266f126890aSEmmanuel Vadot				dmas = <&dma1
267f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
268f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(0))>;
269f126890aSEmmanuel Vadot				dma-names = "rxtx";
270f126890aSEmmanuel Vadot				pinctrl-names = "default";
271f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3>;
272f126890aSEmmanuel Vadot				status = "disabled";
273f126890aSEmmanuel Vadot				#address-cells = <1>;
274f126890aSEmmanuel Vadot				#size-cells = <0>;
275f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 35>;
276f126890aSEmmanuel Vadot				clock-names = "mci_clk";
277f126890aSEmmanuel Vadot			};
278f126890aSEmmanuel Vadot
279f126890aSEmmanuel Vadot			uart0: serial@f8004000 {
280f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-usart";
281f126890aSEmmanuel Vadot				reg = <0xf8004000 0x100>;
282f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
283f126890aSEmmanuel Vadot				interrupts = <27 IRQ_TYPE_LEVEL_HIGH 5>;
284f126890aSEmmanuel Vadot				dmas = <&dma0
285f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
286f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(22))>,
287f126890aSEmmanuel Vadot				       <&dma0
288f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
289f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(23))>;
290f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
291f126890aSEmmanuel Vadot				pinctrl-names = "default";
292f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_uart0>;
293f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 27>;
294f126890aSEmmanuel Vadot				clock-names = "usart";
295f126890aSEmmanuel Vadot				status = "disabled";
296f126890aSEmmanuel Vadot			};
297f126890aSEmmanuel Vadot
298f126890aSEmmanuel Vadot			ssc0: ssc@f8008000 {
299f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9g45-ssc";
300f126890aSEmmanuel Vadot				reg = <0xf8008000 0x4000>;
301f126890aSEmmanuel Vadot				interrupts = <48 IRQ_TYPE_LEVEL_HIGH 0>;
302f126890aSEmmanuel Vadot				pinctrl-names = "default";
303f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
304f126890aSEmmanuel Vadot				dmas = <&dma1
305f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
306f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(26))>,
307f126890aSEmmanuel Vadot				       <&dma1
308f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
309f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(27))>;
310f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
311f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 48>;
312f126890aSEmmanuel Vadot				clock-names = "pclk";
313f126890aSEmmanuel Vadot				status = "disabled";
314f126890aSEmmanuel Vadot			};
315f126890aSEmmanuel Vadot
316f126890aSEmmanuel Vadot			pwm0: pwm@f800c000 {
317f126890aSEmmanuel Vadot				compatible = "atmel,sama5d3-pwm";
318f126890aSEmmanuel Vadot				reg = <0xf800c000 0x300>;
319f126890aSEmmanuel Vadot				interrupts = <43 IRQ_TYPE_LEVEL_HIGH 4>;
320f126890aSEmmanuel Vadot				#pwm-cells = <3>;
321f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 43>;
322f126890aSEmmanuel Vadot				status = "disabled";
323f126890aSEmmanuel Vadot			};
324f126890aSEmmanuel Vadot
325f126890aSEmmanuel Vadot			spi0: spi@f8010000 {
326f126890aSEmmanuel Vadot				#address-cells = <1>;
327f126890aSEmmanuel Vadot				#size-cells = <0>;
328f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-spi";
329f126890aSEmmanuel Vadot				reg = <0xf8010000 0x100>;
330f126890aSEmmanuel Vadot				interrupts = <37 IRQ_TYPE_LEVEL_HIGH 3>;
331f126890aSEmmanuel Vadot				dmas = <&dma1
332f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
333f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(10))>,
334f126890aSEmmanuel Vadot				       <&dma1
335f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
336f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(11))>;
337f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
338f126890aSEmmanuel Vadot				pinctrl-names = "default";
339f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_spi0>;
340f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 37>;
341f126890aSEmmanuel Vadot				clock-names = "spi_clk";
342f126890aSEmmanuel Vadot				status = "disabled";
343f126890aSEmmanuel Vadot			};
344f126890aSEmmanuel Vadot
345f126890aSEmmanuel Vadot			i2c0: i2c@f8014000 {
346f126890aSEmmanuel Vadot				compatible = "atmel,sama5d4-i2c";
347f126890aSEmmanuel Vadot				reg = <0xf8014000 0x4000>;
348f126890aSEmmanuel Vadot				interrupts = <32 IRQ_TYPE_LEVEL_HIGH 6>;
349f126890aSEmmanuel Vadot				dmas = <&dma1
350f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
351f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(2))>,
352f126890aSEmmanuel Vadot				       <&dma1
353f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
354f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(3))>;
355f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
356f126890aSEmmanuel Vadot				pinctrl-names = "default", "gpio";
357f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_i2c0>;
358f126890aSEmmanuel Vadot				pinctrl-1 = <&pinctrl_i2c0_gpio>;
359f126890aSEmmanuel Vadot				sda-gpios = <&pioA 30 GPIO_ACTIVE_HIGH>;
360f126890aSEmmanuel Vadot				scl-gpios = <&pioA 31 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
361f126890aSEmmanuel Vadot				#address-cells = <1>;
362f126890aSEmmanuel Vadot				#size-cells = <0>;
363f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 32>;
364f126890aSEmmanuel Vadot				status = "disabled";
365f126890aSEmmanuel Vadot			};
366f126890aSEmmanuel Vadot
367f126890aSEmmanuel Vadot			i2c1: i2c@f8018000 {
368f126890aSEmmanuel Vadot				compatible = "atmel,sama5d4-i2c";
369f126890aSEmmanuel Vadot				reg = <0xf8018000 0x4000>;
370f126890aSEmmanuel Vadot				interrupts = <33 IRQ_TYPE_LEVEL_HIGH 6>;
371f126890aSEmmanuel Vadot				dmas = <&dma0
372f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
373f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(4))>,
374f126890aSEmmanuel Vadot				       <&dma0
375f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
376f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(5))>;
377f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
378f126890aSEmmanuel Vadot				pinctrl-names = "default", "gpio";
379f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_i2c1>;
380f126890aSEmmanuel Vadot				pinctrl-1 = <&pinctrl_i2c1_gpio>;
381f126890aSEmmanuel Vadot				sda-gpios = <&pioE 29 GPIO_ACTIVE_HIGH>;
382f126890aSEmmanuel Vadot				scl-gpios = <&pioE 30 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
383f126890aSEmmanuel Vadot				#address-cells = <1>;
384f126890aSEmmanuel Vadot				#size-cells = <0>;
385f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 33>;
386f126890aSEmmanuel Vadot				status = "disabled";
387f126890aSEmmanuel Vadot			};
388f126890aSEmmanuel Vadot
389f126890aSEmmanuel Vadot			tcb0: timer@f801c000 {
390f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9x5-tcb", "simple-mfd", "syscon";
391f126890aSEmmanuel Vadot				#address-cells = <1>;
392f126890aSEmmanuel Vadot				#size-cells = <0>;
393f126890aSEmmanuel Vadot				reg = <0xf801c000 0x100>;
394f126890aSEmmanuel Vadot				interrupts = <40 IRQ_TYPE_LEVEL_HIGH 0>;
395f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 40>, <&clk32k>;
396f126890aSEmmanuel Vadot				clock-names = "t0_clk", "slow_clk";
397f126890aSEmmanuel Vadot			};
398f126890aSEmmanuel Vadot
399f126890aSEmmanuel Vadot			macb0: ethernet@f8020000 {
400f126890aSEmmanuel Vadot				compatible = "atmel,sama5d4-gem";
401f126890aSEmmanuel Vadot				reg = <0xf8020000 0x100>;
402f126890aSEmmanuel Vadot				interrupts = <54 IRQ_TYPE_LEVEL_HIGH 3>;
403f126890aSEmmanuel Vadot				pinctrl-names = "default";
404f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_macb0_rmii>;
405f126890aSEmmanuel Vadot				#address-cells = <1>;
406f126890aSEmmanuel Vadot				#size-cells = <0>;
407f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 54>, <&pmc PMC_TYPE_PERIPHERAL 54>;
408f126890aSEmmanuel Vadot				clock-names = "hclk", "pclk";
409f126890aSEmmanuel Vadot				status = "disabled";
410f126890aSEmmanuel Vadot			};
411f126890aSEmmanuel Vadot
412f126890aSEmmanuel Vadot			i2c2: i2c@f8024000 {
413f126890aSEmmanuel Vadot				compatible = "atmel,sama5d4-i2c";
414f126890aSEmmanuel Vadot				reg = <0xf8024000 0x4000>;
415f126890aSEmmanuel Vadot				interrupts = <34 IRQ_TYPE_LEVEL_HIGH 6>;
416f126890aSEmmanuel Vadot				dmas = <&dma1
417f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
418f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(6))>,
419f126890aSEmmanuel Vadot				       <&dma1
420f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
421f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(7))>;
422f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
423f126890aSEmmanuel Vadot				pinctrl-names = "default", "gpio";
424f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_i2c2>;
425f126890aSEmmanuel Vadot				pinctrl-1 = <&pinctrl_i2c2_gpio>;
426f126890aSEmmanuel Vadot				sda-gpios = <&pioB 29 GPIO_ACTIVE_HIGH>;
427f126890aSEmmanuel Vadot				scl-gpios = <&pioB 30 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
428f126890aSEmmanuel Vadot				#address-cells = <1>;
429f126890aSEmmanuel Vadot				#size-cells = <0>;
430f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 34>;
431f126890aSEmmanuel Vadot				status = "disabled";
432f126890aSEmmanuel Vadot			};
433f126890aSEmmanuel Vadot
434f126890aSEmmanuel Vadot			sfr: sfr@f8028000 {
435f126890aSEmmanuel Vadot				compatible = "atmel,sama5d4-sfr", "syscon";
436f126890aSEmmanuel Vadot				reg = <0xf8028000 0x60>;
437f126890aSEmmanuel Vadot			};
438f126890aSEmmanuel Vadot
439f126890aSEmmanuel Vadot			usart0: serial@f802c000 {
440f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-usart";
441f126890aSEmmanuel Vadot				reg = <0xf802c000 0x100>;
442f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
443f126890aSEmmanuel Vadot				interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>;
444f126890aSEmmanuel Vadot				dmas = <&dma0
445f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
446f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(36))>,
447f126890aSEmmanuel Vadot				       <&dma0
448f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
449f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(37))>;
450f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
451f126890aSEmmanuel Vadot				pinctrl-names = "default";
452f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_usart0 &pinctrl_usart0_rts &pinctrl_usart0_cts>;
453f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 6>;
454f126890aSEmmanuel Vadot				clock-names = "usart";
455f126890aSEmmanuel Vadot				status = "disabled";
456f126890aSEmmanuel Vadot			};
457f126890aSEmmanuel Vadot
458f126890aSEmmanuel Vadot			usart1: serial@f8030000 {
459f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-usart";
460f126890aSEmmanuel Vadot				reg = <0xf8030000 0x100>;
461f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
462f126890aSEmmanuel Vadot				interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
463f126890aSEmmanuel Vadot				dmas = <&dma0
464f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
465f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(38))>,
466f126890aSEmmanuel Vadot				       <&dma0
467f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
468f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(39))>;
469f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
470f126890aSEmmanuel Vadot				pinctrl-names = "default";
471f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_usart1 &pinctrl_usart1_rts &pinctrl_usart1_cts>;
472f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 7>;
473f126890aSEmmanuel Vadot				clock-names = "usart";
474f126890aSEmmanuel Vadot				status = "disabled";
475f126890aSEmmanuel Vadot			};
476f126890aSEmmanuel Vadot
477f126890aSEmmanuel Vadot			mmc1: mmc@fc000000 {
478f126890aSEmmanuel Vadot				compatible = "atmel,hsmci";
479f126890aSEmmanuel Vadot				reg = <0xfc000000 0x600>;
480f126890aSEmmanuel Vadot				interrupts = <36 IRQ_TYPE_LEVEL_HIGH 0>;
481f126890aSEmmanuel Vadot				dmas = <&dma1
482f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
483f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(1))>;
484f126890aSEmmanuel Vadot				dma-names = "rxtx";
485f126890aSEmmanuel Vadot				pinctrl-names = "default";
486f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3>;
487f126890aSEmmanuel Vadot				status = "disabled";
488f126890aSEmmanuel Vadot				#address-cells = <1>;
489f126890aSEmmanuel Vadot				#size-cells = <0>;
490f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 36>;
491f126890aSEmmanuel Vadot				clock-names = "mci_clk";
492f126890aSEmmanuel Vadot			};
493f126890aSEmmanuel Vadot
494f126890aSEmmanuel Vadot			uart1: serial@fc004000 {
495f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-usart";
496f126890aSEmmanuel Vadot				reg = <0xfc004000 0x100>;
497f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
498f126890aSEmmanuel Vadot				interrupts = <28 IRQ_TYPE_LEVEL_HIGH 5>;
499f126890aSEmmanuel Vadot				dmas = <&dma0
500f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
501f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(24))>,
502f126890aSEmmanuel Vadot				       <&dma0
503f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
504f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(25))>;
505f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
506f126890aSEmmanuel Vadot				pinctrl-names = "default";
507f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_uart1>;
508f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 28>;
509f126890aSEmmanuel Vadot				clock-names = "usart";
510f126890aSEmmanuel Vadot				status = "disabled";
511f126890aSEmmanuel Vadot			};
512f126890aSEmmanuel Vadot
513f126890aSEmmanuel Vadot			usart2: serial@fc008000 {
514f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-usart";
515f126890aSEmmanuel Vadot				reg = <0xfc008000 0x100>;
516f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
517f126890aSEmmanuel Vadot				interrupts = <29 IRQ_TYPE_LEVEL_HIGH 5>;
518f126890aSEmmanuel Vadot				dmas = <&dma1
519f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
520f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(16))>,
521f126890aSEmmanuel Vadot				       <&dma1
522f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
523f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(17))>;
524f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
525f126890aSEmmanuel Vadot				pinctrl-names = "default";
526f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_usart2 &pinctrl_usart2_rts &pinctrl_usart2_cts>;
527f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 29>;
528f126890aSEmmanuel Vadot				clock-names = "usart";
529f126890aSEmmanuel Vadot				status = "disabled";
530f126890aSEmmanuel Vadot			};
531f126890aSEmmanuel Vadot
532f126890aSEmmanuel Vadot			usart3: serial@fc00c000 {
533f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-usart";
534f126890aSEmmanuel Vadot				reg = <0xfc00c000 0x100>;
535f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
536f126890aSEmmanuel Vadot				interrupts = <30 IRQ_TYPE_LEVEL_HIGH 5>;
537f126890aSEmmanuel Vadot				dmas = <&dma1
538f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
539f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(18))>,
540f126890aSEmmanuel Vadot				       <&dma1
541f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
542f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(19))>;
543f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
544f126890aSEmmanuel Vadot				pinctrl-names = "default";
545f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_usart3>;
546f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 30>;
547f126890aSEmmanuel Vadot				clock-names = "usart";
548f126890aSEmmanuel Vadot				status = "disabled";
549f126890aSEmmanuel Vadot			};
550f126890aSEmmanuel Vadot
551f126890aSEmmanuel Vadot			usart4: serial@fc010000 {
552f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-usart";
553f126890aSEmmanuel Vadot				reg = <0xfc010000 0x100>;
554f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
555f126890aSEmmanuel Vadot				interrupts = <31 IRQ_TYPE_LEVEL_HIGH 5>;
556f126890aSEmmanuel Vadot				dmas = <&dma1
557f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
558f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(20))>,
559f126890aSEmmanuel Vadot				       <&dma1
560f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
561f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(21))>;
562f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
563f126890aSEmmanuel Vadot				pinctrl-names = "default";
564f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_usart4>;
565f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 31>;
566f126890aSEmmanuel Vadot				clock-names = "usart";
567f126890aSEmmanuel Vadot				status = "disabled";
568f126890aSEmmanuel Vadot			};
569f126890aSEmmanuel Vadot
570f126890aSEmmanuel Vadot			ssc1: ssc@fc014000 {
571f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9g45-ssc";
572f126890aSEmmanuel Vadot				reg = <0xfc014000 0x4000>;
573f126890aSEmmanuel Vadot				interrupts = <49 IRQ_TYPE_LEVEL_HIGH 0>;
574f126890aSEmmanuel Vadot				pinctrl-names = "default";
575f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>;
576f126890aSEmmanuel Vadot				dmas = <&dma1
577f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
578f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(28))>,
579f126890aSEmmanuel Vadot				       <&dma1
580f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
581f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(29))>;
582f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
583f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 49>;
584f126890aSEmmanuel Vadot				clock-names = "pclk";
585f126890aSEmmanuel Vadot				status = "disabled";
586f126890aSEmmanuel Vadot			};
587f126890aSEmmanuel Vadot
588f126890aSEmmanuel Vadot			spi1: spi@fc018000 {
589f126890aSEmmanuel Vadot				#address-cells = <1>;
590f126890aSEmmanuel Vadot				#size-cells = <0>;
591f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-spi";
592f126890aSEmmanuel Vadot				reg = <0xfc018000 0x100>;
593f126890aSEmmanuel Vadot				interrupts = <38 IRQ_TYPE_LEVEL_HIGH 3>;
594f126890aSEmmanuel Vadot				dmas = <&dma1
595f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
596f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(12))>,
597f126890aSEmmanuel Vadot				       <&dma1
598f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
599f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(13))>;
600f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
601f126890aSEmmanuel Vadot				pinctrl-names = "default";
602f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_spi1>;
603f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 38>;
604f126890aSEmmanuel Vadot				clock-names = "spi_clk";
605f126890aSEmmanuel Vadot				status = "disabled";
606f126890aSEmmanuel Vadot			};
607f126890aSEmmanuel Vadot
608f126890aSEmmanuel Vadot			spi2: spi@fc01c000 {
609f126890aSEmmanuel Vadot				#address-cells = <1>;
610f126890aSEmmanuel Vadot				#size-cells = <0>;
611f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-spi";
612f126890aSEmmanuel Vadot				reg = <0xfc01c000 0x100>;
613f126890aSEmmanuel Vadot				interrupts = <39 IRQ_TYPE_LEVEL_HIGH 3>;
614f126890aSEmmanuel Vadot				dmas = <&dma0
615f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
616f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(14))>,
617f126890aSEmmanuel Vadot				       <&dma0
618f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
619f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(15))>;
620f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
621f126890aSEmmanuel Vadot				pinctrl-names = "default";
622f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_spi2>;
623f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 39>;
624f126890aSEmmanuel Vadot				clock-names = "spi_clk";
625f126890aSEmmanuel Vadot				status = "disabled";
626f126890aSEmmanuel Vadot			};
627f126890aSEmmanuel Vadot
628f126890aSEmmanuel Vadot			tcb1: timer@fc020000 {
629f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9x5-tcb", "simple-mfd", "syscon";
630f126890aSEmmanuel Vadot				#address-cells = <1>;
631f126890aSEmmanuel Vadot				#size-cells = <0>;
632f126890aSEmmanuel Vadot				reg = <0xfc020000 0x100>;
633f126890aSEmmanuel Vadot				interrupts = <41 IRQ_TYPE_LEVEL_HIGH 0>;
634f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 41>, <&clk32k>;
635f126890aSEmmanuel Vadot				clock-names = "t0_clk", "slow_clk";
636f126890aSEmmanuel Vadot			};
637f126890aSEmmanuel Vadot
638f126890aSEmmanuel Vadot			tcb2: timer@fc024000 {
639f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9x5-tcb", "simple-mfd", "syscon";
640f126890aSEmmanuel Vadot				#address-cells = <1>;
641f126890aSEmmanuel Vadot				#size-cells = <0>;
642f126890aSEmmanuel Vadot				reg = <0xfc024000 0x100>;
643f126890aSEmmanuel Vadot				interrupts = <42 IRQ_TYPE_LEVEL_HIGH 0>;
644f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 42>, <&clk32k>;
645f126890aSEmmanuel Vadot				clock-names = "t0_clk", "slow_clk";
646f126890aSEmmanuel Vadot			};
647f126890aSEmmanuel Vadot
648f126890aSEmmanuel Vadot			macb1: ethernet@fc028000 {
649f126890aSEmmanuel Vadot				compatible = "atmel,sama5d4-gem";
650f126890aSEmmanuel Vadot				reg = <0xfc028000 0x100>;
651f126890aSEmmanuel Vadot				interrupts = <55 IRQ_TYPE_LEVEL_HIGH 3>;
652f126890aSEmmanuel Vadot				pinctrl-names = "default";
653f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_macb1_rmii>;
654f126890aSEmmanuel Vadot				#address-cells = <1>;
655f126890aSEmmanuel Vadot				#size-cells = <0>;
656f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 55>, <&pmc PMC_TYPE_PERIPHERAL 55>;
657f126890aSEmmanuel Vadot				clock-names = "hclk", "pclk";
658f126890aSEmmanuel Vadot				status = "disabled";
659f126890aSEmmanuel Vadot			};
660f126890aSEmmanuel Vadot
661f126890aSEmmanuel Vadot			trng@fc030000 {
662f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9g45-trng";
663f126890aSEmmanuel Vadot				reg = <0xfc030000 0x100>;
664f126890aSEmmanuel Vadot				interrupts = <53 IRQ_TYPE_LEVEL_HIGH 0>;
665f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 53>;
666f126890aSEmmanuel Vadot			};
667f126890aSEmmanuel Vadot
668f126890aSEmmanuel Vadot			adc0: adc@fc034000 {
669f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9x5-adc";
670f126890aSEmmanuel Vadot				reg = <0xfc034000 0x100>;
671f126890aSEmmanuel Vadot				interrupts = <44 IRQ_TYPE_LEVEL_HIGH 5>;
672f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 44>,
673f126890aSEmmanuel Vadot					 <&adc_op_clk>;
674f126890aSEmmanuel Vadot				clock-names = "adc_clk", "adc_op_clk";
675f126890aSEmmanuel Vadot				atmel,adc-channels-used = <0x01f>;
676f126890aSEmmanuel Vadot				atmel,adc-startup-time = <40>;
677f126890aSEmmanuel Vadot				atmel,adc-use-external-triggers;
678f126890aSEmmanuel Vadot				atmel,adc-vref = <3000>;
679f126890aSEmmanuel Vadot				atmel,adc-sample-hold-time = <11>;
680f126890aSEmmanuel Vadot				atmel,adc-ts-pressure-threshold = <10000>;
681f126890aSEmmanuel Vadot				status = "disabled";
682f126890aSEmmanuel Vadot			};
683f126890aSEmmanuel Vadot
684f126890aSEmmanuel Vadot			aes: crypto@fc044000 {
685f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9g46-aes";
686f126890aSEmmanuel Vadot				reg = <0xfc044000 0x100>;
687f126890aSEmmanuel Vadot				interrupts = <12 IRQ_TYPE_LEVEL_HIGH 0>;
688f126890aSEmmanuel Vadot				dmas = <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
689f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(41))>,
690f126890aSEmmanuel Vadot				       <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
691f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(40))>;
692f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
693f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 12>;
694f126890aSEmmanuel Vadot				clock-names = "aes_clk";
695f126890aSEmmanuel Vadot			};
696f126890aSEmmanuel Vadot
69784943d6fSEmmanuel Vadot			tdes: crypto@fc04c000 {
698f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9g46-tdes";
699f126890aSEmmanuel Vadot				reg = <0xfc04c000 0x100>;
700f126890aSEmmanuel Vadot				interrupts = <14 IRQ_TYPE_LEVEL_HIGH 0>;
701f126890aSEmmanuel Vadot				dmas = <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
702f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(42))>,
703f126890aSEmmanuel Vadot				       <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
704f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(43))>;
705f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
706f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 14>;
707f126890aSEmmanuel Vadot				clock-names = "tdes_clk";
708f126890aSEmmanuel Vadot			};
709f126890aSEmmanuel Vadot
710f126890aSEmmanuel Vadot			sha: crypto@fc050000 {
711f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9g46-sha";
712f126890aSEmmanuel Vadot				reg = <0xfc050000 0x100>;
713f126890aSEmmanuel Vadot				interrupts = <15 IRQ_TYPE_LEVEL_HIGH 0>;
714f126890aSEmmanuel Vadot				dmas = <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
715f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(44))>;
716f126890aSEmmanuel Vadot				dma-names = "tx";
717f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 15>;
718f126890aSEmmanuel Vadot				clock-names = "sha_clk";
719f126890aSEmmanuel Vadot			};
720f126890aSEmmanuel Vadot
721f126890aSEmmanuel Vadot			hsmc: smc@fc05c000 {
722f126890aSEmmanuel Vadot				compatible = "atmel,sama5d3-smc", "syscon", "simple-mfd";
723f126890aSEmmanuel Vadot				reg = <0xfc05c000 0x1000>;
724f126890aSEmmanuel Vadot				interrupts = <22 IRQ_TYPE_LEVEL_HIGH 6>;
725f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 22>;
726f126890aSEmmanuel Vadot				#address-cells = <1>;
727f126890aSEmmanuel Vadot				#size-cells = <1>;
728f126890aSEmmanuel Vadot				ranges;
729f126890aSEmmanuel Vadot
730f126890aSEmmanuel Vadot				pmecc: ecc-engine@ffffc070 {
731f126890aSEmmanuel Vadot					compatible = "atmel,sama5d4-pmecc";
732f126890aSEmmanuel Vadot					reg = <0xfc05c070 0x490>,
733f126890aSEmmanuel Vadot					      <0xfc05c500 0x100>;
734f126890aSEmmanuel Vadot				};
735f126890aSEmmanuel Vadot			};
736f126890aSEmmanuel Vadot
737f126890aSEmmanuel Vadot			reset_controller: reset-controller@fc068600 {
738f126890aSEmmanuel Vadot				compatible = "atmel,sama5d3-rstc", "atmel,at91sam9g45-rstc";
739f126890aSEmmanuel Vadot				reg = <0xfc068600 0x10>;
740f126890aSEmmanuel Vadot				clocks = <&clk32k>;
741f126890aSEmmanuel Vadot			};
742f126890aSEmmanuel Vadot
743f126890aSEmmanuel Vadot			shutdown_controller: poweroff@fc068610 {
744f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9x5-shdwc";
745f126890aSEmmanuel Vadot				reg = <0xfc068610 0x10>;
746f126890aSEmmanuel Vadot				clocks = <&clk32k>;
747f126890aSEmmanuel Vadot			};
748f126890aSEmmanuel Vadot
749f126890aSEmmanuel Vadot			pit: timer@fc068630 {
750f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-pit";
751f126890aSEmmanuel Vadot				reg = <0xfc068630 0x10>;
752f126890aSEmmanuel Vadot				interrupts = <3 IRQ_TYPE_LEVEL_HIGH 5>;
753f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_CORE PMC_MCK2>;
754f126890aSEmmanuel Vadot			};
755f126890aSEmmanuel Vadot
756f126890aSEmmanuel Vadot			watchdog: watchdog@fc068640 {
757f126890aSEmmanuel Vadot				compatible = "atmel,sama5d4-wdt";
758f126890aSEmmanuel Vadot				reg = <0xfc068640 0x10>;
759f126890aSEmmanuel Vadot				interrupts = <4 IRQ_TYPE_LEVEL_HIGH 7>;
760f126890aSEmmanuel Vadot				clocks = <&clk32k>;
761f126890aSEmmanuel Vadot				status = "disabled";
762f126890aSEmmanuel Vadot			};
763f126890aSEmmanuel Vadot
764f126890aSEmmanuel Vadot			clk32k: clock-controller@fc068650 {
765f126890aSEmmanuel Vadot				compatible = "atmel,sama5d4-sckc";
766f126890aSEmmanuel Vadot				reg = <0xfc068650 0x4>;
767f126890aSEmmanuel Vadot				#clock-cells = <0>;
768f126890aSEmmanuel Vadot				clocks = <&slow_xtal>;
769f126890aSEmmanuel Vadot			};
770f126890aSEmmanuel Vadot
771f126890aSEmmanuel Vadot			rtc@fc0686b0 {
772f126890aSEmmanuel Vadot				compatible = "atmel,sama5d4-rtc";
773f126890aSEmmanuel Vadot				reg = <0xfc0686b0 0x30>;
774f126890aSEmmanuel Vadot				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
775f126890aSEmmanuel Vadot				clocks = <&clk32k>;
776f126890aSEmmanuel Vadot			};
777f126890aSEmmanuel Vadot
778f126890aSEmmanuel Vadot			dbgu: serial@fc069000 {
779f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
780f126890aSEmmanuel Vadot				reg = <0xfc069000 0x200>;
781f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
782f126890aSEmmanuel Vadot				interrupts = <45 IRQ_TYPE_LEVEL_HIGH 7>;
783f126890aSEmmanuel Vadot				pinctrl-names = "default";
784f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_dbgu>;
785f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 45>;
786f126890aSEmmanuel Vadot				clock-names = "usart";
787f126890aSEmmanuel Vadot				status = "disabled";
788f126890aSEmmanuel Vadot			};
789f126890aSEmmanuel Vadot
790f126890aSEmmanuel Vadot
791f126890aSEmmanuel Vadot			pinctrl: pinctrl@fc06a000 {
792f126890aSEmmanuel Vadot				#address-cells = <1>;
793f126890aSEmmanuel Vadot				#size-cells = <1>;
794*b2d2a78aSEmmanuel Vadot				compatible = "atmel,sama5d3-pinctrl", "simple-mfd";
795f126890aSEmmanuel Vadot				ranges = <0xfc068000 0xfc068000 0x100
796f126890aSEmmanuel Vadot					  0xfc06a000 0xfc06a000 0x4000>;
797f126890aSEmmanuel Vadot				/* WARNING: revisit as pin spec has changed */
798f126890aSEmmanuel Vadot				atmel,mux-mask = <
799f126890aSEmmanuel Vadot					/*   A          B          C  */
800f126890aSEmmanuel Vadot					0xffffffff 0x3ffcfe7c 0x1c010101	/* pioA */
801f126890aSEmmanuel Vadot					0x7fffffff 0xfffccc3a 0x3f00cc3a	/* pioB */
802f126890aSEmmanuel Vadot					0xffffffff 0x3ff83fff 0xff00ffff	/* pioC */
803f126890aSEmmanuel Vadot					0xb003ff00 0x8002a800 0x00000000	/* pioD */
804f126890aSEmmanuel Vadot					0xffffffff 0x7fffffff 0x76fff1bf	/* pioE */
805f126890aSEmmanuel Vadot					>;
806f126890aSEmmanuel Vadot
807f126890aSEmmanuel Vadot				pioA: gpio@fc06a000 {
808f126890aSEmmanuel Vadot					compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
809f126890aSEmmanuel Vadot					reg = <0xfc06a000 0x100>;
810f126890aSEmmanuel Vadot					interrupts = <23 IRQ_TYPE_LEVEL_HIGH 1>;
811f126890aSEmmanuel Vadot					#gpio-cells = <2>;
812f126890aSEmmanuel Vadot					gpio-controller;
813f126890aSEmmanuel Vadot					interrupt-controller;
814f126890aSEmmanuel Vadot					#interrupt-cells = <2>;
815f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 23>;
816f126890aSEmmanuel Vadot				};
817f126890aSEmmanuel Vadot
818f126890aSEmmanuel Vadot				pioB: gpio@fc06b000 {
819f126890aSEmmanuel Vadot					compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
820f126890aSEmmanuel Vadot					reg = <0xfc06b000 0x100>;
821f126890aSEmmanuel Vadot					interrupts = <24 IRQ_TYPE_LEVEL_HIGH 1>;
822f126890aSEmmanuel Vadot					#gpio-cells = <2>;
823f126890aSEmmanuel Vadot					gpio-controller;
824f126890aSEmmanuel Vadot					interrupt-controller;
825f126890aSEmmanuel Vadot					#interrupt-cells = <2>;
826f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 24>;
827f126890aSEmmanuel Vadot				};
828f126890aSEmmanuel Vadot
829f126890aSEmmanuel Vadot				pioC: gpio@fc06c000 {
830f126890aSEmmanuel Vadot					compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
831f126890aSEmmanuel Vadot					reg = <0xfc06c000 0x100>;
832f126890aSEmmanuel Vadot					interrupts = <25 IRQ_TYPE_LEVEL_HIGH 1>;
833f126890aSEmmanuel Vadot					#gpio-cells = <2>;
834f126890aSEmmanuel Vadot					gpio-controller;
835f126890aSEmmanuel Vadot					interrupt-controller;
836f126890aSEmmanuel Vadot					#interrupt-cells = <2>;
837f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 25>;
838f126890aSEmmanuel Vadot				};
839f126890aSEmmanuel Vadot
840f126890aSEmmanuel Vadot				pioD: gpio@fc068000 {
841f126890aSEmmanuel Vadot					compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
842f126890aSEmmanuel Vadot					reg = <0xfc068000 0x100>;
843f126890aSEmmanuel Vadot					interrupts = <5 IRQ_TYPE_LEVEL_HIGH 1>;
844f126890aSEmmanuel Vadot					#gpio-cells = <2>;
845f126890aSEmmanuel Vadot					gpio-controller;
846f126890aSEmmanuel Vadot					interrupt-controller;
847f126890aSEmmanuel Vadot					#interrupt-cells = <2>;
848f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 5>;
849f126890aSEmmanuel Vadot				};
850f126890aSEmmanuel Vadot
851f126890aSEmmanuel Vadot				pioE: gpio@fc06d000 {
852f126890aSEmmanuel Vadot					compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
853f126890aSEmmanuel Vadot					reg = <0xfc06d000 0x100>;
854f126890aSEmmanuel Vadot					interrupts = <26 IRQ_TYPE_LEVEL_HIGH 1>;
855f126890aSEmmanuel Vadot					#gpio-cells = <2>;
856f126890aSEmmanuel Vadot					gpio-controller;
857f126890aSEmmanuel Vadot					interrupt-controller;
858f126890aSEmmanuel Vadot					#interrupt-cells = <2>;
859f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 26>;
860f126890aSEmmanuel Vadot				};
861f126890aSEmmanuel Vadot
862f126890aSEmmanuel Vadot				/* pinctrl pin settings */
863f126890aSEmmanuel Vadot				adc0 {
864f126890aSEmmanuel Vadot					pinctrl_adc0_adtrg: adc0_adtrg {
865f126890aSEmmanuel Vadot						atmel,pins =
866f126890aSEmmanuel Vadot							<AT91_PIOE 31 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* conflicts with USBA_VBUS */
867f126890aSEmmanuel Vadot					};
868f126890aSEmmanuel Vadot					pinctrl_adc0_ad0: adc0_ad0 {
869f126890aSEmmanuel Vadot						atmel,pins =
870f126890aSEmmanuel Vadot							<AT91_PIOC 27 AT91_PERIPH_A AT91_PINCTRL_NONE>;
871f126890aSEmmanuel Vadot					};
872f126890aSEmmanuel Vadot					pinctrl_adc0_ad1: adc0_ad1 {
873f126890aSEmmanuel Vadot						atmel,pins =
874f126890aSEmmanuel Vadot							<AT91_PIOC 28 AT91_PERIPH_A AT91_PINCTRL_NONE>;
875f126890aSEmmanuel Vadot					};
876f126890aSEmmanuel Vadot					pinctrl_adc0_ad2: adc0_ad2 {
877f126890aSEmmanuel Vadot						atmel,pins =
878f126890aSEmmanuel Vadot							<AT91_PIOC 29 AT91_PERIPH_A AT91_PINCTRL_NONE>;
879f126890aSEmmanuel Vadot					};
880f126890aSEmmanuel Vadot					pinctrl_adc0_ad3: adc0_ad3 {
881f126890aSEmmanuel Vadot						atmel,pins =
882f126890aSEmmanuel Vadot							<AT91_PIOC 30 AT91_PERIPH_A AT91_PINCTRL_NONE>;
883f126890aSEmmanuel Vadot					};
884f126890aSEmmanuel Vadot					pinctrl_adc0_ad4: adc0_ad4 {
885f126890aSEmmanuel Vadot						atmel,pins =
886f126890aSEmmanuel Vadot							<AT91_PIOC 31 AT91_PERIPH_A AT91_PINCTRL_NONE>;
887f126890aSEmmanuel Vadot					};
888f126890aSEmmanuel Vadot				};
889f126890aSEmmanuel Vadot
890f126890aSEmmanuel Vadot				dbgu {
891f126890aSEmmanuel Vadot					pinctrl_dbgu: dbgu-0 {
892f126890aSEmmanuel Vadot						atmel,pins =
893f126890aSEmmanuel Vadot							<AT91_PIOB 24 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* conflicts with D14 and TDI */
894f126890aSEmmanuel Vadot							 AT91_PIOB 25 AT91_PERIPH_A AT91_PINCTRL_NONE>;		/* conflicts with D15 and TDO */
895f126890aSEmmanuel Vadot					};
896f126890aSEmmanuel Vadot				};
897f126890aSEmmanuel Vadot
898f126890aSEmmanuel Vadot				ebi {
899f126890aSEmmanuel Vadot					pinctrl_ebi_addr: ebi-addr-0 {
900f126890aSEmmanuel Vadot						atmel,pins =
901f126890aSEmmanuel Vadot							<AT91_PIOE 0 AT91_PERIPH_A AT91_PINCTRL_NONE
902f126890aSEmmanuel Vadot							 AT91_PIOE 1 AT91_PERIPH_A AT91_PINCTRL_NONE
903f126890aSEmmanuel Vadot							 AT91_PIOE 2 AT91_PERIPH_A AT91_PINCTRL_NONE
904f126890aSEmmanuel Vadot							 AT91_PIOE 3 AT91_PERIPH_A AT91_PINCTRL_NONE
905f126890aSEmmanuel Vadot							 AT91_PIOE 4 AT91_PERIPH_A AT91_PINCTRL_NONE
906f126890aSEmmanuel Vadot							 AT91_PIOE 5 AT91_PERIPH_A AT91_PINCTRL_NONE
907f126890aSEmmanuel Vadot							 AT91_PIOE 6 AT91_PERIPH_A AT91_PINCTRL_NONE
908f126890aSEmmanuel Vadot							 AT91_PIOE 7 AT91_PERIPH_A AT91_PINCTRL_NONE
909f126890aSEmmanuel Vadot							 AT91_PIOE 8 AT91_PERIPH_A AT91_PINCTRL_NONE
910f126890aSEmmanuel Vadot							 AT91_PIOE 9 AT91_PERIPH_A AT91_PINCTRL_NONE
911f126890aSEmmanuel Vadot							 AT91_PIOE 10 AT91_PERIPH_A AT91_PINCTRL_NONE
912f126890aSEmmanuel Vadot							 AT91_PIOE 11 AT91_PERIPH_A AT91_PINCTRL_NONE
913f126890aSEmmanuel Vadot							 AT91_PIOE 12 AT91_PERIPH_A AT91_PINCTRL_NONE
914f126890aSEmmanuel Vadot							 AT91_PIOE 13 AT91_PERIPH_A AT91_PINCTRL_NONE
915f126890aSEmmanuel Vadot							 AT91_PIOE 14 AT91_PERIPH_A AT91_PINCTRL_NONE
916f126890aSEmmanuel Vadot							 AT91_PIOE 15 AT91_PERIPH_A AT91_PINCTRL_NONE
917f126890aSEmmanuel Vadot							 AT91_PIOE 16 AT91_PERIPH_A AT91_PINCTRL_NONE
918f126890aSEmmanuel Vadot							 AT91_PIOE 17 AT91_PERIPH_A AT91_PINCTRL_NONE
919f126890aSEmmanuel Vadot							 AT91_PIOE 18 AT91_PERIPH_A AT91_PINCTRL_NONE
920f126890aSEmmanuel Vadot							 AT91_PIOE 19 AT91_PERIPH_A AT91_PINCTRL_NONE
921f126890aSEmmanuel Vadot							 AT91_PIOE 20 AT91_PERIPH_A AT91_PINCTRL_NONE
922f126890aSEmmanuel Vadot							 AT91_PIOC 17 AT91_PERIPH_A AT91_PINCTRL_NONE
923f126890aSEmmanuel Vadot							 AT91_PIOC 18 AT91_PERIPH_A AT91_PINCTRL_NONE
924f126890aSEmmanuel Vadot							 AT91_PIOE 21 AT91_PERIPH_A AT91_PINCTRL_NONE
925f126890aSEmmanuel Vadot							 AT91_PIOE 22 AT91_PERIPH_A AT91_PINCTRL_NONE
926f126890aSEmmanuel Vadot							 AT91_PIOE 23 AT91_PERIPH_A AT91_PINCTRL_NONE>;
927f126890aSEmmanuel Vadot					};
928f126890aSEmmanuel Vadot
929f126890aSEmmanuel Vadot					pinctrl_ebi_nand_addr: ebi-addr-1 {
930f126890aSEmmanuel Vadot						atmel,pins =
931f126890aSEmmanuel Vadot							<AT91_PIOC 17 AT91_PERIPH_A AT91_PINCTRL_NONE
932f126890aSEmmanuel Vadot							 AT91_PIOC 18 AT91_PERIPH_A AT91_PINCTRL_NONE>;
933f126890aSEmmanuel Vadot					};
934f126890aSEmmanuel Vadot
935f126890aSEmmanuel Vadot					pinctrl_ebi_cs0: ebi-cs0-0 {
936f126890aSEmmanuel Vadot						atmel,pins =
937f126890aSEmmanuel Vadot							<AT91_PIOE 26 AT91_PERIPH_A AT91_PINCTRL_NONE>;
938f126890aSEmmanuel Vadot					};
939f126890aSEmmanuel Vadot
940f126890aSEmmanuel Vadot					pinctrl_ebi_cs1: ebi-cs1-0 {
941f126890aSEmmanuel Vadot						atmel,pins =
942f126890aSEmmanuel Vadot							<AT91_PIOE 27 AT91_PERIPH_A AT91_PINCTRL_NONE>;
943f126890aSEmmanuel Vadot					};
944f126890aSEmmanuel Vadot
945f126890aSEmmanuel Vadot					pinctrl_ebi_cs2: ebi-cs2-0 {
946f126890aSEmmanuel Vadot						atmel,pins =
947f126890aSEmmanuel Vadot							<AT91_PIOE 28 AT91_PERIPH_A AT91_PINCTRL_NONE>;
948f126890aSEmmanuel Vadot					};
949f126890aSEmmanuel Vadot
950f126890aSEmmanuel Vadot					pinctrl_ebi_cs3: ebi-cs3-0 {
951f126890aSEmmanuel Vadot						atmel,pins =
952f126890aSEmmanuel Vadot							<AT91_PIOC 15 AT91_PERIPH_A AT91_PINCTRL_NONE>;
953f126890aSEmmanuel Vadot					};
954f126890aSEmmanuel Vadot
955f126890aSEmmanuel Vadot					pinctrl_ebi_data_0_7: ebi-data-lsb-0 {
956f126890aSEmmanuel Vadot						atmel,pins =
957f126890aSEmmanuel Vadot							<AT91_PIOC 5 AT91_PERIPH_A AT91_PINCTRL_NONE
958f126890aSEmmanuel Vadot							 AT91_PIOC 6 AT91_PERIPH_A AT91_PINCTRL_NONE
959f126890aSEmmanuel Vadot							 AT91_PIOC 7 AT91_PERIPH_A AT91_PINCTRL_NONE
960f126890aSEmmanuel Vadot							 AT91_PIOC 8 AT91_PERIPH_A AT91_PINCTRL_NONE
961f126890aSEmmanuel Vadot							 AT91_PIOC 9 AT91_PERIPH_A AT91_PINCTRL_NONE
962f126890aSEmmanuel Vadot							 AT91_PIOC 10 AT91_PERIPH_A AT91_PINCTRL_NONE
963f126890aSEmmanuel Vadot							 AT91_PIOC 11 AT91_PERIPH_A AT91_PINCTRL_NONE
964f126890aSEmmanuel Vadot							 AT91_PIOC 12 AT91_PERIPH_A AT91_PINCTRL_NONE>;
965f126890aSEmmanuel Vadot					};
966f126890aSEmmanuel Vadot
967f126890aSEmmanuel Vadot					pinctrl_ebi_data_8_15: ebi-data-msb-0 {
968f126890aSEmmanuel Vadot						atmel,pins =
969f126890aSEmmanuel Vadot							<AT91_PIOB 18 AT91_PERIPH_B AT91_PINCTRL_NONE
970f126890aSEmmanuel Vadot							 AT91_PIOB 19 AT91_PERIPH_B AT91_PINCTRL_NONE
971f126890aSEmmanuel Vadot							 AT91_PIOB 20 AT91_PERIPH_B AT91_PINCTRL_NONE
972f126890aSEmmanuel Vadot							 AT91_PIOB 21 AT91_PERIPH_B AT91_PINCTRL_NONE
973f126890aSEmmanuel Vadot							 AT91_PIOB 22 AT91_PERIPH_B AT91_PINCTRL_NONE
974f126890aSEmmanuel Vadot							 AT91_PIOB 23 AT91_PERIPH_B AT91_PINCTRL_NONE
975f126890aSEmmanuel Vadot							 AT91_PIOB 24 AT91_PERIPH_B AT91_PINCTRL_NONE
976f126890aSEmmanuel Vadot							 AT91_PIOB 25 AT91_PERIPH_B AT91_PINCTRL_NONE>;
977f126890aSEmmanuel Vadot					};
978f126890aSEmmanuel Vadot
979f126890aSEmmanuel Vadot					pinctrl_ebi_nandrdy: ebi-nandrdy-0 {
980f126890aSEmmanuel Vadot						atmel,pins =
981f126890aSEmmanuel Vadot							<AT91_PIOC 16 AT91_PERIPH_A AT91_PINCTRL_NONE>;
982f126890aSEmmanuel Vadot					};
983f126890aSEmmanuel Vadot
984f126890aSEmmanuel Vadot					pinctrl_ebi_nrd_nandoe: ebi-nrd-nandoe-0 {
985f126890aSEmmanuel Vadot						atmel,pins =
986f126890aSEmmanuel Vadot							<AT91_PIOC 13 AT91_PERIPH_A AT91_PINCTRL_NONE>;
987f126890aSEmmanuel Vadot					};
988f126890aSEmmanuel Vadot
989f126890aSEmmanuel Vadot					pinctrl_ebi_nwait: ebi-nwait-0 {
990f126890aSEmmanuel Vadot						atmel,pins =
991f126890aSEmmanuel Vadot							<AT91_PIOE 30 AT91_PERIPH_A AT91_PINCTRL_NONE>;
992f126890aSEmmanuel Vadot					};
993f126890aSEmmanuel Vadot
994f126890aSEmmanuel Vadot					pinctrl_ebi_nwe_nandwe: ebi-nwe-nandwe-0 {
995f126890aSEmmanuel Vadot						atmel,pins =
996f126890aSEmmanuel Vadot							<AT91_PIOC 14 AT91_PERIPH_A AT91_PINCTRL_NONE>;
997f126890aSEmmanuel Vadot					};
998f126890aSEmmanuel Vadot
999f126890aSEmmanuel Vadot					pinctrl_ebi_nwr1_nbs1: ebi-nwr1-nbs1-0 {
1000f126890aSEmmanuel Vadot						atmel,pins =
1001f126890aSEmmanuel Vadot							<AT91_PIOE 29 AT91_PERIPH_A AT91_PINCTRL_NONE>;
1002f126890aSEmmanuel Vadot					};
1003f126890aSEmmanuel Vadot				};
1004f126890aSEmmanuel Vadot
1005f126890aSEmmanuel Vadot				i2c0 {
1006f126890aSEmmanuel Vadot					pinctrl_i2c0: i2c0-0 {
1007f126890aSEmmanuel Vadot						atmel,pins =
1008f126890aSEmmanuel Vadot							<AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_NONE
1009f126890aSEmmanuel Vadot							 AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_NONE>;
1010f126890aSEmmanuel Vadot					};
1011f126890aSEmmanuel Vadot
1012f126890aSEmmanuel Vadot					pinctrl_i2c0_gpio: i2c0-gpio {
1013f126890aSEmmanuel Vadot						atmel,pins =
1014f126890aSEmmanuel Vadot							<AT91_PIOA 30 AT91_PERIPH_GPIO AT91_PINCTRL_NONE
1015f126890aSEmmanuel Vadot							 AT91_PIOA 31 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
1016f126890aSEmmanuel Vadot					};
1017f126890aSEmmanuel Vadot				};
1018f126890aSEmmanuel Vadot
1019f126890aSEmmanuel Vadot				i2c1 {
1020f126890aSEmmanuel Vadot					pinctrl_i2c1: i2c1-0 {
1021f126890aSEmmanuel Vadot						atmel,pins =
1022f126890aSEmmanuel Vadot							<AT91_PIOE 29 AT91_PERIPH_C AT91_PINCTRL_NONE	/* TWD1, conflicts with UART0 RX and DIBP */
1023f126890aSEmmanuel Vadot							 AT91_PIOE 30 AT91_PERIPH_C AT91_PINCTRL_NONE>;	/* TWCK1, conflicts with UART0 TX and DIBN */
1024f126890aSEmmanuel Vadot					};
1025f126890aSEmmanuel Vadot
1026f126890aSEmmanuel Vadot					pinctrl_i2c1_gpio: i2c1-gpio {
1027f126890aSEmmanuel Vadot						atmel,pins =
1028f126890aSEmmanuel Vadot							<AT91_PIOE 29 AT91_PERIPH_GPIO AT91_PINCTRL_NONE
1029f126890aSEmmanuel Vadot							 AT91_PIOE 30 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
1030f126890aSEmmanuel Vadot					};
1031f126890aSEmmanuel Vadot				};
1032f126890aSEmmanuel Vadot
1033f126890aSEmmanuel Vadot				i2c2 {
1034f126890aSEmmanuel Vadot					pinctrl_i2c2: i2c2-0 {
1035f126890aSEmmanuel Vadot						atmel,pins =
1036f126890aSEmmanuel Vadot							<AT91_PIOB 29 AT91_PERIPH_A AT91_PINCTRL_NONE	/* TWD2, conflicts with RD0 and PWML1 */
1037f126890aSEmmanuel Vadot							 AT91_PIOB 30 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* TWCK2, conflicts with RF0 */
1038f126890aSEmmanuel Vadot					};
1039f126890aSEmmanuel Vadot
1040f126890aSEmmanuel Vadot					pinctrl_i2c2_gpio: i2c2-gpio {
1041f126890aSEmmanuel Vadot						atmel,pins =
1042f126890aSEmmanuel Vadot							<AT91_PIOB 29 AT91_PERIPH_GPIO AT91_PINCTRL_NONE
1043f126890aSEmmanuel Vadot							 AT91_PIOB 30 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
1044f126890aSEmmanuel Vadot					};
1045f126890aSEmmanuel Vadot				};
1046f126890aSEmmanuel Vadot
1047f126890aSEmmanuel Vadot				isi {
1048f126890aSEmmanuel Vadot					pinctrl_isi_data_0_7: isi-0-data-0-7 {
1049f126890aSEmmanuel Vadot						atmel,pins =
1050f126890aSEmmanuel Vadot							<AT91_PIOC 19 AT91_PERIPH_A AT91_PINCTRL_NONE	/* ISI_D0 */
1051f126890aSEmmanuel Vadot							 AT91_PIOC 20 AT91_PERIPH_A AT91_PINCTRL_NONE	/* ISI_D1 */
1052f126890aSEmmanuel Vadot							 AT91_PIOC 21 AT91_PERIPH_A AT91_PINCTRL_NONE	/* ISI_D2 */
1053f126890aSEmmanuel Vadot							 AT91_PIOC 22 AT91_PERIPH_A AT91_PINCTRL_NONE	/* ISI_D3 */
1054f126890aSEmmanuel Vadot							 AT91_PIOC 23 AT91_PERIPH_A AT91_PINCTRL_NONE	/* ISI_D4 */
1055f126890aSEmmanuel Vadot							 AT91_PIOC 24 AT91_PERIPH_A AT91_PINCTRL_NONE	/* ISI_D5 */
1056f126890aSEmmanuel Vadot							 AT91_PIOC 25 AT91_PERIPH_A AT91_PINCTRL_NONE	/* ISI_D6 */
1057f126890aSEmmanuel Vadot							 AT91_PIOC 26 AT91_PERIPH_A AT91_PINCTRL_NONE	/* ISI_D7 */
1058f126890aSEmmanuel Vadot							 AT91_PIOB  1 AT91_PERIPH_C AT91_PINCTRL_NONE	/* ISI_PCK, conflict with G0_RXCK */
1059f126890aSEmmanuel Vadot							 AT91_PIOB  3 AT91_PERIPH_C AT91_PINCTRL_NONE	/* ISI_VSYNC */
1060f126890aSEmmanuel Vadot							 AT91_PIOB  4 AT91_PERIPH_C AT91_PINCTRL_NONE>;	/* ISI_HSYNC */
1061f126890aSEmmanuel Vadot					};
1062f126890aSEmmanuel Vadot					pinctrl_isi_data_8_9: isi-0-data-8-9 {
1063f126890aSEmmanuel Vadot						atmel,pins =
1064f126890aSEmmanuel Vadot							<AT91_PIOC 0 AT91_PERIPH_C AT91_PINCTRL_NONE	/* ISI_D8, conflicts with SPI0_MISO, PWMH2 */
1065f126890aSEmmanuel Vadot							 AT91_PIOC 1 AT91_PERIPH_C AT91_PINCTRL_NONE>;	/* ISI_D9, conflicts with SPI0_MOSI, PWML2 */
1066f126890aSEmmanuel Vadot					};
1067f126890aSEmmanuel Vadot					pinctrl_isi_data_10_11: isi-0-data-10-11 {
1068f126890aSEmmanuel Vadot						atmel,pins =
1069f126890aSEmmanuel Vadot							<AT91_PIOC 2 AT91_PERIPH_C AT91_PINCTRL_NONE	/* ISI_D10, conflicts with SPI0_SPCK, PWMH3 */
1070f126890aSEmmanuel Vadot							 AT91_PIOC 3 AT91_PERIPH_C AT91_PINCTRL_NONE>;	/* ISI_D11, conflicts with SPI0_NPCS0, PWML3 */
1071f126890aSEmmanuel Vadot					};
1072f126890aSEmmanuel Vadot				};
1073f126890aSEmmanuel Vadot
1074f126890aSEmmanuel Vadot				lcd {
1075f126890aSEmmanuel Vadot					pinctrl_lcd_base: lcd-base-0 {
1076f126890aSEmmanuel Vadot						atmel,pins =
1077f126890aSEmmanuel Vadot							<AT91_PIOA 26 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDVSYNC */
1078f126890aSEmmanuel Vadot							 AT91_PIOA 27 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDHSYNC */
1079f126890aSEmmanuel Vadot							 AT91_PIOA 29 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDDEN */
1080f126890aSEmmanuel Vadot							 AT91_PIOA 28 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* LCDPCK */
1081f126890aSEmmanuel Vadot					};
1082f126890aSEmmanuel Vadot					pinctrl_lcd_pwm: lcd-pwm-0 {
1083f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOA 24 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* LCDPWM */
1084f126890aSEmmanuel Vadot					};
1085f126890aSEmmanuel Vadot					pinctrl_lcd_rgb444: lcd-rgb-0 {
1086f126890aSEmmanuel Vadot						atmel,pins =
1087f126890aSEmmanuel Vadot							<AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD0 pin */
1088f126890aSEmmanuel Vadot							 AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD1 pin */
1089f126890aSEmmanuel Vadot							 AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD2 pin */
1090f126890aSEmmanuel Vadot							 AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD3 pin */
1091f126890aSEmmanuel Vadot							 AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD4 pin */
1092f126890aSEmmanuel Vadot							 AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD5 pin */
1093f126890aSEmmanuel Vadot							 AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD6 pin */
1094f126890aSEmmanuel Vadot							 AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD7 pin */
1095f126890aSEmmanuel Vadot							 AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD8 pin */
1096f126890aSEmmanuel Vadot							 AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD9 pin */
1097f126890aSEmmanuel Vadot							 AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD10 pin */
1098f126890aSEmmanuel Vadot							 AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* LCDD11 pin */
1099f126890aSEmmanuel Vadot					};
1100f126890aSEmmanuel Vadot					pinctrl_lcd_rgb565: lcd-rgb-1 {
1101f126890aSEmmanuel Vadot						atmel,pins =
1102f126890aSEmmanuel Vadot							<AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD0 pin */
1103f126890aSEmmanuel Vadot							 AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD1 pin */
1104f126890aSEmmanuel Vadot							 AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD2 pin */
1105f126890aSEmmanuel Vadot							 AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD3 pin */
1106f126890aSEmmanuel Vadot							 AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD4 pin */
1107f126890aSEmmanuel Vadot							 AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD5 pin */
1108f126890aSEmmanuel Vadot							 AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD6 pin */
1109f126890aSEmmanuel Vadot							 AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD7 pin */
1110f126890aSEmmanuel Vadot							 AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD8 pin */
1111f126890aSEmmanuel Vadot							 AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD9 pin */
1112f126890aSEmmanuel Vadot							 AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD10 pin */
1113f126890aSEmmanuel Vadot							 AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD11 pin */
1114f126890aSEmmanuel Vadot							 AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD12 pin */
1115f126890aSEmmanuel Vadot							 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD13 pin */
1116f126890aSEmmanuel Vadot							 AT91_PIOA 14 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD14 pin */
1117f126890aSEmmanuel Vadot							 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* LCDD15 pin */
1118f126890aSEmmanuel Vadot					};
1119f126890aSEmmanuel Vadot					pinctrl_lcd_rgb666: lcd-rgb-2 {
1120f126890aSEmmanuel Vadot						atmel,pins =
1121f126890aSEmmanuel Vadot							<AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD2 pin */
1122f126890aSEmmanuel Vadot							 AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD3 pin */
1123f126890aSEmmanuel Vadot							 AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD4 pin */
1124f126890aSEmmanuel Vadot							 AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD5 pin */
1125f126890aSEmmanuel Vadot							 AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD6 pin */
1126f126890aSEmmanuel Vadot							 AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD7 pin */
1127f126890aSEmmanuel Vadot							 AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD10 pin */
1128f126890aSEmmanuel Vadot							 AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD11 pin */
1129f126890aSEmmanuel Vadot							 AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD12 pin */
1130f126890aSEmmanuel Vadot							 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD13 pin */
1131f126890aSEmmanuel Vadot							 AT91_PIOA 14 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD14 pin */
1132f126890aSEmmanuel Vadot							 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD15 pin */
1133f126890aSEmmanuel Vadot							 AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD18 pin */
1134f126890aSEmmanuel Vadot							 AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD19 pin */
1135f126890aSEmmanuel Vadot							 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD20 pin */
1136f126890aSEmmanuel Vadot							 AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD21 pin */
1137f126890aSEmmanuel Vadot							 AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD22 pin */
1138f126890aSEmmanuel Vadot							 AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* LCDD23 pin */
1139f126890aSEmmanuel Vadot					};
1140f126890aSEmmanuel Vadot					pinctrl_lcd_rgb777: lcd-rgb-3 {
1141f126890aSEmmanuel Vadot						atmel,pins =
1142f126890aSEmmanuel Vadot							 /* LCDDAT0 conflicts with TMS */
1143f126890aSEmmanuel Vadot							<AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD1 pin */
1144f126890aSEmmanuel Vadot							 AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD2 pin */
1145f126890aSEmmanuel Vadot							 AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD3 pin */
1146f126890aSEmmanuel Vadot							 AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD4 pin */
1147f126890aSEmmanuel Vadot							 AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD5 pin */
1148f126890aSEmmanuel Vadot							 AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD6 pin */
1149f126890aSEmmanuel Vadot							 AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD7 pin */
1150f126890aSEmmanuel Vadot							 /* LCDDAT8 conflicts with TCK */
1151f126890aSEmmanuel Vadot							 AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD9 pin */
1152f126890aSEmmanuel Vadot							 AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD10 pin */
1153f126890aSEmmanuel Vadot							 AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD11 pin */
1154f126890aSEmmanuel Vadot							 AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD12 pin */
1155f126890aSEmmanuel Vadot							 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD13 pin */
1156f126890aSEmmanuel Vadot							 AT91_PIOA 14 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD14 pin */
1157f126890aSEmmanuel Vadot							 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD15 pin */
1158f126890aSEmmanuel Vadot							 /* LCDDAT16 conflicts with NTRST */
1159f126890aSEmmanuel Vadot							 AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD17 pin */
1160f126890aSEmmanuel Vadot							 AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD18 pin */
1161f126890aSEmmanuel Vadot							 AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD19 pin */
1162f126890aSEmmanuel Vadot							 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD20 pin */
1163f126890aSEmmanuel Vadot							 AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD21 pin */
1164f126890aSEmmanuel Vadot							 AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD22 pin */
1165f126890aSEmmanuel Vadot							 AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* LCDD23 pin */
1166f126890aSEmmanuel Vadot					};
1167f126890aSEmmanuel Vadot					pinctrl_lcd_rgb888: lcd-rgb-4 {
1168f126890aSEmmanuel Vadot						atmel,pins =
1169f126890aSEmmanuel Vadot							<AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD0 pin */
1170f126890aSEmmanuel Vadot							 AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD1 pin */
1171f126890aSEmmanuel Vadot							 AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD2 pin */
1172f126890aSEmmanuel Vadot							 AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD3 pin */
1173f126890aSEmmanuel Vadot							 AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD4 pin */
1174f126890aSEmmanuel Vadot							 AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD5 pin */
1175f126890aSEmmanuel Vadot							 AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD6 pin */
1176f126890aSEmmanuel Vadot							 AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD7 pin */
1177f126890aSEmmanuel Vadot							 AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD8 pin */
1178f126890aSEmmanuel Vadot							 AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD9 pin */
1179f126890aSEmmanuel Vadot							 AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD10 pin */
1180f126890aSEmmanuel Vadot							 AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD11 pin */
1181f126890aSEmmanuel Vadot							 AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD12 pin */
1182f126890aSEmmanuel Vadot							 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD13 pin */
1183f126890aSEmmanuel Vadot							 AT91_PIOA 14 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD14 pin */
1184f126890aSEmmanuel Vadot							 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD15 pin */
1185f126890aSEmmanuel Vadot							 AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD16 pin */
1186f126890aSEmmanuel Vadot							 AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD17 pin */
1187f126890aSEmmanuel Vadot							 AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD18 pin */
1188f126890aSEmmanuel Vadot							 AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD19 pin */
1189f126890aSEmmanuel Vadot							 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD20 pin */
1190f126890aSEmmanuel Vadot							 AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD21 pin */
1191f126890aSEmmanuel Vadot							 AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_NONE	/* LCDD22 pin */
1192f126890aSEmmanuel Vadot							 AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* LCDD23 pin */
1193f126890aSEmmanuel Vadot					};
1194f126890aSEmmanuel Vadot				};
1195f126890aSEmmanuel Vadot
1196f126890aSEmmanuel Vadot				macb0 {
1197f126890aSEmmanuel Vadot					pinctrl_macb0_rmii: macb0_rmii-0 {
1198f126890aSEmmanuel Vadot						atmel,pins =
1199f126890aSEmmanuel Vadot							<AT91_PIOB 12 AT91_PERIPH_A AT91_PINCTRL_NONE	/* G0_TX0 */
1200f126890aSEmmanuel Vadot							 AT91_PIOB 13 AT91_PERIPH_A AT91_PINCTRL_NONE	/* G0_TX1 */
1201f126890aSEmmanuel Vadot							 AT91_PIOB  8 AT91_PERIPH_A AT91_PINCTRL_NONE	/* G0_RX0 */
1202f126890aSEmmanuel Vadot							 AT91_PIOB  9 AT91_PERIPH_A AT91_PINCTRL_NONE	/* G0_RX1 */
1203f126890aSEmmanuel Vadot							 AT91_PIOB  6 AT91_PERIPH_A AT91_PINCTRL_NONE	/* G0_RXDV */
1204f126890aSEmmanuel Vadot							 AT91_PIOB  7 AT91_PERIPH_A AT91_PINCTRL_NONE	/* G0_RXER */
1205f126890aSEmmanuel Vadot							 AT91_PIOB  2 AT91_PERIPH_A AT91_PINCTRL_NONE	/* G0_TXEN */
1206f126890aSEmmanuel Vadot							 AT91_PIOB  0 AT91_PERIPH_A AT91_PINCTRL_NONE	/* G0_TXCK */
1207f126890aSEmmanuel Vadot							 AT91_PIOB 16 AT91_PERIPH_A AT91_PINCTRL_NONE	/* G0_MDC */
1208f126890aSEmmanuel Vadot							 AT91_PIOB 17 AT91_PERIPH_A AT91_PINCTRL_NONE	/* G0_MDIO */
1209f126890aSEmmanuel Vadot							>;
1210f126890aSEmmanuel Vadot					};
1211f126890aSEmmanuel Vadot				};
1212f126890aSEmmanuel Vadot
1213f126890aSEmmanuel Vadot				macb1 {
1214f126890aSEmmanuel Vadot					pinctrl_macb1_rmii: macb1_rmii-0 {
1215f126890aSEmmanuel Vadot						atmel,pins =
1216f126890aSEmmanuel Vadot							<AT91_PIOA 14 AT91_PERIPH_B AT91_PINCTRL_NONE	/* G1_TX0 */
1217f126890aSEmmanuel Vadot							 AT91_PIOA 15 AT91_PERIPH_B AT91_PINCTRL_NONE	/* G1_TX1 */
1218f126890aSEmmanuel Vadot							 AT91_PIOA 12 AT91_PERIPH_B AT91_PINCTRL_NONE	/* G1_RX0 */
1219f126890aSEmmanuel Vadot							 AT91_PIOA 13 AT91_PERIPH_B AT91_PINCTRL_NONE	/* G1_RX1 */
1220f126890aSEmmanuel Vadot							 AT91_PIOA 10 AT91_PERIPH_B AT91_PINCTRL_NONE	/* G1_RXDV */
1221f126890aSEmmanuel Vadot							 AT91_PIOA 11 AT91_PERIPH_B AT91_PINCTRL_NONE	/* G1_RXER */
1222f126890aSEmmanuel Vadot							 AT91_PIOA  4 AT91_PERIPH_B AT91_PINCTRL_NONE	/* G1_TXEN */
1223f126890aSEmmanuel Vadot							 AT91_PIOA  2 AT91_PERIPH_B AT91_PINCTRL_NONE	/* G1_TXCK */
1224f126890aSEmmanuel Vadot							 AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE	/* G1_MDC */
1225f126890aSEmmanuel Vadot							 AT91_PIOA 23 AT91_PERIPH_B AT91_PINCTRL_NONE	/* G1_MDIO */
1226f126890aSEmmanuel Vadot							>;
1227f126890aSEmmanuel Vadot					};
1228f126890aSEmmanuel Vadot				};
1229f126890aSEmmanuel Vadot
1230f126890aSEmmanuel Vadot				mmc0 {
1231f126890aSEmmanuel Vadot					pinctrl_mmc0_clk_cmd_dat0: mmc0_clk_cmd_dat0 {
1232f126890aSEmmanuel Vadot						atmel,pins =
1233f126890aSEmmanuel Vadot							<AT91_PIOC 4 AT91_PERIPH_B AT91_PINCTRL_NONE	/* MCI0_CK, conflict with PCK1(ISI_MCK) */
1234f126890aSEmmanuel Vadot							 AT91_PIOC 5 AT91_PERIPH_B AT91_PINCTRL_PULL_UP	/* MCI0_CDA, conflict with NAND_D0 */
1235f126890aSEmmanuel Vadot							 AT91_PIOC 6 AT91_PERIPH_B AT91_PINCTRL_PULL_UP	/* MCI0_DA0, conflict with NAND_D1 */
1236f126890aSEmmanuel Vadot							>;
1237f126890aSEmmanuel Vadot					};
1238f126890aSEmmanuel Vadot					pinctrl_mmc0_dat1_3: mmc0_dat1_3 {
1239f126890aSEmmanuel Vadot						atmel,pins =
1240f126890aSEmmanuel Vadot							<AT91_PIOC 7 AT91_PERIPH_B AT91_PINCTRL_PULL_UP	/* MCI0_DA1, conflict with NAND_D2 */
1241f126890aSEmmanuel Vadot							 AT91_PIOC 8 AT91_PERIPH_B AT91_PINCTRL_PULL_UP	/* MCI0_DA2, conflict with NAND_D3 */
1242f126890aSEmmanuel Vadot							 AT91_PIOC 9 AT91_PERIPH_B AT91_PINCTRL_PULL_UP	/* MCI0_DA3, conflict with NAND_D4 */
1243f126890aSEmmanuel Vadot							>;
1244f126890aSEmmanuel Vadot					};
1245f126890aSEmmanuel Vadot					pinctrl_mmc0_dat4_7: mmc0_dat4_7 {
1246f126890aSEmmanuel Vadot						atmel,pins =
1247f126890aSEmmanuel Vadot							<AT91_PIOC 10 AT91_PERIPH_B AT91_PINCTRL_PULL_UP	/* MCI0_DA4, conflict with NAND_D5 */
1248f126890aSEmmanuel Vadot							 AT91_PIOC 11 AT91_PERIPH_B AT91_PINCTRL_PULL_UP	/* MCI0_DA5, conflict with NAND_D6 */
1249f126890aSEmmanuel Vadot							 AT91_PIOC 12 AT91_PERIPH_B AT91_PINCTRL_PULL_UP	/* MCI0_DA6, conflict with NAND_D7 */
1250f126890aSEmmanuel Vadot							 AT91_PIOC 13 AT91_PERIPH_B AT91_PINCTRL_PULL_UP	/* MCI0_DA7, conflict with NAND_OE */
1251f126890aSEmmanuel Vadot							>;
1252f126890aSEmmanuel Vadot					};
1253f126890aSEmmanuel Vadot				};
1254f126890aSEmmanuel Vadot
1255f126890aSEmmanuel Vadot				mmc1 {
1256f126890aSEmmanuel Vadot					pinctrl_mmc1_clk_cmd_dat0: mmc1_clk_cmd_dat0 {
1257f126890aSEmmanuel Vadot						atmel,pins =
1258f126890aSEmmanuel Vadot							<AT91_PIOE 18 AT91_PERIPH_C AT91_PINCTRL_NONE		/* MCI1_CK */
1259f126890aSEmmanuel Vadot							 AT91_PIOE 19 AT91_PERIPH_C AT91_PINCTRL_PULL_UP	/* MCI1_CDA */
1260f126890aSEmmanuel Vadot							 AT91_PIOE 20 AT91_PERIPH_C AT91_PINCTRL_PULL_UP	/* MCI1_DA0 */
1261f126890aSEmmanuel Vadot							>;
1262f126890aSEmmanuel Vadot					};
1263f126890aSEmmanuel Vadot					pinctrl_mmc1_dat1_3: mmc1_dat1_3 {
1264f126890aSEmmanuel Vadot						atmel,pins =
1265f126890aSEmmanuel Vadot							<AT91_PIOE 21 AT91_PERIPH_C AT91_PINCTRL_PULL_UP	/* MCI1_DA1 */
1266f126890aSEmmanuel Vadot							 AT91_PIOE 22 AT91_PERIPH_C AT91_PINCTRL_PULL_UP	/* MCI1_DA2 */
1267f126890aSEmmanuel Vadot							 AT91_PIOE 23 AT91_PERIPH_C AT91_PINCTRL_PULL_UP	/* MCI1_DA3 */
1268f126890aSEmmanuel Vadot							>;
1269f126890aSEmmanuel Vadot					};
1270f126890aSEmmanuel Vadot				};
1271f126890aSEmmanuel Vadot
1272f126890aSEmmanuel Vadot				nand0 {
1273f126890aSEmmanuel Vadot					pinctrl_nand: nand-0 {
1274f126890aSEmmanuel Vadot						atmel,pins =
1275f126890aSEmmanuel Vadot							<AT91_PIOC 13 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PC13 periph A Read Enable */
1276f126890aSEmmanuel Vadot							 AT91_PIOC 14 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PC14 periph A Write Enable */
1277f126890aSEmmanuel Vadot
1278f126890aSEmmanuel Vadot							 AT91_PIOC 17 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* PC17 ALE */
1279f126890aSEmmanuel Vadot							 AT91_PIOC 18 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* PC18 CLE */
1280f126890aSEmmanuel Vadot
1281f126890aSEmmanuel Vadot							 AT91_PIOC 15 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* PC15 NCS3/Chip Enable */
1282f126890aSEmmanuel Vadot							 AT91_PIOC 16 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* PC16 NANDRDY */
1283f126890aSEmmanuel Vadot							 AT91_PIOC 5 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PC5 Data bit 0 */
1284f126890aSEmmanuel Vadot							 AT91_PIOC 6 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PC6 Data bit 1 */
1285f126890aSEmmanuel Vadot							 AT91_PIOC 7 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PC7 Data bit 2 */
1286f126890aSEmmanuel Vadot							 AT91_PIOC 8 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PC8 Data bit 3 */
1287f126890aSEmmanuel Vadot							 AT91_PIOC 9 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PC9 Data bit 4 */
1288f126890aSEmmanuel Vadot							 AT91_PIOC 10 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PC10 Data bit 5 */
1289f126890aSEmmanuel Vadot							 AT91_PIOC 11 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PC11 periph A Data bit 6 */
1290f126890aSEmmanuel Vadot							 AT91_PIOC 12 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PC12 periph A Data bit 7 */
1291f126890aSEmmanuel Vadot					};
1292f126890aSEmmanuel Vadot				};
1293f126890aSEmmanuel Vadot
1294f126890aSEmmanuel Vadot				spi0 {
1295f126890aSEmmanuel Vadot					pinctrl_spi0: spi0-0 {
1296f126890aSEmmanuel Vadot						atmel,pins =
1297f126890aSEmmanuel Vadot							<AT91_PIOC 0 AT91_PERIPH_A AT91_PINCTRL_NONE	/* SPI0_MISO */
1298f126890aSEmmanuel Vadot							 AT91_PIOC 1 AT91_PERIPH_A AT91_PINCTRL_NONE	/* SPI0_MOSI */
1299f126890aSEmmanuel Vadot							 AT91_PIOC 2 AT91_PERIPH_A AT91_PINCTRL_NONE	/* SPI0_SPCK */
1300f126890aSEmmanuel Vadot							>;
1301f126890aSEmmanuel Vadot					};
1302f126890aSEmmanuel Vadot				};
1303f126890aSEmmanuel Vadot
1304f126890aSEmmanuel Vadot				ssc0 {
1305f126890aSEmmanuel Vadot					pinctrl_ssc0_tx: ssc0_tx {
1306f126890aSEmmanuel Vadot						atmel,pins =
1307f126890aSEmmanuel Vadot							<AT91_PIOB 27 AT91_PERIPH_B AT91_PINCTRL_NONE	/* TK0 */
1308f126890aSEmmanuel Vadot							 AT91_PIOB 31 AT91_PERIPH_B AT91_PINCTRL_NONE	/* TF0 */
1309f126890aSEmmanuel Vadot							 AT91_PIOB 28 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* TD0 */
1310f126890aSEmmanuel Vadot					};
1311f126890aSEmmanuel Vadot
1312f126890aSEmmanuel Vadot					pinctrl_ssc0_rx: ssc0_rx {
1313f126890aSEmmanuel Vadot						atmel,pins =
1314f126890aSEmmanuel Vadot							<AT91_PIOB 26 AT91_PERIPH_B AT91_PINCTRL_NONE	/* RK0 */
1315f126890aSEmmanuel Vadot							 AT91_PIOB 30 AT91_PERIPH_B AT91_PINCTRL_NONE	/* RF0 */
1316f126890aSEmmanuel Vadot							 AT91_PIOB 29 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* RD0 */
1317f126890aSEmmanuel Vadot					};
1318f126890aSEmmanuel Vadot				};
1319f126890aSEmmanuel Vadot
1320f126890aSEmmanuel Vadot				ssc1 {
1321f126890aSEmmanuel Vadot					pinctrl_ssc1_tx: ssc1_tx {
1322f126890aSEmmanuel Vadot						atmel,pins =
1323f126890aSEmmanuel Vadot							<AT91_PIOC 19 AT91_PERIPH_B AT91_PINCTRL_NONE	/* TK1 */
1324f126890aSEmmanuel Vadot							 AT91_PIOC 20 AT91_PERIPH_B AT91_PINCTRL_NONE	/* TF1 */
1325f126890aSEmmanuel Vadot							 AT91_PIOC 21 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* TD1 */
1326f126890aSEmmanuel Vadot					};
1327f126890aSEmmanuel Vadot
1328f126890aSEmmanuel Vadot					pinctrl_ssc1_rx: ssc1_rx {
1329f126890aSEmmanuel Vadot						atmel,pins =
1330f126890aSEmmanuel Vadot							<AT91_PIOC 24 AT91_PERIPH_B AT91_PINCTRL_NONE	/* RK1 */
1331f126890aSEmmanuel Vadot							 AT91_PIOC 22 AT91_PERIPH_B AT91_PINCTRL_NONE	/* RF1 */
1332f126890aSEmmanuel Vadot							 AT91_PIOC 23 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* RD1 */
1333f126890aSEmmanuel Vadot					};
1334f126890aSEmmanuel Vadot				};
1335f126890aSEmmanuel Vadot
1336f126890aSEmmanuel Vadot				spi1 {
1337f126890aSEmmanuel Vadot					pinctrl_spi1: spi1-0 {
1338f126890aSEmmanuel Vadot						atmel,pins =
1339f126890aSEmmanuel Vadot							<AT91_PIOB 18 AT91_PERIPH_A AT91_PINCTRL_NONE	/* SPI1_MISO */
1340f126890aSEmmanuel Vadot							 AT91_PIOB 19 AT91_PERIPH_A AT91_PINCTRL_NONE	/* SPI1_MOSI */
1341f126890aSEmmanuel Vadot							 AT91_PIOB 20 AT91_PERIPH_A AT91_PINCTRL_NONE	/* SPI1_SPCK */
1342f126890aSEmmanuel Vadot							>;
1343f126890aSEmmanuel Vadot					};
1344f126890aSEmmanuel Vadot				};
1345f126890aSEmmanuel Vadot
1346f126890aSEmmanuel Vadot				spi2 {
1347f126890aSEmmanuel Vadot					pinctrl_spi2: spi2-0 {
1348f126890aSEmmanuel Vadot						atmel,pins =
1349f126890aSEmmanuel Vadot							<AT91_PIOD 11 AT91_PERIPH_B AT91_PINCTRL_NONE	/* SPI2_MISO conflicts with RTS0 */
1350f126890aSEmmanuel Vadot							 AT91_PIOD 13 AT91_PERIPH_B AT91_PINCTRL_NONE	/* SPI2_MOSI conflicts with TXD0 */
1351f126890aSEmmanuel Vadot							 AT91_PIOD 15 AT91_PERIPH_B AT91_PINCTRL_NONE	/* SPI2_SPCK conflicts with RTS1 */
1352f126890aSEmmanuel Vadot							>;
1353f126890aSEmmanuel Vadot					};
1354f126890aSEmmanuel Vadot				};
1355f126890aSEmmanuel Vadot
1356f126890aSEmmanuel Vadot				uart0 {
1357f126890aSEmmanuel Vadot					pinctrl_uart0: uart0-0 {
1358f126890aSEmmanuel Vadot						atmel,pins =
1359f126890aSEmmanuel Vadot							<AT91_PIOE 29 AT91_PERIPH_B AT91_PINCTRL_PULL_UP	/* RXD */
1360f126890aSEmmanuel Vadot							 AT91_PIOE 30 AT91_PERIPH_B AT91_PINCTRL_NONE		/* TXD */
1361f126890aSEmmanuel Vadot							>;
1362f126890aSEmmanuel Vadot					};
1363f126890aSEmmanuel Vadot				};
1364f126890aSEmmanuel Vadot
1365f126890aSEmmanuel Vadot				uart1 {
1366f126890aSEmmanuel Vadot					pinctrl_uart1: uart1-0 {
1367f126890aSEmmanuel Vadot						atmel,pins =
1368f126890aSEmmanuel Vadot							<AT91_PIOC 25 AT91_PERIPH_C AT91_PINCTRL_PULL_UP	/* RXD */
1369f126890aSEmmanuel Vadot							 AT91_PIOC 26 AT91_PERIPH_C AT91_PINCTRL_NONE		/* TXD */
1370f126890aSEmmanuel Vadot							>;
1371f126890aSEmmanuel Vadot					};
1372f126890aSEmmanuel Vadot				};
1373f126890aSEmmanuel Vadot
1374f126890aSEmmanuel Vadot				usart0 {
1375f126890aSEmmanuel Vadot					pinctrl_usart0: usart0-0 {
1376f126890aSEmmanuel Vadot						atmel,pins =
1377f126890aSEmmanuel Vadot							<AT91_PIOD 12 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* RXD */
1378f126890aSEmmanuel Vadot							 AT91_PIOD 13 AT91_PERIPH_A AT91_PINCTRL_NONE		/* TXD */
1379f126890aSEmmanuel Vadot							>;
1380f126890aSEmmanuel Vadot					};
1381f126890aSEmmanuel Vadot					pinctrl_usart0_rts: usart0_rts-0 {
1382f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOD 11 AT91_PERIPH_A AT91_PINCTRL_NONE>;
1383f126890aSEmmanuel Vadot					};
1384f126890aSEmmanuel Vadot					pinctrl_usart0_cts: usart0_cts-0 {
1385f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOD 10 AT91_PERIPH_A AT91_PINCTRL_NONE>;
1386f126890aSEmmanuel Vadot					};
1387f126890aSEmmanuel Vadot				};
1388f126890aSEmmanuel Vadot
1389f126890aSEmmanuel Vadot				usart1 {
1390f126890aSEmmanuel Vadot					pinctrl_usart1: usart1-0 {
1391f126890aSEmmanuel Vadot						atmel,pins =
1392f126890aSEmmanuel Vadot							<AT91_PIOD 16 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* RXD */
1393f126890aSEmmanuel Vadot							 AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_NONE		/* TXD */
1394f126890aSEmmanuel Vadot							>;
1395f126890aSEmmanuel Vadot					};
1396f126890aSEmmanuel Vadot					pinctrl_usart1_rts: usart1_rts-0 {
1397f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOD 15 AT91_PERIPH_A AT91_PINCTRL_NONE>;
1398f126890aSEmmanuel Vadot					};
1399f126890aSEmmanuel Vadot					pinctrl_usart1_cts: usart1_cts-0 {
1400f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOD 14 AT91_PERIPH_A AT91_PINCTRL_NONE>;
1401f126890aSEmmanuel Vadot					};
1402f126890aSEmmanuel Vadot				};
1403f126890aSEmmanuel Vadot
1404f126890aSEmmanuel Vadot				usart2 {
1405f126890aSEmmanuel Vadot					pinctrl_usart2: usart2-0 {
1406f126890aSEmmanuel Vadot						atmel,pins =
1407f126890aSEmmanuel Vadot							<AT91_PIOB 4 AT91_PERIPH_B AT91_PINCTRL_PULL_UP		/* RXD - conflicts with G0_CRS, ISI_HSYNC */
1408f126890aSEmmanuel Vadot							 AT91_PIOB 5 AT91_PERIPH_B AT91_PINCTRL_NONE		/* TXD - conflicts with G0_COL, PCK2 */
1409f126890aSEmmanuel Vadot							>;
1410f126890aSEmmanuel Vadot					};
1411f126890aSEmmanuel Vadot					pinctrl_usart2_rts: usart2_rts-0 {
1412f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOB 11 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* conflicts with G0_RX3, PWMH1 */
1413f126890aSEmmanuel Vadot					};
1414f126890aSEmmanuel Vadot					pinctrl_usart2_cts: usart2_cts-0 {
1415f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOB 3 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* conflicts with G0_TXER, ISI_VSYNC */
1416f126890aSEmmanuel Vadot					};
1417f126890aSEmmanuel Vadot				};
1418f126890aSEmmanuel Vadot
1419f126890aSEmmanuel Vadot				usart3 {
1420f126890aSEmmanuel Vadot					pinctrl_usart3: usart3-0 {
1421f126890aSEmmanuel Vadot						atmel,pins =
1422f126890aSEmmanuel Vadot							<AT91_PIOE 16 AT91_PERIPH_B AT91_PINCTRL_PULL_UP	/* RXD */
1423f126890aSEmmanuel Vadot							 AT91_PIOE 17 AT91_PERIPH_B AT91_PINCTRL_NONE		/* TXD */
1424f126890aSEmmanuel Vadot							>;
1425f126890aSEmmanuel Vadot					};
1426f126890aSEmmanuel Vadot				};
1427f126890aSEmmanuel Vadot
1428f126890aSEmmanuel Vadot				usart4 {
1429f126890aSEmmanuel Vadot					pinctrl_usart4: usart4-0 {
1430f126890aSEmmanuel Vadot						atmel,pins =
1431f126890aSEmmanuel Vadot							<AT91_PIOE 26 AT91_PERIPH_B AT91_PINCTRL_PULL_UP	/* RXD */
1432f126890aSEmmanuel Vadot							 AT91_PIOE 27 AT91_PERIPH_B AT91_PINCTRL_NONE		/* TXD */
1433f126890aSEmmanuel Vadot							>;
1434f126890aSEmmanuel Vadot					};
1435f126890aSEmmanuel Vadot					pinctrl_usart4_rts: usart4_rts-0 {
1436f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOE 28 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* conflicts with NWAIT, A19 */
1437f126890aSEmmanuel Vadot					};
1438f126890aSEmmanuel Vadot					pinctrl_usart4_cts: usart4_cts-0 {
1439f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOE 0 AT91_PERIPH_C AT91_PINCTRL_NONE>;	/* conflicts with A0/NBS0, MCI0_CDB */
1440f126890aSEmmanuel Vadot					};
1441f126890aSEmmanuel Vadot				};
1442f126890aSEmmanuel Vadot			};
1443f126890aSEmmanuel Vadot
1444f126890aSEmmanuel Vadot			aic: interrupt-controller@fc06e000 {
1445f126890aSEmmanuel Vadot				#interrupt-cells = <3>;
1446f126890aSEmmanuel Vadot				compatible = "atmel,sama5d4-aic";
1447f126890aSEmmanuel Vadot				interrupt-controller;
1448f126890aSEmmanuel Vadot				reg = <0xfc06e000 0x200>;
1449f126890aSEmmanuel Vadot				atmel,external-irqs = <56>;
1450f126890aSEmmanuel Vadot			};
1451f126890aSEmmanuel Vadot		};
1452f126890aSEmmanuel Vadot	};
1453f126890aSEmmanuel Vadot};
1454