xref: /freebsd-src/sys/contrib/device-tree/src/arm/microchip/at91sam9x5.dtsi (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * at91sam9x5.dtsi - Device Tree Include file for AT91SAM9x5 family SoC
4f126890aSEmmanuel Vadot *                   applies to AT91SAM9G15, AT91SAM9G25, AT91SAM9G35,
5f126890aSEmmanuel Vadot *                   AT91SAM9X25, AT91SAM9X35 SoC
6f126890aSEmmanuel Vadot *
7f126890aSEmmanuel Vadot *  Copyright (C) 2012 Atmel,
8f126890aSEmmanuel Vadot *                2012 Nicolas Ferre <nicolas.ferre@atmel.com>
9f126890aSEmmanuel Vadot */
10f126890aSEmmanuel Vadot
11f126890aSEmmanuel Vadot#include <dt-bindings/dma/at91.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#include <dt-bindings/clock/at91.h>
16f126890aSEmmanuel Vadot#include <dt-bindings/mfd/at91-usart.h>
17f126890aSEmmanuel Vadot
18f126890aSEmmanuel Vadot/ {
19f126890aSEmmanuel Vadot	#address-cells = <1>;
20f126890aSEmmanuel Vadot	#size-cells = <1>;
21f126890aSEmmanuel Vadot	model = "Atmel AT91SAM9x5 family SoC";
22f126890aSEmmanuel Vadot	compatible = "atmel,at91sam9x5";
23f126890aSEmmanuel Vadot	interrupt-parent = <&aic>;
24f126890aSEmmanuel Vadot
25f126890aSEmmanuel Vadot	aliases {
26f126890aSEmmanuel Vadot		serial0 = &dbgu;
27f126890aSEmmanuel Vadot		serial1 = &usart0;
28f126890aSEmmanuel Vadot		serial2 = &usart1;
29f126890aSEmmanuel Vadot		serial3 = &usart2;
30f126890aSEmmanuel Vadot		gpio0 = &pioA;
31f126890aSEmmanuel Vadot		gpio1 = &pioB;
32f126890aSEmmanuel Vadot		gpio2 = &pioC;
33f126890aSEmmanuel Vadot		gpio3 = &pioD;
34f126890aSEmmanuel Vadot		tcb0 = &tcb0;
35f126890aSEmmanuel Vadot		tcb1 = &tcb1;
36f126890aSEmmanuel Vadot		i2c0 = &i2c0;
37f126890aSEmmanuel Vadot		i2c1 = &i2c1;
38f126890aSEmmanuel Vadot		i2c2 = &i2c2;
39f126890aSEmmanuel Vadot		ssc0 = &ssc0;
40f126890aSEmmanuel Vadot		pwm0 = &pwm0;
41f126890aSEmmanuel Vadot	};
42f126890aSEmmanuel Vadot	cpus {
43f126890aSEmmanuel Vadot		#address-cells = <1>;
44f126890aSEmmanuel Vadot		#size-cells = <0>;
45f126890aSEmmanuel Vadot
46f126890aSEmmanuel Vadot		cpu@0 {
47f126890aSEmmanuel Vadot			compatible = "arm,arm926ej-s";
48f126890aSEmmanuel Vadot			device_type = "cpu";
49f126890aSEmmanuel Vadot			reg = <0>;
50f126890aSEmmanuel Vadot		};
51f126890aSEmmanuel Vadot	};
52f126890aSEmmanuel Vadot
53f126890aSEmmanuel Vadot	memory@20000000 {
54f126890aSEmmanuel Vadot		device_type = "memory";
55f126890aSEmmanuel Vadot		reg = <0x20000000 0x10000000>;
56f126890aSEmmanuel Vadot	};
57f126890aSEmmanuel Vadot
58f126890aSEmmanuel Vadot	clocks {
59f126890aSEmmanuel Vadot		slow_xtal: slow_xtal {
60f126890aSEmmanuel Vadot			compatible = "fixed-clock";
61f126890aSEmmanuel Vadot			#clock-cells = <0>;
62f126890aSEmmanuel Vadot			clock-frequency = <0>;
63f126890aSEmmanuel Vadot		};
64f126890aSEmmanuel Vadot
65f126890aSEmmanuel Vadot		main_xtal: main_xtal {
66f126890aSEmmanuel Vadot			compatible = "fixed-clock";
67f126890aSEmmanuel Vadot			#clock-cells = <0>;
68f126890aSEmmanuel Vadot			clock-frequency = <0>;
69f126890aSEmmanuel Vadot		};
70f126890aSEmmanuel Vadot
71f126890aSEmmanuel Vadot		adc_op_clk: adc_op_clk {
72f126890aSEmmanuel Vadot			compatible = "fixed-clock";
73f126890aSEmmanuel Vadot			#clock-cells = <0>;
74f126890aSEmmanuel Vadot			clock-frequency = <1000000>;
75f126890aSEmmanuel Vadot		};
76f126890aSEmmanuel Vadot	};
77f126890aSEmmanuel Vadot
78f126890aSEmmanuel Vadot	sram: sram@300000 {
79f126890aSEmmanuel Vadot		compatible = "mmio-sram";
80f126890aSEmmanuel Vadot		reg = <0x00300000 0x8000>;
81f126890aSEmmanuel Vadot		#address-cells = <1>;
82f126890aSEmmanuel Vadot		#size-cells = <1>;
83f126890aSEmmanuel Vadot		ranges = <0 0x00300000 0x8000>;
84f126890aSEmmanuel Vadot	};
85f126890aSEmmanuel Vadot
86f126890aSEmmanuel Vadot	ahb {
87f126890aSEmmanuel Vadot		compatible = "simple-bus";
88f126890aSEmmanuel Vadot		#address-cells = <1>;
89f126890aSEmmanuel Vadot		#size-cells = <1>;
90f126890aSEmmanuel Vadot		ranges;
91f126890aSEmmanuel Vadot
92f126890aSEmmanuel Vadot		apb {
93f126890aSEmmanuel Vadot			compatible = "simple-bus";
94f126890aSEmmanuel Vadot			#address-cells = <1>;
95f126890aSEmmanuel Vadot			#size-cells = <1>;
96f126890aSEmmanuel Vadot			ranges;
97f126890aSEmmanuel Vadot
98f126890aSEmmanuel Vadot			aic: interrupt-controller@fffff000 {
99f126890aSEmmanuel Vadot				#interrupt-cells = <3>;
100f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-aic";
101f126890aSEmmanuel Vadot				interrupt-controller;
102f126890aSEmmanuel Vadot				reg = <0xfffff000 0x200>;
103f126890aSEmmanuel Vadot				atmel,external-irqs = <31>;
104f126890aSEmmanuel Vadot			};
105f126890aSEmmanuel Vadot
106f126890aSEmmanuel Vadot			matrix: matrix@ffffde00 {
107f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9x5-matrix", "syscon";
108f126890aSEmmanuel Vadot				reg = <0xffffde00 0x100>;
109f126890aSEmmanuel Vadot			};
110f126890aSEmmanuel Vadot
111f126890aSEmmanuel Vadot			pmecc: ecc-engine@ffffe000 {
112f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9g45-pmecc";
113f126890aSEmmanuel Vadot				reg = <0xffffe000 0x600>,
114f126890aSEmmanuel Vadot				      <0xffffe600 0x200>;
115f126890aSEmmanuel Vadot			};
116f126890aSEmmanuel Vadot
117f126890aSEmmanuel Vadot			ramc0: ramc@ffffe800 {
118f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9g45-ddramc";
119f126890aSEmmanuel Vadot				reg = <0xffffe800 0x200>;
120f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_SYSTEM 2>;
121f126890aSEmmanuel Vadot				clock-names = "ddrck";
122f126890aSEmmanuel Vadot			};
123f126890aSEmmanuel Vadot
124f126890aSEmmanuel Vadot			smc: smc@ffffea00 {
125f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-smc", "syscon";
126f126890aSEmmanuel Vadot				reg = <0xffffea00 0x200>;
127f126890aSEmmanuel Vadot			};
128f126890aSEmmanuel Vadot
129f126890aSEmmanuel Vadot			pmc: clock-controller@fffffc00 {
130f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9x5-pmc", "syscon";
131f126890aSEmmanuel Vadot				reg = <0xfffffc00 0x200>;
132f126890aSEmmanuel Vadot				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
133f126890aSEmmanuel Vadot				#clock-cells = <2>;
134f126890aSEmmanuel Vadot				clocks = <&clk32k>, <&main_xtal>;
135f126890aSEmmanuel Vadot				clock-names = "slow_clk", "main_xtal";
136f126890aSEmmanuel Vadot			};
137f126890aSEmmanuel Vadot
138f126890aSEmmanuel Vadot			reset_controller: reset-controller@fffffe00 {
139f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9g45-rstc";
140f126890aSEmmanuel Vadot				reg = <0xfffffe00 0x10>;
141f126890aSEmmanuel Vadot				clocks = <&clk32k>;
142f126890aSEmmanuel Vadot			};
143f126890aSEmmanuel Vadot
144f126890aSEmmanuel Vadot			shutdown_controller: poweroff@fffffe10 {
145f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9x5-shdwc";
146f126890aSEmmanuel Vadot				reg = <0xfffffe10 0x10>;
147f126890aSEmmanuel Vadot				clocks = <&clk32k>;
148f126890aSEmmanuel Vadot			};
149f126890aSEmmanuel Vadot
150f126890aSEmmanuel Vadot			pit: timer@fffffe30 {
151f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-pit";
152f126890aSEmmanuel Vadot				reg = <0xfffffe30 0xf>;
153f126890aSEmmanuel Vadot				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
154f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_CORE PMC_MCK>;
155f126890aSEmmanuel Vadot			};
156f126890aSEmmanuel Vadot
157f126890aSEmmanuel Vadot			clk32k: clock-controller@fffffe50 {
158f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9x5-sckc";
159f126890aSEmmanuel Vadot				reg = <0xfffffe50 0x4>;
160f126890aSEmmanuel Vadot				clocks = <&slow_xtal>;
161f126890aSEmmanuel Vadot				#clock-cells = <0>;
162f126890aSEmmanuel Vadot			};
163f126890aSEmmanuel Vadot
164f126890aSEmmanuel Vadot			tcb0: timer@f8008000 {
165f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9x5-tcb", "simple-mfd", "syscon";
166f126890aSEmmanuel Vadot				#address-cells = <1>;
167f126890aSEmmanuel Vadot				#size-cells = <0>;
168f126890aSEmmanuel Vadot				reg = <0xf8008000 0x100>;
169f126890aSEmmanuel Vadot				interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>;
170f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 17>, <&clk32k>;
171f126890aSEmmanuel Vadot				clock-names = "t0_clk", "slow_clk";
172f126890aSEmmanuel Vadot			};
173f126890aSEmmanuel Vadot
174f126890aSEmmanuel Vadot			tcb1: timer@f800c000 {
175f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9x5-tcb", "simple-mfd", "syscon";
176f126890aSEmmanuel Vadot				#address-cells = <1>;
177f126890aSEmmanuel Vadot				#size-cells = <0>;
178f126890aSEmmanuel Vadot				reg = <0xf800c000 0x100>;
179f126890aSEmmanuel Vadot				interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>;
180f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 17>, <&clk32k>;
181f126890aSEmmanuel Vadot				clock-names = "t0_clk", "slow_clk";
182f126890aSEmmanuel Vadot			};
183f126890aSEmmanuel Vadot
184f126890aSEmmanuel Vadot			dma0: dma-controller@ffffec00 {
185f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9g45-dma";
186f126890aSEmmanuel Vadot				reg = <0xffffec00 0x200>;
187f126890aSEmmanuel Vadot				interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0>;
188f126890aSEmmanuel Vadot				#dma-cells = <2>;
189f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 20>;
190f126890aSEmmanuel Vadot				clock-names = "dma_clk";
191f126890aSEmmanuel Vadot			};
192f126890aSEmmanuel Vadot
193f126890aSEmmanuel Vadot			dma1: dma-controller@ffffee00 {
194f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9g45-dma";
195f126890aSEmmanuel Vadot				reg = <0xffffee00 0x200>;
196f126890aSEmmanuel Vadot				interrupts = <21 IRQ_TYPE_LEVEL_HIGH 0>;
197f126890aSEmmanuel Vadot				#dma-cells = <2>;
198f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 21>;
199f126890aSEmmanuel Vadot				clock-names = "dma_clk";
200f126890aSEmmanuel Vadot			};
201f126890aSEmmanuel Vadot
202f126890aSEmmanuel Vadot			pinctrl: pinctrl@fffff400 {
203f126890aSEmmanuel Vadot				#address-cells = <1>;
204f126890aSEmmanuel Vadot				#size-cells = <1>;
205*b2d2a78aSEmmanuel Vadot				compatible = "atmel,at91sam9x5-pinctrl", "simple-mfd";
206f126890aSEmmanuel Vadot				ranges = <0xfffff400 0xfffff400 0x800>;
207f126890aSEmmanuel Vadot
208f126890aSEmmanuel Vadot				/* shared pinctrl settings */
209f126890aSEmmanuel Vadot				dbgu {
210f126890aSEmmanuel Vadot					pinctrl_dbgu: dbgu-0 {
211f126890aSEmmanuel Vadot						atmel,pins =
212f126890aSEmmanuel Vadot							<AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
213f126890aSEmmanuel Vadot							 AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE>;
214f126890aSEmmanuel Vadot					};
215f126890aSEmmanuel Vadot				};
216f126890aSEmmanuel Vadot
217f126890aSEmmanuel Vadot				ebi {
218f126890aSEmmanuel Vadot					pinctrl_ebi_data_0_7: ebi-data-lsb-0 {
219f126890aSEmmanuel Vadot						atmel,pins =
220f126890aSEmmanuel Vadot							<AT91_PIOD 6 AT91_PERIPH_A AT91_PINCTRL_NONE
221f126890aSEmmanuel Vadot							 AT91_PIOD 7 AT91_PERIPH_A AT91_PINCTRL_NONE
222f126890aSEmmanuel Vadot							 AT91_PIOD 8 AT91_PERIPH_A AT91_PINCTRL_NONE
223f126890aSEmmanuel Vadot							 AT91_PIOD 9 AT91_PERIPH_A AT91_PINCTRL_NONE
224f126890aSEmmanuel Vadot							 AT91_PIOD 10 AT91_PERIPH_A AT91_PINCTRL_NONE
225f126890aSEmmanuel Vadot							 AT91_PIOD 11 AT91_PERIPH_A AT91_PINCTRL_NONE
226f126890aSEmmanuel Vadot							 AT91_PIOD 12 AT91_PERIPH_A AT91_PINCTRL_NONE
227f126890aSEmmanuel Vadot							 AT91_PIOD 13 AT91_PERIPH_A AT91_PINCTRL_NONE>;
228f126890aSEmmanuel Vadot					};
229f126890aSEmmanuel Vadot
230f126890aSEmmanuel Vadot					pinctrl_ebi_data_8_15: ebi-data-msb-0 {
231f126890aSEmmanuel Vadot						atmel,pins =
232f126890aSEmmanuel Vadot							<AT91_PIOD 14 AT91_PERIPH_A AT91_PINCTRL_NONE
233f126890aSEmmanuel Vadot							 AT91_PIOD 15 AT91_PERIPH_A AT91_PINCTRL_NONE
234f126890aSEmmanuel Vadot							 AT91_PIOD 16 AT91_PERIPH_A AT91_PINCTRL_NONE
235f126890aSEmmanuel Vadot							 AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_NONE
236f126890aSEmmanuel Vadot							 AT91_PIOD 18 AT91_PERIPH_A AT91_PINCTRL_NONE
237f126890aSEmmanuel Vadot							 AT91_PIOD 19 AT91_PERIPH_A AT91_PINCTRL_NONE
238f126890aSEmmanuel Vadot							 AT91_PIOD 20 AT91_PERIPH_A AT91_PINCTRL_NONE
239f126890aSEmmanuel Vadot							 AT91_PIOD 21 AT91_PERIPH_A AT91_PINCTRL_NONE>;
240f126890aSEmmanuel Vadot					};
241f126890aSEmmanuel Vadot
242f126890aSEmmanuel Vadot					pinctrl_ebi_addr_nand: ebi-addr-0 {
243f126890aSEmmanuel Vadot						atmel,pins =
244f126890aSEmmanuel Vadot							<AT91_PIOD 2 AT91_PERIPH_A AT91_PINCTRL_NONE
245f126890aSEmmanuel Vadot							 AT91_PIOD 3 AT91_PERIPH_A AT91_PINCTRL_NONE>;
246f126890aSEmmanuel Vadot					};
247f126890aSEmmanuel Vadot				};
248f126890aSEmmanuel Vadot
249f126890aSEmmanuel Vadot				usart0 {
250f126890aSEmmanuel Vadot					pinctrl_usart0: usart0-0 {
251f126890aSEmmanuel Vadot						atmel,pins =
252f126890aSEmmanuel Vadot							<AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE
253f126890aSEmmanuel Vadot							 AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
254f126890aSEmmanuel Vadot					};
255f126890aSEmmanuel Vadot
256f126890aSEmmanuel Vadot					pinctrl_usart0_rts: usart0_rts-0 {
257f126890aSEmmanuel Vadot						atmel,pins =
258f126890aSEmmanuel Vadot							<AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PA2 periph A */
259f126890aSEmmanuel Vadot					};
260f126890aSEmmanuel Vadot
261f126890aSEmmanuel Vadot					pinctrl_usart0_cts: usart0_cts-0 {
262f126890aSEmmanuel Vadot						atmel,pins =
263f126890aSEmmanuel Vadot							<AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PA3 periph A */
264f126890aSEmmanuel Vadot					};
265f126890aSEmmanuel Vadot
266f126890aSEmmanuel Vadot					pinctrl_usart0_sck: usart0_sck-0 {
267f126890aSEmmanuel Vadot						atmel,pins =
268f126890aSEmmanuel Vadot							<AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PA4 periph A */
269f126890aSEmmanuel Vadot					};
270f126890aSEmmanuel Vadot				};
271f126890aSEmmanuel Vadot
272f126890aSEmmanuel Vadot				usart1 {
273f126890aSEmmanuel Vadot					pinctrl_usart1: usart1-0 {
274f126890aSEmmanuel Vadot						atmel,pins =
275f126890aSEmmanuel Vadot							<AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_NONE
276f126890aSEmmanuel Vadot							 AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
277f126890aSEmmanuel Vadot					};
278f126890aSEmmanuel Vadot
279f126890aSEmmanuel Vadot					pinctrl_usart1_rts: usart1_rts-0 {
280f126890aSEmmanuel Vadot						atmel,pins =
281f126890aSEmmanuel Vadot							<AT91_PIOC 27 AT91_PERIPH_C AT91_PINCTRL_NONE>;	/* PC27 periph C */
282f126890aSEmmanuel Vadot					};
283f126890aSEmmanuel Vadot
284f126890aSEmmanuel Vadot					pinctrl_usart1_cts: usart1_cts-0 {
285f126890aSEmmanuel Vadot						atmel,pins =
286f126890aSEmmanuel Vadot							<AT91_PIOC 28 AT91_PERIPH_C AT91_PINCTRL_NONE>;	/* PC28 periph C */
287f126890aSEmmanuel Vadot					};
288f126890aSEmmanuel Vadot
289f126890aSEmmanuel Vadot					pinctrl_usart1_sck: usart1_sck-0 {
290f126890aSEmmanuel Vadot						atmel,pins =
291f126890aSEmmanuel Vadot							<AT91_PIOC 29 AT91_PERIPH_C AT91_PINCTRL_NONE>;	/* PC29 periph C */
292f126890aSEmmanuel Vadot					};
293f126890aSEmmanuel Vadot				};
294f126890aSEmmanuel Vadot
295f126890aSEmmanuel Vadot				usart2 {
296f126890aSEmmanuel Vadot					pinctrl_usart2: usart2-0 {
297f126890aSEmmanuel Vadot						atmel,pins =
298f126890aSEmmanuel Vadot							<AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_NONE
299f126890aSEmmanuel Vadot							 AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
300f126890aSEmmanuel Vadot					};
301f126890aSEmmanuel Vadot
302f126890aSEmmanuel Vadot					pinctrl_usart2_rts: usart2_rts-0 {
303f126890aSEmmanuel Vadot						atmel,pins =
304f126890aSEmmanuel Vadot							<AT91_PIOB 0 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* PB0 periph B */
305f126890aSEmmanuel Vadot					};
306f126890aSEmmanuel Vadot
307f126890aSEmmanuel Vadot					pinctrl_usart2_cts: usart2_cts-0 {
308f126890aSEmmanuel Vadot						atmel,pins =
309f126890aSEmmanuel Vadot							<AT91_PIOB 1 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* PB1 periph B */
310f126890aSEmmanuel Vadot					};
311f126890aSEmmanuel Vadot
312f126890aSEmmanuel Vadot					pinctrl_usart2_sck: usart2_sck-0 {
313f126890aSEmmanuel Vadot						atmel,pins =
314f126890aSEmmanuel Vadot							<AT91_PIOB 2 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* PB2 periph B */
315f126890aSEmmanuel Vadot					};
316f126890aSEmmanuel Vadot				};
317f126890aSEmmanuel Vadot
318f126890aSEmmanuel Vadot				uart0 {
319f126890aSEmmanuel Vadot					pinctrl_uart0: uart0-0 {
320f126890aSEmmanuel Vadot						atmel,pins =
321f126890aSEmmanuel Vadot							<AT91_PIOC 8 AT91_PERIPH_C AT91_PINCTRL_NONE	/* PC8 periph C */
322f126890aSEmmanuel Vadot							 AT91_PIOC 9 AT91_PERIPH_C AT91_PINCTRL_PULL_UP>;	/* PC9 periph C with pullup */
323f126890aSEmmanuel Vadot					};
324f126890aSEmmanuel Vadot				};
325f126890aSEmmanuel Vadot
326f126890aSEmmanuel Vadot				uart1 {
327f126890aSEmmanuel Vadot					pinctrl_uart1: uart1-0 {
328f126890aSEmmanuel Vadot						atmel,pins =
329f126890aSEmmanuel Vadot							<AT91_PIOC 16 AT91_PERIPH_C AT91_PINCTRL_NONE	/* PC16 periph C */
330f126890aSEmmanuel Vadot							 AT91_PIOC 17 AT91_PERIPH_C AT91_PINCTRL_PULL_UP>;	/* PC17 periph C with pullup */
331f126890aSEmmanuel Vadot					};
332f126890aSEmmanuel Vadot				};
333f126890aSEmmanuel Vadot
334f126890aSEmmanuel Vadot				nand {
335f126890aSEmmanuel Vadot					pinctrl_nand_oe_we: nand-oe-we-0 {
336f126890aSEmmanuel Vadot						atmel,pins =
337f126890aSEmmanuel Vadot							<AT91_PIOD 0 AT91_PERIPH_A AT91_PINCTRL_NONE
338f126890aSEmmanuel Vadot							 AT91_PIOD 1 AT91_PERIPH_A AT91_PINCTRL_NONE>;
339f126890aSEmmanuel Vadot					};
340f126890aSEmmanuel Vadot
341f126890aSEmmanuel Vadot					pinctrl_nand_rb: nand-rb-0 {
342f126890aSEmmanuel Vadot						atmel,pins =
343f126890aSEmmanuel Vadot							<AT91_PIOD 5 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
344f126890aSEmmanuel Vadot					};
345f126890aSEmmanuel Vadot
346f126890aSEmmanuel Vadot					pinctrl_nand_cs: nand-cs-0 {
347f126890aSEmmanuel Vadot						atmel,pins =
348f126890aSEmmanuel Vadot							<AT91_PIOD 4 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
349f126890aSEmmanuel Vadot					};
350f126890aSEmmanuel Vadot				};
351f126890aSEmmanuel Vadot
352f126890aSEmmanuel Vadot				mmc0 {
353f126890aSEmmanuel Vadot					pinctrl_mmc0_slot0_clk_cmd_dat0: mmc0_slot0_clk_cmd_dat0-0 {
354f126890aSEmmanuel Vadot						atmel,pins =
355f126890aSEmmanuel Vadot							<AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PA17 periph A */
356f126890aSEmmanuel Vadot							 AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* PA16 periph A with pullup */
357f126890aSEmmanuel Vadot							 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;	/* PA15 periph A with pullup */
358f126890aSEmmanuel Vadot					};
359f126890aSEmmanuel Vadot
360f126890aSEmmanuel Vadot					pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
361f126890aSEmmanuel Vadot						atmel,pins =
362f126890aSEmmanuel Vadot							<AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* PA18 periph A with pullup */
363f126890aSEmmanuel Vadot							 AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* PA19 periph A with pullup */
364f126890aSEmmanuel Vadot							 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;	/* PA20 periph A with pullup */
365f126890aSEmmanuel Vadot					};
366f126890aSEmmanuel Vadot				};
367f126890aSEmmanuel Vadot
368f126890aSEmmanuel Vadot				mmc1 {
369f126890aSEmmanuel Vadot					pinctrl_mmc1_slot0_clk_cmd_dat0: mmc1_slot0_clk_cmd_dat0-0 {
370f126890aSEmmanuel Vadot						atmel,pins =
371f126890aSEmmanuel Vadot							<AT91_PIOA 13 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PA13 periph B */
372f126890aSEmmanuel Vadot							 AT91_PIOA 12 AT91_PERIPH_B AT91_PINCTRL_PULL_UP	/* PA12 periph B with pullup */
373f126890aSEmmanuel Vadot							 AT91_PIOA 11 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>;	/* PA11 periph B with pullup */
374f126890aSEmmanuel Vadot					};
375f126890aSEmmanuel Vadot
376f126890aSEmmanuel Vadot					pinctrl_mmc1_slot0_dat1_3: mmc1_slot0_dat1_3-0 {
377f126890aSEmmanuel Vadot						atmel,pins =
378f126890aSEmmanuel Vadot							<AT91_PIOA 2 AT91_PERIPH_B AT91_PINCTRL_PULL_UP	/* PA2 periph B with pullup */
379f126890aSEmmanuel Vadot							 AT91_PIOA 3 AT91_PERIPH_B AT91_PINCTRL_PULL_UP	/* PA3 periph B with pullup */
380f126890aSEmmanuel Vadot							 AT91_PIOA 4 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>;	/* PA4 periph B with pullup */
381f126890aSEmmanuel Vadot					};
382f126890aSEmmanuel Vadot				};
383f126890aSEmmanuel Vadot
384f126890aSEmmanuel Vadot				ssc0 {
385f126890aSEmmanuel Vadot					pinctrl_ssc0_tx: ssc0_tx-0 {
386f126890aSEmmanuel Vadot						atmel,pins =
387f126890aSEmmanuel Vadot							<AT91_PIOA 24 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PA24 periph B */
388f126890aSEmmanuel Vadot							 AT91_PIOA 25 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PA25 periph B */
389f126890aSEmmanuel Vadot							 AT91_PIOA 26 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* PA26 periph B */
390f126890aSEmmanuel Vadot					};
391f126890aSEmmanuel Vadot
392f126890aSEmmanuel Vadot					pinctrl_ssc0_rx: ssc0_rx-0 {
393f126890aSEmmanuel Vadot						atmel,pins =
394f126890aSEmmanuel Vadot							<AT91_PIOA 27 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PA27 periph B */
395f126890aSEmmanuel Vadot							 AT91_PIOA 28 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PA28 periph B */
396f126890aSEmmanuel Vadot							 AT91_PIOA 29 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* PA29 periph B */
397f126890aSEmmanuel Vadot					};
398f126890aSEmmanuel Vadot				};
399f126890aSEmmanuel Vadot
400f126890aSEmmanuel Vadot				spi0 {
401f126890aSEmmanuel Vadot					pinctrl_spi0: spi0-0 {
402f126890aSEmmanuel Vadot						atmel,pins =
403f126890aSEmmanuel Vadot							<AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PA11 periph A SPI0_MISO pin */
404f126890aSEmmanuel Vadot							 AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PA12 periph A SPI0_MOSI pin */
405f126890aSEmmanuel Vadot							 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PA13 periph A SPI0_SPCK pin */
406f126890aSEmmanuel Vadot					};
407f126890aSEmmanuel Vadot				};
408f126890aSEmmanuel Vadot
409f126890aSEmmanuel Vadot				spi1 {
410f126890aSEmmanuel Vadot					pinctrl_spi1: spi1-0 {
411f126890aSEmmanuel Vadot						atmel,pins =
412f126890aSEmmanuel Vadot							<AT91_PIOA 21 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PA21 periph B SPI1_MISO pin */
413f126890aSEmmanuel Vadot							 AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PA22 periph B SPI1_MOSI pin */
414f126890aSEmmanuel Vadot							 AT91_PIOA 23 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* PA23 periph B SPI1_SPCK pin */
415f126890aSEmmanuel Vadot					};
416f126890aSEmmanuel Vadot				};
417f126890aSEmmanuel Vadot
418f126890aSEmmanuel Vadot				i2c0 {
419f126890aSEmmanuel Vadot					pinctrl_i2c0: i2c0-0 {
420f126890aSEmmanuel Vadot						atmel,pins =
421f126890aSEmmanuel Vadot							<AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PA30 periph A I2C0 data */
422f126890aSEmmanuel Vadot							 AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PA31 periph A I2C0 clock */
423f126890aSEmmanuel Vadot					};
424f126890aSEmmanuel Vadot				};
425f126890aSEmmanuel Vadot
426f126890aSEmmanuel Vadot				i2c1 {
427f126890aSEmmanuel Vadot					pinctrl_i2c1: i2c1-0 {
428f126890aSEmmanuel Vadot						atmel,pins =
429f126890aSEmmanuel Vadot							<AT91_PIOC 0 AT91_PERIPH_C AT91_PINCTRL_NONE	/* PC0 periph C I2C1 data */
430f126890aSEmmanuel Vadot							 AT91_PIOC 1 AT91_PERIPH_C AT91_PINCTRL_NONE>;	/* PC1 periph C I2C1 clock */
431f126890aSEmmanuel Vadot					};
432f126890aSEmmanuel Vadot				};
433f126890aSEmmanuel Vadot
434f126890aSEmmanuel Vadot				i2c2 {
435f126890aSEmmanuel Vadot					pinctrl_i2c2: i2c2-0 {
436f126890aSEmmanuel Vadot						atmel,pins =
437f126890aSEmmanuel Vadot							<AT91_PIOB 4 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PB4 periph B I2C2 data */
438f126890aSEmmanuel Vadot							 AT91_PIOB 5 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* PB5 periph B I2C2 clock */
439f126890aSEmmanuel Vadot					};
440f126890aSEmmanuel Vadot				};
441f126890aSEmmanuel Vadot
442f126890aSEmmanuel Vadot				i2c_gpio0 {
443f126890aSEmmanuel Vadot					pinctrl_i2c_gpio0: i2c_gpio0-0 {
444f126890aSEmmanuel Vadot						atmel,pins =
445f126890aSEmmanuel Vadot							<AT91_PIOA 30 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE	/* PA30 gpio multidrive I2C0 data */
446f126890aSEmmanuel Vadot							 AT91_PIOA 31 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>;	/* PA31 gpio multidrive I2C0 clock */
447f126890aSEmmanuel Vadot					};
448f126890aSEmmanuel Vadot				};
449f126890aSEmmanuel Vadot
450f126890aSEmmanuel Vadot				i2c_gpio1 {
451f126890aSEmmanuel Vadot					pinctrl_i2c_gpio1: i2c_gpio1-0 {
452f126890aSEmmanuel Vadot						atmel,pins =
453f126890aSEmmanuel Vadot							<AT91_PIOC 0 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE	/* PC0 gpio multidrive I2C1 data */
454f126890aSEmmanuel Vadot							 AT91_PIOC 1 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>;	/* PC1 gpio multidrive I2C1 clock */
455f126890aSEmmanuel Vadot					};
456f126890aSEmmanuel Vadot				};
457f126890aSEmmanuel Vadot
458f126890aSEmmanuel Vadot				i2c_gpio2 {
459f126890aSEmmanuel Vadot					pinctrl_i2c_gpio2: i2c_gpio2-0 {
460f126890aSEmmanuel Vadot						atmel,pins =
461f126890aSEmmanuel Vadot							<AT91_PIOB 4 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE	/* PB4 gpio multidrive I2C2 data */
462f126890aSEmmanuel Vadot							 AT91_PIOB 5 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>;	/* PB5 gpio multidrive I2C2 clock */
463f126890aSEmmanuel Vadot					};
464f126890aSEmmanuel Vadot				};
465f126890aSEmmanuel Vadot
466f126890aSEmmanuel Vadot				pwm0 {
467f126890aSEmmanuel Vadot					pinctrl_pwm0_pwm0_0: pwm0_pwm0-0 {
468f126890aSEmmanuel Vadot						atmel,pins =
469f126890aSEmmanuel Vadot							<AT91_PIOB 11 AT91_PERIPH_B AT91_PINCTRL_NONE>;
470f126890aSEmmanuel Vadot					};
471f126890aSEmmanuel Vadot					pinctrl_pwm0_pwm0_1: pwm0_pwm0-1 {
472f126890aSEmmanuel Vadot						atmel,pins =
473f126890aSEmmanuel Vadot							<AT91_PIOC 10 AT91_PERIPH_C AT91_PINCTRL_NONE>;
474f126890aSEmmanuel Vadot					};
475f126890aSEmmanuel Vadot					pinctrl_pwm0_pwm0_2: pwm0_pwm0-2 {
476f126890aSEmmanuel Vadot						atmel,pins =
477f126890aSEmmanuel Vadot							<AT91_PIOC 18 AT91_PERIPH_C AT91_PINCTRL_NONE>;
478f126890aSEmmanuel Vadot					};
479f126890aSEmmanuel Vadot
480f126890aSEmmanuel Vadot					pinctrl_pwm0_pwm1_0: pwm0_pwm1-0 {
481f126890aSEmmanuel Vadot						atmel,pins =
482f126890aSEmmanuel Vadot							<AT91_PIOB 12 AT91_PERIPH_B AT91_PINCTRL_NONE>;
483f126890aSEmmanuel Vadot					};
484f126890aSEmmanuel Vadot					pinctrl_pwm0_pwm1_1: pwm0_pwm1-1 {
485f126890aSEmmanuel Vadot						atmel,pins =
486f126890aSEmmanuel Vadot							<AT91_PIOC 11 AT91_PERIPH_C AT91_PINCTRL_NONE>;
487f126890aSEmmanuel Vadot					};
488f126890aSEmmanuel Vadot					pinctrl_pwm0_pwm1_2: pwm0_pwm1-2 {
489f126890aSEmmanuel Vadot						atmel,pins =
490f126890aSEmmanuel Vadot							<AT91_PIOC 19 AT91_PERIPH_C AT91_PINCTRL_NONE>;
491f126890aSEmmanuel Vadot					};
492f126890aSEmmanuel Vadot
493f126890aSEmmanuel Vadot					pinctrl_pwm0_pwm2_0: pwm0_pwm2-0 {
494f126890aSEmmanuel Vadot						atmel,pins =
495f126890aSEmmanuel Vadot							<AT91_PIOB 13 AT91_PERIPH_B AT91_PINCTRL_NONE>;
496f126890aSEmmanuel Vadot					};
497f126890aSEmmanuel Vadot					pinctrl_pwm0_pwm2_1: pwm0_pwm2-1 {
498f126890aSEmmanuel Vadot						atmel,pins =
499f126890aSEmmanuel Vadot							<AT91_PIOC 20 AT91_PERIPH_C AT91_PINCTRL_NONE>;
500f126890aSEmmanuel Vadot					};
501f126890aSEmmanuel Vadot
502f126890aSEmmanuel Vadot					pinctrl_pwm0_pwm3_0: pwm0_pwm3-0 {
503f126890aSEmmanuel Vadot						atmel,pins =
504f126890aSEmmanuel Vadot							<AT91_PIOB 14 AT91_PERIPH_B AT91_PINCTRL_NONE>;
505f126890aSEmmanuel Vadot					};
506f126890aSEmmanuel Vadot					pinctrl_pwm0_pwm3_1: pwm0_pwm3-1 {
507f126890aSEmmanuel Vadot						atmel,pins =
508f126890aSEmmanuel Vadot							<AT91_PIOC 21 AT91_PERIPH_C AT91_PINCTRL_NONE>;
509f126890aSEmmanuel Vadot					};
510f126890aSEmmanuel Vadot				};
511f126890aSEmmanuel Vadot
512f126890aSEmmanuel Vadot				tcb0 {
513f126890aSEmmanuel Vadot					pinctrl_tcb0_tclk0: tcb0_tclk0-0 {
514f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOA 24 AT91_PERIPH_A AT91_PINCTRL_NONE>;
515f126890aSEmmanuel Vadot					};
516f126890aSEmmanuel Vadot
517f126890aSEmmanuel Vadot					pinctrl_tcb0_tclk1: tcb0_tclk1-0 {
518f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOA 25 AT91_PERIPH_A AT91_PINCTRL_NONE>;
519f126890aSEmmanuel Vadot					};
520f126890aSEmmanuel Vadot
521f126890aSEmmanuel Vadot					pinctrl_tcb0_tclk2: tcb0_tclk2-0 {
522f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOA 26 AT91_PERIPH_A AT91_PINCTRL_NONE>;
523f126890aSEmmanuel Vadot					};
524f126890aSEmmanuel Vadot
525f126890aSEmmanuel Vadot					pinctrl_tcb0_tioa0: tcb0_tioa0-0 {
526f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE>;
527f126890aSEmmanuel Vadot					};
528f126890aSEmmanuel Vadot
529f126890aSEmmanuel Vadot					pinctrl_tcb0_tioa1: tcb0_tioa1-0 {
530f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_NONE>;
531f126890aSEmmanuel Vadot					};
532f126890aSEmmanuel Vadot
533f126890aSEmmanuel Vadot					pinctrl_tcb0_tioa2: tcb0_tioa2-0 {
534f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_NONE>;
535f126890aSEmmanuel Vadot					};
536f126890aSEmmanuel Vadot
537f126890aSEmmanuel Vadot					pinctrl_tcb0_tiob0: tcb0_tiob0-0 {
538f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOA 27 AT91_PERIPH_A AT91_PINCTRL_NONE>;
539f126890aSEmmanuel Vadot					};
540f126890aSEmmanuel Vadot
541f126890aSEmmanuel Vadot					pinctrl_tcb0_tiob1: tcb0_tiob1-0 {
542f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOA 28 AT91_PERIPH_A AT91_PINCTRL_NONE>;
543f126890aSEmmanuel Vadot					};
544f126890aSEmmanuel Vadot
545f126890aSEmmanuel Vadot					pinctrl_tcb0_tiob2: tcb0_tiob2-0 {
546f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOA 29 AT91_PERIPH_A AT91_PINCTRL_NONE>;
547f126890aSEmmanuel Vadot					};
548f126890aSEmmanuel Vadot				};
549f126890aSEmmanuel Vadot
550f126890aSEmmanuel Vadot				tcb1 {
551f126890aSEmmanuel Vadot					pinctrl_tcb1_tclk0: tcb1_tclk0-0 {
552f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOC 4 AT91_PERIPH_C AT91_PINCTRL_NONE>;
553f126890aSEmmanuel Vadot					};
554f126890aSEmmanuel Vadot
555f126890aSEmmanuel Vadot					pinctrl_tcb1_tclk1: tcb1_tclk1-0 {
556f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOC 7 AT91_PERIPH_C AT91_PINCTRL_NONE>;
557f126890aSEmmanuel Vadot					};
558f126890aSEmmanuel Vadot
559f126890aSEmmanuel Vadot					pinctrl_tcb1_tclk2: tcb1_tclk2-0 {
560f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOC 14 AT91_PERIPH_C AT91_PINCTRL_NONE>;
561f126890aSEmmanuel Vadot					};
562f126890aSEmmanuel Vadot
563f126890aSEmmanuel Vadot					pinctrl_tcb1_tioa0: tcb1_tioa0-0 {
564f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOC 2 AT91_PERIPH_C AT91_PINCTRL_NONE>;
565f126890aSEmmanuel Vadot					};
566f126890aSEmmanuel Vadot
567f126890aSEmmanuel Vadot					pinctrl_tcb1_tioa1: tcb1_tioa1-0 {
568f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOC 5 AT91_PERIPH_C AT91_PINCTRL_NONE>;
569f126890aSEmmanuel Vadot					};
570f126890aSEmmanuel Vadot
571f126890aSEmmanuel Vadot					pinctrl_tcb1_tioa2: tcb1_tioa2-0 {
572f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOC 12 AT91_PERIPH_C AT91_PINCTRL_NONE>;
573f126890aSEmmanuel Vadot					};
574f126890aSEmmanuel Vadot
575f126890aSEmmanuel Vadot					pinctrl_tcb1_tiob0: tcb1_tiob0-0 {
576f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOC 3 AT91_PERIPH_C AT91_PINCTRL_NONE>;
577f126890aSEmmanuel Vadot					};
578f126890aSEmmanuel Vadot
579f126890aSEmmanuel Vadot					pinctrl_tcb1_tiob1: tcb1_tiob1-0 {
580f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOC 6 AT91_PERIPH_C AT91_PINCTRL_NONE>;
581f126890aSEmmanuel Vadot					};
582f126890aSEmmanuel Vadot
583f126890aSEmmanuel Vadot					pinctrl_tcb1_tiob2: tcb1_tiob2-0 {
584f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOC 13 AT91_PERIPH_C AT91_PINCTRL_NONE>;
585f126890aSEmmanuel Vadot					};
586f126890aSEmmanuel Vadot				};
587f126890aSEmmanuel Vadot
588f126890aSEmmanuel Vadot				pioA: gpio@fffff400 {
589f126890aSEmmanuel Vadot					compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
590f126890aSEmmanuel Vadot					reg = <0xfffff400 0x200>;
591f126890aSEmmanuel Vadot					interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
592f126890aSEmmanuel Vadot					#gpio-cells = <2>;
593f126890aSEmmanuel Vadot					gpio-controller;
594f126890aSEmmanuel Vadot					interrupt-controller;
595f126890aSEmmanuel Vadot					#interrupt-cells = <2>;
596f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 2>;
597f126890aSEmmanuel Vadot				};
598f126890aSEmmanuel Vadot
599f126890aSEmmanuel Vadot				pioB: gpio@fffff600 {
600f126890aSEmmanuel Vadot					compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
601f126890aSEmmanuel Vadot					reg = <0xfffff600 0x200>;
602f126890aSEmmanuel Vadot					interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
603f126890aSEmmanuel Vadot					#gpio-cells = <2>;
604f126890aSEmmanuel Vadot					gpio-controller;
605f126890aSEmmanuel Vadot					#gpio-lines = <19>;
606f126890aSEmmanuel Vadot					interrupt-controller;
607f126890aSEmmanuel Vadot					#interrupt-cells = <2>;
608f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 2>;
609f126890aSEmmanuel Vadot				};
610f126890aSEmmanuel Vadot
611f126890aSEmmanuel Vadot				pioC: gpio@fffff800 {
612f126890aSEmmanuel Vadot					compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
613f126890aSEmmanuel Vadot					reg = <0xfffff800 0x200>;
614f126890aSEmmanuel Vadot					interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
615f126890aSEmmanuel Vadot					#gpio-cells = <2>;
616f126890aSEmmanuel Vadot					gpio-controller;
617f126890aSEmmanuel Vadot					interrupt-controller;
618f126890aSEmmanuel Vadot					#interrupt-cells = <2>;
619f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 3>;
620f126890aSEmmanuel Vadot				};
621f126890aSEmmanuel Vadot
622f126890aSEmmanuel Vadot				pioD: gpio@fffffa00 {
623f126890aSEmmanuel Vadot					compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
624f126890aSEmmanuel Vadot					reg = <0xfffffa00 0x200>;
625f126890aSEmmanuel Vadot					interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
626f126890aSEmmanuel Vadot					#gpio-cells = <2>;
627f126890aSEmmanuel Vadot					gpio-controller;
628f126890aSEmmanuel Vadot					#gpio-lines = <22>;
629f126890aSEmmanuel Vadot					interrupt-controller;
630f126890aSEmmanuel Vadot					#interrupt-cells = <2>;
631f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 3>;
632f126890aSEmmanuel Vadot				};
633f126890aSEmmanuel Vadot			};
634f126890aSEmmanuel Vadot
635f126890aSEmmanuel Vadot			ssc0: ssc@f0010000 {
636f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9g45-ssc";
637f126890aSEmmanuel Vadot				reg = <0xf0010000 0x4000>;
638f126890aSEmmanuel Vadot				interrupts = <28 IRQ_TYPE_LEVEL_HIGH 5>;
639f126890aSEmmanuel Vadot				dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(13)>,
640f126890aSEmmanuel Vadot				       <&dma0 1 AT91_DMA_CFG_PER_ID(14)>;
641f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
642f126890aSEmmanuel Vadot				pinctrl-names = "default";
643f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
644f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 28>;
645f126890aSEmmanuel Vadot				clock-names = "pclk";
646f126890aSEmmanuel Vadot				status = "disabled";
647f126890aSEmmanuel Vadot			};
648f126890aSEmmanuel Vadot
649f126890aSEmmanuel Vadot			mmc0: mmc@f0008000 {
650f126890aSEmmanuel Vadot				compatible = "atmel,hsmci";
651f126890aSEmmanuel Vadot				reg = <0xf0008000 0x600>;
652f126890aSEmmanuel Vadot				interrupts = <12 IRQ_TYPE_LEVEL_HIGH 0>;
653f126890aSEmmanuel Vadot				dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(0)>;
654f126890aSEmmanuel Vadot				dma-names = "rxtx";
655f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 12>;
656f126890aSEmmanuel Vadot				clock-names = "mci_clk";
657f126890aSEmmanuel Vadot				#address-cells = <1>;
658f126890aSEmmanuel Vadot				#size-cells = <0>;
659f126890aSEmmanuel Vadot				status = "disabled";
660f126890aSEmmanuel Vadot			};
661f126890aSEmmanuel Vadot
662f126890aSEmmanuel Vadot			mmc1: mmc@f000c000 {
663f126890aSEmmanuel Vadot				compatible = "atmel,hsmci";
664f126890aSEmmanuel Vadot				reg = <0xf000c000 0x600>;
665f126890aSEmmanuel Vadot				interrupts = <26 IRQ_TYPE_LEVEL_HIGH 0>;
666f126890aSEmmanuel Vadot				dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(0)>;
667f126890aSEmmanuel Vadot				dma-names = "rxtx";
668f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 26>;
669f126890aSEmmanuel Vadot				clock-names = "mci_clk";
670f126890aSEmmanuel Vadot				#address-cells = <1>;
671f126890aSEmmanuel Vadot				#size-cells = <0>;
672f126890aSEmmanuel Vadot				status = "disabled";
673f126890aSEmmanuel Vadot			};
674f126890aSEmmanuel Vadot
675f126890aSEmmanuel Vadot			dbgu: serial@fffff200 {
676f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
677f126890aSEmmanuel Vadot				reg = <0xfffff200 0x200>;
678f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
679f126890aSEmmanuel Vadot				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
680f126890aSEmmanuel Vadot				pinctrl-names = "default";
681f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_dbgu>;
682f126890aSEmmanuel Vadot				dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(8)>,
683f126890aSEmmanuel Vadot				       <&dma1 1 (AT91_DMA_CFG_PER_ID(9) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
684f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
685f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_CORE PMC_MCK>;
686f126890aSEmmanuel Vadot				clock-names = "usart";
687f126890aSEmmanuel Vadot				status = "disabled";
688f126890aSEmmanuel Vadot			};
689f126890aSEmmanuel Vadot
690f126890aSEmmanuel Vadot			usart0: serial@f801c000 {
691f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-usart";
692f126890aSEmmanuel Vadot				reg = <0xf801c000 0x200>;
693f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
694f126890aSEmmanuel Vadot				interrupts = <5 IRQ_TYPE_LEVEL_HIGH 5>;
695f126890aSEmmanuel Vadot				pinctrl-names = "default";
696f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_usart0>;
697f126890aSEmmanuel Vadot				dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(3)>,
698f126890aSEmmanuel Vadot				       <&dma0 1 (AT91_DMA_CFG_PER_ID(4) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
699f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
700f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 5>;
701f126890aSEmmanuel Vadot				clock-names = "usart";
702f126890aSEmmanuel Vadot				status = "disabled";
703f126890aSEmmanuel Vadot			};
704f126890aSEmmanuel Vadot
705f126890aSEmmanuel Vadot			usart1: serial@f8020000 {
706f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-usart";
707f126890aSEmmanuel Vadot				reg = <0xf8020000 0x200>;
708f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
709f126890aSEmmanuel Vadot				interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>;
710f126890aSEmmanuel Vadot				pinctrl-names = "default";
711f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_usart1>;
712f126890aSEmmanuel Vadot				dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(5)>,
713f126890aSEmmanuel Vadot				       <&dma0 1 (AT91_DMA_CFG_PER_ID(6) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
714f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
715f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 6>;
716f126890aSEmmanuel Vadot				clock-names = "usart";
717f126890aSEmmanuel Vadot				status = "disabled";
718f126890aSEmmanuel Vadot			};
719f126890aSEmmanuel Vadot
720f126890aSEmmanuel Vadot			usart2: serial@f8024000 {
721f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-usart";
722f126890aSEmmanuel Vadot				reg = <0xf8024000 0x200>;
723f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
724f126890aSEmmanuel Vadot				interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
725f126890aSEmmanuel Vadot				pinctrl-names = "default";
726f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_usart2>;
727f126890aSEmmanuel Vadot				dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(12)>,
728f126890aSEmmanuel Vadot				       <&dma1 1 (AT91_DMA_CFG_PER_ID(13) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
729f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
730f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 7>;
731f126890aSEmmanuel Vadot				clock-names = "usart";
732f126890aSEmmanuel Vadot				status = "disabled";
733f126890aSEmmanuel Vadot			};
734f126890aSEmmanuel Vadot
735f126890aSEmmanuel Vadot			i2c0: i2c@f8010000 {
736f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9x5-i2c";
737f126890aSEmmanuel Vadot				reg = <0xf8010000 0x100>;
738f126890aSEmmanuel Vadot				interrupts = <9 IRQ_TYPE_LEVEL_HIGH 6>;
739f126890aSEmmanuel Vadot				dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(7)>,
740f126890aSEmmanuel Vadot				       <&dma0 1 AT91_DMA_CFG_PER_ID(8)>;
741f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
742f126890aSEmmanuel Vadot				#address-cells = <1>;
743f126890aSEmmanuel Vadot				#size-cells = <0>;
744f126890aSEmmanuel Vadot				pinctrl-names = "default";
745f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_i2c0>;
746f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 9>;
747f126890aSEmmanuel Vadot				status = "disabled";
748f126890aSEmmanuel Vadot			};
749f126890aSEmmanuel Vadot
750f126890aSEmmanuel Vadot			i2c1: i2c@f8014000 {
751f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9x5-i2c";
752f126890aSEmmanuel Vadot				reg = <0xf8014000 0x100>;
753f126890aSEmmanuel Vadot				interrupts = <10 IRQ_TYPE_LEVEL_HIGH 6>;
754f126890aSEmmanuel Vadot				dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(5)>,
755f126890aSEmmanuel Vadot				       <&dma1 1 AT91_DMA_CFG_PER_ID(6)>;
756f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
757f126890aSEmmanuel Vadot				#address-cells = <1>;
758f126890aSEmmanuel Vadot				#size-cells = <0>;
759f126890aSEmmanuel Vadot				pinctrl-names = "default";
760f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_i2c1>;
761f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 10>;
762f126890aSEmmanuel Vadot				status = "disabled";
763f126890aSEmmanuel Vadot			};
764f126890aSEmmanuel Vadot
765f126890aSEmmanuel Vadot			i2c2: i2c@f8018000 {
766f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9x5-i2c";
767f126890aSEmmanuel Vadot				reg = <0xf8018000 0x100>;
768f126890aSEmmanuel Vadot				interrupts = <11 IRQ_TYPE_LEVEL_HIGH 6>;
769f126890aSEmmanuel Vadot				dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(9)>,
770f126890aSEmmanuel Vadot				       <&dma0 1 AT91_DMA_CFG_PER_ID(10)>;
771f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
772f126890aSEmmanuel Vadot				#address-cells = <1>;
773f126890aSEmmanuel Vadot				#size-cells = <0>;
774f126890aSEmmanuel Vadot				pinctrl-names = "default";
775f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_i2c2>;
776f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 11>;
777f126890aSEmmanuel Vadot				status = "disabled";
778f126890aSEmmanuel Vadot			};
779f126890aSEmmanuel Vadot
780f126890aSEmmanuel Vadot			uart0: serial@f8040000 {
781f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-usart";
782f126890aSEmmanuel Vadot				reg = <0xf8040000 0x200>;
783f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
784f126890aSEmmanuel Vadot				interrupts = <15 IRQ_TYPE_LEVEL_HIGH 5>;
785f126890aSEmmanuel Vadot				pinctrl-names = "default";
786f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_uart0>;
787f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 15>;
788f126890aSEmmanuel Vadot				clock-names = "usart";
789f126890aSEmmanuel Vadot				status = "disabled";
790f126890aSEmmanuel Vadot			};
791f126890aSEmmanuel Vadot
792f126890aSEmmanuel Vadot			uart1: serial@f8044000 {
793f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-usart";
794f126890aSEmmanuel Vadot				reg = <0xf8044000 0x200>;
795f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
796f126890aSEmmanuel Vadot				interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
797f126890aSEmmanuel Vadot				pinctrl-names = "default";
798f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_uart1>;
799f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 16>;
800f126890aSEmmanuel Vadot				clock-names = "usart";
801f126890aSEmmanuel Vadot				status = "disabled";
802f126890aSEmmanuel Vadot			};
803f126890aSEmmanuel Vadot
804f126890aSEmmanuel Vadot			adc0: adc@f804c000 {
805f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9x5-adc";
806f126890aSEmmanuel Vadot				reg = <0xf804c000 0x100>;
807f126890aSEmmanuel Vadot				interrupts = <19 IRQ_TYPE_LEVEL_HIGH 0>;
808f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 19>,
809f126890aSEmmanuel Vadot					 <&adc_op_clk>;
810f126890aSEmmanuel Vadot				clock-names = "adc_clk", "adc_op_clk";
811f126890aSEmmanuel Vadot				atmel,adc-use-external-triggers;
812f126890aSEmmanuel Vadot				atmel,adc-channels-used = <0xffff>;
813f126890aSEmmanuel Vadot				atmel,adc-vref = <3300>;
814f126890aSEmmanuel Vadot				atmel,adc-startup-time = <40>;
815f126890aSEmmanuel Vadot				atmel,adc-sample-hold-time = <11>;
816f126890aSEmmanuel Vadot			};
817f126890aSEmmanuel Vadot
818f126890aSEmmanuel Vadot			spi0: spi@f0000000 {
819f126890aSEmmanuel Vadot				#address-cells = <1>;
820f126890aSEmmanuel Vadot				#size-cells = <0>;
821f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-spi";
822f126890aSEmmanuel Vadot				reg = <0xf0000000 0x100>;
823f126890aSEmmanuel Vadot				interrupts = <13 IRQ_TYPE_LEVEL_HIGH 3>;
824f126890aSEmmanuel Vadot				dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(1)>,
825f126890aSEmmanuel Vadot				       <&dma0 1 AT91_DMA_CFG_PER_ID(2)>;
826f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
827f126890aSEmmanuel Vadot				pinctrl-names = "default";
828f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_spi0>;
829f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 13>;
830f126890aSEmmanuel Vadot				clock-names = "spi_clk";
831f126890aSEmmanuel Vadot				status = "disabled";
832f126890aSEmmanuel Vadot			};
833f126890aSEmmanuel Vadot
834f126890aSEmmanuel Vadot			spi1: spi@f0004000 {
835f126890aSEmmanuel Vadot				#address-cells = <1>;
836f126890aSEmmanuel Vadot				#size-cells = <0>;
837f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-spi";
838f126890aSEmmanuel Vadot				reg = <0xf0004000 0x100>;
839f126890aSEmmanuel Vadot				interrupts = <14 IRQ_TYPE_LEVEL_HIGH 3>;
840f126890aSEmmanuel Vadot				dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(1)>,
841f126890aSEmmanuel Vadot				       <&dma1 1 AT91_DMA_CFG_PER_ID(2)>;
842f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
843f126890aSEmmanuel Vadot				pinctrl-names = "default";
844f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_spi1>;
845f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 14>;
846f126890aSEmmanuel Vadot				clock-names = "spi_clk";
847f126890aSEmmanuel Vadot				status = "disabled";
848f126890aSEmmanuel Vadot			};
849f126890aSEmmanuel Vadot
850f126890aSEmmanuel Vadot			usb2: gadget@f803c000 {
851f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9g45-udc";
852f126890aSEmmanuel Vadot				reg = <0x00500000 0x80000
853f126890aSEmmanuel Vadot				       0xf803c000 0x400>;
854f126890aSEmmanuel Vadot				interrupts = <23 IRQ_TYPE_LEVEL_HIGH 0>;
855f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_CORE PMC_UTMI>, <&pmc PMC_TYPE_PERIPHERAL 23>;
856f126890aSEmmanuel Vadot				clock-names = "hclk", "pclk";
857f126890aSEmmanuel Vadot				status = "disabled";
858f126890aSEmmanuel Vadot			};
859f126890aSEmmanuel Vadot
860f126890aSEmmanuel Vadot			watchdog: watchdog@fffffe40 {
861f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-wdt";
862f126890aSEmmanuel Vadot				reg = <0xfffffe40 0x10>;
863f126890aSEmmanuel Vadot				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
864f126890aSEmmanuel Vadot				clocks = <&clk32k>;
865f126890aSEmmanuel Vadot				atmel,watchdog-type = "hardware";
866f126890aSEmmanuel Vadot				atmel,reset-type = "all";
867f126890aSEmmanuel Vadot				atmel,dbg-halt;
868f126890aSEmmanuel Vadot				status = "disabled";
869f126890aSEmmanuel Vadot			};
870f126890aSEmmanuel Vadot
871f126890aSEmmanuel Vadot			rtc: rtc@fffffeb0 {
872f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9x5-rtc";
873f126890aSEmmanuel Vadot				reg = <0xfffffeb0 0x40>;
874f126890aSEmmanuel Vadot				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
875f126890aSEmmanuel Vadot				clocks = <&clk32k>;
876f126890aSEmmanuel Vadot				status = "disabled";
877f126890aSEmmanuel Vadot			};
878f126890aSEmmanuel Vadot
879f126890aSEmmanuel Vadot			pwm0: pwm@f8034000 {
880f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9rl-pwm";
881f126890aSEmmanuel Vadot				reg = <0xf8034000 0x300>;
882f126890aSEmmanuel Vadot				interrupts = <18 IRQ_TYPE_LEVEL_HIGH 4>;
883f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 18>;
884f126890aSEmmanuel Vadot				#pwm-cells = <3>;
885f126890aSEmmanuel Vadot				status = "disabled";
886f126890aSEmmanuel Vadot			};
887f126890aSEmmanuel Vadot		};
888f126890aSEmmanuel Vadot
889f126890aSEmmanuel Vadot		usb0: ohci@600000 {
890f126890aSEmmanuel Vadot			compatible = "atmel,at91rm9200-ohci", "usb-ohci";
891f126890aSEmmanuel Vadot			reg = <0x00600000 0x100000>;
892f126890aSEmmanuel Vadot			interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
893f126890aSEmmanuel Vadot			clocks = <&pmc PMC_TYPE_PERIPHERAL 22>, <&pmc PMC_TYPE_PERIPHERAL 22>, <&pmc PMC_TYPE_SYSTEM 6>;
894f126890aSEmmanuel Vadot			clock-names = "ohci_clk", "hclk", "uhpck";
895f126890aSEmmanuel Vadot			status = "disabled";
896f126890aSEmmanuel Vadot		};
897f126890aSEmmanuel Vadot
898f126890aSEmmanuel Vadot		usb1: ehci@700000 {
899f126890aSEmmanuel Vadot			compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
900f126890aSEmmanuel Vadot			reg = <0x00700000 0x100000>;
901f126890aSEmmanuel Vadot			interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
902f126890aSEmmanuel Vadot			clocks = <&pmc PMC_TYPE_CORE PMC_UTMI>, <&pmc PMC_TYPE_PERIPHERAL 22>;
903f126890aSEmmanuel Vadot			clock-names = "usb_clk", "ehci_clk";
904f126890aSEmmanuel Vadot			status = "disabled";
905f126890aSEmmanuel Vadot		};
906f126890aSEmmanuel Vadot
907f126890aSEmmanuel Vadot		ebi: ebi@10000000 {
908f126890aSEmmanuel Vadot			compatible = "atmel,at91sam9x5-ebi";
909f126890aSEmmanuel Vadot			#address-cells = <2>;
910f126890aSEmmanuel Vadot			#size-cells = <1>;
911f126890aSEmmanuel Vadot			atmel,smc = <&smc>;
912f126890aSEmmanuel Vadot			atmel,matrix = <&matrix>;
913f126890aSEmmanuel Vadot			reg = <0x10000000 0x60000000>;
914f126890aSEmmanuel Vadot			ranges = <0x0 0x0 0x10000000 0x10000000
915f126890aSEmmanuel Vadot				  0x1 0x0 0x20000000 0x10000000
916f126890aSEmmanuel Vadot				  0x2 0x0 0x30000000 0x10000000
917f126890aSEmmanuel Vadot				  0x3 0x0 0x40000000 0x10000000
918f126890aSEmmanuel Vadot				  0x4 0x0 0x50000000 0x10000000
919f126890aSEmmanuel Vadot				  0x5 0x0 0x60000000 0x10000000>;
920f126890aSEmmanuel Vadot			clocks = <&pmc PMC_TYPE_CORE PMC_MCK>;
921f126890aSEmmanuel Vadot			status = "disabled";
922f126890aSEmmanuel Vadot
923f126890aSEmmanuel Vadot			nand_controller: nand-controller {
924f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9g45-nand-controller";
925f126890aSEmmanuel Vadot				ecc-engine = <&pmecc>;
926f126890aSEmmanuel Vadot				#address-cells = <2>;
927f126890aSEmmanuel Vadot				#size-cells = <1>;
928f126890aSEmmanuel Vadot				ranges;
929f126890aSEmmanuel Vadot				status = "disabled";
930f126890aSEmmanuel Vadot			};
931f126890aSEmmanuel Vadot		};
932f126890aSEmmanuel Vadot	};
933f126890aSEmmanuel Vadot
934f126890aSEmmanuel Vadot	i2c-gpio-0 {
935f126890aSEmmanuel Vadot		compatible = "i2c-gpio";
936f126890aSEmmanuel Vadot		gpios = <&pioA 30 GPIO_ACTIVE_HIGH /* sda */
937f126890aSEmmanuel Vadot			 &pioA 31 GPIO_ACTIVE_HIGH /* scl */
938f126890aSEmmanuel Vadot			>;
939f126890aSEmmanuel Vadot		i2c-gpio,sda-open-drain;
940f126890aSEmmanuel Vadot		i2c-gpio,scl-open-drain;
941f126890aSEmmanuel Vadot		i2c-gpio,delay-us = <2>;	/* ~100 kHz */
942f126890aSEmmanuel Vadot		#address-cells = <1>;
943f126890aSEmmanuel Vadot		#size-cells = <0>;
944f126890aSEmmanuel Vadot		pinctrl-names = "default";
945f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_i2c_gpio0>;
946f126890aSEmmanuel Vadot		status = "disabled";
947f126890aSEmmanuel Vadot	};
948f126890aSEmmanuel Vadot
949f126890aSEmmanuel Vadot	i2c-gpio-1 {
950f126890aSEmmanuel Vadot		compatible = "i2c-gpio";
951f126890aSEmmanuel Vadot		gpios = <&pioC 0 GPIO_ACTIVE_HIGH /* sda */
952f126890aSEmmanuel Vadot			 &pioC 1 GPIO_ACTIVE_HIGH /* scl */
953f126890aSEmmanuel Vadot			>;
954f126890aSEmmanuel Vadot		i2c-gpio,sda-open-drain;
955f126890aSEmmanuel Vadot		i2c-gpio,scl-open-drain;
956f126890aSEmmanuel Vadot		i2c-gpio,delay-us = <2>;	/* ~100 kHz */
957f126890aSEmmanuel Vadot		#address-cells = <1>;
958f126890aSEmmanuel Vadot		#size-cells = <0>;
959f126890aSEmmanuel Vadot		pinctrl-names = "default";
960f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_i2c_gpio1>;
961f126890aSEmmanuel Vadot		status = "disabled";
962f126890aSEmmanuel Vadot	};
963f126890aSEmmanuel Vadot
964f126890aSEmmanuel Vadot	i2c-gpio-2 {
965f126890aSEmmanuel Vadot		compatible = "i2c-gpio";
966f126890aSEmmanuel Vadot		gpios = <&pioB 4 GPIO_ACTIVE_HIGH /* sda */
967f126890aSEmmanuel Vadot			 &pioB 5 GPIO_ACTIVE_HIGH /* scl */
968f126890aSEmmanuel Vadot			>;
969f126890aSEmmanuel Vadot		i2c-gpio,sda-open-drain;
970f126890aSEmmanuel Vadot		i2c-gpio,scl-open-drain;
971f126890aSEmmanuel Vadot		i2c-gpio,delay-us = <2>;	/* ~100 kHz */
972f126890aSEmmanuel Vadot		#address-cells = <1>;
973f126890aSEmmanuel Vadot		#size-cells = <0>;
974f126890aSEmmanuel Vadot		pinctrl-names = "default";
975f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_i2c_gpio2>;
976f126890aSEmmanuel Vadot		status = "disabled";
977f126890aSEmmanuel Vadot	};
978f126890aSEmmanuel Vadot};
979