xref: /freebsd-src/sys/contrib/device-tree/src/arm/microchip/at91sam9rl.dtsi (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * at91sam9rl.dtsi - Device Tree Include file for AT91SAM9RL family SoC
4f126890aSEmmanuel Vadot *
5f126890aSEmmanuel Vadot *  Copyright (C) 2014 Microchip
6f126890aSEmmanuel Vadot *  Alexandre Belloni <alexandre.belloni@free-electrons.com>
7f126890aSEmmanuel Vadot */
8f126890aSEmmanuel Vadot
9f126890aSEmmanuel Vadot#include <dt-bindings/pinctrl/at91.h>
10f126890aSEmmanuel Vadot#include <dt-bindings/clock/at91.h>
11f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h>
12f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
13f126890aSEmmanuel Vadot#include <dt-bindings/pwm/pwm.h>
14f126890aSEmmanuel Vadot#include <dt-bindings/mfd/at91-usart.h>
15f126890aSEmmanuel Vadot
16f126890aSEmmanuel Vadot/ {
17f126890aSEmmanuel Vadot	#address-cells = <1>;
18f126890aSEmmanuel Vadot	#size-cells = <1>;
19f126890aSEmmanuel Vadot	model = "Atmel AT91SAM9RL family SoC";
20f126890aSEmmanuel Vadot	compatible = "atmel,at91sam9rl", "atmel,at91sam9";
21f126890aSEmmanuel Vadot	interrupt-parent = <&aic>;
22f126890aSEmmanuel Vadot
23f126890aSEmmanuel Vadot	aliases {
24f126890aSEmmanuel Vadot		serial0 = &dbgu;
25f126890aSEmmanuel Vadot		serial1 = &usart0;
26f126890aSEmmanuel Vadot		serial2 = &usart1;
27f126890aSEmmanuel Vadot		serial3 = &usart2;
28f126890aSEmmanuel Vadot		serial4 = &usart3;
29f126890aSEmmanuel Vadot		gpio0 = &pioA;
30f126890aSEmmanuel Vadot		gpio1 = &pioB;
31f126890aSEmmanuel Vadot		gpio2 = &pioC;
32f126890aSEmmanuel Vadot		gpio3 = &pioD;
33f126890aSEmmanuel Vadot		tcb0 = &tcb0;
34f126890aSEmmanuel Vadot		i2c0 = &i2c0;
35f126890aSEmmanuel Vadot		i2c1 = &i2c1;
36f126890aSEmmanuel Vadot		ssc0 = &ssc0;
37f126890aSEmmanuel Vadot		ssc1 = &ssc1;
38f126890aSEmmanuel Vadot		pwm0 = &pwm0;
39f126890aSEmmanuel Vadot	};
40f126890aSEmmanuel Vadot
41f126890aSEmmanuel Vadot	cpus {
42f126890aSEmmanuel Vadot		#address-cells = <1>;
43f126890aSEmmanuel Vadot		#size-cells = <0>;
44f126890aSEmmanuel Vadot
45f126890aSEmmanuel Vadot		cpu@0 {
46f126890aSEmmanuel Vadot			compatible = "arm,arm926ej-s";
47f126890aSEmmanuel Vadot			device_type = "cpu";
48f126890aSEmmanuel Vadot			reg = <0>;
49f126890aSEmmanuel Vadot		};
50f126890aSEmmanuel Vadot	};
51f126890aSEmmanuel Vadot
52f126890aSEmmanuel Vadot	memory@20000000 {
53f126890aSEmmanuel Vadot		device_type = "memory";
54f126890aSEmmanuel Vadot		reg = <0x20000000 0x04000000>;
55f126890aSEmmanuel Vadot	};
56f126890aSEmmanuel Vadot
57f126890aSEmmanuel Vadot	clocks {
58f126890aSEmmanuel Vadot		slow_xtal: slow_xtal {
59f126890aSEmmanuel Vadot			compatible = "fixed-clock";
60f126890aSEmmanuel Vadot			#clock-cells = <0>;
61f126890aSEmmanuel Vadot			clock-frequency = <0>;
62f126890aSEmmanuel Vadot		};
63f126890aSEmmanuel Vadot
64f126890aSEmmanuel Vadot		main_xtal: main_xtal {
65f126890aSEmmanuel Vadot			compatible = "fixed-clock";
66f126890aSEmmanuel Vadot			#clock-cells = <0>;
67f126890aSEmmanuel Vadot			clock-frequency = <0>;
68f126890aSEmmanuel Vadot		};
69f126890aSEmmanuel Vadot
70f126890aSEmmanuel Vadot		adc_op_clk: adc_op_clk {
71f126890aSEmmanuel Vadot			compatible = "fixed-clock";
72f126890aSEmmanuel Vadot			#clock-cells = <0>;
73f126890aSEmmanuel Vadot			clock-frequency = <1000000>;
74f126890aSEmmanuel Vadot		};
75f126890aSEmmanuel Vadot	};
76f126890aSEmmanuel Vadot
77f126890aSEmmanuel Vadot	sram: sram@300000 {
78f126890aSEmmanuel Vadot		compatible = "mmio-sram";
79f126890aSEmmanuel Vadot		reg = <0x00300000 0x10000>;
80f126890aSEmmanuel Vadot		#address-cells = <1>;
81f126890aSEmmanuel Vadot		#size-cells = <1>;
82f126890aSEmmanuel Vadot		ranges = <0 0x00300000 0x10000>;
83f126890aSEmmanuel Vadot	};
84f126890aSEmmanuel Vadot
85f126890aSEmmanuel Vadot	ahb {
86f126890aSEmmanuel Vadot		compatible = "simple-bus";
87f126890aSEmmanuel Vadot		#address-cells = <1>;
88f126890aSEmmanuel Vadot		#size-cells = <1>;
89f126890aSEmmanuel Vadot		ranges;
90f126890aSEmmanuel Vadot
91f126890aSEmmanuel Vadot		fb0: fb@500000 {
92f126890aSEmmanuel Vadot			compatible = "atmel,at91sam9rl-lcdc";
93f126890aSEmmanuel Vadot			reg = <0x00500000 0x1000>;
94f126890aSEmmanuel Vadot			interrupts = <23 IRQ_TYPE_LEVEL_HIGH 3>;
95f126890aSEmmanuel Vadot			pinctrl-names = "default";
96f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_fb>;
97f126890aSEmmanuel Vadot			clocks = <&pmc PMC_TYPE_PERIPHERAL 23>, <&pmc PMC_TYPE_PERIPHERAL 23>;
98f126890aSEmmanuel Vadot			clock-names = "hclk", "lcdc_clk";
99f126890aSEmmanuel Vadot			status = "disabled";
100f126890aSEmmanuel Vadot		};
101f126890aSEmmanuel Vadot
102f126890aSEmmanuel Vadot		ebi: ebi@10000000 {
103f126890aSEmmanuel Vadot			compatible = "atmel,at91sam9rl-ebi";
104f126890aSEmmanuel Vadot			#address-cells = <2>;
105f126890aSEmmanuel Vadot			#size-cells = <1>;
106f126890aSEmmanuel Vadot			atmel,smc = <&smc>;
107f126890aSEmmanuel Vadot			atmel,matrix = <&matrix>;
108f126890aSEmmanuel Vadot			reg = <0x10000000 0x80000000>;
109f126890aSEmmanuel Vadot			ranges = <0x0 0x0 0x10000000 0x10000000
110f126890aSEmmanuel Vadot				  0x1 0x0 0x20000000 0x10000000
111f126890aSEmmanuel Vadot				  0x2 0x0 0x30000000 0x10000000
112f126890aSEmmanuel Vadot				  0x3 0x0 0x40000000 0x10000000
113f126890aSEmmanuel Vadot				  0x4 0x0 0x50000000 0x10000000
114f126890aSEmmanuel Vadot				  0x5 0x0 0x60000000 0x10000000>;
115f126890aSEmmanuel Vadot			clocks = <&pmc PMC_TYPE_CORE PMC_MCK>;
116f126890aSEmmanuel Vadot			status = "disabled";
117f126890aSEmmanuel Vadot
118f126890aSEmmanuel Vadot			nand_controller: nand-controller {
119f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9g45-nand-controller";
120f126890aSEmmanuel Vadot				#address-cells = <2>;
121f126890aSEmmanuel Vadot				#size-cells = <1>;
122f126890aSEmmanuel Vadot				ranges;
123f126890aSEmmanuel Vadot				status = "disabled";
124f126890aSEmmanuel Vadot			};
125f126890aSEmmanuel Vadot		};
126f126890aSEmmanuel Vadot
127f126890aSEmmanuel Vadot		apb {
128f126890aSEmmanuel Vadot			compatible = "simple-bus";
129f126890aSEmmanuel Vadot			#address-cells = <1>;
130f126890aSEmmanuel Vadot			#size-cells = <1>;
131f126890aSEmmanuel Vadot			ranges;
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>;
138f126890aSEmmanuel Vadot				interrupts = <16 IRQ_TYPE_LEVEL_HIGH 0>,
139f126890aSEmmanuel Vadot					     <17 IRQ_TYPE_LEVEL_HIGH 0>,
140f126890aSEmmanuel Vadot					     <18 IRQ_TYPE_LEVEL_HIGH 0>;
141f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 16>, <&pmc PMC_TYPE_PERIPHERAL 17>, <&pmc PMC_TYPE_PERIPHERAL 18>, <&clk32k>;
142f126890aSEmmanuel Vadot				clock-names = "t0_clk", "t1_clk", "t2_clk", "slow_clk";
143f126890aSEmmanuel Vadot			};
144f126890aSEmmanuel Vadot
145f126890aSEmmanuel Vadot			mmc0: mmc@fffa4000 {
146f126890aSEmmanuel Vadot				compatible = "atmel,hsmci";
147f126890aSEmmanuel Vadot				reg = <0xfffa4000 0x600>;
148f126890aSEmmanuel Vadot				interrupts = <10 IRQ_TYPE_LEVEL_HIGH 0>;
149f126890aSEmmanuel Vadot				#address-cells = <1>;
150f126890aSEmmanuel Vadot				#size-cells = <0>;
151f126890aSEmmanuel Vadot				pinctrl-names = "default";
152f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 10>;
153f126890aSEmmanuel Vadot				clock-names = "mci_clk";
154f126890aSEmmanuel Vadot				status = "disabled";
155f126890aSEmmanuel Vadot			};
156f126890aSEmmanuel Vadot
157f126890aSEmmanuel Vadot			i2c0: i2c@fffa8000 {
158f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-i2c";
159f126890aSEmmanuel Vadot				reg = <0xfffa8000 0x100>;
160f126890aSEmmanuel Vadot				interrupts = <11 IRQ_TYPE_LEVEL_HIGH 6>;
161f126890aSEmmanuel Vadot				#address-cells = <1>;
162f126890aSEmmanuel Vadot				#size-cells = <0>;
163f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 11>;
164f126890aSEmmanuel Vadot				status = "disabled";
165f126890aSEmmanuel Vadot			};
166f126890aSEmmanuel Vadot
167f126890aSEmmanuel Vadot			i2c1: i2c@fffac000 {
168f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-i2c";
169f126890aSEmmanuel Vadot				reg = <0xfffac000 0x100>;
170f126890aSEmmanuel Vadot				interrupts = <12 IRQ_TYPE_LEVEL_HIGH 6>;
171f126890aSEmmanuel Vadot				#address-cells = <1>;
172f126890aSEmmanuel Vadot				#size-cells = <0>;
173f126890aSEmmanuel Vadot				status = "disabled";
174f126890aSEmmanuel Vadot			};
175f126890aSEmmanuel Vadot
176f126890aSEmmanuel Vadot			usart0: serial@fffb0000 {
177f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-usart";
178f126890aSEmmanuel Vadot				reg = <0xfffb0000 0x200>;
179f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
180f126890aSEmmanuel Vadot				interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>;
181f126890aSEmmanuel Vadot				atmel,use-dma-rx;
182f126890aSEmmanuel Vadot				atmel,use-dma-tx;
183f126890aSEmmanuel Vadot				pinctrl-names = "default";
184f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_usart0>;
185f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 6>;
186f126890aSEmmanuel Vadot				clock-names = "usart";
187f126890aSEmmanuel Vadot				status = "disabled";
188f126890aSEmmanuel Vadot			};
189f126890aSEmmanuel Vadot
190f126890aSEmmanuel Vadot			usart1: serial@fffb4000 {
191f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-usart";
192f126890aSEmmanuel Vadot				reg = <0xfffb4000 0x200>;
193f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
194f126890aSEmmanuel Vadot				interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
195f126890aSEmmanuel Vadot				atmel,use-dma-rx;
196f126890aSEmmanuel Vadot				atmel,use-dma-tx;
197f126890aSEmmanuel Vadot				pinctrl-names = "default";
198f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_usart1>;
199f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 7>;
200f126890aSEmmanuel Vadot				clock-names = "usart";
201f126890aSEmmanuel Vadot				status = "disabled";
202f126890aSEmmanuel Vadot			};
203f126890aSEmmanuel Vadot
204f126890aSEmmanuel Vadot			usart2: serial@fffb8000 {
205f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-usart";
206f126890aSEmmanuel Vadot				reg = <0xfffb8000 0x200>;
207f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
208f126890aSEmmanuel Vadot				interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
209f126890aSEmmanuel Vadot				atmel,use-dma-rx;
210f126890aSEmmanuel Vadot				atmel,use-dma-tx;
211f126890aSEmmanuel Vadot				pinctrl-names = "default";
212f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_usart2>;
213f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 8>;
214f126890aSEmmanuel Vadot				clock-names = "usart";
215f126890aSEmmanuel Vadot				status = "disabled";
216f126890aSEmmanuel Vadot			};
217f126890aSEmmanuel Vadot
218f126890aSEmmanuel Vadot			usart3: serial@fffbc000 {
219f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-usart";
220f126890aSEmmanuel Vadot				reg = <0xfffbc000 0x200>;
221f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
222f126890aSEmmanuel Vadot				interrupts = <9 IRQ_TYPE_LEVEL_HIGH 5>;
223f126890aSEmmanuel Vadot				atmel,use-dma-rx;
224f126890aSEmmanuel Vadot				atmel,use-dma-tx;
225f126890aSEmmanuel Vadot				pinctrl-names = "default";
226f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_usart3>;
227f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 9>;
228f126890aSEmmanuel Vadot				clock-names = "usart";
229f126890aSEmmanuel Vadot				status = "disabled";
230f126890aSEmmanuel Vadot			};
231f126890aSEmmanuel Vadot
232f126890aSEmmanuel Vadot			ssc0: ssc@fffc0000 {
233f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9rl-ssc";
234f126890aSEmmanuel Vadot				reg = <0xfffc0000 0x4000>;
235f126890aSEmmanuel Vadot				interrupts = <14 IRQ_TYPE_LEVEL_HIGH 5>;
236f126890aSEmmanuel Vadot				pinctrl-names = "default";
237f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
238f126890aSEmmanuel Vadot				status = "disabled";
239f126890aSEmmanuel Vadot			};
240f126890aSEmmanuel Vadot
241f126890aSEmmanuel Vadot			ssc1: ssc@fffc4000 {
242f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9rl-ssc";
243f126890aSEmmanuel Vadot				reg = <0xfffc4000 0x4000>;
244f126890aSEmmanuel Vadot				interrupts = <15 IRQ_TYPE_LEVEL_HIGH 5>;
245f126890aSEmmanuel Vadot				pinctrl-names = "default";
246f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>;
247f126890aSEmmanuel Vadot				status = "disabled";
248f126890aSEmmanuel Vadot			};
249f126890aSEmmanuel Vadot
250f126890aSEmmanuel Vadot			pwm0: pwm@fffc8000 {
251f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9rl-pwm";
252f126890aSEmmanuel Vadot				reg = <0xfffc8000 0x300>;
253f126890aSEmmanuel Vadot				interrupts = <19 IRQ_TYPE_LEVEL_HIGH 4>;
254f126890aSEmmanuel Vadot				#pwm-cells = <3>;
255f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 19>;
256f126890aSEmmanuel Vadot				clock-names = "pwm_clk";
257f126890aSEmmanuel Vadot				status = "disabled";
258f126890aSEmmanuel Vadot			};
259f126890aSEmmanuel Vadot
260f126890aSEmmanuel Vadot			spi0: spi@fffcc000 {
261f126890aSEmmanuel Vadot				#address-cells = <1>;
262f126890aSEmmanuel Vadot				#size-cells = <0>;
263f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-spi";
264f126890aSEmmanuel Vadot				reg = <0xfffcc000 0x200>;
265f126890aSEmmanuel Vadot				interrupts = <13 IRQ_TYPE_LEVEL_HIGH 3>;
266f126890aSEmmanuel Vadot				pinctrl-names = "default";
267f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_spi0>;
268f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 13>;
269f126890aSEmmanuel Vadot				clock-names = "spi_clk";
270f126890aSEmmanuel Vadot				status = "disabled";
271f126890aSEmmanuel Vadot			};
272f126890aSEmmanuel Vadot
273f126890aSEmmanuel Vadot			adc0: adc@fffd0000 {
274f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9rl-adc";
275f126890aSEmmanuel Vadot				reg = <0xfffd0000 0x100>;
276f126890aSEmmanuel Vadot				interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0>;
277f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 20>, <&adc_op_clk>;
278f126890aSEmmanuel Vadot				clock-names = "adc_clk", "adc_op_clk";
279f126890aSEmmanuel Vadot				atmel,adc-use-external-triggers;
280f126890aSEmmanuel Vadot				atmel,adc-channels-used = <0x3f>;
281f126890aSEmmanuel Vadot				atmel,adc-vref = <3300>;
282f126890aSEmmanuel Vadot				atmel,adc-startup-time = <40>;
283f126890aSEmmanuel Vadot			};
284f126890aSEmmanuel Vadot
285f126890aSEmmanuel Vadot			usb0: gadget@fffd4000 {
286f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9rl-udc";
287f126890aSEmmanuel Vadot				reg = <0x00600000 0x100000>,
288f126890aSEmmanuel Vadot				      <0xfffd4000 0x4000>;
289f126890aSEmmanuel Vadot				interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
290f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 22>, <&pmc PMC_TYPE_CORE PMC_UTMI>;
291f126890aSEmmanuel Vadot				clock-names = "pclk", "hclk";
292f126890aSEmmanuel Vadot				status = "disabled";
293f126890aSEmmanuel Vadot			};
294f126890aSEmmanuel Vadot
295f126890aSEmmanuel Vadot			dma0: dma-controller@ffffe600 {
296f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9rl-dma";
297f126890aSEmmanuel Vadot				reg = <0xffffe600 0x200>;
298f126890aSEmmanuel Vadot				interrupts = <21 IRQ_TYPE_LEVEL_HIGH 0>;
299f126890aSEmmanuel Vadot				#dma-cells = <2>;
300f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 21>;
301f126890aSEmmanuel Vadot				clock-names = "dma_clk";
302f126890aSEmmanuel Vadot			};
303f126890aSEmmanuel Vadot
304f126890aSEmmanuel Vadot			ramc0: ramc@ffffea00 {
305f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-sdramc";
306f126890aSEmmanuel Vadot				reg = <0xffffea00 0x200>;
307f126890aSEmmanuel Vadot			};
308f126890aSEmmanuel Vadot
309f126890aSEmmanuel Vadot			smc: smc@ffffec00 {
310f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-smc", "syscon";
311f126890aSEmmanuel Vadot				reg = <0xffffec00 0x200>;
312f126890aSEmmanuel Vadot			};
313f126890aSEmmanuel Vadot
314f126890aSEmmanuel Vadot			matrix: matrix@ffffee00 {
315f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9rl-matrix", "syscon";
316f126890aSEmmanuel Vadot				reg = <0xffffee00 0x200>;
317f126890aSEmmanuel Vadot			};
318f126890aSEmmanuel Vadot
319f126890aSEmmanuel Vadot			aic: interrupt-controller@fffff000 {
320f126890aSEmmanuel Vadot				#interrupt-cells = <3>;
321f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-aic";
322f126890aSEmmanuel Vadot				interrupt-controller;
323f126890aSEmmanuel Vadot				reg = <0xfffff000 0x200>;
324f126890aSEmmanuel Vadot				atmel,external-irqs = <31>;
325f126890aSEmmanuel Vadot			};
326f126890aSEmmanuel Vadot
327f126890aSEmmanuel Vadot			dbgu: serial@fffff200 {
328f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
329f126890aSEmmanuel Vadot				reg = <0xfffff200 0x200>;
330f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
331f126890aSEmmanuel Vadot				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
332f126890aSEmmanuel Vadot				pinctrl-names = "default";
333f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_dbgu>;
334f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_CORE PMC_MCK>;
335f126890aSEmmanuel Vadot				clock-names = "usart";
336f126890aSEmmanuel Vadot				status = "disabled";
337f126890aSEmmanuel Vadot			};
338f126890aSEmmanuel Vadot
339f126890aSEmmanuel Vadot			pinctrl@fffff400 {
340f126890aSEmmanuel Vadot				#address-cells = <1>;
341f126890aSEmmanuel Vadot				#size-cells = <1>;
342*b2d2a78aSEmmanuel Vadot				compatible = "atmel,at91rm9200-pinctrl", "simple-mfd";
343f126890aSEmmanuel Vadot				ranges = <0xfffff400 0xfffff400 0x800>;
344f126890aSEmmanuel Vadot
345f126890aSEmmanuel Vadot				atmel,mux-mask =
346f126890aSEmmanuel Vadot					/*    A         B     */
347f126890aSEmmanuel Vadot					<0xffffffff 0xe05c6738>,  /* pioA */
348f126890aSEmmanuel Vadot					<0xffffffff 0x0000c780>,  /* pioB */
349f126890aSEmmanuel Vadot					<0xffffffff 0xe3ffff0e>,  /* pioC */
350f126890aSEmmanuel Vadot					<0x003fffff 0x0001ff3c>;  /* pioD */
351f126890aSEmmanuel Vadot
352f126890aSEmmanuel Vadot				/* shared pinctrl settings */
353f126890aSEmmanuel Vadot				adc0 {
354f126890aSEmmanuel Vadot					pinctrl_adc0_ts: adc0_ts-0 {
355f126890aSEmmanuel Vadot						atmel,pins =
356f126890aSEmmanuel Vadot							<AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE>,
357f126890aSEmmanuel Vadot							<AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_NONE>,
358f126890aSEmmanuel Vadot							<AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_NONE>,
359f126890aSEmmanuel Vadot							<AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_NONE>;
360f126890aSEmmanuel Vadot					};
361f126890aSEmmanuel Vadot
362f126890aSEmmanuel Vadot					pinctrl_adc0_ad0: adc0_ad0-0 {
363f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE>;
364f126890aSEmmanuel Vadot					};
365f126890aSEmmanuel Vadot
366f126890aSEmmanuel Vadot					pinctrl_adc0_ad1: adc0_ad1-0 {
367f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_NONE>;
368f126890aSEmmanuel Vadot					};
369f126890aSEmmanuel Vadot
370f126890aSEmmanuel Vadot					pinctrl_adc0_ad2: adc0_ad2-0 {
371f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_NONE>;
372f126890aSEmmanuel Vadot					};
373f126890aSEmmanuel Vadot
374f126890aSEmmanuel Vadot					pinctrl_adc0_ad3: adc0_ad3-0 {
375f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_NONE>;
376f126890aSEmmanuel Vadot					};
377f126890aSEmmanuel Vadot
378f126890aSEmmanuel Vadot					pinctrl_adc0_ad4: adc0_ad4-0 {
379f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOD 6 AT91_PERIPH_A AT91_PINCTRL_NONE>;
380f126890aSEmmanuel Vadot					};
381f126890aSEmmanuel Vadot
382f126890aSEmmanuel Vadot					pinctrl_adc0_ad5: adc0_ad5-0 {
383f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOD 7 AT91_PERIPH_A AT91_PINCTRL_NONE>;
384f126890aSEmmanuel Vadot					};
385f126890aSEmmanuel Vadot
386f126890aSEmmanuel Vadot					pinctrl_adc0_adtrg: adc0_adtrg-0 {
387f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOB 15 AT91_PERIPH_A AT91_PINCTRL_NONE>;
388f126890aSEmmanuel Vadot					};
389f126890aSEmmanuel Vadot				};
390f126890aSEmmanuel Vadot
391f126890aSEmmanuel Vadot				dbgu {
392f126890aSEmmanuel Vadot					pinctrl_dbgu: dbgu-0 {
393f126890aSEmmanuel Vadot						atmel,pins =
394f126890aSEmmanuel Vadot							<AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
395f126890aSEmmanuel Vadot							<AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_NONE>;
396f126890aSEmmanuel Vadot					};
397f126890aSEmmanuel Vadot				};
398f126890aSEmmanuel Vadot
399f126890aSEmmanuel Vadot				ebi {
400f126890aSEmmanuel Vadot					pinctrl_ebi_addr_nand: ebi-addr-0 {
401f126890aSEmmanuel Vadot						atmel,pins =
402f126890aSEmmanuel Vadot							<AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE>,
403f126890aSEmmanuel Vadot							<AT91_PIOB 3 AT91_PERIPH_A AT91_PINCTRL_NONE>;
404f126890aSEmmanuel Vadot					};
405f126890aSEmmanuel Vadot				};
406f126890aSEmmanuel Vadot
407f126890aSEmmanuel Vadot				fb {
408f126890aSEmmanuel Vadot					pinctrl_fb: fb-0 {
409f126890aSEmmanuel Vadot						atmel,pins =
410f126890aSEmmanuel Vadot							<AT91_PIOC 1 AT91_PERIPH_B AT91_PINCTRL_NONE>,
411f126890aSEmmanuel Vadot							<AT91_PIOC 3 AT91_PERIPH_A AT91_PINCTRL_NONE>,
412f126890aSEmmanuel Vadot							<AT91_PIOC 5 AT91_PERIPH_A AT91_PINCTRL_NONE>,
413f126890aSEmmanuel Vadot							<AT91_PIOC 6 AT91_PERIPH_A AT91_PINCTRL_NONE>,
414f126890aSEmmanuel Vadot							<AT91_PIOC 7 AT91_PERIPH_A AT91_PINCTRL_NONE>,
415f126890aSEmmanuel Vadot							<AT91_PIOC 9 AT91_PERIPH_B AT91_PINCTRL_NONE>,
416f126890aSEmmanuel Vadot							<AT91_PIOC 10 AT91_PERIPH_B AT91_PINCTRL_NONE>,
417f126890aSEmmanuel Vadot							<AT91_PIOC 11 AT91_PERIPH_B AT91_PINCTRL_NONE>,
418f126890aSEmmanuel Vadot							<AT91_PIOC 12 AT91_PERIPH_B AT91_PINCTRL_NONE>,
419f126890aSEmmanuel Vadot							<AT91_PIOC 13 AT91_PERIPH_B AT91_PINCTRL_NONE>,
420f126890aSEmmanuel Vadot							<AT91_PIOC 15 AT91_PERIPH_B AT91_PINCTRL_NONE>,
421f126890aSEmmanuel Vadot							<AT91_PIOC 16 AT91_PERIPH_B AT91_PINCTRL_NONE>,
422f126890aSEmmanuel Vadot							<AT91_PIOC 17 AT91_PERIPH_B AT91_PINCTRL_NONE>,
423f126890aSEmmanuel Vadot							<AT91_PIOC 18 AT91_PERIPH_B AT91_PINCTRL_NONE>,
424f126890aSEmmanuel Vadot							<AT91_PIOC 19 AT91_PERIPH_B AT91_PINCTRL_NONE>,
425f126890aSEmmanuel Vadot							<AT91_PIOC 20 AT91_PERIPH_B AT91_PINCTRL_NONE>,
426f126890aSEmmanuel Vadot							<AT91_PIOC 21 AT91_PERIPH_B AT91_PINCTRL_NONE>,
427f126890aSEmmanuel Vadot							<AT91_PIOC 22 AT91_PERIPH_B AT91_PINCTRL_NONE>,
428f126890aSEmmanuel Vadot							<AT91_PIOC 23 AT91_PERIPH_B AT91_PINCTRL_NONE>,
429f126890aSEmmanuel Vadot							<AT91_PIOC 24 AT91_PERIPH_B AT91_PINCTRL_NONE>,
430f126890aSEmmanuel Vadot							<AT91_PIOC 25 AT91_PERIPH_B AT91_PINCTRL_NONE>;
431f126890aSEmmanuel Vadot					};
432f126890aSEmmanuel Vadot				};
433f126890aSEmmanuel Vadot
434f126890aSEmmanuel Vadot				i2c_gpio0 {
435f126890aSEmmanuel Vadot					pinctrl_i2c_gpio0: i2c_gpio0-0 {
436f126890aSEmmanuel Vadot						atmel,pins =
437f126890aSEmmanuel Vadot							<AT91_PIOA 23 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>,
438f126890aSEmmanuel Vadot							<AT91_PIOA 24 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>;
439f126890aSEmmanuel Vadot					};
440f126890aSEmmanuel Vadot				};
441f126890aSEmmanuel Vadot
442f126890aSEmmanuel Vadot				i2c_gpio1 {
443f126890aSEmmanuel Vadot					pinctrl_i2c_gpio1: i2c_gpio1-0 {
444f126890aSEmmanuel Vadot						atmel,pins =
445f126890aSEmmanuel Vadot							<AT91_PIOD 10 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>,
446f126890aSEmmanuel Vadot							<AT91_PIOD 11 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>;
447f126890aSEmmanuel Vadot					};
448f126890aSEmmanuel Vadot				};
449f126890aSEmmanuel Vadot
450f126890aSEmmanuel Vadot				mmc0 {
451f126890aSEmmanuel Vadot					pinctrl_mmc0_clk: mmc0_clk-0 {
452f126890aSEmmanuel Vadot						atmel,pins =
453f126890aSEmmanuel Vadot							<AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE>;
454f126890aSEmmanuel Vadot					};
455f126890aSEmmanuel Vadot
456f126890aSEmmanuel Vadot					pinctrl_mmc0_slot0_cmd_dat0: mmc0_slot0_cmd_dat0-0 {
457f126890aSEmmanuel Vadot						atmel,pins =
458f126890aSEmmanuel Vadot							<AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
459f126890aSEmmanuel Vadot							<AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
460f126890aSEmmanuel Vadot					};
461f126890aSEmmanuel Vadot
462f126890aSEmmanuel Vadot					pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
463f126890aSEmmanuel Vadot						atmel,pins =
464f126890aSEmmanuel Vadot							<AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
465f126890aSEmmanuel Vadot							<AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
466f126890aSEmmanuel Vadot							<AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
467f126890aSEmmanuel Vadot					};
468f126890aSEmmanuel Vadot				};
469f126890aSEmmanuel Vadot
470f126890aSEmmanuel Vadot				nand {
471f126890aSEmmanuel Vadot					pinctrl_nand_rb: nand-rb-0 {
472f126890aSEmmanuel Vadot						atmel,pins =
473f126890aSEmmanuel Vadot							<AT91_PIOD 17 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
474f126890aSEmmanuel Vadot					};
475f126890aSEmmanuel Vadot
476f126890aSEmmanuel Vadot					pinctrl_nand_cs: nand-cs-0 {
477f126890aSEmmanuel Vadot						atmel,pins =
478f126890aSEmmanuel Vadot							<AT91_PIOB 6 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
479f126890aSEmmanuel Vadot					};
480f126890aSEmmanuel Vadot
481f126890aSEmmanuel Vadot					pinctrl_nand_oe_we: nand-oe-we-0 {
482f126890aSEmmanuel Vadot						atmel,pins =
483f126890aSEmmanuel Vadot							<AT91_PIOB 4 AT91_PERIPH_A AT91_PINCTRL_NONE>,
484f126890aSEmmanuel Vadot							<AT91_PIOB 5 AT91_PERIPH_A AT91_PINCTRL_NONE>;
485f126890aSEmmanuel Vadot					};
486f126890aSEmmanuel Vadot				};
487f126890aSEmmanuel Vadot
488f126890aSEmmanuel Vadot				pwm0 {
489f126890aSEmmanuel Vadot					pinctrl_pwm0_pwm0_0: pwm0_pwm0-0 {
490f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOB 8 AT91_PERIPH_B AT91_PINCTRL_NONE>;
491f126890aSEmmanuel Vadot					};
492f126890aSEmmanuel Vadot
493f126890aSEmmanuel Vadot					pinctrl_pwm0_pwm0_1: pwm0_pwm0-1 {
494f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOC 2 AT91_PERIPH_B AT91_PINCTRL_NONE>;
495f126890aSEmmanuel Vadot					};
496f126890aSEmmanuel Vadot
497f126890aSEmmanuel Vadot					pinctrl_pwm0_pwm0_2: pwm0_pwm0-2 {
498f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOD 14 AT91_PERIPH_B AT91_PINCTRL_NONE>;
499f126890aSEmmanuel Vadot					};
500f126890aSEmmanuel Vadot
501f126890aSEmmanuel Vadot					pinctrl_pwm0_pwm1_0: pwm0_pwm1-0 {
502f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOB 9 AT91_PERIPH_B AT91_PINCTRL_NONE>;
503f126890aSEmmanuel Vadot					};
504f126890aSEmmanuel Vadot
505f126890aSEmmanuel Vadot					pinctrl_pwm0_pwm1_1: pwm0_pwm1-1 {
506f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOC 3 AT91_PERIPH_B AT91_PINCTRL_NONE>;
507f126890aSEmmanuel Vadot					};
508f126890aSEmmanuel Vadot
509f126890aSEmmanuel Vadot					pinctrl_pwm0_pwm1_2: pwm0_pwm1-2 {
510f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOD 15 AT91_PERIPH_B AT91_PINCTRL_NONE>;
511f126890aSEmmanuel Vadot					};
512f126890aSEmmanuel Vadot
513f126890aSEmmanuel Vadot					pinctrl_pwm0_pwm2_0: pwm0_pwm2-0 {
514f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOD 5 AT91_PERIPH_B AT91_PINCTRL_NONE>;
515f126890aSEmmanuel Vadot					};
516f126890aSEmmanuel Vadot
517f126890aSEmmanuel Vadot					pinctrl_pwm0_pwm2_1: pwm0_pwm2-1 {
518f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOD 12 AT91_PERIPH_A AT91_PINCTRL_NONE>;
519f126890aSEmmanuel Vadot					};
520f126890aSEmmanuel Vadot
521f126890aSEmmanuel Vadot					pinctrl_pwm0_pwm2_2: pwm0_pwm2-2 {
522f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOD 16 AT91_PERIPH_B AT91_PINCTRL_NONE>;
523f126890aSEmmanuel Vadot					};
524f126890aSEmmanuel Vadot
525f126890aSEmmanuel Vadot					pinctrl_pwm0_pwm3_0: pwm0_pwm3-0 {
526f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOD 8 AT91_PERIPH_B AT91_PINCTRL_NONE>;
527f126890aSEmmanuel Vadot					};
528f126890aSEmmanuel Vadot
529f126890aSEmmanuel Vadot					pinctrl_pwm0_pwm3_1: pwm0_pwm3-1 {
530f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOD 18 AT91_PERIPH_A AT91_PINCTRL_NONE>;
531f126890aSEmmanuel Vadot					};
532f126890aSEmmanuel Vadot				};
533f126890aSEmmanuel Vadot
534f126890aSEmmanuel Vadot				spi0 {
535f126890aSEmmanuel Vadot					pinctrl_spi0: spi0-0 {
536f126890aSEmmanuel Vadot						atmel,pins =
537f126890aSEmmanuel Vadot							<AT91_PIOA 25 AT91_PERIPH_A AT91_PINCTRL_NONE>,
538f126890aSEmmanuel Vadot							<AT91_PIOA 26 AT91_PERIPH_A AT91_PINCTRL_NONE>,
539f126890aSEmmanuel Vadot							<AT91_PIOA 27 AT91_PERIPH_A AT91_PINCTRL_NONE>;
540f126890aSEmmanuel Vadot					};
541f126890aSEmmanuel Vadot				};
542f126890aSEmmanuel Vadot
543f126890aSEmmanuel Vadot				ssc0 {
544f126890aSEmmanuel Vadot					pinctrl_ssc0_tx: ssc0_tx-0 {
545f126890aSEmmanuel Vadot						atmel,pins =
546f126890aSEmmanuel Vadot							<AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_NONE>,
547f126890aSEmmanuel Vadot							<AT91_PIOC 0 AT91_PERIPH_A AT91_PINCTRL_NONE>,
548f126890aSEmmanuel Vadot							<AT91_PIOC 1 AT91_PERIPH_A AT91_PINCTRL_NONE>;
549f126890aSEmmanuel Vadot					};
550f126890aSEmmanuel Vadot
551f126890aSEmmanuel Vadot					pinctrl_ssc0_rx: ssc0_rx-0 {
552f126890aSEmmanuel Vadot						atmel,pins =
553f126890aSEmmanuel Vadot							<AT91_PIOA 10 AT91_PERIPH_B AT91_PINCTRL_NONE>,
554f126890aSEmmanuel Vadot							<AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_NONE>,
555f126890aSEmmanuel Vadot							<AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE>;
556f126890aSEmmanuel Vadot					};
557f126890aSEmmanuel Vadot				};
558f126890aSEmmanuel Vadot
559f126890aSEmmanuel Vadot				ssc1 {
560f126890aSEmmanuel Vadot					pinctrl_ssc1_tx: ssc1_tx-0 {
561f126890aSEmmanuel Vadot						atmel,pins =
562f126890aSEmmanuel Vadot							<AT91_PIOA 13 AT91_PERIPH_B AT91_PINCTRL_NONE>,
563f126890aSEmmanuel Vadot							<AT91_PIOA 29 AT91_PERIPH_B AT91_PINCTRL_NONE>,
564f126890aSEmmanuel Vadot							<AT91_PIOA 30 AT91_PERIPH_B AT91_PINCTRL_NONE>;
565f126890aSEmmanuel Vadot					};
566f126890aSEmmanuel Vadot
567f126890aSEmmanuel Vadot					pinctrl_ssc1_rx: ssc1_rx-0 {
568f126890aSEmmanuel Vadot						atmel,pins =
569f126890aSEmmanuel Vadot							<AT91_PIOA 8 AT91_PERIPH_B AT91_PINCTRL_NONE>,
570f126890aSEmmanuel Vadot							<AT91_PIOA 9 AT91_PERIPH_B AT91_PINCTRL_NONE>,
571f126890aSEmmanuel Vadot							<AT91_PIOA 14 AT91_PERIPH_B AT91_PINCTRL_NONE>;
572f126890aSEmmanuel Vadot					};
573f126890aSEmmanuel Vadot				};
574f126890aSEmmanuel Vadot
575f126890aSEmmanuel Vadot				tcb0 {
576f126890aSEmmanuel Vadot					pinctrl_tcb0_tclk0: tcb0_tclk0-0 {
577f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOA 3 AT91_PERIPH_B AT91_PINCTRL_NONE>;
578f126890aSEmmanuel Vadot					};
579f126890aSEmmanuel Vadot
580f126890aSEmmanuel Vadot					pinctrl_tcb0_tclk1: tcb0_tclk1-0 {
581f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOC 31 AT91_PERIPH_B AT91_PINCTRL_NONE>;
582f126890aSEmmanuel Vadot					};
583f126890aSEmmanuel Vadot
584f126890aSEmmanuel Vadot					pinctrl_tcb0_tclk2: tcb0_tclk2-0 {
585f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOD 21 AT91_PERIPH_A AT91_PINCTRL_NONE>;
586f126890aSEmmanuel Vadot					};
587f126890aSEmmanuel Vadot
588f126890aSEmmanuel Vadot					pinctrl_tcb0_tioa0: tcb0_tioa0-0 {
589f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOA 4 AT91_PERIPH_B AT91_PINCTRL_NONE>;
590f126890aSEmmanuel Vadot					};
591f126890aSEmmanuel Vadot
592f126890aSEmmanuel Vadot					pinctrl_tcb0_tioa1: tcb0_tioa1-0 {
593f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOC 29 AT91_PERIPH_B AT91_PINCTRL_NONE>;
594f126890aSEmmanuel Vadot					};
595f126890aSEmmanuel Vadot
596f126890aSEmmanuel Vadot					pinctrl_tcb0_tioa2: tcb0_tioa2-0 {
597f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOD 10 AT91_PERIPH_B AT91_PINCTRL_NONE>;
598f126890aSEmmanuel Vadot					};
599f126890aSEmmanuel Vadot
600f126890aSEmmanuel Vadot					pinctrl_tcb0_tiob0: tcb0_tiob0-0 {
601f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOA 5 AT91_PERIPH_B AT91_PINCTRL_NONE>;
602f126890aSEmmanuel Vadot					};
603f126890aSEmmanuel Vadot
604f126890aSEmmanuel Vadot					pinctrl_tcb0_tiob1: tcb0_tiob1-0 {
605f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOC 30 AT91_PERIPH_B AT91_PINCTRL_NONE>;
606f126890aSEmmanuel Vadot					};
607f126890aSEmmanuel Vadot
608f126890aSEmmanuel Vadot					pinctrl_tcb0_tiob2: tcb0_tiob2-0 {
609f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOD 11 AT91_PERIPH_B AT91_PINCTRL_NONE>;
610f126890aSEmmanuel Vadot					};
611f126890aSEmmanuel Vadot				};
612f126890aSEmmanuel Vadot
613f126890aSEmmanuel Vadot				usart0 {
614f126890aSEmmanuel Vadot					pinctrl_usart0: usart0-0 {
615f126890aSEmmanuel Vadot						atmel,pins =
616f126890aSEmmanuel Vadot							<AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
617f126890aSEmmanuel Vadot							<AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
618f126890aSEmmanuel Vadot					};
619f126890aSEmmanuel Vadot
620f126890aSEmmanuel Vadot					pinctrl_usart0_rts: usart0_rts-0 {
621f126890aSEmmanuel Vadot						atmel,pins =
622f126890aSEmmanuel Vadot							<AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_NONE>;
623f126890aSEmmanuel Vadot					};
624f126890aSEmmanuel Vadot
625f126890aSEmmanuel Vadot					pinctrl_usart0_cts: usart0_cts-0 {
626f126890aSEmmanuel Vadot						atmel,pins =
627f126890aSEmmanuel Vadot							<AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE>;
628f126890aSEmmanuel Vadot					};
629f126890aSEmmanuel Vadot
630f126890aSEmmanuel Vadot					pinctrl_usart0_dtr_dsr: usart0_dtr_dsr-0 {
631f126890aSEmmanuel Vadot						atmel,pins =
632f126890aSEmmanuel Vadot							<AT91_PIOD 14 AT91_PERIPH_A AT91_PINCTRL_NONE>,
633f126890aSEmmanuel Vadot							<AT91_PIOD 15 AT91_PERIPH_A AT91_PINCTRL_NONE>;
634f126890aSEmmanuel Vadot					};
635f126890aSEmmanuel Vadot
636f126890aSEmmanuel Vadot					pinctrl_usart0_dcd: usart0_dcd-0 {
637f126890aSEmmanuel Vadot						atmel,pins =
638f126890aSEmmanuel Vadot							<AT91_PIOD 16 AT91_PERIPH_A AT91_PINCTRL_NONE>;
639f126890aSEmmanuel Vadot					};
640f126890aSEmmanuel Vadot
641f126890aSEmmanuel Vadot					pinctrl_usart0_ri: usart0_ri-0 {
642f126890aSEmmanuel Vadot						atmel,pins =
643f126890aSEmmanuel Vadot							<AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_NONE>;
644f126890aSEmmanuel Vadot					};
645f126890aSEmmanuel Vadot
646f126890aSEmmanuel Vadot					pinctrl_usart0_sck: usart0_sck-0 {
647f126890aSEmmanuel Vadot						atmel,pins =
648f126890aSEmmanuel Vadot							<AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_NONE>;
649f126890aSEmmanuel Vadot					};
650f126890aSEmmanuel Vadot				};
651f126890aSEmmanuel Vadot
652f126890aSEmmanuel Vadot				usart1 {
653f126890aSEmmanuel Vadot					pinctrl_usart1: usart1-0 {
654f126890aSEmmanuel Vadot						atmel,pins =
655f126890aSEmmanuel Vadot							<AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
656f126890aSEmmanuel Vadot							<AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
657f126890aSEmmanuel Vadot					};
658f126890aSEmmanuel Vadot
659f126890aSEmmanuel Vadot					pinctrl_usart1_rts: usart1_rts-0 {
660f126890aSEmmanuel Vadot						atmel,pins =
661f126890aSEmmanuel Vadot							<AT91_PIOA 18 AT91_PERIPH_B AT91_PINCTRL_NONE>;
662f126890aSEmmanuel Vadot					};
663f126890aSEmmanuel Vadot
664f126890aSEmmanuel Vadot					pinctrl_usart1_cts: usart1_cts-0 {
665f126890aSEmmanuel Vadot						atmel,pins =
666f126890aSEmmanuel Vadot							<AT91_PIOA 19 AT91_PERIPH_B AT91_PINCTRL_NONE>;
667f126890aSEmmanuel Vadot					};
668f126890aSEmmanuel Vadot
669f126890aSEmmanuel Vadot					pinctrl_usart1_sck: usart1_sck-0 {
670f126890aSEmmanuel Vadot						atmel,pins =
671f126890aSEmmanuel Vadot							<AT91_PIOD 2 AT91_PERIPH_B AT91_PINCTRL_NONE>;
672f126890aSEmmanuel Vadot					};
673f126890aSEmmanuel Vadot				};
674f126890aSEmmanuel Vadot
675f126890aSEmmanuel Vadot				usart2 {
676f126890aSEmmanuel Vadot					pinctrl_usart2: usart2-0 {
677f126890aSEmmanuel Vadot						atmel,pins =
678f126890aSEmmanuel Vadot							<AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
679f126890aSEmmanuel Vadot							<AT91_PIOA 14 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
680f126890aSEmmanuel Vadot					};
681f126890aSEmmanuel Vadot
682f126890aSEmmanuel Vadot					pinctrl_usart2_rts: usart2_rts-0 {
683f126890aSEmmanuel Vadot						atmel,pins =
684f126890aSEmmanuel Vadot							<AT91_PIOA 29 AT91_PERIPH_A AT91_PINCTRL_NONE>;
685f126890aSEmmanuel Vadot					};
686f126890aSEmmanuel Vadot
687f126890aSEmmanuel Vadot					pinctrl_usart2_cts: usart2_cts-0 {
688f126890aSEmmanuel Vadot						atmel,pins =
689f126890aSEmmanuel Vadot							<AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_NONE>;
690f126890aSEmmanuel Vadot					};
691f126890aSEmmanuel Vadot
692f126890aSEmmanuel Vadot					pinctrl_usart2_sck: usart2_sck-0 {
693f126890aSEmmanuel Vadot						atmel,pins =
694f126890aSEmmanuel Vadot							<AT91_PIOD 9 AT91_PERIPH_A AT91_PINCTRL_NONE>;
695f126890aSEmmanuel Vadot					};
696f126890aSEmmanuel Vadot				};
697f126890aSEmmanuel Vadot
698f126890aSEmmanuel Vadot				usart3 {
699f126890aSEmmanuel Vadot					pinctrl_usart3: usart3-0 {
700f126890aSEmmanuel Vadot						atmel,pins =
701f126890aSEmmanuel Vadot							<AT91_PIOB 0 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
702f126890aSEmmanuel Vadot							<AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
703f126890aSEmmanuel Vadot					};
704f126890aSEmmanuel Vadot
705f126890aSEmmanuel Vadot					pinctrl_usart3_rts: usart3_rts-0 {
706f126890aSEmmanuel Vadot						atmel,pins =
707f126890aSEmmanuel Vadot							<AT91_PIOD 4 AT91_PERIPH_B AT91_PINCTRL_NONE>;
708f126890aSEmmanuel Vadot					};
709f126890aSEmmanuel Vadot
710f126890aSEmmanuel Vadot					pinctrl_usart3_cts: usart3_cts-0 {
711f126890aSEmmanuel Vadot						atmel,pins =
712f126890aSEmmanuel Vadot							<AT91_PIOD 3 AT91_PERIPH_B AT91_PINCTRL_NONE>;
713f126890aSEmmanuel Vadot					};
714f126890aSEmmanuel Vadot
715f126890aSEmmanuel Vadot					pinctrl_usart3_sck: usart3_sck-0 {
716f126890aSEmmanuel Vadot						atmel,pins =
717f126890aSEmmanuel Vadot							<AT91_PIOA 20 AT91_PERIPH_B AT91_PINCTRL_NONE>;
718f126890aSEmmanuel Vadot					};
719f126890aSEmmanuel Vadot				};
720f126890aSEmmanuel Vadot
721f126890aSEmmanuel Vadot				pioA: gpio@fffff400 {
722f126890aSEmmanuel Vadot					compatible = "atmel,at91rm9200-gpio";
723f126890aSEmmanuel Vadot					reg = <0xfffff400 0x200>;
724f126890aSEmmanuel Vadot					interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
725f126890aSEmmanuel Vadot					#gpio-cells = <2>;
726f126890aSEmmanuel Vadot					gpio-controller;
727f126890aSEmmanuel Vadot					interrupt-controller;
728f126890aSEmmanuel Vadot					#interrupt-cells = <2>;
729f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 2>;
730f126890aSEmmanuel Vadot				};
731f126890aSEmmanuel Vadot
732f126890aSEmmanuel Vadot				pioB: gpio@fffff600 {
733f126890aSEmmanuel Vadot					compatible = "atmel,at91rm9200-gpio";
734f126890aSEmmanuel Vadot					reg = <0xfffff600 0x200>;
735f126890aSEmmanuel Vadot					interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
736f126890aSEmmanuel Vadot					#gpio-cells = <2>;
737f126890aSEmmanuel Vadot					gpio-controller;
738f126890aSEmmanuel Vadot					interrupt-controller;
739f126890aSEmmanuel Vadot					#interrupt-cells = <2>;
740f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 3>;
741f126890aSEmmanuel Vadot				};
742f126890aSEmmanuel Vadot
743f126890aSEmmanuel Vadot				pioC: gpio@fffff800 {
744f126890aSEmmanuel Vadot					compatible = "atmel,at91rm9200-gpio";
745f126890aSEmmanuel Vadot					reg = <0xfffff800 0x200>;
746f126890aSEmmanuel Vadot					interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
747f126890aSEmmanuel Vadot					#gpio-cells = <2>;
748f126890aSEmmanuel Vadot					gpio-controller;
749f126890aSEmmanuel Vadot					interrupt-controller;
750f126890aSEmmanuel Vadot					#interrupt-cells = <2>;
751f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 4>;
752f126890aSEmmanuel Vadot				};
753f126890aSEmmanuel Vadot
754f126890aSEmmanuel Vadot				pioD: gpio@fffffa00 {
755f126890aSEmmanuel Vadot					compatible = "atmel,at91rm9200-gpio";
756f126890aSEmmanuel Vadot					reg = <0xfffffa00 0x200>;
757f126890aSEmmanuel Vadot					interrupts = <5 IRQ_TYPE_LEVEL_HIGH 1>;
758f126890aSEmmanuel Vadot					#gpio-cells = <2>;
759f126890aSEmmanuel Vadot					gpio-controller;
760f126890aSEmmanuel Vadot					interrupt-controller;
761f126890aSEmmanuel Vadot					#interrupt-cells = <2>;
762f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 5>;
763f126890aSEmmanuel Vadot				};
764f126890aSEmmanuel Vadot			};
765f126890aSEmmanuel Vadot
766f126890aSEmmanuel Vadot			pmc: clock-controller@fffffc00 {
767f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9rl-pmc", "syscon";
768f126890aSEmmanuel Vadot				reg = <0xfffffc00 0x100>;
769f126890aSEmmanuel Vadot				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
770f126890aSEmmanuel Vadot				#clock-cells = <2>;
771f126890aSEmmanuel Vadot				clocks = <&clk32k>, <&main_xtal>;
772f126890aSEmmanuel Vadot				clock-names = "slow_clk", "main_xtal";
773f126890aSEmmanuel Vadot			};
774f126890aSEmmanuel Vadot
775f126890aSEmmanuel Vadot			reset-controller@fffffd00 {
776f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-rstc";
777f126890aSEmmanuel Vadot				reg = <0xfffffd00 0x10>;
778f126890aSEmmanuel Vadot				clocks = <&clk32k>;
779f126890aSEmmanuel Vadot			};
780f126890aSEmmanuel Vadot
781f126890aSEmmanuel Vadot			poweroff@fffffd10 {
782f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-shdwc";
783f126890aSEmmanuel Vadot				reg = <0xfffffd10 0x10>;
784f126890aSEmmanuel Vadot				clocks = <&clk32k>;
785f126890aSEmmanuel Vadot			};
786f126890aSEmmanuel Vadot
787f126890aSEmmanuel Vadot			pit: timer@fffffd30 {
788f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-pit";
789f126890aSEmmanuel Vadot				reg = <0xfffffd30 0xf>;
790f126890aSEmmanuel Vadot				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
791f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_CORE PMC_MCK>;
792f126890aSEmmanuel Vadot			};
793f126890aSEmmanuel Vadot
794f126890aSEmmanuel Vadot			watchdog@fffffd40 {
795f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-wdt";
796f126890aSEmmanuel Vadot				reg = <0xfffffd40 0x10>;
797f126890aSEmmanuel Vadot				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
798f126890aSEmmanuel Vadot				clocks = <&clk32k>;
799f126890aSEmmanuel Vadot				status = "disabled";
800f126890aSEmmanuel Vadot			};
801f126890aSEmmanuel Vadot
802f126890aSEmmanuel Vadot			clk32k: clock-controller@fffffd50 {
803f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9x5-sckc";
804f126890aSEmmanuel Vadot				reg = <0xfffffd50 0x4>;
805f126890aSEmmanuel Vadot				clocks = <&slow_xtal>;
806f126890aSEmmanuel Vadot				#clock-cells = <0>;
807f126890aSEmmanuel Vadot			};
808f126890aSEmmanuel Vadot
809f126890aSEmmanuel Vadot			rtc@fffffd20 {
810f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-rtt";
811f126890aSEmmanuel Vadot				reg = <0xfffffd20 0x10>;
812f126890aSEmmanuel Vadot				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
813f126890aSEmmanuel Vadot				clocks = <&clk32k>;
814f126890aSEmmanuel Vadot				status = "disabled";
815f126890aSEmmanuel Vadot			};
816f126890aSEmmanuel Vadot
817f126890aSEmmanuel Vadot			gpbr: syscon@fffffd60 {
818f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-gpbr", "syscon";
819f126890aSEmmanuel Vadot				reg = <0xfffffd60 0x10>;
820f126890aSEmmanuel Vadot				status = "disabled";
821f126890aSEmmanuel Vadot			};
822f126890aSEmmanuel Vadot
823f126890aSEmmanuel Vadot			rtc@fffffe00 {
824f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-rtc";
825f126890aSEmmanuel Vadot				reg = <0xfffffe00 0x40>;
826f126890aSEmmanuel Vadot				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
827f126890aSEmmanuel Vadot				clocks = <&clk32k>;
828f126890aSEmmanuel Vadot				status = "disabled";
829f126890aSEmmanuel Vadot			};
830f126890aSEmmanuel Vadot
831f126890aSEmmanuel Vadot		};
832f126890aSEmmanuel Vadot	};
833f126890aSEmmanuel Vadot
834f126890aSEmmanuel Vadot	i2c-gpio-0 {
835f126890aSEmmanuel Vadot		compatible = "i2c-gpio";
836f126890aSEmmanuel Vadot		gpios = <&pioA 23 GPIO_ACTIVE_HIGH>, /* sda */
837f126890aSEmmanuel Vadot			<&pioA 24 GPIO_ACTIVE_HIGH>; /* scl */
838f126890aSEmmanuel Vadot		i2c-gpio,sda-open-drain;
839f126890aSEmmanuel Vadot		i2c-gpio,scl-open-drain;
840f126890aSEmmanuel Vadot		i2c-gpio,delay-us = <2>;	/* ~100 kHz */
841f126890aSEmmanuel Vadot		#address-cells = <1>;
842f126890aSEmmanuel Vadot		#size-cells = <0>;
843f126890aSEmmanuel Vadot		pinctrl-names = "default";
844f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_i2c_gpio0>;
845f126890aSEmmanuel Vadot		status = "disabled";
846f126890aSEmmanuel Vadot	};
847f126890aSEmmanuel Vadot
848f126890aSEmmanuel Vadot	i2c-gpio-1 {
849f126890aSEmmanuel Vadot		compatible = "i2c-gpio";
850f126890aSEmmanuel Vadot		gpios = <&pioD 10 GPIO_ACTIVE_HIGH>, /* sda */
851f126890aSEmmanuel Vadot			<&pioD 11 GPIO_ACTIVE_HIGH>; /* scl */
852f126890aSEmmanuel Vadot		i2c-gpio,sda-open-drain;
853f126890aSEmmanuel Vadot		i2c-gpio,scl-open-drain;
854f126890aSEmmanuel Vadot		i2c-gpio,delay-us = <2>;	/* ~100 kHz */
855f126890aSEmmanuel Vadot		#address-cells = <1>;
856f126890aSEmmanuel Vadot		#size-cells = <0>;
857f126890aSEmmanuel Vadot		pinctrl-names = "default";
858f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_i2c_gpio1>;
859f126890aSEmmanuel Vadot		status = "disabled";
860f126890aSEmmanuel Vadot	};
861f126890aSEmmanuel Vadot};
862