1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * at91rm9200.dtsi - Device Tree Include file for AT91RM9200 family SoC
4f126890aSEmmanuel Vadot *
5f126890aSEmmanuel Vadot *  Copyright (C) 2011 Atmel,
6f126890aSEmmanuel Vadot *                2011 Nicolas Ferre <nicolas.ferre@atmel.com>,
7f126890aSEmmanuel Vadot *                2012 Joachim Eastwood <manabian@gmail.com>
8f126890aSEmmanuel Vadot *
9f126890aSEmmanuel Vadot * Based on at91sam9260.dtsi
10f126890aSEmmanuel Vadot */
11f126890aSEmmanuel Vadot
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 AT91RM9200 family SoC";
22f126890aSEmmanuel Vadot	compatible = "atmel,at91rm9200";
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		serial4 = &usart3;
31f126890aSEmmanuel Vadot		gpio0 = &pioA;
32f126890aSEmmanuel Vadot		gpio1 = &pioB;
33f126890aSEmmanuel Vadot		gpio2 = &pioC;
34f126890aSEmmanuel Vadot		gpio3 = &pioD;
35f126890aSEmmanuel Vadot		tcb0 = &tcb0;
36f126890aSEmmanuel Vadot		tcb1 = &tcb1;
37f126890aSEmmanuel Vadot		i2c0 = &i2c0;
38f126890aSEmmanuel Vadot		ssc0 = &ssc0;
39f126890aSEmmanuel Vadot		ssc1 = &ssc1;
40f126890aSEmmanuel Vadot		ssc2 = &ssc2;
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,arm920t";
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 0x04000000>;
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
72f126890aSEmmanuel Vadot	sram: sram@200000 {
73f126890aSEmmanuel Vadot		compatible = "mmio-sram";
74f126890aSEmmanuel Vadot		reg = <0x00200000 0x4000>;
75f126890aSEmmanuel Vadot		#address-cells = <1>;
76f126890aSEmmanuel Vadot		#size-cells = <1>;
77f126890aSEmmanuel Vadot		ranges = <0 0x00200000 0x4000>;
78f126890aSEmmanuel Vadot	};
79f126890aSEmmanuel Vadot
80f126890aSEmmanuel Vadot	ahb {
81f126890aSEmmanuel Vadot		compatible = "simple-bus";
82f126890aSEmmanuel Vadot		#address-cells = <1>;
83f126890aSEmmanuel Vadot		#size-cells = <1>;
84f126890aSEmmanuel Vadot		ranges;
85f126890aSEmmanuel Vadot
86f126890aSEmmanuel Vadot		apb {
87f126890aSEmmanuel Vadot			compatible = "simple-bus";
88f126890aSEmmanuel Vadot			#address-cells = <1>;
89f126890aSEmmanuel Vadot			#size-cells = <1>;
90f126890aSEmmanuel Vadot			ranges;
91f126890aSEmmanuel Vadot
92f126890aSEmmanuel Vadot			aic: interrupt-controller@fffff000 {
93f126890aSEmmanuel Vadot				#interrupt-cells = <3>;
94f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-aic";
95f126890aSEmmanuel Vadot				interrupt-controller;
96f126890aSEmmanuel Vadot				reg = <0xfffff000 0x200>;
97f126890aSEmmanuel Vadot				atmel,external-irqs = <25 26 27 28 29 30 31>;
98f126890aSEmmanuel Vadot			};
99f126890aSEmmanuel Vadot
100f126890aSEmmanuel Vadot			ramc0: ramc@ffffff00 {
101f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-sdramc", "syscon";
102f126890aSEmmanuel Vadot				reg = <0xffffff00 0x100>;
103f126890aSEmmanuel Vadot			};
104f126890aSEmmanuel Vadot
105f126890aSEmmanuel Vadot			pmc: clock-controller@fffffc00 {
106f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-pmc", "syscon";
107f126890aSEmmanuel Vadot				reg = <0xfffffc00 0x100>;
108f126890aSEmmanuel Vadot				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
109f126890aSEmmanuel Vadot				#clock-cells = <2>;
110f126890aSEmmanuel Vadot				clocks = <&slow_xtal>, <&main_xtal>;
111f126890aSEmmanuel Vadot				clock-names = "slow_xtal", "main_xtal";
112f126890aSEmmanuel Vadot			};
113f126890aSEmmanuel Vadot
114f126890aSEmmanuel Vadot			st: timer@fffffd00 {
115f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-st", "syscon", "simple-mfd";
116f126890aSEmmanuel Vadot				reg = <0xfffffd00 0x100>;
117f126890aSEmmanuel Vadot				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
118f126890aSEmmanuel Vadot				clocks = <&slow_xtal>;
119f126890aSEmmanuel Vadot
120f126890aSEmmanuel Vadot				watchdog {
121f126890aSEmmanuel Vadot					compatible = "atmel,at91rm9200-wdt";
122f126890aSEmmanuel Vadot				};
123f126890aSEmmanuel Vadot			};
124f126890aSEmmanuel Vadot
125f126890aSEmmanuel Vadot			rtc: rtc@fffffe00 {
126f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-rtc";
127f126890aSEmmanuel Vadot				reg = <0xfffffe00 0x40>;
128f126890aSEmmanuel Vadot				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
129f126890aSEmmanuel Vadot				clocks = <&slow_xtal>;
130f126890aSEmmanuel Vadot				status = "disabled";
131f126890aSEmmanuel Vadot			};
132f126890aSEmmanuel Vadot
133f126890aSEmmanuel Vadot			tcb0: timer@fffa0000 {
134f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-tcb", "simple-mfd", "syscon";
135f126890aSEmmanuel Vadot				#address-cells = <1>;
136f126890aSEmmanuel Vadot				#size-cells = <0>;
137f126890aSEmmanuel Vadot				reg = <0xfffa0000 0x100>;
138*aa1a8ff2SEmmanuel Vadot				interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>,
139*aa1a8ff2SEmmanuel Vadot					     <18 IRQ_TYPE_LEVEL_HIGH 0>,
140*aa1a8ff2SEmmanuel Vadot					     <19 IRQ_TYPE_LEVEL_HIGH 0>;
141f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 17>, <&pmc PMC_TYPE_PERIPHERAL 18>, <&pmc PMC_TYPE_PERIPHERAL 19>, <&slow_xtal>;
142f126890aSEmmanuel Vadot				clock-names = "t0_clk", "t1_clk", "t2_clk", "slow_clk";
143f126890aSEmmanuel Vadot			};
144f126890aSEmmanuel Vadot
145f126890aSEmmanuel Vadot			tcb1: timer@fffa4000 {
146f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-tcb", "simple-mfd", "syscon";
147f126890aSEmmanuel Vadot				#address-cells = <1>;
148f126890aSEmmanuel Vadot				#size-cells = <0>;
149f126890aSEmmanuel Vadot				reg = <0xfffa4000 0x100>;
150*aa1a8ff2SEmmanuel Vadot				interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0>,
151*aa1a8ff2SEmmanuel Vadot					     <21 IRQ_TYPE_LEVEL_HIGH 0>,
152*aa1a8ff2SEmmanuel Vadot					     <22 IRQ_TYPE_LEVEL_HIGH 0>;
153f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 20>, <&pmc PMC_TYPE_PERIPHERAL 21>, <&pmc PMC_TYPE_PERIPHERAL 22>, <&slow_xtal>;
154f126890aSEmmanuel Vadot				clock-names = "t0_clk", "t1_clk", "t2_clk", "slow_clk";
155f126890aSEmmanuel Vadot			};
156f126890aSEmmanuel Vadot
157f126890aSEmmanuel Vadot			i2c0: i2c@fffb8000 {
158f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-i2c";
159f126890aSEmmanuel Vadot				reg = <0xfffb8000 0x4000>;
160f126890aSEmmanuel Vadot				interrupts = <12 IRQ_TYPE_LEVEL_HIGH 6>;
161f126890aSEmmanuel Vadot				pinctrl-names = "default";
162f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_twi>;
163f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 12>;
164f126890aSEmmanuel Vadot				#address-cells = <1>;
165f126890aSEmmanuel Vadot				#size-cells = <0>;
166f126890aSEmmanuel Vadot				status = "disabled";
167f126890aSEmmanuel Vadot			};
168f126890aSEmmanuel Vadot
169f126890aSEmmanuel Vadot			mmc0: mmc@fffb4000 {
170f126890aSEmmanuel Vadot				compatible = "atmel,hsmci";
171f126890aSEmmanuel Vadot				reg = <0xfffb4000 0x4000>;
172f126890aSEmmanuel Vadot				interrupts = <10 IRQ_TYPE_LEVEL_HIGH 0>;
173f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 10>;
174f126890aSEmmanuel Vadot				clock-names = "mci_clk";
175f126890aSEmmanuel Vadot				#address-cells = <1>;
176f126890aSEmmanuel Vadot				#size-cells = <0>;
177f126890aSEmmanuel Vadot				status = "disabled";
178f126890aSEmmanuel Vadot			};
179f126890aSEmmanuel Vadot
180f126890aSEmmanuel Vadot			ssc0: ssc@fffd0000 {
181f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-ssc";
182f126890aSEmmanuel Vadot				reg = <0xfffd0000 0x4000>;
183f126890aSEmmanuel Vadot				interrupts = <14 IRQ_TYPE_LEVEL_HIGH 5>;
184f126890aSEmmanuel Vadot				pinctrl-names = "default";
185f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
186f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 14>;
187f126890aSEmmanuel Vadot				clock-names = "pclk";
188f126890aSEmmanuel Vadot				status = "disabled";
189f126890aSEmmanuel Vadot			};
190f126890aSEmmanuel Vadot
191f126890aSEmmanuel Vadot			ssc1: ssc@fffd4000 {
192f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-ssc";
193f126890aSEmmanuel Vadot				reg = <0xfffd4000 0x4000>;
194f126890aSEmmanuel Vadot				interrupts = <15 IRQ_TYPE_LEVEL_HIGH 5>;
195f126890aSEmmanuel Vadot				pinctrl-names = "default";
196f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>;
197f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 15>;
198f126890aSEmmanuel Vadot				clock-names = "pclk";
199f126890aSEmmanuel Vadot				status = "disabled";
200f126890aSEmmanuel Vadot			};
201f126890aSEmmanuel Vadot
202f126890aSEmmanuel Vadot			ssc2: ssc@fffd8000 {
203f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-ssc";
204f126890aSEmmanuel Vadot				reg = <0xfffd8000 0x4000>;
205f126890aSEmmanuel Vadot				interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
206f126890aSEmmanuel Vadot				pinctrl-names = "default";
207f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_ssc2_tx &pinctrl_ssc2_rx>;
208f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 16>;
209f126890aSEmmanuel Vadot				clock-names = "pclk";
210f126890aSEmmanuel Vadot				status = "disabled";
211f126890aSEmmanuel Vadot			};
212f126890aSEmmanuel Vadot
213f126890aSEmmanuel Vadot			macb0: ethernet@fffbc000 {
214f126890aSEmmanuel Vadot				compatible = "cdns,at91rm9200-emac", "cdns,emac";
215f126890aSEmmanuel Vadot				reg = <0xfffbc000 0x4000>;
216f126890aSEmmanuel Vadot				interrupts = <24 IRQ_TYPE_LEVEL_HIGH 3>;
217f126890aSEmmanuel Vadot				phy-mode = "rmii";
218f126890aSEmmanuel Vadot				pinctrl-names = "default";
219f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_macb_rmii>;
220f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 24>;
221f126890aSEmmanuel Vadot				clock-names = "ether_clk";
222f126890aSEmmanuel Vadot				status = "disabled";
223f126890aSEmmanuel Vadot			};
224f126890aSEmmanuel Vadot
225f126890aSEmmanuel Vadot			pinctrl@fffff400 {
226f126890aSEmmanuel Vadot				#address-cells = <1>;
227f126890aSEmmanuel Vadot				#size-cells = <1>;
228f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-pinctrl", "simple-bus";
229f126890aSEmmanuel Vadot				ranges = <0xfffff400 0xfffff400 0x800>;
230f126890aSEmmanuel Vadot
231f126890aSEmmanuel Vadot				atmel,mux-mask = <
232f126890aSEmmanuel Vadot					/*    A         B     */
233f126890aSEmmanuel Vadot					 0xffffffff 0xffffffff  /* pioA */
234f126890aSEmmanuel Vadot					 0xffffffff 0x083fffff  /* pioB */
235f126890aSEmmanuel Vadot					 0xffff3fff 0x00000000  /* pioC */
236f126890aSEmmanuel Vadot					 0x03ff87ff 0x0fffff80  /* pioD */
237f126890aSEmmanuel Vadot					>;
238f126890aSEmmanuel Vadot
239f126890aSEmmanuel Vadot				/* shared pinctrl settings */
240f126890aSEmmanuel Vadot				dbgu {
241f126890aSEmmanuel Vadot					pinctrl_dbgu: dbgu-0 {
242f126890aSEmmanuel Vadot						atmel,pins =
243f126890aSEmmanuel Vadot							<AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
244f126890aSEmmanuel Vadot							 AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_NONE>;
245f126890aSEmmanuel Vadot					};
246f126890aSEmmanuel Vadot				};
247f126890aSEmmanuel Vadot
248f126890aSEmmanuel Vadot				uart0 {
249f126890aSEmmanuel Vadot					pinctrl_uart0: uart0-0 {
250f126890aSEmmanuel Vadot						atmel,pins =
251f126890aSEmmanuel Vadot							<AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE
252f126890aSEmmanuel Vadot							 AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
253f126890aSEmmanuel Vadot					};
254f126890aSEmmanuel Vadot
255f126890aSEmmanuel Vadot					pinctrl_uart0_cts: uart0_cts-0 {
256f126890aSEmmanuel Vadot						atmel,pins =
257f126890aSEmmanuel Vadot							<AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PA20 periph A */
258f126890aSEmmanuel Vadot					};
259f126890aSEmmanuel Vadot
260f126890aSEmmanuel Vadot					pinctrl_uart0_rts: uart0_rts-0 {
261f126890aSEmmanuel Vadot						atmel,pins =
262f126890aSEmmanuel Vadot							<AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PA21 periph A */
263f126890aSEmmanuel Vadot					};
264f126890aSEmmanuel Vadot				};
265f126890aSEmmanuel Vadot
266f126890aSEmmanuel Vadot				uart1 {
267f126890aSEmmanuel Vadot					pinctrl_uart1: uart1-0 {
268f126890aSEmmanuel Vadot						atmel,pins =
269f126890aSEmmanuel Vadot							<AT91_PIOB 20 AT91_PERIPH_A AT91_PINCTRL_NONE
270f126890aSEmmanuel Vadot							 AT91_PIOB 21 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
271f126890aSEmmanuel Vadot					};
272f126890aSEmmanuel Vadot
273f126890aSEmmanuel Vadot					pinctrl_uart1_rts: uart1_rts-0 {
274f126890aSEmmanuel Vadot						atmel,pins =
275f126890aSEmmanuel Vadot							<AT91_PIOB 24 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PB24 periph A */
276f126890aSEmmanuel Vadot					};
277f126890aSEmmanuel Vadot
278f126890aSEmmanuel Vadot					pinctrl_uart1_cts: uart1_cts-0 {
279f126890aSEmmanuel Vadot						atmel,pins =
280f126890aSEmmanuel Vadot							<AT91_PIOB 26 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PB26 periph A */
281f126890aSEmmanuel Vadot					};
282f126890aSEmmanuel Vadot
283f126890aSEmmanuel Vadot					pinctrl_uart1_dtr_dsr: uart1_dtr_dsr-0 {
284f126890aSEmmanuel Vadot						atmel,pins =
285f126890aSEmmanuel Vadot							<AT91_PIOB 19 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB19 periph A */
286f126890aSEmmanuel Vadot							 AT91_PIOB 25 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PB25 periph A */
287f126890aSEmmanuel Vadot					};
288f126890aSEmmanuel Vadot
289f126890aSEmmanuel Vadot					pinctrl_uart1_dcd: uart1_dcd-0 {
290f126890aSEmmanuel Vadot						atmel,pins =
291f126890aSEmmanuel Vadot							<AT91_PIOB 23 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PB23 periph A */
292f126890aSEmmanuel Vadot					};
293f126890aSEmmanuel Vadot
294f126890aSEmmanuel Vadot					pinctrl_uart1_ri: uart1_ri-0 {
295f126890aSEmmanuel Vadot						atmel,pins =
296f126890aSEmmanuel Vadot							<AT91_PIOB 18 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PB18 periph A */
297f126890aSEmmanuel Vadot					};
298f126890aSEmmanuel Vadot				};
299f126890aSEmmanuel Vadot
300f126890aSEmmanuel Vadot				uart2 {
301f126890aSEmmanuel Vadot					pinctrl_uart2: uart2-0 {
302f126890aSEmmanuel Vadot						atmel,pins =
303f126890aSEmmanuel Vadot							<AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
304f126890aSEmmanuel Vadot							 AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_NONE>;
305f126890aSEmmanuel Vadot					};
306f126890aSEmmanuel Vadot
307f126890aSEmmanuel Vadot					pinctrl_uart2_rts: uart2_rts-0 {
308f126890aSEmmanuel Vadot						atmel,pins =
309f126890aSEmmanuel Vadot							<AT91_PIOA 30 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* PA30 periph B */
310f126890aSEmmanuel Vadot					};
311f126890aSEmmanuel Vadot
312f126890aSEmmanuel Vadot					pinctrl_uart2_cts: uart2_cts-0 {
313f126890aSEmmanuel Vadot						atmel,pins =
314f126890aSEmmanuel Vadot							<AT91_PIOA 31 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* PA31 periph B */
315f126890aSEmmanuel Vadot					};
316f126890aSEmmanuel Vadot				};
317f126890aSEmmanuel Vadot
318f126890aSEmmanuel Vadot				uart3 {
319f126890aSEmmanuel Vadot					pinctrl_uart3: uart3-0 {
320f126890aSEmmanuel Vadot						atmel,pins =
321f126890aSEmmanuel Vadot							<AT91_PIOA 5 AT91_PERIPH_B AT91_PINCTRL_NONE
322f126890aSEmmanuel Vadot							 AT91_PIOA 6 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>;
323f126890aSEmmanuel Vadot					};
324f126890aSEmmanuel Vadot
325f126890aSEmmanuel Vadot					pinctrl_uart3_rts: uart3_rts-0 {
326f126890aSEmmanuel Vadot						atmel,pins =
327f126890aSEmmanuel Vadot							<AT91_PIOB 0 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* PB0 periph B */
328f126890aSEmmanuel Vadot					};
329f126890aSEmmanuel Vadot
330f126890aSEmmanuel Vadot					pinctrl_uart3_cts: uart3_cts-0 {
331f126890aSEmmanuel Vadot						atmel,pins =
332f126890aSEmmanuel Vadot							<AT91_PIOB 1 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* PB1 periph B */
333f126890aSEmmanuel Vadot					};
334f126890aSEmmanuel Vadot				};
335f126890aSEmmanuel Vadot
336f126890aSEmmanuel Vadot				nand {
337f126890aSEmmanuel Vadot					pinctrl_nand: nand-0 {
338f126890aSEmmanuel Vadot						atmel,pins =
339f126890aSEmmanuel Vadot							<AT91_PIOC 2 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP	/* PC2 gpio RDY pin pull_up */
340f126890aSEmmanuel Vadot							 AT91_PIOB 1 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;	/* PB1 gpio CD pin pull_up */
341f126890aSEmmanuel Vadot					};
342f126890aSEmmanuel Vadot				};
343f126890aSEmmanuel Vadot
344f126890aSEmmanuel Vadot				macb {
345f126890aSEmmanuel Vadot					pinctrl_macb_rmii: macb_rmii-0 {
346f126890aSEmmanuel Vadot						atmel,pins =
347f126890aSEmmanuel Vadot							<AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PA7 periph A */
348f126890aSEmmanuel Vadot							 AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PA8 periph A */
349f126890aSEmmanuel Vadot							 AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PA9 periph A */
350f126890aSEmmanuel Vadot							 AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PA10 periph A */
351f126890aSEmmanuel Vadot							 AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PA11 periph A */
352f126890aSEmmanuel Vadot							 AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PA12 periph A */
353f126890aSEmmanuel Vadot							 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PA13 periph A */
354f126890aSEmmanuel Vadot							 AT91_PIOA 14 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PA14 periph A */
355f126890aSEmmanuel Vadot							 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PA15 periph A */
356f126890aSEmmanuel Vadot							 AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PA16 periph A */
357f126890aSEmmanuel Vadot					};
358f126890aSEmmanuel Vadot
359f126890aSEmmanuel Vadot					pinctrl_macb_rmii_mii: macb_rmii_mii-0 {
360f126890aSEmmanuel Vadot						atmel,pins =
361f126890aSEmmanuel Vadot							<AT91_PIOB 12 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PB12 periph B */
362f126890aSEmmanuel Vadot							 AT91_PIOB 13 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PB13 periph B */
363f126890aSEmmanuel Vadot							 AT91_PIOB 14 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PB14 periph B */
364f126890aSEmmanuel Vadot							 AT91_PIOB 15 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PB15 periph B */
365f126890aSEmmanuel Vadot							 AT91_PIOB 16 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PB16 periph B */
366f126890aSEmmanuel Vadot							 AT91_PIOB 17 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PB17 periph B */
367f126890aSEmmanuel Vadot							 AT91_PIOB 18 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PB18 periph B */
368f126890aSEmmanuel Vadot							 AT91_PIOB 19 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* PB19 periph B */
369f126890aSEmmanuel Vadot					};
370f126890aSEmmanuel Vadot				};
371f126890aSEmmanuel Vadot
372f126890aSEmmanuel Vadot				mmc0 {
373f126890aSEmmanuel Vadot					pinctrl_mmc0_clk: mmc0_clk-0 {
374f126890aSEmmanuel Vadot						atmel,pins =
375f126890aSEmmanuel Vadot							<AT91_PIOA 27 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PA27 periph A */
376f126890aSEmmanuel Vadot					};
377f126890aSEmmanuel Vadot
378f126890aSEmmanuel Vadot					pinctrl_mmc0_slot0_cmd_dat0: mmc0_slot0_cmd_dat0-0 {
379f126890aSEmmanuel Vadot						atmel,pins =
380f126890aSEmmanuel Vadot							<AT91_PIOA 28 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* PA28 periph A with pullup */
381f126890aSEmmanuel Vadot							 AT91_PIOA 29 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;	/* PA29 periph A with pullup */
382f126890aSEmmanuel Vadot					};
383f126890aSEmmanuel Vadot
384f126890aSEmmanuel Vadot					pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
385f126890aSEmmanuel Vadot						atmel,pins =
386f126890aSEmmanuel Vadot							<AT91_PIOB 3 AT91_PERIPH_B AT91_PINCTRL_PULL_UP	/* PB3 periph B with pullup */
387f126890aSEmmanuel Vadot							 AT91_PIOB 4 AT91_PERIPH_B AT91_PINCTRL_PULL_UP	/* PB4 periph B with pullup */
388f126890aSEmmanuel Vadot							 AT91_PIOB 5 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>;	/* PB5 periph B with pullup */
389f126890aSEmmanuel Vadot					};
390f126890aSEmmanuel Vadot
391f126890aSEmmanuel Vadot					pinctrl_mmc0_slot1_cmd_dat0: mmc0_slot1_cmd_dat0-0 {
392f126890aSEmmanuel Vadot						atmel,pins =
393f126890aSEmmanuel Vadot							<AT91_PIOA 8 AT91_PERIPH_B AT91_PINCTRL_PULL_UP	/* PA8 periph B with pullup */
394f126890aSEmmanuel Vadot							 AT91_PIOA 9 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>;	/* PA9 periph B with pullup */
395f126890aSEmmanuel Vadot					};
396f126890aSEmmanuel Vadot
397f126890aSEmmanuel Vadot					pinctrl_mmc0_slot1_dat1_3: mmc0_slot1_dat1_3-0 {
398f126890aSEmmanuel Vadot						atmel,pins =
399f126890aSEmmanuel Vadot							<AT91_PIOA 10 AT91_PERIPH_B AT91_PINCTRL_PULL_UP	/* PA10 periph B with pullup */
400f126890aSEmmanuel Vadot							 AT91_PIOA 11 AT91_PERIPH_B AT91_PINCTRL_PULL_UP	/* PA11 periph B with pullup */
401f126890aSEmmanuel Vadot							 AT91_PIOA 12 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>;	/* PA12 periph B with pullup */
402f126890aSEmmanuel Vadot					};
403f126890aSEmmanuel Vadot				};
404f126890aSEmmanuel Vadot
405f126890aSEmmanuel Vadot				ssc0 {
406f126890aSEmmanuel Vadot					pinctrl_ssc0_tx: ssc0_tx-0 {
407f126890aSEmmanuel Vadot						atmel,pins =
408f126890aSEmmanuel Vadot							<AT91_PIOB 0 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB0 periph A */
409f126890aSEmmanuel Vadot							 AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB1 periph A */
410f126890aSEmmanuel Vadot							 AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PB2 periph A */
411f126890aSEmmanuel Vadot					};
412f126890aSEmmanuel Vadot
413f126890aSEmmanuel Vadot					pinctrl_ssc0_rx: ssc0_rx-0 {
414f126890aSEmmanuel Vadot						atmel,pins =
415f126890aSEmmanuel Vadot							<AT91_PIOB 3 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB3 periph A */
416f126890aSEmmanuel Vadot							 AT91_PIOB 4 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB4 periph A */
417f126890aSEmmanuel Vadot							 AT91_PIOB 5 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PB5 periph A */
418f126890aSEmmanuel Vadot					};
419f126890aSEmmanuel Vadot				};
420f126890aSEmmanuel Vadot
421f126890aSEmmanuel Vadot				ssc1 {
422f126890aSEmmanuel Vadot					pinctrl_ssc1_tx: ssc1_tx-0 {
423f126890aSEmmanuel Vadot						atmel,pins =
424f126890aSEmmanuel Vadot							<AT91_PIOB 6 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB6 periph A */
425f126890aSEmmanuel Vadot							 AT91_PIOB 7 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB7 periph A */
426f126890aSEmmanuel Vadot							 AT91_PIOB 8 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PB8 periph A */
427f126890aSEmmanuel Vadot					};
428f126890aSEmmanuel Vadot
429f126890aSEmmanuel Vadot					pinctrl_ssc1_rx: ssc1_rx-0 {
430f126890aSEmmanuel Vadot						atmel,pins =
431f126890aSEmmanuel Vadot							<AT91_PIOB 9 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB9 periph A */
432f126890aSEmmanuel Vadot							 AT91_PIOB 10 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB10 periph A */
433f126890aSEmmanuel Vadot							 AT91_PIOB 11 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PB11 periph A */
434f126890aSEmmanuel Vadot					};
435f126890aSEmmanuel Vadot				};
436f126890aSEmmanuel Vadot
437f126890aSEmmanuel Vadot				ssc2 {
438f126890aSEmmanuel Vadot					pinctrl_ssc2_tx: ssc2_tx-0 {
439f126890aSEmmanuel Vadot						atmel,pins =
440f126890aSEmmanuel Vadot							<AT91_PIOB 12 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB12 periph A */
441f126890aSEmmanuel Vadot							 AT91_PIOB 13 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB13 periph A */
442f126890aSEmmanuel Vadot							 AT91_PIOB 14 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PB14 periph A */
443f126890aSEmmanuel Vadot					};
444f126890aSEmmanuel Vadot
445f126890aSEmmanuel Vadot					pinctrl_ssc2_rx: ssc2_rx-0 {
446f126890aSEmmanuel Vadot						atmel,pins =
447f126890aSEmmanuel Vadot							<AT91_PIOB 15 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB15 periph A */
448f126890aSEmmanuel Vadot							 AT91_PIOB 16 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB16 periph A */
449f126890aSEmmanuel Vadot							 AT91_PIOB 17 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PB17 periph A */
450f126890aSEmmanuel Vadot					};
451f126890aSEmmanuel Vadot				};
452f126890aSEmmanuel Vadot
453f126890aSEmmanuel Vadot				twi {
454f126890aSEmmanuel Vadot					pinctrl_twi: twi-0 {
455f126890aSEmmanuel Vadot						atmel,pins =
456f126890aSEmmanuel Vadot							<AT91_PIOA 25 AT91_PERIPH_A AT91_PINCTRL_MULTI_DRIVE	/* PA25 periph A with multi drive */
457f126890aSEmmanuel Vadot							 AT91_PIOA 26 AT91_PERIPH_A AT91_PINCTRL_MULTI_DRIVE>;	/* PA26 periph A with multi drive */
458f126890aSEmmanuel Vadot					};
459f126890aSEmmanuel Vadot
460f126890aSEmmanuel Vadot					pinctrl_twi_gpio: twi_gpio-0 {
461f126890aSEmmanuel Vadot						atmel,pins =
462f126890aSEmmanuel Vadot							<AT91_PIOA 25 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE	/* PA25 GPIO with multi drive */
463f126890aSEmmanuel Vadot							 AT91_PIOA 26 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>;	/* PA26 GPIO with multi drive */
464f126890aSEmmanuel Vadot					};
465f126890aSEmmanuel Vadot				};
466f126890aSEmmanuel Vadot
467f126890aSEmmanuel Vadot				tcb0 {
468f126890aSEmmanuel Vadot					pinctrl_tcb0_tclk0: tcb0_tclk0-0 {
469f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOA 13 AT91_PERIPH_B AT91_PINCTRL_NONE>;
470f126890aSEmmanuel Vadot					};
471f126890aSEmmanuel Vadot
472f126890aSEmmanuel Vadot					pinctrl_tcb0_tclk1: tcb0_tclk1-0 {
473f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOA 14 AT91_PERIPH_B AT91_PINCTRL_NONE>;
474f126890aSEmmanuel Vadot					};
475f126890aSEmmanuel Vadot
476f126890aSEmmanuel Vadot					pinctrl_tcb0_tclk2: tcb0_tclk2-0 {
477f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOA 15 AT91_PERIPH_B AT91_PINCTRL_NONE>;
478f126890aSEmmanuel Vadot					};
479f126890aSEmmanuel Vadot
480f126890aSEmmanuel Vadot					pinctrl_tcb0_tioa0: tcb0_tioa0-0 {
481f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOA 17 AT91_PERIPH_B AT91_PINCTRL_NONE>;
482f126890aSEmmanuel Vadot					};
483f126890aSEmmanuel Vadot
484f126890aSEmmanuel Vadot					pinctrl_tcb0_tioa1: tcb0_tioa1-0 {
485f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOA 19 AT91_PERIPH_B AT91_PINCTRL_NONE>;
486f126890aSEmmanuel Vadot					};
487f126890aSEmmanuel Vadot
488f126890aSEmmanuel Vadot					pinctrl_tcb0_tioa2: tcb0_tioa2-0 {
489f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOA 21 AT91_PERIPH_B AT91_PINCTRL_NONE>;
490f126890aSEmmanuel Vadot					};
491f126890aSEmmanuel Vadot
492f126890aSEmmanuel Vadot					pinctrl_tcb0_tiob0: tcb0_tiob0-0 {
493f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOA 18 AT91_PERIPH_B AT91_PINCTRL_NONE>;
494f126890aSEmmanuel Vadot					};
495f126890aSEmmanuel Vadot
496f126890aSEmmanuel Vadot					pinctrl_tcb0_tiob1: tcb0_tiob1-0 {
497f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOA 20 AT91_PERIPH_B AT91_PINCTRL_NONE>;
498f126890aSEmmanuel Vadot					};
499f126890aSEmmanuel Vadot
500f126890aSEmmanuel Vadot					pinctrl_tcb0_tiob2: tcb0_tiob2-0 {
501f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE>;
502f126890aSEmmanuel Vadot					};
503f126890aSEmmanuel Vadot				};
504f126890aSEmmanuel Vadot
505f126890aSEmmanuel Vadot				tcb1 {
506f126890aSEmmanuel Vadot					pinctrl_tcb1_tclk0: tcb1_tclk0-0 {
507f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOA 27 AT91_PERIPH_B AT91_PINCTRL_NONE>;
508f126890aSEmmanuel Vadot					};
509f126890aSEmmanuel Vadot
510f126890aSEmmanuel Vadot					pinctrl_tcb1_tclk1: tcb1_tclk1-0 {
511f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOA 28 AT91_PERIPH_B AT91_PINCTRL_NONE>;
512f126890aSEmmanuel Vadot					};
513f126890aSEmmanuel Vadot
514f126890aSEmmanuel Vadot					pinctrl_tcb1_tclk2: tcb1_tclk2-0 {
515f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOA 29 AT91_PERIPH_B AT91_PINCTRL_NONE>;
516f126890aSEmmanuel Vadot					};
517f126890aSEmmanuel Vadot
518f126890aSEmmanuel Vadot					pinctrl_tcb1_tioa0: tcb1_tioa0-0 {
519f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOB 6 AT91_PERIPH_B AT91_PINCTRL_NONE>;
520f126890aSEmmanuel Vadot					};
521f126890aSEmmanuel Vadot
522f126890aSEmmanuel Vadot					pinctrl_tcb1_tioa1: tcb1_tioa1-0 {
523f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOB 8 AT91_PERIPH_B AT91_PINCTRL_NONE>;
524f126890aSEmmanuel Vadot					};
525f126890aSEmmanuel Vadot
526f126890aSEmmanuel Vadot					pinctrl_tcb1_tioa2: tcb1_tioa2-0 {
527f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOB 10 AT91_PERIPH_B AT91_PINCTRL_NONE>;
528f126890aSEmmanuel Vadot					};
529f126890aSEmmanuel Vadot
530f126890aSEmmanuel Vadot					pinctrl_tcb1_tiob0: tcb1_tiob0-0 {
531f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOB 7 AT91_PERIPH_B AT91_PINCTRL_NONE>;
532f126890aSEmmanuel Vadot					};
533f126890aSEmmanuel Vadot
534f126890aSEmmanuel Vadot					pinctrl_tcb1_tiob1: tcb1_tiob1-0 {
535f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOB 9 AT91_PERIPH_B AT91_PINCTRL_NONE>;
536f126890aSEmmanuel Vadot					};
537f126890aSEmmanuel Vadot
538f126890aSEmmanuel Vadot					pinctrl_tcb1_tiob2: tcb1_tiob2-0 {
539f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOB 11 AT91_PERIPH_B AT91_PINCTRL_NONE>;
540f126890aSEmmanuel Vadot					};
541f126890aSEmmanuel Vadot				};
542f126890aSEmmanuel Vadot
543f126890aSEmmanuel Vadot				spi0 {
544f126890aSEmmanuel Vadot					pinctrl_spi0: spi0-0 {
545f126890aSEmmanuel Vadot						atmel,pins =
546f126890aSEmmanuel Vadot							<AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PA0 periph A SPI0_MISO pin */
547f126890aSEmmanuel Vadot							 AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PA1 periph A SPI0_MOSI pin */
548f126890aSEmmanuel Vadot							 AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PA2 periph A SPI0_SPCK pin */
549f126890aSEmmanuel Vadot					};
550f126890aSEmmanuel Vadot				};
551f126890aSEmmanuel Vadot
552f126890aSEmmanuel Vadot				pioA: gpio@fffff400 {
553f126890aSEmmanuel Vadot					compatible = "atmel,at91rm9200-gpio";
554f126890aSEmmanuel Vadot					reg = <0xfffff400 0x200>;
555f126890aSEmmanuel Vadot					interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
556f126890aSEmmanuel Vadot					#gpio-cells = <2>;
557f126890aSEmmanuel Vadot					gpio-controller;
558f126890aSEmmanuel Vadot					interrupt-controller;
559f126890aSEmmanuel Vadot					#interrupt-cells = <2>;
560f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 2>;
561f126890aSEmmanuel Vadot				};
562f126890aSEmmanuel Vadot
563f126890aSEmmanuel Vadot				pioB: gpio@fffff600 {
564f126890aSEmmanuel Vadot					compatible = "atmel,at91rm9200-gpio";
565f126890aSEmmanuel Vadot					reg = <0xfffff600 0x200>;
566f126890aSEmmanuel Vadot					interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
567f126890aSEmmanuel Vadot					#gpio-cells = <2>;
568f126890aSEmmanuel Vadot					gpio-controller;
569f126890aSEmmanuel Vadot					interrupt-controller;
570f126890aSEmmanuel Vadot					#interrupt-cells = <2>;
571f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 3>;
572f126890aSEmmanuel Vadot				};
573f126890aSEmmanuel Vadot
574f126890aSEmmanuel Vadot				pioC: gpio@fffff800 {
575f126890aSEmmanuel Vadot					compatible = "atmel,at91rm9200-gpio";
576f126890aSEmmanuel Vadot					reg = <0xfffff800 0x200>;
577f126890aSEmmanuel Vadot					interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
578f126890aSEmmanuel Vadot					#gpio-cells = <2>;
579f126890aSEmmanuel Vadot					gpio-controller;
580f126890aSEmmanuel Vadot					interrupt-controller;
581f126890aSEmmanuel Vadot					#interrupt-cells = <2>;
582f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 4>;
583f126890aSEmmanuel Vadot				};
584f126890aSEmmanuel Vadot
585f126890aSEmmanuel Vadot				pioD: gpio@fffffa00 {
586f126890aSEmmanuel Vadot					compatible = "atmel,at91rm9200-gpio";
587f126890aSEmmanuel Vadot					reg = <0xfffffa00 0x200>;
588f126890aSEmmanuel Vadot					interrupts = <5 IRQ_TYPE_LEVEL_HIGH 1>;
589f126890aSEmmanuel Vadot					#gpio-cells = <2>;
590f126890aSEmmanuel Vadot					gpio-controller;
591f126890aSEmmanuel Vadot					interrupt-controller;
592f126890aSEmmanuel Vadot					#interrupt-cells = <2>;
593f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 5>;
594f126890aSEmmanuel Vadot				};
595f126890aSEmmanuel Vadot			};
596f126890aSEmmanuel Vadot
597f126890aSEmmanuel Vadot			dbgu: serial@fffff200 {
598f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-dbgu", "atmel,at91rm9200-usart";
599f126890aSEmmanuel Vadot				reg = <0xfffff200 0x200>;
600f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
601f126890aSEmmanuel Vadot				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
602f126890aSEmmanuel Vadot				pinctrl-names = "default";
603f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_dbgu>;
604f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_CORE PMC_MCK>;
605f126890aSEmmanuel Vadot				clock-names = "usart";
606f126890aSEmmanuel Vadot				status = "disabled";
607f126890aSEmmanuel Vadot			};
608f126890aSEmmanuel Vadot
609f126890aSEmmanuel Vadot			usart0: serial@fffc0000 {
610f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-usart";
611f126890aSEmmanuel Vadot				reg = <0xfffc0000 0x200>;
612f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
613f126890aSEmmanuel Vadot				interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>;
614f126890aSEmmanuel Vadot				atmel,use-dma-rx;
615f126890aSEmmanuel Vadot				atmel,use-dma-tx;
616f126890aSEmmanuel Vadot				pinctrl-names = "default";
617f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_uart0>;
618f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 6>;
619f126890aSEmmanuel Vadot				clock-names = "usart";
620f126890aSEmmanuel Vadot				status = "disabled";
621f126890aSEmmanuel Vadot			};
622f126890aSEmmanuel Vadot
623f126890aSEmmanuel Vadot			usart1: serial@fffc4000 {
624f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-usart";
625f126890aSEmmanuel Vadot				reg = <0xfffc4000 0x200>;
626f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
627f126890aSEmmanuel Vadot				interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
628f126890aSEmmanuel Vadot				atmel,use-dma-rx;
629f126890aSEmmanuel Vadot				atmel,use-dma-tx;
630f126890aSEmmanuel Vadot				pinctrl-names = "default";
631f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_uart1>;
632f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 7>;
633f126890aSEmmanuel Vadot				clock-names = "usart";
634f126890aSEmmanuel Vadot				status = "disabled";
635f126890aSEmmanuel Vadot			};
636f126890aSEmmanuel Vadot
637f126890aSEmmanuel Vadot			usart2: serial@fffc8000 {
638f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-usart";
639f126890aSEmmanuel Vadot				reg = <0xfffc8000 0x200>;
640f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
641f126890aSEmmanuel Vadot				interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
642f126890aSEmmanuel Vadot				atmel,use-dma-rx;
643f126890aSEmmanuel Vadot				atmel,use-dma-tx;
644f126890aSEmmanuel Vadot				pinctrl-names = "default";
645f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_uart2>;
646f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 8>;
647f126890aSEmmanuel Vadot				clock-names = "usart";
648f126890aSEmmanuel Vadot				status = "disabled";
649f126890aSEmmanuel Vadot			};
650f126890aSEmmanuel Vadot
651f126890aSEmmanuel Vadot			usart3: serial@fffcc000 {
652f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-usart";
653f126890aSEmmanuel Vadot				reg = <0xfffcc000 0x200>;
654f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
655f126890aSEmmanuel Vadot				interrupts = <23 IRQ_TYPE_LEVEL_HIGH 5>;
656f126890aSEmmanuel Vadot				atmel,use-dma-rx;
657f126890aSEmmanuel Vadot				atmel,use-dma-tx;
658f126890aSEmmanuel Vadot				pinctrl-names = "default";
659f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_uart3>;
660f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 9>;
661f126890aSEmmanuel Vadot				clock-names = "usart";
662f126890aSEmmanuel Vadot				status = "disabled";
663f126890aSEmmanuel Vadot			};
664f126890aSEmmanuel Vadot
665f126890aSEmmanuel Vadot			usb1: gadget@fffb0000 {
666f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-udc";
667f126890aSEmmanuel Vadot				reg = <0xfffb0000 0x4000>;
668f126890aSEmmanuel Vadot				interrupts = <11 IRQ_TYPE_LEVEL_HIGH 2>;
669f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 11>, <&pmc PMC_TYPE_SYSTEM 1>;
670f126890aSEmmanuel Vadot				clock-names = "pclk", "hclk";
671f126890aSEmmanuel Vadot				status = "disabled";
672f126890aSEmmanuel Vadot			};
673f126890aSEmmanuel Vadot
674f126890aSEmmanuel Vadot			spi0: spi@fffe0000 {
675f126890aSEmmanuel Vadot				#address-cells = <1>;
676f126890aSEmmanuel Vadot				#size-cells = <0>;
677f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-spi";
678f126890aSEmmanuel Vadot				reg = <0xfffe0000 0x200>;
679f126890aSEmmanuel Vadot				interrupts = <13 IRQ_TYPE_LEVEL_HIGH 3>;
680f126890aSEmmanuel Vadot				pinctrl-names = "default";
681f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_spi0>;
682f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 13>;
683f126890aSEmmanuel Vadot				clock-names = "spi_clk";
684f126890aSEmmanuel Vadot				status = "disabled";
685f126890aSEmmanuel Vadot			};
686f126890aSEmmanuel Vadot		};
687f126890aSEmmanuel Vadot
688f126890aSEmmanuel Vadot		nand0: nand@40000000 {
689f126890aSEmmanuel Vadot			compatible = "atmel,at91rm9200-nand";
690f126890aSEmmanuel Vadot			#address-cells = <1>;
691f126890aSEmmanuel Vadot			#size-cells = <1>;
692f126890aSEmmanuel Vadot			reg = <0x40000000 0x10000000>;
693f126890aSEmmanuel Vadot			atmel,nand-addr-offset = <21>;
694f126890aSEmmanuel Vadot			atmel,nand-cmd-offset = <22>;
695f126890aSEmmanuel Vadot			pinctrl-names = "default";
696f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_nand>;
697f126890aSEmmanuel Vadot			nand-ecc-mode = "soft";
698f126890aSEmmanuel Vadot			gpios = <&pioC 2 GPIO_ACTIVE_HIGH
699f126890aSEmmanuel Vadot				 0
700f126890aSEmmanuel Vadot				 &pioB 1 GPIO_ACTIVE_HIGH
701f126890aSEmmanuel Vadot				>;
702f126890aSEmmanuel Vadot			status = "disabled";
703f126890aSEmmanuel Vadot		};
704f126890aSEmmanuel Vadot
705f126890aSEmmanuel Vadot		usb0: ohci@300000 {
706f126890aSEmmanuel Vadot			compatible = "atmel,at91rm9200-ohci", "usb-ohci";
707f126890aSEmmanuel Vadot			reg = <0x00300000 0x100000>;
708f126890aSEmmanuel Vadot			interrupts = <23 IRQ_TYPE_LEVEL_HIGH 2>;
709f126890aSEmmanuel Vadot			clocks = <&pmc PMC_TYPE_PERIPHERAL 23>, <&pmc PMC_TYPE_PERIPHERAL 23>, <&pmc PMC_TYPE_SYSTEM 4>;
710f126890aSEmmanuel Vadot			clock-names = "ohci_clk", "hclk", "uhpck";
711f126890aSEmmanuel Vadot			status = "disabled";
712f126890aSEmmanuel Vadot		};
713f126890aSEmmanuel Vadot	};
714f126890aSEmmanuel Vadot
715f126890aSEmmanuel Vadot	i2c-gpio-0 {
716f126890aSEmmanuel Vadot		compatible = "i2c-gpio";
717f126890aSEmmanuel Vadot		gpios = <&pioA 25 GPIO_ACTIVE_HIGH /* sda */
718f126890aSEmmanuel Vadot			 &pioA 26 GPIO_ACTIVE_HIGH /* scl */
719f126890aSEmmanuel Vadot			>;
720f126890aSEmmanuel Vadot		i2c-gpio,sda-open-drain;
721f126890aSEmmanuel Vadot		i2c-gpio,scl-open-drain;
722f126890aSEmmanuel Vadot		i2c-gpio,delay-us = <2>;	/* ~100 kHz */
723f126890aSEmmanuel Vadot		pinctrl-names = "default";
724f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_twi_gpio>;
725f126890aSEmmanuel Vadot		#address-cells = <1>;
726f126890aSEmmanuel Vadot		#size-cells = <0>;
727f126890aSEmmanuel Vadot		status = "disabled";
728f126890aSEmmanuel Vadot	};
729f126890aSEmmanuel Vadot};
730