xref: /freebsd-src/sys/contrib/device-tree/src/arm/microchip/at91sam9260.dtsi (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * at91sam9260.dtsi - Device Tree Include file for AT91SAM9260 family SoC
4f126890aSEmmanuel Vadot *
5f126890aSEmmanuel Vadot *  Copyright (C) 2011 Atmel,
6f126890aSEmmanuel Vadot *                2011 Nicolas Ferre <nicolas.ferre@atmel.com>,
7f126890aSEmmanuel Vadot *                2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
8f126890aSEmmanuel Vadot */
9f126890aSEmmanuel Vadot
10f126890aSEmmanuel Vadot#include <dt-bindings/pinctrl/at91.h>
11f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h>
12f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
13f126890aSEmmanuel Vadot#include <dt-bindings/clock/at91.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 AT91SAM9260 family SoC";
20f126890aSEmmanuel Vadot	compatible = "atmel,at91sam9260";
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		serial5 = &uart0;
30f126890aSEmmanuel Vadot		serial6 = &uart1;
31f126890aSEmmanuel Vadot		gpio0 = &pioA;
32f126890aSEmmanuel Vadot		gpio1 = &pioB;
33f126890aSEmmanuel Vadot		gpio2 = &pioC;
34f126890aSEmmanuel Vadot		tcb0 = &tcb0;
35f126890aSEmmanuel Vadot		tcb1 = &tcb1;
36f126890aSEmmanuel Vadot		i2c0 = &i2c0;
37f126890aSEmmanuel Vadot		ssc0 = &ssc0;
38f126890aSEmmanuel Vadot	};
39f126890aSEmmanuel Vadot	cpus {
40f126890aSEmmanuel Vadot		#address-cells = <1>;
41f126890aSEmmanuel Vadot		#size-cells = <0>;
42f126890aSEmmanuel Vadot
43f126890aSEmmanuel Vadot		cpu@0 {
44f126890aSEmmanuel Vadot			compatible = "arm,arm926ej-s";
45f126890aSEmmanuel Vadot			device_type = "cpu";
46f126890aSEmmanuel Vadot			reg = <0>;
47f126890aSEmmanuel Vadot		};
48f126890aSEmmanuel Vadot	};
49f126890aSEmmanuel Vadot
50f126890aSEmmanuel Vadot	memory@20000000 {
51f126890aSEmmanuel Vadot		device_type = "memory";
52f126890aSEmmanuel Vadot		reg = <0x20000000 0x04000000>;
53f126890aSEmmanuel Vadot	};
54f126890aSEmmanuel Vadot
55f126890aSEmmanuel Vadot	clocks {
56f126890aSEmmanuel Vadot		slow_xtal: slow_xtal {
57f126890aSEmmanuel Vadot			compatible = "fixed-clock";
58f126890aSEmmanuel Vadot			#clock-cells = <0>;
59f126890aSEmmanuel Vadot			clock-frequency = <0>;
60f126890aSEmmanuel Vadot		};
61f126890aSEmmanuel Vadot
62f126890aSEmmanuel Vadot		main_xtal: main_xtal {
63f126890aSEmmanuel Vadot			compatible = "fixed-clock";
64f126890aSEmmanuel Vadot			#clock-cells = <0>;
65f126890aSEmmanuel Vadot			clock-frequency = <0>;
66f126890aSEmmanuel Vadot		};
67f126890aSEmmanuel Vadot
68f126890aSEmmanuel Vadot		adc_op_clk: adc_op_clk {
69f126890aSEmmanuel Vadot			compatible = "fixed-clock";
70f126890aSEmmanuel Vadot			#clock-cells = <0>;
71f126890aSEmmanuel Vadot			clock-frequency = <5000000>;
72f126890aSEmmanuel Vadot		};
73f126890aSEmmanuel Vadot	};
74f126890aSEmmanuel Vadot
75f126890aSEmmanuel Vadot	sram0: sram@2ff000 {
76f126890aSEmmanuel Vadot		compatible = "mmio-sram";
77f126890aSEmmanuel Vadot		reg = <0x002ff000 0x2000>;
78f126890aSEmmanuel Vadot		#address-cells = <1>;
79f126890aSEmmanuel Vadot		#size-cells = <1>;
80f126890aSEmmanuel Vadot		ranges = <0 0x002ff000 0x2000>;
81f126890aSEmmanuel Vadot	};
82f126890aSEmmanuel Vadot
83f126890aSEmmanuel Vadot	ahb {
84f126890aSEmmanuel Vadot		compatible = "simple-bus";
85f126890aSEmmanuel Vadot		#address-cells = <1>;
86f126890aSEmmanuel Vadot		#size-cells = <1>;
87f126890aSEmmanuel Vadot		ranges;
88f126890aSEmmanuel Vadot
89f126890aSEmmanuel Vadot		apb {
90f126890aSEmmanuel Vadot			compatible = "simple-bus";
91f126890aSEmmanuel Vadot			#address-cells = <1>;
92f126890aSEmmanuel Vadot			#size-cells = <1>;
93f126890aSEmmanuel Vadot			ranges;
94f126890aSEmmanuel Vadot
95f126890aSEmmanuel Vadot			aic: interrupt-controller@fffff000 {
96f126890aSEmmanuel Vadot				#interrupt-cells = <3>;
97f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-aic";
98f126890aSEmmanuel Vadot				interrupt-controller;
99f126890aSEmmanuel Vadot				reg = <0xfffff000 0x200>;
100f126890aSEmmanuel Vadot				atmel,external-irqs = <29 30 31>;
101f126890aSEmmanuel Vadot			};
102f126890aSEmmanuel Vadot
103f126890aSEmmanuel Vadot			ramc0: ramc@ffffea00 {
104f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-sdramc";
105f126890aSEmmanuel Vadot				reg = <0xffffea00 0x200>;
106f126890aSEmmanuel Vadot			};
107f126890aSEmmanuel Vadot
108f126890aSEmmanuel Vadot			smc: smc@ffffec00 {
109f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-smc", "syscon";
110f126890aSEmmanuel Vadot				reg = <0xffffec00 0x200>;
111f126890aSEmmanuel Vadot			};
112f126890aSEmmanuel Vadot
113f126890aSEmmanuel Vadot			matrix: matrix@ffffee00 {
114f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-matrix", "syscon";
115f126890aSEmmanuel Vadot				reg = <0xffffee00 0x200>;
116f126890aSEmmanuel Vadot			};
117f126890aSEmmanuel Vadot
118f126890aSEmmanuel Vadot			pmc: clock-controller@fffffc00 {
119f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-pmc", "syscon";
120f126890aSEmmanuel Vadot				reg = <0xfffffc00 0x100>;
121f126890aSEmmanuel Vadot				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
122f126890aSEmmanuel Vadot				#clock-cells = <2>;
123f126890aSEmmanuel Vadot				clocks = <&slow_xtal>, <&main_xtal>;
124f126890aSEmmanuel Vadot				clock-names = "slow_xtal", "main_xtal";
125f126890aSEmmanuel Vadot			};
126f126890aSEmmanuel Vadot
127f126890aSEmmanuel Vadot			reset-controller@fffffd00 {
128f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-rstc";
129f126890aSEmmanuel Vadot				reg = <0xfffffd00 0x10>;
130f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_CORE PMC_SLOW>;
131f126890aSEmmanuel Vadot			};
132f126890aSEmmanuel Vadot
133f126890aSEmmanuel Vadot			shdwc: poweroff@fffffd10 {
134f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-shdwc";
135f126890aSEmmanuel Vadot				reg = <0xfffffd10 0x10>;
136f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_CORE PMC_SLOW>;
137f126890aSEmmanuel Vadot			};
138f126890aSEmmanuel Vadot
139f126890aSEmmanuel Vadot			pit: timer@fffffd30 {
140f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-pit";
141f126890aSEmmanuel Vadot				reg = <0xfffffd30 0xf>;
142f126890aSEmmanuel Vadot				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
143f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_CORE PMC_MCK>;
144f126890aSEmmanuel Vadot			};
145f126890aSEmmanuel Vadot
146f126890aSEmmanuel Vadot			tcb0: timer@fffa0000 {
147f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-tcb", "simple-mfd", "syscon";
148f126890aSEmmanuel Vadot				#address-cells = <1>;
149f126890aSEmmanuel Vadot				#size-cells = <0>;
150f126890aSEmmanuel Vadot				reg = <0xfffa0000 0x100>;
151aa1a8ff2SEmmanuel Vadot				interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>,
152aa1a8ff2SEmmanuel Vadot					     <18 IRQ_TYPE_LEVEL_HIGH 0>,
153aa1a8ff2SEmmanuel Vadot					     <19 IRQ_TYPE_LEVEL_HIGH 0>;
154f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 17>, <&pmc PMC_TYPE_PERIPHERAL 18>, <&pmc PMC_TYPE_PERIPHERAL 19>, <&pmc PMC_TYPE_CORE PMC_SLOW>;
155f126890aSEmmanuel Vadot				clock-names = "t0_clk", "t1_clk", "t2_clk", "slow_clk";
156f126890aSEmmanuel Vadot			};
157f126890aSEmmanuel Vadot
158f126890aSEmmanuel Vadot			tcb1: timer@fffdc000 {
159f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-tcb", "simple-mfd", "syscon";
160f126890aSEmmanuel Vadot				#address-cells = <1>;
161f126890aSEmmanuel Vadot				#size-cells = <0>;
162f126890aSEmmanuel Vadot				reg = <0xfffdc000 0x100>;
163aa1a8ff2SEmmanuel Vadot				interrupts = <26 IRQ_TYPE_LEVEL_HIGH 0>,
164aa1a8ff2SEmmanuel Vadot					     <27 IRQ_TYPE_LEVEL_HIGH 0>,
165aa1a8ff2SEmmanuel Vadot					     <28 IRQ_TYPE_LEVEL_HIGH 0>;
166f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 26>, <&pmc PMC_TYPE_PERIPHERAL 27>, <&pmc PMC_TYPE_PERIPHERAL 28>, <&pmc PMC_TYPE_CORE PMC_SLOW>;
167f126890aSEmmanuel Vadot				clock-names = "t0_clk", "t1_clk", "t2_clk", "slow_clk";
168f126890aSEmmanuel Vadot			};
169f126890aSEmmanuel Vadot
170f126890aSEmmanuel Vadot			pinctrl: pinctrl@fffff400 {
171f126890aSEmmanuel Vadot				#address-cells = <1>;
172f126890aSEmmanuel Vadot				#size-cells = <1>;
173*b2d2a78aSEmmanuel Vadot				compatible = "atmel,at91rm9200-pinctrl", "simple-mfd";
174f126890aSEmmanuel Vadot				ranges = <0xfffff400 0xfffff400 0x600>;
175f126890aSEmmanuel Vadot
176f126890aSEmmanuel Vadot				atmel,mux-mask = <
177f126890aSEmmanuel Vadot				      /*    A         B     */
178f126890aSEmmanuel Vadot				       0xffffffff 0xffc00c3b  /* pioA */
179f126890aSEmmanuel Vadot				       0xffffffff 0x7fff3ccf  /* pioB */
180f126890aSEmmanuel Vadot				       0xffffffff 0x007fffff  /* pioC */
181f126890aSEmmanuel Vadot				      >;
182f126890aSEmmanuel Vadot
183f126890aSEmmanuel Vadot				/* shared pinctrl settings */
184f126890aSEmmanuel Vadot				dbgu {
185f126890aSEmmanuel Vadot					pinctrl_dbgu: dbgu-0 {
186f126890aSEmmanuel Vadot						atmel,pins =
187f126890aSEmmanuel Vadot							<AT91_PIOB 14 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
188f126890aSEmmanuel Vadot							 AT91_PIOB 15 AT91_PERIPH_A AT91_PINCTRL_NONE>;
189f126890aSEmmanuel Vadot					};
190f126890aSEmmanuel Vadot				};
191f126890aSEmmanuel Vadot
192f126890aSEmmanuel Vadot				usart0 {
193f126890aSEmmanuel Vadot					pinctrl_usart0: usart0-0 {
194f126890aSEmmanuel Vadot						atmel,pins =
195f126890aSEmmanuel Vadot							<AT91_PIOB 4 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
196f126890aSEmmanuel Vadot							 AT91_PIOB 5 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
197f126890aSEmmanuel Vadot					};
198f126890aSEmmanuel Vadot
199f126890aSEmmanuel Vadot					pinctrl_usart0_rts: usart0_rts-0 {
200f126890aSEmmanuel Vadot						atmel,pins =
201f126890aSEmmanuel Vadot							<AT91_PIOB 26 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PB26 periph A */
202f126890aSEmmanuel Vadot					};
203f126890aSEmmanuel Vadot
204f126890aSEmmanuel Vadot					pinctrl_usart0_cts: usart0_cts-0 {
205f126890aSEmmanuel Vadot						atmel,pins =
206f126890aSEmmanuel Vadot							<AT91_PIOB 27 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PB27 periph A */
207f126890aSEmmanuel Vadot					};
208f126890aSEmmanuel Vadot
209f126890aSEmmanuel Vadot					pinctrl_usart0_dtr_dsr: usart0_dtr_dsr-0 {
210f126890aSEmmanuel Vadot						atmel,pins =
211f126890aSEmmanuel Vadot							<AT91_PIOB 24 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB24 periph A */
212f126890aSEmmanuel Vadot							 AT91_PIOB 22 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PB22 periph A */
213f126890aSEmmanuel Vadot					};
214f126890aSEmmanuel Vadot
215f126890aSEmmanuel Vadot					pinctrl_usart0_dcd: usart0_dcd-0 {
216f126890aSEmmanuel Vadot						atmel,pins =
217f126890aSEmmanuel Vadot							<AT91_PIOB 23 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PB23 periph A */
218f126890aSEmmanuel Vadot					};
219f126890aSEmmanuel Vadot
220f126890aSEmmanuel Vadot					pinctrl_usart0_ri: usart0_ri-0 {
221f126890aSEmmanuel Vadot						atmel,pins =
222f126890aSEmmanuel Vadot							<AT91_PIOB 25 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PB25 periph A */
223f126890aSEmmanuel Vadot					};
224f126890aSEmmanuel Vadot				};
225f126890aSEmmanuel Vadot
226f126890aSEmmanuel Vadot				usart1 {
227f126890aSEmmanuel Vadot					pinctrl_usart1: usart1-0 {
228f126890aSEmmanuel Vadot						atmel,pins =
229f126890aSEmmanuel Vadot							<AT91_PIOB 6 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
230f126890aSEmmanuel Vadot							 AT91_PIOB 7 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
231f126890aSEmmanuel Vadot					};
232f126890aSEmmanuel Vadot
233f126890aSEmmanuel Vadot					pinctrl_usart1_rts: usart1_rts-0 {
234f126890aSEmmanuel Vadot						atmel,pins =
235f126890aSEmmanuel Vadot							<AT91_PIOB 28 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PB28 periph A */
236f126890aSEmmanuel Vadot					};
237f126890aSEmmanuel Vadot
238f126890aSEmmanuel Vadot					pinctrl_usart1_cts: usart1_cts-0 {
239f126890aSEmmanuel Vadot						atmel,pins =
240f126890aSEmmanuel Vadot							<AT91_PIOB 29 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PB29 periph A */
241f126890aSEmmanuel Vadot					};
242f126890aSEmmanuel Vadot				};
243f126890aSEmmanuel Vadot
244f126890aSEmmanuel Vadot				usart2 {
245f126890aSEmmanuel Vadot					pinctrl_usart2: usart2-0 {
246f126890aSEmmanuel Vadot						atmel,pins =
247f126890aSEmmanuel Vadot							<AT91_PIOB 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
248f126890aSEmmanuel Vadot							 AT91_PIOB 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
249f126890aSEmmanuel Vadot					};
250f126890aSEmmanuel Vadot
251f126890aSEmmanuel Vadot					pinctrl_usart2_rts: usart2_rts-0 {
252f126890aSEmmanuel Vadot						atmel,pins =
253f126890aSEmmanuel Vadot							<AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PA4 periph A */
254f126890aSEmmanuel Vadot					};
255f126890aSEmmanuel Vadot
256f126890aSEmmanuel Vadot					pinctrl_usart2_cts: usart2_cts-0 {
257f126890aSEmmanuel Vadot						atmel,pins =
258f126890aSEmmanuel Vadot							<AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PA5 periph A */
259f126890aSEmmanuel Vadot					};
260f126890aSEmmanuel Vadot				};
261f126890aSEmmanuel Vadot
262f126890aSEmmanuel Vadot				usart3 {
263f126890aSEmmanuel Vadot					pinctrl_usart3: usart3-0 {
264f126890aSEmmanuel Vadot						atmel,pins =
265f126890aSEmmanuel Vadot							<AT91_PIOB 10 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
266f126890aSEmmanuel Vadot							 AT91_PIOB 11 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
267f126890aSEmmanuel Vadot					};
268f126890aSEmmanuel Vadot
269f126890aSEmmanuel Vadot					pinctrl_usart3_rts: usart3_rts-0 {
270f126890aSEmmanuel Vadot						atmel,pins =
271f126890aSEmmanuel Vadot							<AT91_PIOC 8 AT91_PERIPH_B AT91_PINCTRL_NONE>;
272f126890aSEmmanuel Vadot					};
273f126890aSEmmanuel Vadot
274f126890aSEmmanuel Vadot					pinctrl_usart3_cts: usart3_cts-0 {
275f126890aSEmmanuel Vadot						atmel,pins =
276f126890aSEmmanuel Vadot							<AT91_PIOC 10 AT91_PERIPH_B AT91_PINCTRL_NONE>;
277f126890aSEmmanuel Vadot					};
278f126890aSEmmanuel Vadot				};
279f126890aSEmmanuel Vadot
280f126890aSEmmanuel Vadot				uart0 {
281f126890aSEmmanuel Vadot					pinctrl_uart0: uart0-0 {
282f126890aSEmmanuel Vadot						atmel,pins =
283f126890aSEmmanuel Vadot							<AT91_PIOA 31 AT91_PERIPH_B AT91_PINCTRL_PULL_UP
284f126890aSEmmanuel Vadot							 AT91_PIOA 30 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>;
285f126890aSEmmanuel Vadot					};
286f126890aSEmmanuel Vadot				};
287f126890aSEmmanuel Vadot
288f126890aSEmmanuel Vadot				uart1 {
289f126890aSEmmanuel Vadot					pinctrl_uart1: uart1-0 {
290f126890aSEmmanuel Vadot						atmel,pins =
291f126890aSEmmanuel Vadot							<AT91_PIOB 12 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
292f126890aSEmmanuel Vadot							 AT91_PIOB 13 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
293f126890aSEmmanuel Vadot					};
294f126890aSEmmanuel Vadot				};
295f126890aSEmmanuel Vadot
296f126890aSEmmanuel Vadot				nand {
297f126890aSEmmanuel Vadot					pinctrl_nand_rb: nand-rb-0 {
298f126890aSEmmanuel Vadot						atmel,pins =
299f126890aSEmmanuel Vadot							<AT91_PIOC 13 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
300f126890aSEmmanuel Vadot					};
301f126890aSEmmanuel Vadot
302f126890aSEmmanuel Vadot					pinctrl_nand_cs: nand-cs-0 {
303f126890aSEmmanuel Vadot						atmel,pins =
304f126890aSEmmanuel Vadot							 <AT91_PIOC 14 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
305f126890aSEmmanuel Vadot					};
306f126890aSEmmanuel Vadot				};
307f126890aSEmmanuel Vadot
308f126890aSEmmanuel Vadot				macb {
309f126890aSEmmanuel Vadot					pinctrl_macb_rmii: macb_rmii-0 {
310f126890aSEmmanuel Vadot						atmel,pins =
311f126890aSEmmanuel Vadot							<AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PA12 periph A */
312f126890aSEmmanuel Vadot							 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PA13 periph A */
313f126890aSEmmanuel Vadot							 AT91_PIOA 14 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PA14 periph A */
314f126890aSEmmanuel Vadot							 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PA15 periph A */
315f126890aSEmmanuel Vadot							 AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PA16 periph A */
316f126890aSEmmanuel Vadot							 AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PA17 periph A */
317f126890aSEmmanuel Vadot							 AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PA18 periph A */
318f126890aSEmmanuel Vadot							 AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PA19 periph A */
319f126890aSEmmanuel Vadot							 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PA20 periph A */
320f126890aSEmmanuel Vadot							 AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PA21 periph A */
321f126890aSEmmanuel Vadot					};
322f126890aSEmmanuel Vadot
323f126890aSEmmanuel Vadot					pinctrl_macb_rmii_mii: macb_rmii_mii-0 {
324f126890aSEmmanuel Vadot						atmel,pins =
325f126890aSEmmanuel Vadot							<AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PA22 periph B */
326f126890aSEmmanuel Vadot							 AT91_PIOA 23 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PA23 periph B */
327f126890aSEmmanuel Vadot							 AT91_PIOA 24 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PA24 periph B */
328f126890aSEmmanuel Vadot							 AT91_PIOA 25 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PA25 periph B */
329f126890aSEmmanuel Vadot							 AT91_PIOA 26 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PA26 periph B */
330f126890aSEmmanuel Vadot							 AT91_PIOA 27 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PA27 periph B */
331f126890aSEmmanuel Vadot							 AT91_PIOA 28 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PA28 periph B */
332f126890aSEmmanuel Vadot							 AT91_PIOA 29 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* PA29 periph B */
333f126890aSEmmanuel Vadot					};
334f126890aSEmmanuel Vadot
335f126890aSEmmanuel Vadot					pinctrl_macb_rmii_mii_alt: macb_rmii_mii-1 {
336f126890aSEmmanuel Vadot						atmel,pins =
337f126890aSEmmanuel Vadot							<AT91_PIOA 10 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PA10 periph B */
338f126890aSEmmanuel Vadot							 AT91_PIOA 11 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PA11 periph B */
339f126890aSEmmanuel Vadot							 AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PA22 periph B */
340f126890aSEmmanuel Vadot							 AT91_PIOA 25 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PA25 periph B */
341f126890aSEmmanuel Vadot							 AT91_PIOA 26 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PA26 periph B */
342f126890aSEmmanuel Vadot							 AT91_PIOA 27 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PA27 periph B */
343f126890aSEmmanuel Vadot							 AT91_PIOA 28 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PA28 periph B */
344f126890aSEmmanuel Vadot							 AT91_PIOA 29 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* PA29 periph B */
345f126890aSEmmanuel Vadot					};
346f126890aSEmmanuel Vadot				};
347f126890aSEmmanuel Vadot
348f126890aSEmmanuel Vadot				mmc0 {
349f126890aSEmmanuel Vadot					pinctrl_mmc0_clk: mmc0_clk-0 {
350f126890aSEmmanuel Vadot						atmel,pins =
351f126890aSEmmanuel Vadot							<AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PA8 periph A */
352f126890aSEmmanuel Vadot					};
353f126890aSEmmanuel Vadot
354f126890aSEmmanuel Vadot					pinctrl_mmc0_slot0_cmd_dat0: mmc0_slot0_cmd_dat0-0 {
355f126890aSEmmanuel Vadot						atmel,pins =
356f126890aSEmmanuel Vadot							<AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* PA7 periph A with pullup */
357f126890aSEmmanuel Vadot							 AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;	/* PA6 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 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* PA9 periph A with pullup */
363f126890aSEmmanuel Vadot							 AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* PA10 periph A with pullup */
364f126890aSEmmanuel Vadot							 AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;	/* PA11 periph A with pullup */
365f126890aSEmmanuel Vadot					};
366f126890aSEmmanuel Vadot
367f126890aSEmmanuel Vadot					pinctrl_mmc0_slot1_cmd_dat0: mmc0_slot1_cmd_dat0-0 {
368f126890aSEmmanuel Vadot						atmel,pins =
369f126890aSEmmanuel Vadot							<AT91_PIOA 1 AT91_PERIPH_B AT91_PINCTRL_PULL_UP	/* PA1 periph B with pullup */
370f126890aSEmmanuel Vadot							 AT91_PIOA 0 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>;	/* PA0 periph B with pullup */
371f126890aSEmmanuel Vadot					};
372f126890aSEmmanuel Vadot
373f126890aSEmmanuel Vadot					pinctrl_mmc0_slot1_dat1_3: mmc0_slot1_dat1_3-0 {
374f126890aSEmmanuel Vadot						atmel,pins =
375f126890aSEmmanuel Vadot							<AT91_PIOA 5 AT91_PERIPH_B AT91_PINCTRL_PULL_UP	/* PA5 periph B with pullup */
376f126890aSEmmanuel Vadot							 AT91_PIOA 4 AT91_PERIPH_B AT91_PINCTRL_PULL_UP	/* PA4 periph B with pullup */
377f126890aSEmmanuel Vadot							 AT91_PIOA 3 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>;	/* PA3 periph B with pullup */
378f126890aSEmmanuel Vadot					};
379f126890aSEmmanuel Vadot				};
380f126890aSEmmanuel Vadot
381f126890aSEmmanuel Vadot				ssc0 {
382f126890aSEmmanuel Vadot					pinctrl_ssc0_tx: ssc0_tx-0 {
383f126890aSEmmanuel Vadot						atmel,pins =
384f126890aSEmmanuel Vadot							<AT91_PIOB 16 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB16 periph A */
385f126890aSEmmanuel Vadot							 AT91_PIOB 17 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB17 periph A */
386f126890aSEmmanuel Vadot							 AT91_PIOB 18 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PB18 periph A */
387f126890aSEmmanuel Vadot					};
388f126890aSEmmanuel Vadot
389f126890aSEmmanuel Vadot					pinctrl_ssc0_rx: ssc0_rx-0 {
390f126890aSEmmanuel Vadot						atmel,pins =
391f126890aSEmmanuel Vadot							<AT91_PIOB 19 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB19 periph A */
392f126890aSEmmanuel Vadot							 AT91_PIOB 20 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB20 periph A */
393f126890aSEmmanuel Vadot							 AT91_PIOB 21 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PB21 periph A */
394f126890aSEmmanuel Vadot					};
395f126890aSEmmanuel Vadot				};
396f126890aSEmmanuel Vadot
397f126890aSEmmanuel Vadot				spi0 {
398f126890aSEmmanuel Vadot					pinctrl_spi0: spi0-0 {
399f126890aSEmmanuel Vadot						atmel,pins =
400f126890aSEmmanuel Vadot							<AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PA0 periph A SPI0_MISO pin */
401f126890aSEmmanuel Vadot							 AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PA1 periph A SPI0_MOSI pin */
402f126890aSEmmanuel Vadot							 AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PA2 periph A SPI0_SPCK pin */
403f126890aSEmmanuel Vadot					};
404f126890aSEmmanuel Vadot				};
405f126890aSEmmanuel Vadot
406f126890aSEmmanuel Vadot				spi1 {
407f126890aSEmmanuel Vadot					pinctrl_spi1: spi1-0 {
408f126890aSEmmanuel Vadot						atmel,pins =
409f126890aSEmmanuel Vadot							<AT91_PIOB 0 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB0 periph A SPI1_MISO pin */
410f126890aSEmmanuel Vadot							 AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB1 periph A SPI1_MOSI pin */
411f126890aSEmmanuel Vadot							 AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PB2 periph A SPI1_SPCK pin */
412f126890aSEmmanuel Vadot					};
413f126890aSEmmanuel Vadot				};
414f126890aSEmmanuel Vadot
415f126890aSEmmanuel Vadot				i2c_gpio0 {
416f126890aSEmmanuel Vadot					pinctrl_i2c_gpio0: i2c_gpio0-0 {
417f126890aSEmmanuel Vadot						atmel,pins =
418f126890aSEmmanuel Vadot							<AT91_PIOA 23 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE
419f126890aSEmmanuel Vadot							 AT91_PIOA 24 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>;
420f126890aSEmmanuel Vadot					};
421f126890aSEmmanuel Vadot				};
422f126890aSEmmanuel Vadot
423f126890aSEmmanuel Vadot				tcb0 {
424f126890aSEmmanuel Vadot					pinctrl_tcb0_tclk0: tcb0_tclk0-0 {
425f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOA 25 AT91_PERIPH_A AT91_PINCTRL_NONE>;
426f126890aSEmmanuel Vadot					};
427f126890aSEmmanuel Vadot
428f126890aSEmmanuel Vadot					pinctrl_tcb0_tclk1: tcb0_tclk1-0 {
429f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOB 6 AT91_PERIPH_B AT91_PINCTRL_NONE>;
430f126890aSEmmanuel Vadot					};
431f126890aSEmmanuel Vadot
432f126890aSEmmanuel Vadot					pinctrl_tcb0_tclk2: tcb0_tclk2-0 {
433f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOB 7 AT91_PERIPH_B AT91_PINCTRL_NONE>;
434f126890aSEmmanuel Vadot					};
435f126890aSEmmanuel Vadot
436f126890aSEmmanuel Vadot					pinctrl_tcb0_tioa0: tcb0_tioa0-0 {
437f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOA 26 AT91_PERIPH_A AT91_PINCTRL_NONE>;
438f126890aSEmmanuel Vadot					};
439f126890aSEmmanuel Vadot
440f126890aSEmmanuel Vadot					pinctrl_tcb0_tioa1: tcb0_tioa1-0 {
441f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOA 27 AT91_PERIPH_A AT91_PINCTRL_NONE>;
442f126890aSEmmanuel Vadot					};
443f126890aSEmmanuel Vadot
444f126890aSEmmanuel Vadot					pinctrl_tcb0_tioa2: tcb0_tioa2-0 {
445f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOA 28 AT91_PERIPH_A AT91_PINCTRL_NONE>;
446f126890aSEmmanuel Vadot					};
447f126890aSEmmanuel Vadot
448f126890aSEmmanuel Vadot					pinctrl_tcb0_tiob0: tcb0_tiob0-0 {
449f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOC 9 AT91_PERIPH_B AT91_PINCTRL_NONE>;
450f126890aSEmmanuel Vadot					};
451f126890aSEmmanuel Vadot
452f126890aSEmmanuel Vadot					pinctrl_tcb0_tiob1: tcb0_tiob1-0 {
453f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOC 7 AT91_PERIPH_A AT91_PINCTRL_NONE>;
454f126890aSEmmanuel Vadot					};
455f126890aSEmmanuel Vadot
456f126890aSEmmanuel Vadot					pinctrl_tcb0_tiob2: tcb0_tiob2-0 {
457f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOC 6 AT91_PERIPH_A AT91_PINCTRL_NONE>;
458f126890aSEmmanuel Vadot					};
459f126890aSEmmanuel Vadot				};
460f126890aSEmmanuel Vadot
461f126890aSEmmanuel Vadot				tcb1 {
462f126890aSEmmanuel Vadot					pinctrl_tcb1_tclk0: tcb1_tclk0-0 {
463f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOB 16 AT91_PERIPH_B AT91_PINCTRL_NONE>;
464f126890aSEmmanuel Vadot					};
465f126890aSEmmanuel Vadot
466f126890aSEmmanuel Vadot					pinctrl_tcb1_tclk1: tcb1_tclk1-0 {
467f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOB 17 AT91_PERIPH_B AT91_PINCTRL_NONE>;
468f126890aSEmmanuel Vadot					};
469f126890aSEmmanuel Vadot
470f126890aSEmmanuel Vadot					pinctrl_tcb1_tclk2: tcb1_tclk2-0 {
471f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOC 22 AT91_PERIPH_B AT91_PINCTRL_NONE>;
472f126890aSEmmanuel Vadot					};
473f126890aSEmmanuel Vadot
474f126890aSEmmanuel Vadot					pinctrl_tcb1_tioa0: tcb1_tioa0-0 {
475f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOB 0 AT91_PERIPH_B AT91_PINCTRL_NONE>;
476f126890aSEmmanuel Vadot					};
477f126890aSEmmanuel Vadot
478f126890aSEmmanuel Vadot					pinctrl_tcb1_tioa1: tcb1_tioa1-0 {
479f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOB 2 AT91_PERIPH_B AT91_PINCTRL_NONE>;
480f126890aSEmmanuel Vadot					};
481f126890aSEmmanuel Vadot
482f126890aSEmmanuel Vadot					pinctrl_tcb1_tioa2: tcb1_tioa2-0 {
483f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOB 3 AT91_PERIPH_B AT91_PINCTRL_NONE>;
484f126890aSEmmanuel Vadot					};
485f126890aSEmmanuel Vadot
486f126890aSEmmanuel Vadot					pinctrl_tcb1_tiob0: tcb1_tiob0-0 {
487f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOB 1 AT91_PERIPH_B AT91_PINCTRL_NONE>;
488f126890aSEmmanuel Vadot					};
489f126890aSEmmanuel Vadot
490f126890aSEmmanuel Vadot					pinctrl_tcb1_tiob1: tcb1_tiob1-0 {
491f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOB 18 AT91_PERIPH_B AT91_PINCTRL_NONE>;
492f126890aSEmmanuel Vadot					};
493f126890aSEmmanuel Vadot
494f126890aSEmmanuel Vadot					pinctrl_tcb1_tiob2: tcb1_tiob2-0 {
495f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOB 19 AT91_PERIPH_B AT91_PINCTRL_NONE>;
496f126890aSEmmanuel Vadot					};
497f126890aSEmmanuel Vadot				};
498f126890aSEmmanuel Vadot
499f126890aSEmmanuel Vadot				pioA: gpio@fffff400 {
500f126890aSEmmanuel Vadot					compatible = "atmel,at91rm9200-gpio";
501f126890aSEmmanuel Vadot					reg = <0xfffff400 0x200>;
502f126890aSEmmanuel Vadot					interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
503f126890aSEmmanuel Vadot					#gpio-cells = <2>;
504f126890aSEmmanuel Vadot					gpio-controller;
505f126890aSEmmanuel Vadot					interrupt-controller;
506f126890aSEmmanuel Vadot					#interrupt-cells = <2>;
507f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 2>;
508f126890aSEmmanuel Vadot				};
509f126890aSEmmanuel Vadot
510f126890aSEmmanuel Vadot				pioB: gpio@fffff600 {
511f126890aSEmmanuel Vadot					compatible = "atmel,at91rm9200-gpio";
512f126890aSEmmanuel Vadot					reg = <0xfffff600 0x200>;
513f126890aSEmmanuel Vadot					interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
514f126890aSEmmanuel Vadot					#gpio-cells = <2>;
515f126890aSEmmanuel Vadot					gpio-controller;
516f126890aSEmmanuel Vadot					interrupt-controller;
517f126890aSEmmanuel Vadot					#interrupt-cells = <2>;
518f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 3>;
519f126890aSEmmanuel Vadot				};
520f126890aSEmmanuel Vadot
521f126890aSEmmanuel Vadot				pioC: gpio@fffff800 {
522f126890aSEmmanuel Vadot					compatible = "atmel,at91rm9200-gpio";
523f126890aSEmmanuel Vadot					reg = <0xfffff800 0x200>;
524f126890aSEmmanuel Vadot					interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
525f126890aSEmmanuel Vadot					#gpio-cells = <2>;
526f126890aSEmmanuel Vadot					gpio-controller;
527f126890aSEmmanuel Vadot					interrupt-controller;
528f126890aSEmmanuel Vadot					#interrupt-cells = <2>;
529f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 4>;
530f126890aSEmmanuel Vadot				};
531f126890aSEmmanuel Vadot			};
532f126890aSEmmanuel Vadot
533f126890aSEmmanuel Vadot			dbgu: serial@fffff200 {
534f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
535f126890aSEmmanuel Vadot				reg = <0xfffff200 0x200>;
536f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
537f126890aSEmmanuel Vadot				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
538f126890aSEmmanuel Vadot				pinctrl-names = "default";
539f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_dbgu>;
540f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_CORE PMC_MCK>;
541f126890aSEmmanuel Vadot				clock-names = "usart";
542f126890aSEmmanuel Vadot				status = "disabled";
543f126890aSEmmanuel Vadot			};
544f126890aSEmmanuel Vadot
545f126890aSEmmanuel Vadot			usart0: serial@fffb0000 {
546f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-usart";
547f126890aSEmmanuel Vadot				reg = <0xfffb0000 0x200>;
548f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
549f126890aSEmmanuel Vadot				interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>;
550f126890aSEmmanuel Vadot				atmel,use-dma-rx;
551f126890aSEmmanuel Vadot				atmel,use-dma-tx;
552f126890aSEmmanuel Vadot				pinctrl-names = "default";
553f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_usart0>;
554f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 6>;
555f126890aSEmmanuel Vadot				clock-names = "usart";
556f126890aSEmmanuel Vadot				status = "disabled";
557f126890aSEmmanuel Vadot			};
558f126890aSEmmanuel Vadot
559f126890aSEmmanuel Vadot			usart1: serial@fffb4000 {
560f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-usart";
561f126890aSEmmanuel Vadot				reg = <0xfffb4000 0x200>;
562f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
563f126890aSEmmanuel Vadot				interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
564f126890aSEmmanuel Vadot				atmel,use-dma-rx;
565f126890aSEmmanuel Vadot				atmel,use-dma-tx;
566f126890aSEmmanuel Vadot				pinctrl-names = "default";
567f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_usart1>;
568f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 7>;
569f126890aSEmmanuel Vadot				clock-names = "usart";
570f126890aSEmmanuel Vadot				status = "disabled";
571f126890aSEmmanuel Vadot			};
572f126890aSEmmanuel Vadot
573f126890aSEmmanuel Vadot			usart2: serial@fffb8000 {
574f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-usart";
575f126890aSEmmanuel Vadot				reg = <0xfffb8000 0x200>;
576f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
577f126890aSEmmanuel Vadot				interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
578f126890aSEmmanuel Vadot				atmel,use-dma-rx;
579f126890aSEmmanuel Vadot				atmel,use-dma-tx;
580f126890aSEmmanuel Vadot				pinctrl-names = "default";
581f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_usart2>;
582f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 8>;
583f126890aSEmmanuel Vadot				clock-names = "usart";
584f126890aSEmmanuel Vadot				status = "disabled";
585f126890aSEmmanuel Vadot			};
586f126890aSEmmanuel Vadot
587f126890aSEmmanuel Vadot			usart3: serial@fffd0000 {
588f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-usart";
589f126890aSEmmanuel Vadot				reg = <0xfffd0000 0x200>;
590f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
591f126890aSEmmanuel Vadot				interrupts = <23 IRQ_TYPE_LEVEL_HIGH 5>;
592f126890aSEmmanuel Vadot				atmel,use-dma-rx;
593f126890aSEmmanuel Vadot				atmel,use-dma-tx;
594f126890aSEmmanuel Vadot				pinctrl-names = "default";
595f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_usart3>;
596f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 23>;
597f126890aSEmmanuel Vadot				clock-names = "usart";
598f126890aSEmmanuel Vadot				status = "disabled";
599f126890aSEmmanuel Vadot			};
600f126890aSEmmanuel Vadot
601f126890aSEmmanuel Vadot			uart0: serial@fffd4000 {
602f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-usart";
603f126890aSEmmanuel Vadot				reg = <0xfffd4000 0x200>;
604f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
605f126890aSEmmanuel Vadot				interrupts = <24 IRQ_TYPE_LEVEL_HIGH 5>;
606f126890aSEmmanuel Vadot				atmel,use-dma-rx;
607f126890aSEmmanuel Vadot				atmel,use-dma-tx;
608f126890aSEmmanuel Vadot				pinctrl-names = "default";
609f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_uart0>;
610f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 24>;
611f126890aSEmmanuel Vadot				clock-names = "usart";
612f126890aSEmmanuel Vadot				status = "disabled";
613f126890aSEmmanuel Vadot			};
614f126890aSEmmanuel Vadot
615f126890aSEmmanuel Vadot			uart1: serial@fffd8000 {
616f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-usart";
617f126890aSEmmanuel Vadot				reg = <0xfffd8000 0x200>;
618f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
619f126890aSEmmanuel Vadot				interrupts = <25 IRQ_TYPE_LEVEL_HIGH 5>;
620f126890aSEmmanuel Vadot				atmel,use-dma-rx;
621f126890aSEmmanuel Vadot				atmel,use-dma-tx;
622f126890aSEmmanuel Vadot				pinctrl-names = "default";
623f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_uart1>;
624f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 25>;
625f126890aSEmmanuel Vadot				clock-names = "usart";
626f126890aSEmmanuel Vadot				status = "disabled";
627f126890aSEmmanuel Vadot			};
628f126890aSEmmanuel Vadot
629f126890aSEmmanuel Vadot			macb0: ethernet@fffc4000 {
630f126890aSEmmanuel Vadot				compatible = "cdns,at91sam9260-macb", "cdns,macb";
631f126890aSEmmanuel Vadot				reg = <0xfffc4000 0x100>;
632f126890aSEmmanuel Vadot				interrupts = <21 IRQ_TYPE_LEVEL_HIGH 3>;
633f126890aSEmmanuel Vadot				pinctrl-names = "default";
634f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_macb_rmii>;
635f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 21>, <&pmc PMC_TYPE_PERIPHERAL 21>;
636f126890aSEmmanuel Vadot				clock-names = "hclk", "pclk";
637f126890aSEmmanuel Vadot				status = "disabled";
638f126890aSEmmanuel Vadot			};
639f126890aSEmmanuel Vadot
640f126890aSEmmanuel Vadot			usb1: gadget@fffa4000 {
641f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-udc";
642f126890aSEmmanuel Vadot				reg = <0xfffa4000 0x4000>;
643f126890aSEmmanuel Vadot				interrupts = <10 IRQ_TYPE_LEVEL_HIGH 2>;
644f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 10>, <&pmc PMC_TYPE_SYSTEM 7>;
645f126890aSEmmanuel Vadot				clock-names = "pclk", "hclk";
646f126890aSEmmanuel Vadot				status = "disabled";
647f126890aSEmmanuel Vadot			};
648f126890aSEmmanuel Vadot
649f126890aSEmmanuel Vadot			i2c0: i2c@fffac000 {
650f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-i2c";
651f126890aSEmmanuel Vadot				reg = <0xfffac000 0x100>;
652f126890aSEmmanuel Vadot				interrupts = <11 IRQ_TYPE_LEVEL_HIGH 6>;
653f126890aSEmmanuel Vadot				#address-cells = <1>;
654f126890aSEmmanuel Vadot				#size-cells = <0>;
655f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 11>;
656f126890aSEmmanuel Vadot				status = "disabled";
657f126890aSEmmanuel Vadot			};
658f126890aSEmmanuel Vadot
659f126890aSEmmanuel Vadot			mmc0: mmc@fffa8000 {
660f126890aSEmmanuel Vadot				compatible = "atmel,hsmci";
661f126890aSEmmanuel Vadot				reg = <0xfffa8000 0x600>;
662f126890aSEmmanuel Vadot				interrupts = <9 IRQ_TYPE_LEVEL_HIGH 0>;
663f126890aSEmmanuel Vadot				#address-cells = <1>;
664f126890aSEmmanuel Vadot				#size-cells = <0>;
665f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 9>;
666f126890aSEmmanuel Vadot				clock-names = "mci_clk";
667f126890aSEmmanuel Vadot				status = "disabled";
668f126890aSEmmanuel Vadot			};
669f126890aSEmmanuel Vadot
670f126890aSEmmanuel Vadot			ssc0: ssc@fffbc000 {
671f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-ssc";
672f126890aSEmmanuel Vadot				reg = <0xfffbc000 0x4000>;
673f126890aSEmmanuel Vadot				interrupts = <14 IRQ_TYPE_LEVEL_HIGH 5>;
674f126890aSEmmanuel Vadot				pinctrl-names = "default";
675f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
676f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 14>;
677f126890aSEmmanuel Vadot				clock-names = "pclk";
678f126890aSEmmanuel Vadot				status = "disabled";
679f126890aSEmmanuel Vadot			};
680f126890aSEmmanuel Vadot
681f126890aSEmmanuel Vadot			spi0: spi@fffc8000 {
682f126890aSEmmanuel Vadot				#address-cells = <1>;
683f126890aSEmmanuel Vadot				#size-cells = <0>;
684f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-spi";
685f126890aSEmmanuel Vadot				reg = <0xfffc8000 0x200>;
686f126890aSEmmanuel Vadot				interrupts = <12 IRQ_TYPE_LEVEL_HIGH 3>;
687f126890aSEmmanuel Vadot				pinctrl-names = "default";
688f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_spi0>;
689f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 12>;
690f126890aSEmmanuel Vadot				clock-names = "spi_clk";
691f126890aSEmmanuel Vadot				status = "disabled";
692f126890aSEmmanuel Vadot			};
693f126890aSEmmanuel Vadot
694f126890aSEmmanuel Vadot			spi1: spi@fffcc000 {
695f126890aSEmmanuel Vadot				#address-cells = <1>;
696f126890aSEmmanuel Vadot				#size-cells = <0>;
697f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-spi";
698f126890aSEmmanuel Vadot				reg = <0xfffcc000 0x200>;
699f126890aSEmmanuel Vadot				interrupts = <13 IRQ_TYPE_LEVEL_HIGH 3>;
700f126890aSEmmanuel Vadot				pinctrl-names = "default";
701f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_spi1>;
702f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 13>;
703f126890aSEmmanuel Vadot				clock-names = "spi_clk";
704f126890aSEmmanuel Vadot				status = "disabled";
705f126890aSEmmanuel Vadot			};
706f126890aSEmmanuel Vadot
707f126890aSEmmanuel Vadot			adc0: adc@fffe0000 {
708f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-adc";
709f126890aSEmmanuel Vadot				reg = <0xfffe0000 0x100>;
710f126890aSEmmanuel Vadot				interrupts = <5 IRQ_TYPE_LEVEL_HIGH 0>;
711f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 5>, <&adc_op_clk>;
712f126890aSEmmanuel Vadot				clock-names = "adc_clk", "adc_op_clk";
713f126890aSEmmanuel Vadot				atmel,adc-use-external-triggers;
714f126890aSEmmanuel Vadot				atmel,adc-channels-used = <0xf>;
715f126890aSEmmanuel Vadot				atmel,adc-vref = <3300>;
716f126890aSEmmanuel Vadot				atmel,adc-startup-time = <15>;
717f126890aSEmmanuel Vadot			};
718f126890aSEmmanuel Vadot
719f126890aSEmmanuel Vadot			rtc@fffffd20 {
720f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-rtt";
721f126890aSEmmanuel Vadot				reg = <0xfffffd20 0x10>;
722f126890aSEmmanuel Vadot				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
723f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_CORE PMC_SLOW>;
724f126890aSEmmanuel Vadot				status = "disabled";
725f126890aSEmmanuel Vadot			};
726f126890aSEmmanuel Vadot
727f126890aSEmmanuel Vadot			watchdog: watchdog@fffffd40 {
728f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-wdt";
729f126890aSEmmanuel Vadot				reg = <0xfffffd40 0x10>;
730f126890aSEmmanuel Vadot				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
731f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_CORE PMC_SLOW>;
732f126890aSEmmanuel Vadot				atmel,watchdog-type = "hardware";
733f126890aSEmmanuel Vadot				atmel,reset-type = "all";
734f126890aSEmmanuel Vadot				atmel,dbg-halt;
735f126890aSEmmanuel Vadot				status = "disabled";
736f126890aSEmmanuel Vadot			};
737f126890aSEmmanuel Vadot
738f126890aSEmmanuel Vadot			gpbr: syscon@fffffd50 {
739f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-gpbr", "syscon";
740f126890aSEmmanuel Vadot				reg = <0xfffffd50 0x10>;
741f126890aSEmmanuel Vadot				status = "disabled";
742f126890aSEmmanuel Vadot			};
743f126890aSEmmanuel Vadot		};
744f126890aSEmmanuel Vadot
745f126890aSEmmanuel Vadot		usb0: ohci@500000 {
746f126890aSEmmanuel Vadot			compatible = "atmel,at91rm9200-ohci", "usb-ohci";
747f126890aSEmmanuel Vadot			reg = <0x00500000 0x100000>;
748f126890aSEmmanuel Vadot			interrupts = <20 IRQ_TYPE_LEVEL_HIGH 2>;
749f126890aSEmmanuel Vadot			clocks = <&pmc PMC_TYPE_PERIPHERAL 20>, <&pmc PMC_TYPE_PERIPHERAL 20>, <&pmc PMC_TYPE_SYSTEM 6>;
750f126890aSEmmanuel Vadot			clock-names = "ohci_clk", "hclk", "uhpck";
751f126890aSEmmanuel Vadot			status = "disabled";
752f126890aSEmmanuel Vadot		};
753f126890aSEmmanuel Vadot
754f126890aSEmmanuel Vadot		ebi: ebi@10000000 {
755f126890aSEmmanuel Vadot			compatible = "atmel,at91sam9260-ebi";
756f126890aSEmmanuel Vadot			#address-cells = <2>;
757f126890aSEmmanuel Vadot			#size-cells = <1>;
758f126890aSEmmanuel Vadot			atmel,smc = <&smc>;
759f126890aSEmmanuel Vadot			atmel,matrix = <&matrix>;
760f126890aSEmmanuel Vadot			reg = <0x10000000 0x80000000>;
761f126890aSEmmanuel Vadot			ranges = <0x0 0x0 0x10000000 0x10000000
762f126890aSEmmanuel Vadot				  0x1 0x0 0x20000000 0x10000000
763f126890aSEmmanuel Vadot				  0x2 0x0 0x30000000 0x10000000
764f126890aSEmmanuel Vadot				  0x3 0x0 0x40000000 0x10000000
765f126890aSEmmanuel Vadot				  0x4 0x0 0x50000000 0x10000000
766f126890aSEmmanuel Vadot				  0x5 0x0 0x60000000 0x10000000
767f126890aSEmmanuel Vadot				  0x6 0x0 0x70000000 0x10000000
768f126890aSEmmanuel Vadot				  0x7 0x0 0x80000000 0x10000000>;
769f126890aSEmmanuel Vadot			clocks = <&pmc PMC_TYPE_CORE PMC_MCK>;
770f126890aSEmmanuel Vadot			status = "disabled";
771f126890aSEmmanuel Vadot
772f126890aSEmmanuel Vadot			nand_controller: nand-controller {
773f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-nand-controller";
774f126890aSEmmanuel Vadot				#address-cells = <2>;
775f126890aSEmmanuel Vadot				#size-cells = <1>;
776f126890aSEmmanuel Vadot				ranges;
777f126890aSEmmanuel Vadot				status = "disabled";
778f126890aSEmmanuel Vadot			};
779f126890aSEmmanuel Vadot		};
780f126890aSEmmanuel Vadot	};
781f126890aSEmmanuel Vadot
782f126890aSEmmanuel Vadot	i2c_gpio0: i2c-gpio-0 {
783f126890aSEmmanuel Vadot		compatible = "i2c-gpio";
784f126890aSEmmanuel Vadot		gpios = <&pioA 23 GPIO_ACTIVE_HIGH /* sda */
785f126890aSEmmanuel Vadot			 &pioA 24 GPIO_ACTIVE_HIGH /* scl */
786f126890aSEmmanuel Vadot			>;
787f126890aSEmmanuel Vadot		i2c-gpio,sda-open-drain;
788f126890aSEmmanuel Vadot		i2c-gpio,scl-open-drain;
789f126890aSEmmanuel Vadot		i2c-gpio,delay-us = <2>;	/* ~100 kHz */
790f126890aSEmmanuel Vadot		#address-cells = <1>;
791f126890aSEmmanuel Vadot		#size-cells = <0>;
792f126890aSEmmanuel Vadot		pinctrl-names = "default";
793f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_i2c_gpio0>;
794f126890aSEmmanuel Vadot		status = "disabled";
795f126890aSEmmanuel Vadot	};
796f126890aSEmmanuel Vadot};
797