xref: /freebsd-src/sys/contrib/device-tree/src/arm/microchip/at91sam9263.dtsi (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * at91sam9263.dtsi - Device Tree Include file for AT91SAM9263 family SoC
4f126890aSEmmanuel Vadot *
5f126890aSEmmanuel Vadot *  Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
6f126890aSEmmanuel Vadot */
7f126890aSEmmanuel Vadot
8f126890aSEmmanuel Vadot#include <dt-bindings/pinctrl/at91.h>
9f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h>
10f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
11f126890aSEmmanuel Vadot#include <dt-bindings/clock/at91.h>
12f126890aSEmmanuel Vadot#include <dt-bindings/mfd/at91-usart.h>
13f126890aSEmmanuel Vadot
14f126890aSEmmanuel Vadot/ {
15f126890aSEmmanuel Vadot	#address-cells = <1>;
16f126890aSEmmanuel Vadot	#size-cells = <1>;
17f126890aSEmmanuel Vadot	model = "Atmel AT91SAM9263 family SoC";
18f126890aSEmmanuel Vadot	compatible = "atmel,at91sam9263";
19f126890aSEmmanuel Vadot	interrupt-parent = <&aic>;
20f126890aSEmmanuel Vadot
21f126890aSEmmanuel Vadot	aliases {
22f126890aSEmmanuel Vadot		serial0 = &dbgu;
23f126890aSEmmanuel Vadot		serial1 = &usart0;
24f126890aSEmmanuel Vadot		serial2 = &usart1;
25f126890aSEmmanuel Vadot		serial3 = &usart2;
26f126890aSEmmanuel Vadot		gpio0 = &pioA;
27f126890aSEmmanuel Vadot		gpio1 = &pioB;
28f126890aSEmmanuel Vadot		gpio2 = &pioC;
29f126890aSEmmanuel Vadot		gpio3 = &pioD;
30f126890aSEmmanuel Vadot		gpio4 = &pioE;
31f126890aSEmmanuel Vadot		tcb0 = &tcb0;
32f126890aSEmmanuel Vadot		i2c0 = &i2c0;
33f126890aSEmmanuel Vadot		ssc0 = &ssc0;
34f126890aSEmmanuel Vadot		ssc1 = &ssc1;
35f126890aSEmmanuel Vadot		pwm0 = &pwm0;
36f126890aSEmmanuel Vadot	};
37f126890aSEmmanuel Vadot
38f126890aSEmmanuel Vadot	cpus {
39f126890aSEmmanuel Vadot		#address-cells = <1>;
40f126890aSEmmanuel Vadot		#size-cells = <0>;
41f126890aSEmmanuel Vadot
42f126890aSEmmanuel Vadot		cpu@0 {
43f126890aSEmmanuel Vadot			compatible = "arm,arm926ej-s";
44f126890aSEmmanuel Vadot			device_type = "cpu";
45f126890aSEmmanuel Vadot			reg = <0>;
46f126890aSEmmanuel Vadot		};
47f126890aSEmmanuel Vadot	};
48f126890aSEmmanuel Vadot
49f126890aSEmmanuel Vadot	memory@20000000 {
50f126890aSEmmanuel Vadot		device_type = "memory";
51f126890aSEmmanuel Vadot		reg = <0x20000000 0x08000000>;
52f126890aSEmmanuel Vadot	};
53f126890aSEmmanuel Vadot
54f126890aSEmmanuel Vadot	clocks {
55f126890aSEmmanuel Vadot		main_xtal: main_xtal {
56f126890aSEmmanuel Vadot			compatible = "fixed-clock";
57f126890aSEmmanuel Vadot			#clock-cells = <0>;
58f126890aSEmmanuel Vadot			clock-frequency = <0>;
59f126890aSEmmanuel Vadot		};
60f126890aSEmmanuel Vadot
61f126890aSEmmanuel Vadot		slow_xtal: slow_xtal {
62f126890aSEmmanuel Vadot			compatible = "fixed-clock";
63f126890aSEmmanuel Vadot			#clock-cells = <0>;
64f126890aSEmmanuel Vadot			clock-frequency = <0>;
65f126890aSEmmanuel Vadot		};
66f126890aSEmmanuel Vadot	};
67f126890aSEmmanuel Vadot
68f126890aSEmmanuel Vadot	sram0: sram@300000 {
69f126890aSEmmanuel Vadot		compatible = "mmio-sram";
70f126890aSEmmanuel Vadot		reg = <0x00300000 0x14000>;
71f126890aSEmmanuel Vadot		#address-cells = <1>;
72f126890aSEmmanuel Vadot		#size-cells = <1>;
73f126890aSEmmanuel Vadot		ranges = <0 0x00300000 0x14000>;
74f126890aSEmmanuel Vadot	};
75f126890aSEmmanuel Vadot
76f126890aSEmmanuel Vadot	sram1: sram@500000 {
77f126890aSEmmanuel Vadot		compatible = "mmio-sram";
78f126890aSEmmanuel Vadot		reg = <0x00500000 0x4000>;
79f126890aSEmmanuel Vadot		#address-cells = <1>;
80f126890aSEmmanuel Vadot		#size-cells = <1>;
81f126890aSEmmanuel Vadot		ranges = <0 0x00500000 0x4000>;
82f126890aSEmmanuel Vadot	};
83f126890aSEmmanuel Vadot
84f126890aSEmmanuel Vadot	ahb {
85f126890aSEmmanuel Vadot		compatible = "simple-bus";
86f126890aSEmmanuel Vadot		#address-cells = <1>;
87f126890aSEmmanuel Vadot		#size-cells = <1>;
88f126890aSEmmanuel Vadot		ranges;
89f126890aSEmmanuel Vadot
90f126890aSEmmanuel Vadot		apb {
91f126890aSEmmanuel Vadot			compatible = "simple-bus";
92f126890aSEmmanuel Vadot			#address-cells = <1>;
93f126890aSEmmanuel Vadot			#size-cells = <1>;
94f126890aSEmmanuel Vadot			ranges;
95f126890aSEmmanuel Vadot
96f126890aSEmmanuel Vadot			aic: interrupt-controller@fffff000 {
97f126890aSEmmanuel Vadot				#interrupt-cells = <3>;
98f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-aic";
99f126890aSEmmanuel Vadot				interrupt-controller;
100f126890aSEmmanuel Vadot				reg = <0xfffff000 0x200>;
101f126890aSEmmanuel Vadot				atmel,external-irqs = <30 31>;
102f126890aSEmmanuel Vadot			};
103f126890aSEmmanuel Vadot
104f126890aSEmmanuel Vadot			pmc: clock-controller@fffffc00 {
105f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9263-pmc", "syscon";
106f126890aSEmmanuel Vadot				reg = <0xfffffc00 0x100>;
107f126890aSEmmanuel Vadot				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
108f126890aSEmmanuel Vadot				#clock-cells = <2>;
109f126890aSEmmanuel Vadot				clocks = <&slow_xtal>, <&main_xtal>;
110f126890aSEmmanuel Vadot				clock-names = "slow_xtal", "main_xtal";
111f126890aSEmmanuel Vadot			};
112f126890aSEmmanuel Vadot
113f126890aSEmmanuel Vadot			ramc0: ramc@ffffe200 {
114f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-sdramc";
115f126890aSEmmanuel Vadot				reg = <0xffffe200 0x200>;
116f126890aSEmmanuel Vadot			};
117f126890aSEmmanuel Vadot
118f126890aSEmmanuel Vadot			smc0: smc@ffffe400 {
119f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-smc", "syscon";
120f126890aSEmmanuel Vadot				reg = <0xffffe400 0x200>;
121f126890aSEmmanuel Vadot			};
122f126890aSEmmanuel Vadot
123f126890aSEmmanuel Vadot			ramc1: ramc@ffffe800 {
124f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-sdramc";
125f126890aSEmmanuel Vadot				reg = <0xffffe800 0x200>;
126f126890aSEmmanuel Vadot			};
127f126890aSEmmanuel Vadot
128f126890aSEmmanuel Vadot			smc1: smc@ffffea00 {
129f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-smc", "syscon";
130f126890aSEmmanuel Vadot				reg = <0xffffea00 0x200>;
131f126890aSEmmanuel Vadot			};
132f126890aSEmmanuel Vadot
133f126890aSEmmanuel Vadot			matrix: matrix@ffffec00 {
134f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9263-matrix", "syscon";
135f126890aSEmmanuel Vadot				reg = <0xffffec00 0x200>;
136f126890aSEmmanuel Vadot			};
137f126890aSEmmanuel Vadot
138f126890aSEmmanuel Vadot			pit: timer@fffffd30 {
139f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-pit";
140f126890aSEmmanuel Vadot				reg = <0xfffffd30 0xf>;
141f126890aSEmmanuel Vadot				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
142f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_CORE PMC_MCK>;
143f126890aSEmmanuel Vadot			};
144f126890aSEmmanuel Vadot
145f126890aSEmmanuel Vadot			tcb0: timer@fff7c000 {
146f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-tcb", "simple-mfd", "syscon";
147f126890aSEmmanuel Vadot				#address-cells = <1>;
148f126890aSEmmanuel Vadot				#size-cells = <0>;
149f126890aSEmmanuel Vadot				reg = <0xfff7c000 0x100>;
150f126890aSEmmanuel Vadot				interrupts = <19 IRQ_TYPE_LEVEL_HIGH 0>;
151f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 19>, <&slow_xtal>;
152f126890aSEmmanuel Vadot				clock-names = "t0_clk", "slow_clk";
153f126890aSEmmanuel Vadot			};
154f126890aSEmmanuel Vadot
155f126890aSEmmanuel Vadot			reset-controller@fffffd00 {
156f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-rstc";
157f126890aSEmmanuel Vadot				reg = <0xfffffd00 0x10>;
158f126890aSEmmanuel Vadot				clocks = <&slow_xtal>;
159f126890aSEmmanuel Vadot			};
160f126890aSEmmanuel Vadot
161f126890aSEmmanuel Vadot			poweroff@fffffd10 {
162f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-shdwc";
163f126890aSEmmanuel Vadot				reg = <0xfffffd10 0x10>;
164f126890aSEmmanuel Vadot				clocks = <&slow_xtal>;
165f126890aSEmmanuel Vadot			};
166f126890aSEmmanuel Vadot
167f126890aSEmmanuel Vadot			pinctrl@fffff200 {
168f126890aSEmmanuel Vadot				#address-cells = <1>;
169f126890aSEmmanuel Vadot				#size-cells = <1>;
170*b2d2a78aSEmmanuel Vadot				compatible = "atmel,at91rm9200-pinctrl", "simple-mfd";
171f126890aSEmmanuel Vadot				ranges = <0xfffff200 0xfffff200 0xa00>;
172f126890aSEmmanuel Vadot
173f126890aSEmmanuel Vadot				atmel,mux-mask = <
174f126890aSEmmanuel Vadot				      /*    A         B     */
175f126890aSEmmanuel Vadot				       0xfffffffb 0xffffe07f  /* pioA */
176f126890aSEmmanuel Vadot				       0x0007ffff 0x39072fff  /* pioB */
177f126890aSEmmanuel Vadot				       0xffffffff 0x3ffffff8  /* pioC */
178f126890aSEmmanuel Vadot				       0xfffffbff 0xffffffff  /* pioD */
179f126890aSEmmanuel Vadot				       0xffe00fff 0xfbfcff00  /* pioE */
180f126890aSEmmanuel Vadot				      >;
181f126890aSEmmanuel Vadot
182f126890aSEmmanuel Vadot				/* shared pinctrl settings */
183f126890aSEmmanuel Vadot				dbgu {
184f126890aSEmmanuel Vadot					pinctrl_dbgu: dbgu-0 {
185f126890aSEmmanuel Vadot						atmel,pins =
186f126890aSEmmanuel Vadot							<AT91_PIOC 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
187f126890aSEmmanuel Vadot							 AT91_PIOC 31 AT91_PERIPH_A AT91_PINCTRL_NONE>;
188f126890aSEmmanuel Vadot					};
189f126890aSEmmanuel Vadot				};
190f126890aSEmmanuel Vadot
191f126890aSEmmanuel Vadot				usart0 {
192f126890aSEmmanuel Vadot					pinctrl_usart0: usart0-0 {
193f126890aSEmmanuel Vadot						atmel,pins =
194f126890aSEmmanuel Vadot							<AT91_PIOA 26 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
195f126890aSEmmanuel Vadot							 AT91_PIOA 27 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
196f126890aSEmmanuel Vadot					};
197f126890aSEmmanuel Vadot
198f126890aSEmmanuel Vadot					pinctrl_usart0_rts: usart0_rts-0 {
199f126890aSEmmanuel Vadot						atmel,pins =
200f126890aSEmmanuel Vadot							<AT91_PIOA 28 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PA28 periph A */
201f126890aSEmmanuel Vadot					};
202f126890aSEmmanuel Vadot
203f126890aSEmmanuel Vadot					pinctrl_usart0_cts: usart0_cts-0 {
204f126890aSEmmanuel Vadot						atmel,pins =
205f126890aSEmmanuel Vadot							<AT91_PIOA 29 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PA29 periph A */
206f126890aSEmmanuel Vadot					};
207f126890aSEmmanuel Vadot				};
208f126890aSEmmanuel Vadot
209f126890aSEmmanuel Vadot				usart1 {
210f126890aSEmmanuel Vadot					pinctrl_usart1: usart1-0 {
211f126890aSEmmanuel Vadot						atmel,pins =
212f126890aSEmmanuel Vadot							<AT91_PIOD 0 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
213f126890aSEmmanuel Vadot							 AT91_PIOD 1 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
214f126890aSEmmanuel Vadot					};
215f126890aSEmmanuel Vadot
216f126890aSEmmanuel Vadot					pinctrl_usart1_rts: usart1_rts-0 {
217f126890aSEmmanuel Vadot						atmel,pins =
218f126890aSEmmanuel Vadot							<AT91_PIOD 7 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* PD7 periph B */
219f126890aSEmmanuel Vadot					};
220f126890aSEmmanuel Vadot
221f126890aSEmmanuel Vadot					pinctrl_usart1_cts: usart1_cts-0 {
222f126890aSEmmanuel Vadot						atmel,pins =
223f126890aSEmmanuel Vadot							<AT91_PIOD 8 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* PD8 periph B */
224f126890aSEmmanuel Vadot					};
225f126890aSEmmanuel Vadot				};
226f126890aSEmmanuel Vadot
227f126890aSEmmanuel Vadot				usart2 {
228f126890aSEmmanuel Vadot					pinctrl_usart2: usart2-0 {
229f126890aSEmmanuel Vadot						atmel,pins =
230f126890aSEmmanuel Vadot							<AT91_PIOD 2 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
231f126890aSEmmanuel Vadot							 AT91_PIOD 3 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
232f126890aSEmmanuel Vadot					};
233f126890aSEmmanuel Vadot
234f126890aSEmmanuel Vadot					pinctrl_usart2_rts: usart2_rts-0 {
235f126890aSEmmanuel Vadot						atmel,pins =
236f126890aSEmmanuel Vadot							<AT91_PIOD 5 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* PD5 periph B */
237f126890aSEmmanuel Vadot					};
238f126890aSEmmanuel Vadot
239f126890aSEmmanuel Vadot					pinctrl_usart2_cts: usart2_cts-0 {
240f126890aSEmmanuel Vadot						atmel,pins =
241f126890aSEmmanuel Vadot							<AT91_PIOD 6 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* PD6 periph B */
242f126890aSEmmanuel Vadot					};
243f126890aSEmmanuel Vadot				};
244f126890aSEmmanuel Vadot
245f126890aSEmmanuel Vadot				nand {
246f126890aSEmmanuel Vadot					pinctrl_nand_rb: nand-rb-0 {
247f126890aSEmmanuel Vadot						atmel,pins =
248f126890aSEmmanuel Vadot							<AT91_PIOA 22 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
249f126890aSEmmanuel Vadot					};
250f126890aSEmmanuel Vadot
251f126890aSEmmanuel Vadot					pinctrl_nand_cs: nand-cs-0 {
252f126890aSEmmanuel Vadot						atmel,pins =
253f126890aSEmmanuel Vadot							 <AT91_PIOD 15 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
254f126890aSEmmanuel Vadot					};
255f126890aSEmmanuel Vadot				};
256f126890aSEmmanuel Vadot
257f126890aSEmmanuel Vadot				macb {
258f126890aSEmmanuel Vadot					pinctrl_macb_rmii: macb_rmii-0 {
259f126890aSEmmanuel Vadot						atmel,pins =
260f126890aSEmmanuel Vadot							<AT91_PIOC 25 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PC25 periph B */
261f126890aSEmmanuel Vadot							 AT91_PIOE 21 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PE21 periph A */
262f126890aSEmmanuel Vadot							 AT91_PIOE 23 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PE23 periph A */
263f126890aSEmmanuel Vadot							 AT91_PIOE 24 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PE24 periph A */
264f126890aSEmmanuel Vadot							 AT91_PIOE 25 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PE25 periph A */
265f126890aSEmmanuel Vadot							 AT91_PIOE 26 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PE26 periph A */
266f126890aSEmmanuel Vadot							 AT91_PIOE 27 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PE27 periph A */
267f126890aSEmmanuel Vadot							 AT91_PIOE 28 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PE28 periph A */
268f126890aSEmmanuel Vadot							 AT91_PIOE 29 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PE29 periph A */
269f126890aSEmmanuel Vadot							 AT91_PIOE 30 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PE30 periph A */
270f126890aSEmmanuel Vadot					};
271f126890aSEmmanuel Vadot
272f126890aSEmmanuel Vadot					pinctrl_macb_rmii_mii: macb_rmii_mii-0 {
273f126890aSEmmanuel Vadot						atmel,pins =
274f126890aSEmmanuel Vadot							<AT91_PIOC 20 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PC20 periph B */
275f126890aSEmmanuel Vadot							 AT91_PIOC 21 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PC21 periph B */
276f126890aSEmmanuel Vadot							 AT91_PIOC 22 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PC22 periph B */
277f126890aSEmmanuel Vadot							 AT91_PIOC 23 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PC23 periph B */
278f126890aSEmmanuel Vadot							 AT91_PIOC 24 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PC24 periph B */
279f126890aSEmmanuel Vadot							 AT91_PIOC 25 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PC25 periph B */
280f126890aSEmmanuel Vadot							 AT91_PIOC 27 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PC27 periph B */
281f126890aSEmmanuel Vadot							 AT91_PIOE 22 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* PE22 periph B */
282f126890aSEmmanuel Vadot					};
283f126890aSEmmanuel Vadot				};
284f126890aSEmmanuel Vadot
285f126890aSEmmanuel Vadot				mmc0 {
286f126890aSEmmanuel Vadot					pinctrl_mmc0_clk: mmc0_clk-0 {
287f126890aSEmmanuel Vadot						atmel,pins =
288f126890aSEmmanuel Vadot							<AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PA12 periph A */
289f126890aSEmmanuel Vadot					};
290f126890aSEmmanuel Vadot
291f126890aSEmmanuel Vadot					pinctrl_mmc0_slot0_cmd_dat0: mmc0_slot0_cmd_dat0-0 {
292f126890aSEmmanuel Vadot						atmel,pins =
293f126890aSEmmanuel Vadot							<AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* PA1 periph A with pullup */
294f126890aSEmmanuel Vadot							 AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;	/* PA0 periph A with pullup */
295f126890aSEmmanuel Vadot					};
296f126890aSEmmanuel Vadot
297f126890aSEmmanuel Vadot					pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
298f126890aSEmmanuel Vadot						atmel,pins =
299f126890aSEmmanuel Vadot							<AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* PA3 periph A with pullup */
300f126890aSEmmanuel Vadot							 AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* PA4 periph A with pullup */
301f126890aSEmmanuel Vadot							 AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;	/* PA5 periph A with pullup */
302f126890aSEmmanuel Vadot					};
303f126890aSEmmanuel Vadot
304f126890aSEmmanuel Vadot					pinctrl_mmc0_slot1_cmd_dat0: mmc0_slot1_cmd_dat0-0 {
305f126890aSEmmanuel Vadot						atmel,pins =
306f126890aSEmmanuel Vadot							<AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* PA16 periph A with pullup */
307f126890aSEmmanuel Vadot							 AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;	/* PA17 periph A with pullup */
308f126890aSEmmanuel Vadot					};
309f126890aSEmmanuel Vadot
310f126890aSEmmanuel Vadot					pinctrl_mmc0_slot1_dat1_3: mmc0_slot1_dat1_3-0 {
311f126890aSEmmanuel Vadot						atmel,pins =
312f126890aSEmmanuel Vadot							<AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* PA18 periph A with pullup */
313f126890aSEmmanuel Vadot							 AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* PA19 periph A with pullup */
314f126890aSEmmanuel Vadot							 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;	/* PA20 periph A with pullup */
315f126890aSEmmanuel Vadot					};
316f126890aSEmmanuel Vadot				};
317f126890aSEmmanuel Vadot
318f126890aSEmmanuel Vadot				mmc1 {
319f126890aSEmmanuel Vadot					pinctrl_mmc1_clk: mmc1_clk-0 {
320f126890aSEmmanuel Vadot						atmel,pins =
321f126890aSEmmanuel Vadot							<AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PA6 periph A */
322f126890aSEmmanuel Vadot					};
323f126890aSEmmanuel Vadot
324f126890aSEmmanuel Vadot					pinctrl_mmc1_slot0_cmd_dat0: mmc1_slot0_cmd_dat0-0 {
325f126890aSEmmanuel Vadot						atmel,pins =
326f126890aSEmmanuel Vadot							<AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* PA7 periph A with pullup */
327f126890aSEmmanuel Vadot							 AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;	/* PA8 periph A with pullup */
328f126890aSEmmanuel Vadot					};
329f126890aSEmmanuel Vadot
330f126890aSEmmanuel Vadot					pinctrl_mmc1_slot0_dat1_3: mmc1_slot0_dat1_3-0 {
331f126890aSEmmanuel Vadot						atmel,pins =
332f126890aSEmmanuel Vadot							<AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* PA9 periph A with pullup */
333f126890aSEmmanuel Vadot							 AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* PA10 periph A with pullup */
334f126890aSEmmanuel Vadot							 AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;	/* PA11 periph A with pullup */
335f126890aSEmmanuel Vadot					};
336f126890aSEmmanuel Vadot
337f126890aSEmmanuel Vadot					pinctrl_mmc1_slot1_cmd_dat0: mmc1_slot1_cmd_dat0-0 {
338f126890aSEmmanuel Vadot						atmel,pins =
339f126890aSEmmanuel Vadot							<AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* PA21 periph A with pullup */
340f126890aSEmmanuel Vadot							 AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;	/* PA22 periph A with pullup */
341f126890aSEmmanuel Vadot					};
342f126890aSEmmanuel Vadot
343f126890aSEmmanuel Vadot					pinctrl_mmc1_slot1_dat1_3: mmc1_slot1_dat1_3-0 {
344f126890aSEmmanuel Vadot						atmel,pins =
345f126890aSEmmanuel Vadot							<AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* PA23 periph A with pullup */
346f126890aSEmmanuel Vadot							 AT91_PIOA 24 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* PA24 periph A with pullup */
347f126890aSEmmanuel Vadot							 AT91_PIOA 25 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;	/* PA25 periph A with pullup */
348f126890aSEmmanuel Vadot					};
349f126890aSEmmanuel Vadot				};
350f126890aSEmmanuel Vadot
351f126890aSEmmanuel Vadot				ssc0 {
352f126890aSEmmanuel Vadot					pinctrl_ssc0_tx: ssc0_tx-0 {
353f126890aSEmmanuel Vadot						atmel,pins =
354f126890aSEmmanuel Vadot							<AT91_PIOB 0 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PB0 periph B */
355f126890aSEmmanuel Vadot							 AT91_PIOB 1 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PB1 periph B */
356f126890aSEmmanuel Vadot							 AT91_PIOB 2 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* PB2 periph B */
357f126890aSEmmanuel Vadot					};
358f126890aSEmmanuel Vadot
359f126890aSEmmanuel Vadot					pinctrl_ssc0_rx: ssc0_rx-0 {
360f126890aSEmmanuel Vadot						atmel,pins =
361f126890aSEmmanuel Vadot							<AT91_PIOB 3 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PB3 periph B */
362f126890aSEmmanuel Vadot							 AT91_PIOB 4 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PB4 periph B */
363f126890aSEmmanuel Vadot							 AT91_PIOB 5 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* PB5 periph B */
364f126890aSEmmanuel Vadot					};
365f126890aSEmmanuel Vadot				};
366f126890aSEmmanuel Vadot
367f126890aSEmmanuel Vadot				ssc1 {
368f126890aSEmmanuel Vadot					pinctrl_ssc1_tx: ssc1_tx-0 {
369f126890aSEmmanuel Vadot						atmel,pins =
370f126890aSEmmanuel Vadot							<AT91_PIOB 6 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB6 periph A */
371f126890aSEmmanuel Vadot							 AT91_PIOB 7 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB7 periph A */
372f126890aSEmmanuel Vadot							 AT91_PIOB 8 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PB8 periph A */
373f126890aSEmmanuel Vadot					};
374f126890aSEmmanuel Vadot
375f126890aSEmmanuel Vadot					pinctrl_ssc1_rx: ssc1_rx-0 {
376f126890aSEmmanuel Vadot						atmel,pins =
377f126890aSEmmanuel Vadot							<AT91_PIOB 9 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB9 periph A */
378f126890aSEmmanuel Vadot							 AT91_PIOB 10 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB10 periph A */
379f126890aSEmmanuel Vadot							 AT91_PIOB 11 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PB11 periph A */
380f126890aSEmmanuel Vadot					};
381f126890aSEmmanuel Vadot				};
382f126890aSEmmanuel Vadot
383f126890aSEmmanuel Vadot				spi0 {
384f126890aSEmmanuel Vadot					pinctrl_spi0: spi0-0 {
385f126890aSEmmanuel Vadot						atmel,pins =
386f126890aSEmmanuel Vadot							<AT91_PIOA 0 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PA0 periph B SPI0_MISO pin */
387f126890aSEmmanuel Vadot							 AT91_PIOA 1 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PA1 periph B SPI0_MOSI pin */
388f126890aSEmmanuel Vadot							 AT91_PIOA 2 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* PA2 periph B SPI0_SPCK pin */
389f126890aSEmmanuel Vadot					};
390f126890aSEmmanuel Vadot				};
391f126890aSEmmanuel Vadot
392f126890aSEmmanuel Vadot				spi1 {
393f126890aSEmmanuel Vadot					pinctrl_spi1: spi1-0 {
394f126890aSEmmanuel Vadot						atmel,pins =
395f126890aSEmmanuel Vadot							<AT91_PIOB 12 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB12 periph A SPI1_MISO pin */
396f126890aSEmmanuel Vadot							 AT91_PIOB 13 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB13 periph A SPI1_MOSI pin */
397f126890aSEmmanuel Vadot							 AT91_PIOB 14 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PB14 periph A SPI1_SPCK pin */
398f126890aSEmmanuel Vadot					};
399f126890aSEmmanuel Vadot				};
400f126890aSEmmanuel Vadot
401f126890aSEmmanuel Vadot				tcb0 {
402f126890aSEmmanuel Vadot					pinctrl_tcb0_tclk0: tcb0_tclk0-0 {
403f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOB 28 AT91_PERIPH_B AT91_PINCTRL_NONE>;
404f126890aSEmmanuel Vadot					};
405f126890aSEmmanuel Vadot
406f126890aSEmmanuel Vadot					pinctrl_tcb0_tclk1: tcb0_tclk1-0 {
407f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOC 28 AT91_PERIPH_B AT91_PINCTRL_NONE>;
408f126890aSEmmanuel Vadot					};
409f126890aSEmmanuel Vadot
410f126890aSEmmanuel Vadot					pinctrl_tcb0_tclk2: tcb0_tclk2-0 {
411f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_NONE>;
412f126890aSEmmanuel Vadot					};
413f126890aSEmmanuel Vadot
414f126890aSEmmanuel Vadot					pinctrl_tcb0_tioa0: tcb0_tioa0-0 {
415f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOE 18 AT91_PERIPH_B AT91_PINCTRL_NONE>;
416f126890aSEmmanuel Vadot					};
417f126890aSEmmanuel Vadot
418f126890aSEmmanuel Vadot					pinctrl_tcb0_tioa1: tcb0_tioa1-0 {
419f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOE 8 AT91_PERIPH_B AT91_PINCTRL_NONE>;
420f126890aSEmmanuel Vadot					};
421f126890aSEmmanuel Vadot
422f126890aSEmmanuel Vadot					pinctrl_tcb0_tioa2: tcb0_tioa2-0 {
423f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOB 17 AT91_PERIPH_B AT91_PINCTRL_NONE>;
424f126890aSEmmanuel Vadot					};
425f126890aSEmmanuel Vadot
426f126890aSEmmanuel Vadot					pinctrl_tcb0_tiob0: tcb0_tiob0-0 {
427f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOE 19 AT91_PERIPH_B AT91_PINCTRL_NONE>;
428f126890aSEmmanuel Vadot					};
429f126890aSEmmanuel Vadot
430f126890aSEmmanuel Vadot					pinctrl_tcb0_tiob1: tcb0_tiob1-0 {
431f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOE 9 AT91_PERIPH_B AT91_PINCTRL_NONE>;
432f126890aSEmmanuel Vadot					};
433f126890aSEmmanuel Vadot
434f126890aSEmmanuel Vadot					pinctrl_tcb0_tiob2: tcb0_tiob2-0 {
435f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOB 18 AT91_PERIPH_B AT91_PINCTRL_NONE>;
436f126890aSEmmanuel Vadot					};
437f126890aSEmmanuel Vadot				};
438f126890aSEmmanuel Vadot
439f126890aSEmmanuel Vadot				fb {
440f126890aSEmmanuel Vadot					pinctrl_fb: fb-0 {
441f126890aSEmmanuel Vadot						atmel,pins =
442f126890aSEmmanuel Vadot							<AT91_PIOC 1 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PC1 periph A */
443f126890aSEmmanuel Vadot							 AT91_PIOC 2 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PC2 periph A */
444f126890aSEmmanuel Vadot							 AT91_PIOC 3 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PC3 periph A */
445f126890aSEmmanuel Vadot							 AT91_PIOB 9 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PB9 periph B */
446f126890aSEmmanuel Vadot							 AT91_PIOC 6 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PC6 periph A */
447f126890aSEmmanuel Vadot							 AT91_PIOC 7 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PC7 periph A */
448f126890aSEmmanuel Vadot							 AT91_PIOC 8 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PC8 periph A */
449f126890aSEmmanuel Vadot							 AT91_PIOC 9 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PC9 periph A */
450f126890aSEmmanuel Vadot							 AT91_PIOC 10 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PC10 periph A */
451f126890aSEmmanuel Vadot							 AT91_PIOC 11 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PC11 periph A */
452f126890aSEmmanuel Vadot							 AT91_PIOC 14 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PC14 periph A */
453f126890aSEmmanuel Vadot							 AT91_PIOC 15 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PC15 periph A */
454f126890aSEmmanuel Vadot							 AT91_PIOC 16 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PC16 periph A */
455f126890aSEmmanuel Vadot							 AT91_PIOC 12 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PC12 periph B */
456f126890aSEmmanuel Vadot							 AT91_PIOC 18 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PC18 periph A */
457f126890aSEmmanuel Vadot							 AT91_PIOC 19 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PC19 periph A */
458f126890aSEmmanuel Vadot							 AT91_PIOC 22 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PC22 periph A */
459f126890aSEmmanuel Vadot							 AT91_PIOC 23 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PC23 periph A */
460f126890aSEmmanuel Vadot							 AT91_PIOC 24 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PC24 periph A */
461f126890aSEmmanuel Vadot							 AT91_PIOC 17 AT91_PERIPH_B AT91_PINCTRL_NONE	/* PC17 periph B */
462f126890aSEmmanuel Vadot							 AT91_PIOC 26 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PC26 periph A */
463f126890aSEmmanuel Vadot							 AT91_PIOC 27 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PC27 periph A */
464f126890aSEmmanuel Vadot					};
465f126890aSEmmanuel Vadot				};
466f126890aSEmmanuel Vadot
467f126890aSEmmanuel Vadot				can {
468f126890aSEmmanuel Vadot					pinctrl_can_rx_tx: can_rx_tx {
469f126890aSEmmanuel Vadot						atmel,pins =
470f126890aSEmmanuel Vadot							<AT91_PIOA 14 AT91_PERIPH_A AT91_PINCTRL_NONE	/* CANRX, conflicts with IRQ0 */
471f126890aSEmmanuel Vadot							 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* CANTX, conflicts with PCK0 */
472f126890aSEmmanuel Vadot					};
473f126890aSEmmanuel Vadot				};
474f126890aSEmmanuel Vadot
475f126890aSEmmanuel Vadot				ac97 {
476f126890aSEmmanuel Vadot					pinctrl_ac97: ac97-0 {
477f126890aSEmmanuel Vadot						atmel,pins =
478f126890aSEmmanuel Vadot							<AT91_PIOB 0 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB12 periph A AC97FS pin */
479f126890aSEmmanuel Vadot							 AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB13 periph A AC97CK pin */
480f126890aSEmmanuel Vadot							 AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB14 periph A AC97TX pin */
481f126890aSEmmanuel Vadot							 AT91_PIOB 3 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PB14 periph A AC97RX pin */
482f126890aSEmmanuel Vadot					};
483f126890aSEmmanuel Vadot				};
484f126890aSEmmanuel Vadot
485f126890aSEmmanuel Vadot				pioA: gpio@fffff200 {
486f126890aSEmmanuel Vadot					compatible = "atmel,at91rm9200-gpio";
487f126890aSEmmanuel Vadot					reg = <0xfffff200 0x200>;
488f126890aSEmmanuel Vadot					interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
489f126890aSEmmanuel Vadot					#gpio-cells = <2>;
490f126890aSEmmanuel Vadot					gpio-controller;
491f126890aSEmmanuel Vadot					interrupt-controller;
492f126890aSEmmanuel Vadot					#interrupt-cells = <2>;
493f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 2>;
494f126890aSEmmanuel Vadot				};
495f126890aSEmmanuel Vadot
496f126890aSEmmanuel Vadot				pioB: gpio@fffff400 {
497f126890aSEmmanuel Vadot					compatible = "atmel,at91rm9200-gpio";
498f126890aSEmmanuel Vadot					reg = <0xfffff400 0x200>;
499f126890aSEmmanuel Vadot					interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
500f126890aSEmmanuel Vadot					#gpio-cells = <2>;
501f126890aSEmmanuel Vadot					gpio-controller;
502f126890aSEmmanuel Vadot					interrupt-controller;
503f126890aSEmmanuel Vadot					#interrupt-cells = <2>;
504f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 3>;
505f126890aSEmmanuel Vadot				};
506f126890aSEmmanuel Vadot
507f126890aSEmmanuel Vadot				pioC: gpio@fffff600 {
508f126890aSEmmanuel Vadot					compatible = "atmel,at91rm9200-gpio";
509f126890aSEmmanuel Vadot					reg = <0xfffff600 0x200>;
510f126890aSEmmanuel Vadot					interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
511f126890aSEmmanuel Vadot					#gpio-cells = <2>;
512f126890aSEmmanuel Vadot					gpio-controller;
513f126890aSEmmanuel Vadot					interrupt-controller;
514f126890aSEmmanuel Vadot					#interrupt-cells = <2>;
515f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 4>;
516f126890aSEmmanuel Vadot				};
517f126890aSEmmanuel Vadot
518f126890aSEmmanuel Vadot				pioD: gpio@fffff800 {
519f126890aSEmmanuel Vadot					compatible = "atmel,at91rm9200-gpio";
520f126890aSEmmanuel Vadot					reg = <0xfffff800 0x200>;
521f126890aSEmmanuel Vadot					interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
522f126890aSEmmanuel Vadot					#gpio-cells = <2>;
523f126890aSEmmanuel Vadot					gpio-controller;
524f126890aSEmmanuel Vadot					interrupt-controller;
525f126890aSEmmanuel Vadot					#interrupt-cells = <2>;
526f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 4>;
527f126890aSEmmanuel Vadot				};
528f126890aSEmmanuel Vadot
529f126890aSEmmanuel Vadot				pioE: gpio@fffffa00 {
530f126890aSEmmanuel Vadot					compatible = "atmel,at91rm9200-gpio";
531f126890aSEmmanuel Vadot					reg = <0xfffffa00 0x200>;
532f126890aSEmmanuel Vadot					interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
533f126890aSEmmanuel Vadot					#gpio-cells = <2>;
534f126890aSEmmanuel Vadot					gpio-controller;
535f126890aSEmmanuel Vadot					interrupt-controller;
536f126890aSEmmanuel Vadot					#interrupt-cells = <2>;
537f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 4>;
538f126890aSEmmanuel Vadot				};
539f126890aSEmmanuel Vadot			};
540f126890aSEmmanuel Vadot
541f126890aSEmmanuel Vadot			dbgu: serial@ffffee00 {
542f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
543f126890aSEmmanuel Vadot				reg = <0xffffee00 0x200>;
544f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
545f126890aSEmmanuel Vadot				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
546f126890aSEmmanuel Vadot				pinctrl-names = "default";
547f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_dbgu>;
548f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_CORE PMC_MCK>;
549f126890aSEmmanuel Vadot				clock-names = "usart";
550f126890aSEmmanuel Vadot				status = "disabled";
551f126890aSEmmanuel Vadot			};
552f126890aSEmmanuel Vadot
553f126890aSEmmanuel Vadot			usart0: serial@fff8c000 {
554f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-usart";
555f126890aSEmmanuel Vadot				reg = <0xfff8c000 0x200>;
556f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
557f126890aSEmmanuel Vadot				interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
558f126890aSEmmanuel Vadot				atmel,use-dma-rx;
559f126890aSEmmanuel Vadot				atmel,use-dma-tx;
560f126890aSEmmanuel Vadot				pinctrl-names = "default";
561f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_usart0>;
562f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 7>;
563f126890aSEmmanuel Vadot				clock-names = "usart";
564f126890aSEmmanuel Vadot				status = "disabled";
565f126890aSEmmanuel Vadot			};
566f126890aSEmmanuel Vadot
567f126890aSEmmanuel Vadot			usart1: serial@fff90000 {
568f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-usart";
569f126890aSEmmanuel Vadot				reg = <0xfff90000 0x200>;
570f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
571f126890aSEmmanuel Vadot				interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
572f126890aSEmmanuel Vadot				atmel,use-dma-rx;
573f126890aSEmmanuel Vadot				atmel,use-dma-tx;
574f126890aSEmmanuel Vadot				pinctrl-names = "default";
575f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_usart1>;
576f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 8>;
577f126890aSEmmanuel Vadot				clock-names = "usart";
578f126890aSEmmanuel Vadot				status = "disabled";
579f126890aSEmmanuel Vadot			};
580f126890aSEmmanuel Vadot
581f126890aSEmmanuel Vadot			usart2: serial@fff94000 {
582f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-usart";
583f126890aSEmmanuel Vadot				reg = <0xfff94000 0x200>;
584f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
585f126890aSEmmanuel Vadot				interrupts = <9 IRQ_TYPE_LEVEL_HIGH 5>;
586f126890aSEmmanuel Vadot				atmel,use-dma-rx;
587f126890aSEmmanuel Vadot				atmel,use-dma-tx;
588f126890aSEmmanuel Vadot				pinctrl-names = "default";
589f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_usart2>;
590f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 9>;
591f126890aSEmmanuel Vadot				clock-names = "usart";
592f126890aSEmmanuel Vadot				status = "disabled";
593f126890aSEmmanuel Vadot			};
594f126890aSEmmanuel Vadot
595f126890aSEmmanuel Vadot			ssc0: ssc@fff98000 {
596f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-ssc";
597f126890aSEmmanuel Vadot				reg = <0xfff98000 0x4000>;
598f126890aSEmmanuel Vadot				interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
599f126890aSEmmanuel Vadot				pinctrl-names = "default";
600f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
601f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 16>;
602f126890aSEmmanuel Vadot				clock-names = "pclk";
603f126890aSEmmanuel Vadot				status = "disabled";
604f126890aSEmmanuel Vadot			};
605f126890aSEmmanuel Vadot
606f126890aSEmmanuel Vadot			ssc1: ssc@fff9c000 {
607f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-ssc";
608f126890aSEmmanuel Vadot				reg = <0xfff9c000 0x4000>;
609f126890aSEmmanuel Vadot				interrupts = <17 IRQ_TYPE_LEVEL_HIGH 5>;
610f126890aSEmmanuel Vadot				pinctrl-names = "default";
611f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>;
612f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 17>;
613f126890aSEmmanuel Vadot				clock-names = "pclk";
614f126890aSEmmanuel Vadot				status = "disabled";
615f126890aSEmmanuel Vadot			};
616f126890aSEmmanuel Vadot
617f126890aSEmmanuel Vadot			ac97: sound@fffa0000 {
618f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9263-ac97c";
619f126890aSEmmanuel Vadot				reg = <0xfffa0000 0x4000>;
620f126890aSEmmanuel Vadot				interrupts = <18 IRQ_TYPE_LEVEL_HIGH 5>;
621f126890aSEmmanuel Vadot				pinctrl-names = "default";
622f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_ac97>;
623f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 18>;
624f126890aSEmmanuel Vadot				clock-names = "ac97_clk";
625f126890aSEmmanuel Vadot				status = "disabled";
626f126890aSEmmanuel Vadot			};
627f126890aSEmmanuel Vadot
628f126890aSEmmanuel Vadot			macb0: ethernet@fffbc000 {
629f126890aSEmmanuel Vadot				compatible = "cdns,at91sam9260-macb", "cdns,macb";
630f126890aSEmmanuel Vadot				reg = <0xfffbc000 0x100>;
631f126890aSEmmanuel Vadot				interrupts = <21 IRQ_TYPE_LEVEL_HIGH 3>;
632f126890aSEmmanuel Vadot				pinctrl-names = "default";
633f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_macb_rmii>;
634f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 21>, <&pmc PMC_TYPE_PERIPHERAL 21>;
635f126890aSEmmanuel Vadot				clock-names = "hclk", "pclk";
636f126890aSEmmanuel Vadot				status = "disabled";
637f126890aSEmmanuel Vadot			};
638f126890aSEmmanuel Vadot
639f126890aSEmmanuel Vadot			usb1: gadget@fff78000 {
640f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9263-udc";
641f126890aSEmmanuel Vadot				reg = <0xfff78000 0x4000>;
642f126890aSEmmanuel Vadot				interrupts = <24 IRQ_TYPE_LEVEL_HIGH 2>;
643f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 24>, <&pmc PMC_TYPE_SYSTEM 7>;
644f126890aSEmmanuel Vadot				clock-names = "pclk", "hclk";
645f126890aSEmmanuel Vadot				status = "disabled";
646f126890aSEmmanuel Vadot			};
647f126890aSEmmanuel Vadot
648f126890aSEmmanuel Vadot			i2c0: i2c@fff88000 {
649f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-i2c";
650f126890aSEmmanuel Vadot				reg = <0xfff88000 0x100>;
651f126890aSEmmanuel Vadot				interrupts = <13 IRQ_TYPE_LEVEL_HIGH 6>;
652f126890aSEmmanuel Vadot				#address-cells = <1>;
653f126890aSEmmanuel Vadot				#size-cells = <0>;
654f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 13>;
655f126890aSEmmanuel Vadot				status = "disabled";
656f126890aSEmmanuel Vadot			};
657f126890aSEmmanuel Vadot
658f126890aSEmmanuel Vadot			mmc0: mmc@fff80000 {
659f126890aSEmmanuel Vadot				compatible = "atmel,hsmci";
660f126890aSEmmanuel Vadot				reg = <0xfff80000 0x600>;
661f126890aSEmmanuel Vadot				interrupts = <10 IRQ_TYPE_LEVEL_HIGH 0>;
662f126890aSEmmanuel Vadot				#address-cells = <1>;
663f126890aSEmmanuel Vadot				#size-cells = <0>;
664f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 10>;
665f126890aSEmmanuel Vadot				clock-names = "mci_clk";
666f126890aSEmmanuel Vadot				status = "disabled";
667f126890aSEmmanuel Vadot			};
668f126890aSEmmanuel Vadot
669f126890aSEmmanuel Vadot			mmc1: mmc@fff84000 {
670f126890aSEmmanuel Vadot				compatible = "atmel,hsmci";
671f126890aSEmmanuel Vadot				reg = <0xfff84000 0x600>;
672f126890aSEmmanuel Vadot				interrupts = <11 IRQ_TYPE_LEVEL_HIGH 0>;
673f126890aSEmmanuel Vadot				#address-cells = <1>;
674f126890aSEmmanuel Vadot				#size-cells = <0>;
675f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 11>;
676f126890aSEmmanuel Vadot				clock-names = "mci_clk";
677f126890aSEmmanuel Vadot				status = "disabled";
678f126890aSEmmanuel Vadot			};
679f126890aSEmmanuel Vadot
680f126890aSEmmanuel Vadot			watchdog@fffffd40 {
681f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-wdt";
682f126890aSEmmanuel Vadot				reg = <0xfffffd40 0x10>;
683f126890aSEmmanuel Vadot				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
684f126890aSEmmanuel Vadot				clocks = <&slow_xtal>;
685f126890aSEmmanuel Vadot				atmel,watchdog-type = "hardware";
686f126890aSEmmanuel Vadot				atmel,reset-type = "all";
687f126890aSEmmanuel Vadot				atmel,dbg-halt;
688f126890aSEmmanuel Vadot				status = "disabled";
689f126890aSEmmanuel Vadot			};
690f126890aSEmmanuel Vadot
691f126890aSEmmanuel Vadot			spi0: spi@fffa4000 {
692f126890aSEmmanuel Vadot				#address-cells = <1>;
693f126890aSEmmanuel Vadot				#size-cells = <0>;
694f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-spi";
695f126890aSEmmanuel Vadot				reg = <0xfffa4000 0x200>;
696f126890aSEmmanuel Vadot				interrupts = <14 IRQ_TYPE_LEVEL_HIGH 3>;
697f126890aSEmmanuel Vadot				pinctrl-names = "default";
698f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_spi0>;
699f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 14>;
700f126890aSEmmanuel Vadot				clock-names = "spi_clk";
701f126890aSEmmanuel Vadot				status = "disabled";
702f126890aSEmmanuel Vadot			};
703f126890aSEmmanuel Vadot
704f126890aSEmmanuel Vadot			spi1: spi@fffa8000 {
705f126890aSEmmanuel Vadot				#address-cells = <1>;
706f126890aSEmmanuel Vadot				#size-cells = <0>;
707f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-spi";
708f126890aSEmmanuel Vadot				reg = <0xfffa8000 0x200>;
709f126890aSEmmanuel Vadot				interrupts = <15 IRQ_TYPE_LEVEL_HIGH 3>;
710f126890aSEmmanuel Vadot				pinctrl-names = "default";
711f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_spi1>;
712f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 15>;
713f126890aSEmmanuel Vadot				clock-names = "spi_clk";
714f126890aSEmmanuel Vadot				status = "disabled";
715f126890aSEmmanuel Vadot			};
716f126890aSEmmanuel Vadot
717f126890aSEmmanuel Vadot			pwm0: pwm@fffb8000 {
718f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9rl-pwm";
719f126890aSEmmanuel Vadot				reg = <0xfffb8000 0x300>;
720f126890aSEmmanuel Vadot				interrupts = <20 IRQ_TYPE_LEVEL_HIGH 4>;
721f126890aSEmmanuel Vadot				#pwm-cells = <3>;
722f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 20>;
723f126890aSEmmanuel Vadot				clock-names = "pwm_clk";
724f126890aSEmmanuel Vadot				status = "disabled";
725f126890aSEmmanuel Vadot			};
726f126890aSEmmanuel Vadot
727f126890aSEmmanuel Vadot			can: can@fffac000 {
728f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9263-can";
729f126890aSEmmanuel Vadot				reg = <0xfffac000 0x300>;
730f126890aSEmmanuel Vadot				interrupts = <12 IRQ_TYPE_LEVEL_HIGH 3>;
731f126890aSEmmanuel Vadot				pinctrl-names = "default";
732f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_can_rx_tx>;
733f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 12>;
734f126890aSEmmanuel Vadot				clock-names = "can_clk";
735f126890aSEmmanuel Vadot			};
736f126890aSEmmanuel Vadot
737f126890aSEmmanuel Vadot			rtc@fffffd20 {
738f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-rtt";
739f126890aSEmmanuel Vadot				reg = <0xfffffd20 0x10>;
740f126890aSEmmanuel Vadot				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
741f126890aSEmmanuel Vadot				clocks = <&slow_xtal>;
742f126890aSEmmanuel Vadot				status = "disabled";
743f126890aSEmmanuel Vadot			};
744f126890aSEmmanuel Vadot
745f126890aSEmmanuel Vadot			rtc@fffffd50 {
746f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-rtt";
747f126890aSEmmanuel Vadot				reg = <0xfffffd50 0x10>;
748f126890aSEmmanuel Vadot				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
749f126890aSEmmanuel Vadot				clocks = <&slow_xtal>;
750f126890aSEmmanuel Vadot				status = "disabled";
751f126890aSEmmanuel Vadot			};
752f126890aSEmmanuel Vadot
753f126890aSEmmanuel Vadot			gpbr: syscon@fffffd60 {
754f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-gpbr", "syscon";
755f126890aSEmmanuel Vadot				reg = <0xfffffd60 0x50>;
756f126890aSEmmanuel Vadot				status = "disabled";
757f126890aSEmmanuel Vadot			};
758f126890aSEmmanuel Vadot		};
759f126890aSEmmanuel Vadot
760f126890aSEmmanuel Vadot		fb0: fb@700000 {
761f126890aSEmmanuel Vadot			compatible = "atmel,at91sam9263-lcdc";
762f126890aSEmmanuel Vadot			reg = <0x00700000 0x1000>;
763f126890aSEmmanuel Vadot			interrupts = <26 IRQ_TYPE_LEVEL_HIGH 3>;
764f126890aSEmmanuel Vadot			pinctrl-names = "default";
765f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_fb>;
766f126890aSEmmanuel Vadot			clocks = <&pmc PMC_TYPE_PERIPHERAL 26>, <&pmc PMC_TYPE_PERIPHERAL 26>;
767f126890aSEmmanuel Vadot			clock-names = "lcdc_clk", "hclk";
768f126890aSEmmanuel Vadot			status = "disabled";
769f126890aSEmmanuel Vadot		};
770f126890aSEmmanuel Vadot
771f126890aSEmmanuel Vadot		usb0: ohci@a00000 {
772f126890aSEmmanuel Vadot			compatible = "atmel,at91rm9200-ohci", "usb-ohci";
773f126890aSEmmanuel Vadot			reg = <0x00a00000 0x100000>;
774f126890aSEmmanuel Vadot			interrupts = <29 IRQ_TYPE_LEVEL_HIGH 2>;
775f126890aSEmmanuel Vadot			clocks = <&pmc PMC_TYPE_PERIPHERAL 29>, <&pmc PMC_TYPE_PERIPHERAL 29>, <&pmc PMC_TYPE_SYSTEM 6>;
776f126890aSEmmanuel Vadot			clock-names = "ohci_clk", "hclk", "uhpck";
777f126890aSEmmanuel Vadot			status = "disabled";
778f126890aSEmmanuel Vadot		};
779f126890aSEmmanuel Vadot
780f126890aSEmmanuel Vadot		ebi0: ebi@10000000 {
781f126890aSEmmanuel Vadot			compatible = "atmel,at91sam9263-ebi0";
782f126890aSEmmanuel Vadot			#address-cells = <2>;
783f126890aSEmmanuel Vadot			#size-cells = <1>;
784f126890aSEmmanuel Vadot			atmel,smc = <&smc0>;
785f126890aSEmmanuel Vadot			atmel,matrix = <&matrix>;
786f126890aSEmmanuel Vadot			reg = <0x10000000 0x80000000>;
787f126890aSEmmanuel Vadot			ranges = <0x0 0x0 0x10000000 0x10000000
788f126890aSEmmanuel Vadot				  0x1 0x0 0x20000000 0x10000000
789f126890aSEmmanuel Vadot				  0x2 0x0 0x30000000 0x10000000
790f126890aSEmmanuel Vadot				  0x3 0x0 0x40000000 0x10000000
791f126890aSEmmanuel Vadot				  0x4 0x0 0x50000000 0x10000000
792f126890aSEmmanuel Vadot				  0x5 0x0 0x60000000 0x10000000>;
793f126890aSEmmanuel Vadot			clocks = <&pmc PMC_TYPE_CORE PMC_MCK>;
794f126890aSEmmanuel Vadot			status = "disabled";
795f126890aSEmmanuel Vadot
796f126890aSEmmanuel Vadot			nand_controller0: nand-controller {
797f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-nand-controller";
798f126890aSEmmanuel Vadot				#address-cells = <2>;
799f126890aSEmmanuel Vadot				#size-cells = <1>;
800f126890aSEmmanuel Vadot				ranges;
801f126890aSEmmanuel Vadot				status = "disabled";
802f126890aSEmmanuel Vadot			};
803f126890aSEmmanuel Vadot		};
804f126890aSEmmanuel Vadot
805f126890aSEmmanuel Vadot		ebi1: ebi@70000000 {
806f126890aSEmmanuel Vadot			compatible = "atmel,at91sam9263-ebi1";
807f126890aSEmmanuel Vadot			#address-cells = <2>;
808f126890aSEmmanuel Vadot			#size-cells = <1>;
809f126890aSEmmanuel Vadot			atmel,smc = <&smc1>;
810f126890aSEmmanuel Vadot			atmel,matrix = <&matrix>;
811f126890aSEmmanuel Vadot			reg = <0x80000000 0x20000000>;
812f126890aSEmmanuel Vadot			ranges = <0x0 0x0 0x80000000 0x10000000
813f126890aSEmmanuel Vadot				  0x1 0x0 0x90000000 0x10000000>;
814f126890aSEmmanuel Vadot			clocks = <&pmc PMC_TYPE_CORE PMC_MCK>;
815f126890aSEmmanuel Vadot			status = "disabled";
816f126890aSEmmanuel Vadot
817f126890aSEmmanuel Vadot			nand_controller1: nand-controller {
818f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-nand-controller";
819f126890aSEmmanuel Vadot				#address-cells = <2>;
820f126890aSEmmanuel Vadot				#size-cells = <1>;
821f126890aSEmmanuel Vadot				ranges;
822f126890aSEmmanuel Vadot				status = "disabled";
823f126890aSEmmanuel Vadot			};
824f126890aSEmmanuel Vadot		};
825f126890aSEmmanuel Vadot	};
826f126890aSEmmanuel Vadot
827f126890aSEmmanuel Vadot	i2c-gpio-0 {
828f126890aSEmmanuel Vadot		compatible = "i2c-gpio";
829f126890aSEmmanuel Vadot		gpios = <&pioB 4 GPIO_ACTIVE_HIGH /* sda */
830f126890aSEmmanuel Vadot			 &pioB 5 GPIO_ACTIVE_HIGH /* scl */
831f126890aSEmmanuel Vadot			>;
832f126890aSEmmanuel Vadot		i2c-gpio,sda-open-drain;
833f126890aSEmmanuel Vadot		i2c-gpio,scl-open-drain;
834f126890aSEmmanuel Vadot		i2c-gpio,delay-us = <2>;	/* ~100 kHz */
835f126890aSEmmanuel Vadot		#address-cells = <1>;
836f126890aSEmmanuel Vadot		#size-cells = <0>;
837f126890aSEmmanuel Vadot		status = "disabled";
838f126890aSEmmanuel Vadot	};
839f126890aSEmmanuel Vadot};
840