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