xref: /freebsd/sys/contrib/device-tree/src/arm/microchip/at91sam9261.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * at91sam9261.dtsi - Device Tree Include file for AT91SAM9261 SoC
4*f126890aSEmmanuel Vadot *
5*f126890aSEmmanuel Vadot *  Copyright (C) 2013 Jean-Jacques Hiblot <jjhiblot@traphandler.com>
6*f126890aSEmmanuel Vadot */
7*f126890aSEmmanuel Vadot
8*f126890aSEmmanuel Vadot#include <dt-bindings/pinctrl/at91.h>
9*f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h>
10*f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
11*f126890aSEmmanuel Vadot#include <dt-bindings/clock/at91.h>
12*f126890aSEmmanuel Vadot#include <dt-bindings/mfd/at91-usart.h>
13*f126890aSEmmanuel Vadot
14*f126890aSEmmanuel Vadot/ {
15*f126890aSEmmanuel Vadot	#address-cells = <1>;
16*f126890aSEmmanuel Vadot	#size-cells = <1>;
17*f126890aSEmmanuel Vadot	model = "Atmel AT91SAM9261 family SoC";
18*f126890aSEmmanuel Vadot	compatible = "atmel,at91sam9261";
19*f126890aSEmmanuel Vadot	interrupt-parent = <&aic>;
20*f126890aSEmmanuel Vadot
21*f126890aSEmmanuel Vadot	aliases {
22*f126890aSEmmanuel Vadot		serial0 = &dbgu;
23*f126890aSEmmanuel Vadot		serial1 = &usart0;
24*f126890aSEmmanuel Vadot		serial2 = &usart1;
25*f126890aSEmmanuel Vadot		serial3 = &usart2;
26*f126890aSEmmanuel Vadot		gpio0 = &pioA;
27*f126890aSEmmanuel Vadot		gpio1 = &pioB;
28*f126890aSEmmanuel Vadot		gpio2 = &pioC;
29*f126890aSEmmanuel Vadot		tcb0 = &tcb0;
30*f126890aSEmmanuel Vadot		i2c0 = &i2c0;
31*f126890aSEmmanuel Vadot		ssc0 = &ssc0;
32*f126890aSEmmanuel Vadot		ssc1 = &ssc1;
33*f126890aSEmmanuel Vadot		ssc2 = &ssc2;
34*f126890aSEmmanuel Vadot	};
35*f126890aSEmmanuel Vadot
36*f126890aSEmmanuel Vadot	cpus {
37*f126890aSEmmanuel Vadot		#address-cells = <1>;
38*f126890aSEmmanuel Vadot		#size-cells = <0>;
39*f126890aSEmmanuel Vadot
40*f126890aSEmmanuel Vadot		cpu@0 {
41*f126890aSEmmanuel Vadot			compatible = "arm,arm926ej-s";
42*f126890aSEmmanuel Vadot			device_type = "cpu";
43*f126890aSEmmanuel Vadot			reg = <0>;
44*f126890aSEmmanuel Vadot		};
45*f126890aSEmmanuel Vadot	};
46*f126890aSEmmanuel Vadot
47*f126890aSEmmanuel Vadot	memory@20000000 {
48*f126890aSEmmanuel Vadot		device_type = "memory";
49*f126890aSEmmanuel Vadot		reg = <0x20000000 0x08000000>;
50*f126890aSEmmanuel Vadot	};
51*f126890aSEmmanuel Vadot
52*f126890aSEmmanuel Vadot	clocks {
53*f126890aSEmmanuel Vadot		main_xtal: main_xtal {
54*f126890aSEmmanuel Vadot			compatible = "fixed-clock";
55*f126890aSEmmanuel Vadot			#clock-cells = <0>;
56*f126890aSEmmanuel Vadot			clock-frequency = <0>;
57*f126890aSEmmanuel Vadot		};
58*f126890aSEmmanuel Vadot
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
66*f126890aSEmmanuel Vadot	sram: sram@300000 {
67*f126890aSEmmanuel Vadot		compatible = "mmio-sram";
68*f126890aSEmmanuel Vadot		reg = <0x00300000 0x28000>;
69*f126890aSEmmanuel Vadot		#address-cells = <1>;
70*f126890aSEmmanuel Vadot		#size-cells = <1>;
71*f126890aSEmmanuel Vadot		ranges = <0 0x00300000 0x28000>;
72*f126890aSEmmanuel Vadot	};
73*f126890aSEmmanuel Vadot
74*f126890aSEmmanuel Vadot	ahb {
75*f126890aSEmmanuel Vadot		compatible = "simple-bus";
76*f126890aSEmmanuel Vadot		#address-cells = <1>;
77*f126890aSEmmanuel Vadot		#size-cells = <1>;
78*f126890aSEmmanuel Vadot		ranges;
79*f126890aSEmmanuel Vadot
80*f126890aSEmmanuel Vadot		usb0: ohci@500000 {
81*f126890aSEmmanuel Vadot			compatible = "atmel,at91rm9200-ohci", "usb-ohci";
82*f126890aSEmmanuel Vadot			reg = <0x00500000 0x100000>;
83*f126890aSEmmanuel Vadot			interrupts = <20 IRQ_TYPE_LEVEL_HIGH 2>;
84*f126890aSEmmanuel Vadot			clocks = <&pmc PMC_TYPE_PERIPHERAL 20>, <&pmc PMC_TYPE_SYSTEM 16>, <&pmc PMC_TYPE_SYSTEM 6>;
85*f126890aSEmmanuel Vadot			clock-names = "ohci_clk", "hclk", "uhpck";
86*f126890aSEmmanuel Vadot			status = "disabled";
87*f126890aSEmmanuel Vadot		};
88*f126890aSEmmanuel Vadot
89*f126890aSEmmanuel Vadot		fb0: fb@600000 {
90*f126890aSEmmanuel Vadot			compatible = "atmel,at91sam9261-lcdc";
91*f126890aSEmmanuel Vadot			reg = <0x00600000 0x1000>;
92*f126890aSEmmanuel Vadot			interrupts = <21 IRQ_TYPE_LEVEL_HIGH 3>;
93*f126890aSEmmanuel Vadot			pinctrl-names = "default";
94*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_fb>;
95*f126890aSEmmanuel Vadot			clocks = <&pmc PMC_TYPE_PERIPHERAL 21>, <&pmc PMC_TYPE_SYSTEM 17>;
96*f126890aSEmmanuel Vadot			clock-names = "lcdc_clk", "hclk";
97*f126890aSEmmanuel Vadot			status = "disabled";
98*f126890aSEmmanuel Vadot		};
99*f126890aSEmmanuel Vadot
100*f126890aSEmmanuel Vadot		ebi: ebi@10000000 {
101*f126890aSEmmanuel Vadot			compatible = "atmel,at91sam9261-ebi";
102*f126890aSEmmanuel Vadot			#address-cells = <2>;
103*f126890aSEmmanuel Vadot			#size-cells = <1>;
104*f126890aSEmmanuel Vadot			atmel,smc = <&smc>;
105*f126890aSEmmanuel Vadot			atmel,matrix = <&matrix>;
106*f126890aSEmmanuel Vadot			reg = <0x10000000 0x80000000>;
107*f126890aSEmmanuel Vadot			ranges = <0x0 0x0 0x10000000 0x10000000
108*f126890aSEmmanuel Vadot				  0x1 0x0 0x20000000 0x10000000
109*f126890aSEmmanuel Vadot				  0x2 0x0 0x30000000 0x10000000
110*f126890aSEmmanuel Vadot				  0x3 0x0 0x40000000 0x10000000
111*f126890aSEmmanuel Vadot				  0x4 0x0 0x50000000 0x10000000
112*f126890aSEmmanuel Vadot				  0x5 0x0 0x60000000 0x10000000
113*f126890aSEmmanuel Vadot				  0x6 0x0 0x70000000 0x10000000
114*f126890aSEmmanuel Vadot				  0x7 0x0 0x80000000 0x10000000>;
115*f126890aSEmmanuel Vadot			clocks = <&pmc PMC_TYPE_CORE PMC_MCK>;
116*f126890aSEmmanuel Vadot			status = "disabled";
117*f126890aSEmmanuel Vadot
118*f126890aSEmmanuel Vadot			nand_controller: nand-controller {
119*f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9261-nand-controller";
120*f126890aSEmmanuel Vadot				#address-cells = <2>;
121*f126890aSEmmanuel Vadot				#size-cells = <1>;
122*f126890aSEmmanuel Vadot				ranges;
123*f126890aSEmmanuel Vadot				status = "disabled";
124*f126890aSEmmanuel Vadot			};
125*f126890aSEmmanuel Vadot		};
126*f126890aSEmmanuel Vadot
127*f126890aSEmmanuel Vadot		apb {
128*f126890aSEmmanuel Vadot			compatible = "simple-bus";
129*f126890aSEmmanuel Vadot			#address-cells = <1>;
130*f126890aSEmmanuel Vadot			#size-cells = <1>;
131*f126890aSEmmanuel Vadot			ranges;
132*f126890aSEmmanuel Vadot
133*f126890aSEmmanuel Vadot			tcb0: timer@fffa0000 {
134*f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-tcb", "simple-mfd", "syscon";
135*f126890aSEmmanuel Vadot				#address-cells = <1>;
136*f126890aSEmmanuel Vadot				#size-cells = <0>;
137*f126890aSEmmanuel Vadot				reg = <0xfffa0000 0x100>;
138*f126890aSEmmanuel Vadot				interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>,
139*f126890aSEmmanuel Vadot					     <18 IRQ_TYPE_LEVEL_HIGH 0>,
140*f126890aSEmmanuel Vadot					     <19 IRQ_TYPE_LEVEL_HIGH 0>;
141*f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 17>, <&pmc PMC_TYPE_PERIPHERAL 18>, <&pmc PMC_TYPE_PERIPHERAL 19>, <&slow_xtal>;
142*f126890aSEmmanuel Vadot				clock-names = "t0_clk", "t1_clk", "t2_clk", "slow_clk";
143*f126890aSEmmanuel Vadot			};
144*f126890aSEmmanuel Vadot
145*f126890aSEmmanuel Vadot			usb1: gadget@fffa4000 {
146*f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9261-udc";
147*f126890aSEmmanuel Vadot				reg = <0xfffa4000 0x4000>;
148*f126890aSEmmanuel Vadot				interrupts = <10 IRQ_TYPE_LEVEL_HIGH 2>;
149*f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 10>, <&pmc PMC_TYPE_SYSTEM 7>;
150*f126890aSEmmanuel Vadot				clock-names = "pclk", "hclk";
151*f126890aSEmmanuel Vadot				atmel,matrix = <&matrix>;
152*f126890aSEmmanuel Vadot				status = "disabled";
153*f126890aSEmmanuel Vadot			};
154*f126890aSEmmanuel Vadot
155*f126890aSEmmanuel Vadot			mmc0: mmc@fffa8000 {
156*f126890aSEmmanuel Vadot				compatible = "atmel,hsmci";
157*f126890aSEmmanuel Vadot				reg = <0xfffa8000 0x600>;
158*f126890aSEmmanuel Vadot				interrupts = <9 IRQ_TYPE_LEVEL_HIGH 0>;
159*f126890aSEmmanuel Vadot				pinctrl-names = "default";
160*f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_mmc0_clk>, <&pinctrl_mmc0_slot0_cmd_dat0>, <&pinctrl_mmc0_slot0_dat1_3>;
161*f126890aSEmmanuel Vadot				#address-cells = <1>;
162*f126890aSEmmanuel Vadot				#size-cells = <0>;
163*f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 9>;
164*f126890aSEmmanuel Vadot				clock-names = "mci_clk";
165*f126890aSEmmanuel Vadot				status = "disabled";
166*f126890aSEmmanuel Vadot			};
167*f126890aSEmmanuel Vadot
168*f126890aSEmmanuel Vadot			i2c0: i2c@fffac000 {
169*f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9261-i2c";
170*f126890aSEmmanuel Vadot				pinctrl-names = "default";
171*f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_i2c_twi>;
172*f126890aSEmmanuel Vadot				reg = <0xfffac000 0x100>;
173*f126890aSEmmanuel Vadot				interrupts = <11 IRQ_TYPE_LEVEL_HIGH 6>;
174*f126890aSEmmanuel Vadot				#address-cells = <1>;
175*f126890aSEmmanuel Vadot				#size-cells = <0>;
176*f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 11>;
177*f126890aSEmmanuel Vadot				status = "disabled";
178*f126890aSEmmanuel Vadot			};
179*f126890aSEmmanuel Vadot
180*f126890aSEmmanuel Vadot			usart0: serial@fffb0000 {
181*f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-usart";
182*f126890aSEmmanuel Vadot				reg = <0xfffb0000 0x200>;
183*f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
184*f126890aSEmmanuel Vadot				interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>;
185*f126890aSEmmanuel Vadot				atmel,use-dma-rx;
186*f126890aSEmmanuel Vadot				atmel,use-dma-tx;
187*f126890aSEmmanuel Vadot				pinctrl-names = "default";
188*f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_usart0>;
189*f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 6>;
190*f126890aSEmmanuel Vadot				clock-names = "usart";
191*f126890aSEmmanuel Vadot				status = "disabled";
192*f126890aSEmmanuel Vadot			};
193*f126890aSEmmanuel Vadot
194*f126890aSEmmanuel Vadot			usart1: serial@fffb4000 {
195*f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-usart";
196*f126890aSEmmanuel Vadot				reg = <0xfffb4000 0x200>;
197*f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
198*f126890aSEmmanuel Vadot				interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
199*f126890aSEmmanuel Vadot				atmel,use-dma-rx;
200*f126890aSEmmanuel Vadot				atmel,use-dma-tx;
201*f126890aSEmmanuel Vadot				pinctrl-names = "default";
202*f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_usart1>;
203*f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 7>;
204*f126890aSEmmanuel Vadot				clock-names = "usart";
205*f126890aSEmmanuel Vadot				status = "disabled";
206*f126890aSEmmanuel Vadot			};
207*f126890aSEmmanuel Vadot
208*f126890aSEmmanuel Vadot			usart2: serial@fffb8000{
209*f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-usart";
210*f126890aSEmmanuel Vadot				reg = <0xfffb8000 0x200>;
211*f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
212*f126890aSEmmanuel Vadot				interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
213*f126890aSEmmanuel Vadot				atmel,use-dma-rx;
214*f126890aSEmmanuel Vadot				atmel,use-dma-tx;
215*f126890aSEmmanuel Vadot				pinctrl-names = "default";
216*f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_usart2>;
217*f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 8>;
218*f126890aSEmmanuel Vadot				clock-names = "usart";
219*f126890aSEmmanuel Vadot				status = "disabled";
220*f126890aSEmmanuel Vadot			};
221*f126890aSEmmanuel Vadot
222*f126890aSEmmanuel Vadot			ssc0: ssc@fffbc000 {
223*f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-ssc";
224*f126890aSEmmanuel Vadot				reg = <0xfffbc000 0x4000>;
225*f126890aSEmmanuel Vadot				interrupts = <14 IRQ_TYPE_LEVEL_HIGH 5>;
226*f126890aSEmmanuel Vadot				pinctrl-names = "default";
227*f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
228*f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 14>;
229*f126890aSEmmanuel Vadot				clock-names = "pclk";
230*f126890aSEmmanuel Vadot				status = "disabled";
231*f126890aSEmmanuel Vadot			};
232*f126890aSEmmanuel Vadot
233*f126890aSEmmanuel Vadot			ssc1: ssc@fffc0000 {
234*f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-ssc";
235*f126890aSEmmanuel Vadot				reg = <0xfffc0000 0x4000>;
236*f126890aSEmmanuel Vadot				interrupts = <15 IRQ_TYPE_LEVEL_HIGH 5>;
237*f126890aSEmmanuel Vadot				pinctrl-names = "default";
238*f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>;
239*f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 15>;
240*f126890aSEmmanuel Vadot				clock-names = "pclk";
241*f126890aSEmmanuel Vadot				status = "disabled";
242*f126890aSEmmanuel Vadot			};
243*f126890aSEmmanuel Vadot
244*f126890aSEmmanuel Vadot			ssc2: ssc@fffc4000 {
245*f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-ssc";
246*f126890aSEmmanuel Vadot				reg = <0xfffc4000 0x4000>;
247*f126890aSEmmanuel Vadot				interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
248*f126890aSEmmanuel Vadot				pinctrl-names = "default";
249*f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_ssc2_tx &pinctrl_ssc2_rx>;
250*f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 16>;
251*f126890aSEmmanuel Vadot				clock-names = "pclk";
252*f126890aSEmmanuel Vadot				status = "disabled";
253*f126890aSEmmanuel Vadot			};
254*f126890aSEmmanuel Vadot
255*f126890aSEmmanuel Vadot			spi0: spi@fffc8000 {
256*f126890aSEmmanuel Vadot				#address-cells = <1>;
257*f126890aSEmmanuel Vadot				#size-cells = <0>;
258*f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-spi";
259*f126890aSEmmanuel Vadot				reg = <0xfffc8000 0x200>;
260*f126890aSEmmanuel Vadot				cs-gpios = <0>, <0>, <0>, <0>;
261*f126890aSEmmanuel Vadot				interrupts = <12 IRQ_TYPE_LEVEL_HIGH 3>;
262*f126890aSEmmanuel Vadot				pinctrl-names = "default";
263*f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_spi0>;
264*f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 12>;
265*f126890aSEmmanuel Vadot				clock-names = "spi_clk";
266*f126890aSEmmanuel Vadot				status = "disabled";
267*f126890aSEmmanuel Vadot			};
268*f126890aSEmmanuel Vadot
269*f126890aSEmmanuel Vadot			spi1: spi@fffcc000 {
270*f126890aSEmmanuel Vadot				#address-cells = <1>;
271*f126890aSEmmanuel Vadot				#size-cells = <0>;
272*f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-spi";
273*f126890aSEmmanuel Vadot				reg = <0xfffcc000 0x200>;
274*f126890aSEmmanuel Vadot				interrupts = <13 IRQ_TYPE_LEVEL_HIGH 3>;
275*f126890aSEmmanuel Vadot				pinctrl-names = "default";
276*f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_spi1>;
277*f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 13>;
278*f126890aSEmmanuel Vadot				clock-names = "spi_clk";
279*f126890aSEmmanuel Vadot				status = "disabled";
280*f126890aSEmmanuel Vadot			};
281*f126890aSEmmanuel Vadot
282*f126890aSEmmanuel Vadot			ramc: ramc@ffffea00 {
283*f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-sdramc";
284*f126890aSEmmanuel Vadot				reg = <0xffffea00 0x200>;
285*f126890aSEmmanuel Vadot			};
286*f126890aSEmmanuel Vadot
287*f126890aSEmmanuel Vadot			smc: smc@ffffec00 {
288*f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-smc", "syscon";
289*f126890aSEmmanuel Vadot				reg = <0xffffec00 0x200>;
290*f126890aSEmmanuel Vadot			};
291*f126890aSEmmanuel Vadot
292*f126890aSEmmanuel Vadot			matrix: matrix@ffffee00 {
293*f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9261-matrix", "syscon";
294*f126890aSEmmanuel Vadot				reg = <0xffffee00 0x200>;
295*f126890aSEmmanuel Vadot			};
296*f126890aSEmmanuel Vadot
297*f126890aSEmmanuel Vadot			aic: interrupt-controller@fffff000 {
298*f126890aSEmmanuel Vadot				#interrupt-cells = <3>;
299*f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-aic";
300*f126890aSEmmanuel Vadot				interrupt-controller;
301*f126890aSEmmanuel Vadot				reg = <0xfffff000 0x200>;
302*f126890aSEmmanuel Vadot				atmel,external-irqs = <29 30 31>;
303*f126890aSEmmanuel Vadot			};
304*f126890aSEmmanuel Vadot
305*f126890aSEmmanuel Vadot			dbgu: serial@fffff200 {
306*f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
307*f126890aSEmmanuel Vadot				reg = <0xfffff200 0x200>;
308*f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
309*f126890aSEmmanuel Vadot				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
310*f126890aSEmmanuel Vadot				pinctrl-names = "default";
311*f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_dbgu>;
312*f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_CORE PMC_MCK>;
313*f126890aSEmmanuel Vadot				clock-names = "usart";
314*f126890aSEmmanuel Vadot				status = "disabled";
315*f126890aSEmmanuel Vadot			};
316*f126890aSEmmanuel Vadot
317*f126890aSEmmanuel Vadot			pinctrl@fffff400 {
318*f126890aSEmmanuel Vadot				#address-cells = <1>;
319*f126890aSEmmanuel Vadot				#size-cells = <1>;
320*f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-pinctrl", "simple-bus";
321*f126890aSEmmanuel Vadot				ranges = <0xfffff400 0xfffff400 0x600>;
322*f126890aSEmmanuel Vadot
323*f126890aSEmmanuel Vadot				atmel,mux-mask =
324*f126890aSEmmanuel Vadot				      /*    A         B     */
325*f126890aSEmmanuel Vadot				      <0xffffffff 0xfffffff7>,  /* pioA */
326*f126890aSEmmanuel Vadot				      <0xffffffff 0xfffffff4>,  /* pioB */
327*f126890aSEmmanuel Vadot				      <0xffffffff 0xffffff07>;  /* pioC */
328*f126890aSEmmanuel Vadot
329*f126890aSEmmanuel Vadot				/* shared pinctrl settings */
330*f126890aSEmmanuel Vadot				dbgu {
331*f126890aSEmmanuel Vadot					pinctrl_dbgu: dbgu-0 {
332*f126890aSEmmanuel Vadot						atmel,pins =
333*f126890aSEmmanuel Vadot							<AT91_PIOA 9  AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
334*f126890aSEmmanuel Vadot							<AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE>;
335*f126890aSEmmanuel Vadot					};
336*f126890aSEmmanuel Vadot				};
337*f126890aSEmmanuel Vadot
338*f126890aSEmmanuel Vadot				usart0 {
339*f126890aSEmmanuel Vadot					pinctrl_usart0: usart0-0 {
340*f126890aSEmmanuel Vadot						atmel,pins =
341*f126890aSEmmanuel Vadot							<AT91_PIOC 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
342*f126890aSEmmanuel Vadot							<AT91_PIOC 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
343*f126890aSEmmanuel Vadot					};
344*f126890aSEmmanuel Vadot
345*f126890aSEmmanuel Vadot					pinctrl_usart0_rts: usart0_rts-0 {
346*f126890aSEmmanuel Vadot						atmel,pins =
347*f126890aSEmmanuel Vadot							<AT91_PIOC 10 AT91_PERIPH_A AT91_PINCTRL_NONE>;
348*f126890aSEmmanuel Vadot					};
349*f126890aSEmmanuel Vadot
350*f126890aSEmmanuel Vadot					pinctrl_usart0_cts: usart0_cts-0 {
351*f126890aSEmmanuel Vadot						atmel,pins =
352*f126890aSEmmanuel Vadot							<AT91_PIOC 11 AT91_PERIPH_A AT91_PINCTRL_NONE>;
353*f126890aSEmmanuel Vadot					};
354*f126890aSEmmanuel Vadot				};
355*f126890aSEmmanuel Vadot
356*f126890aSEmmanuel Vadot				usart1 {
357*f126890aSEmmanuel Vadot					pinctrl_usart1: usart1-0 {
358*f126890aSEmmanuel Vadot						atmel,pins =
359*f126890aSEmmanuel Vadot							<AT91_PIOC 12 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
360*f126890aSEmmanuel Vadot							<AT91_PIOC 13 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
361*f126890aSEmmanuel Vadot					};
362*f126890aSEmmanuel Vadot
363*f126890aSEmmanuel Vadot					pinctrl_usart1_rts: usart1_rts-0 {
364*f126890aSEmmanuel Vadot						atmel,pins =
365*f126890aSEmmanuel Vadot							<AT91_PIOA 12 AT91_PERIPH_B AT91_PINCTRL_NONE>;
366*f126890aSEmmanuel Vadot					};
367*f126890aSEmmanuel Vadot
368*f126890aSEmmanuel Vadot					pinctrl_usart1_cts: usart1_cts-0 {
369*f126890aSEmmanuel Vadot						atmel,pins =
370*f126890aSEmmanuel Vadot							<AT91_PIOA 13 AT91_PERIPH_B AT91_PINCTRL_NONE>;
371*f126890aSEmmanuel Vadot					};
372*f126890aSEmmanuel Vadot				};
373*f126890aSEmmanuel Vadot
374*f126890aSEmmanuel Vadot				usart2 {
375*f126890aSEmmanuel Vadot					pinctrl_usart2: usart2-0 {
376*f126890aSEmmanuel Vadot						atmel,pins =
377*f126890aSEmmanuel Vadot							<AT91_PIOC 14 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
378*f126890aSEmmanuel Vadot							<AT91_PIOC 15 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
379*f126890aSEmmanuel Vadot					};
380*f126890aSEmmanuel Vadot
381*f126890aSEmmanuel Vadot					pinctrl_usart2_rts: usart2_rts-0 {
382*f126890aSEmmanuel Vadot						atmel,pins =
383*f126890aSEmmanuel Vadot							<AT91_PIOA 15 AT91_PERIPH_B AT91_PINCTRL_NONE>;
384*f126890aSEmmanuel Vadot					};
385*f126890aSEmmanuel Vadot
386*f126890aSEmmanuel Vadot					pinctrl_usart2_cts: usart2_cts-0 {
387*f126890aSEmmanuel Vadot						atmel,pins =
388*f126890aSEmmanuel Vadot							<AT91_PIOA 16 AT91_PERIPH_B AT91_PINCTRL_NONE>;
389*f126890aSEmmanuel Vadot					};
390*f126890aSEmmanuel Vadot				};
391*f126890aSEmmanuel Vadot
392*f126890aSEmmanuel Vadot				nand {
393*f126890aSEmmanuel Vadot					pinctrl_nand_rb: nand-rb-0 {
394*f126890aSEmmanuel Vadot						atmel,pins =
395*f126890aSEmmanuel Vadot							<AT91_PIOC 15 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
396*f126890aSEmmanuel Vadot					};
397*f126890aSEmmanuel Vadot
398*f126890aSEmmanuel Vadot					pinctrl_nand_cs: nand-cs-0 {
399*f126890aSEmmanuel Vadot						atmel,pins =
400*f126890aSEmmanuel Vadot							<AT91_PIOC 14 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
401*f126890aSEmmanuel Vadot					};
402*f126890aSEmmanuel Vadot				};
403*f126890aSEmmanuel Vadot
404*f126890aSEmmanuel Vadot				mmc0 {
405*f126890aSEmmanuel Vadot					pinctrl_mmc0_clk: mmc0_clk-0 {
406*f126890aSEmmanuel Vadot						atmel,pins =
407*f126890aSEmmanuel Vadot							<AT91_PIOA 2 AT91_PERIPH_B AT91_PINCTRL_NONE>;
408*f126890aSEmmanuel Vadot					};
409*f126890aSEmmanuel Vadot
410*f126890aSEmmanuel Vadot					pinctrl_mmc0_slot0_cmd_dat0: mmc0_slot0_cmd_dat0-0 {
411*f126890aSEmmanuel Vadot						atmel,pins =
412*f126890aSEmmanuel Vadot							<AT91_PIOA 1 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>,
413*f126890aSEmmanuel Vadot							<AT91_PIOA 0 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>;
414*f126890aSEmmanuel Vadot					};
415*f126890aSEmmanuel Vadot
416*f126890aSEmmanuel Vadot					pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
417*f126890aSEmmanuel Vadot						atmel,pins =
418*f126890aSEmmanuel Vadot							<AT91_PIOA 4 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>,
419*f126890aSEmmanuel Vadot							<AT91_PIOA 5 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>,
420*f126890aSEmmanuel Vadot							<AT91_PIOA 6 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>;
421*f126890aSEmmanuel Vadot					};
422*f126890aSEmmanuel Vadot					};
423*f126890aSEmmanuel Vadot
424*f126890aSEmmanuel Vadot				ssc0 {
425*f126890aSEmmanuel Vadot					pinctrl_ssc0_tx: ssc0_tx-0 {
426*f126890aSEmmanuel Vadot						atmel,pins =
427*f126890aSEmmanuel Vadot							<AT91_PIOB 21 AT91_PERIPH_A AT91_PINCTRL_NONE>,
428*f126890aSEmmanuel Vadot							<AT91_PIOB 22 AT91_PERIPH_A AT91_PINCTRL_NONE>,
429*f126890aSEmmanuel Vadot							<AT91_PIOB 23 AT91_PERIPH_A AT91_PINCTRL_NONE>;
430*f126890aSEmmanuel Vadot					};
431*f126890aSEmmanuel Vadot
432*f126890aSEmmanuel Vadot					pinctrl_ssc0_rx: ssc0_rx-0 {
433*f126890aSEmmanuel Vadot						atmel,pins =
434*f126890aSEmmanuel Vadot							<AT91_PIOB 24 AT91_PERIPH_A AT91_PINCTRL_NONE>,
435*f126890aSEmmanuel Vadot							<AT91_PIOB 25 AT91_PERIPH_A AT91_PINCTRL_NONE>,
436*f126890aSEmmanuel Vadot							<AT91_PIOB 26 AT91_PERIPH_A AT91_PINCTRL_NONE>;
437*f126890aSEmmanuel Vadot					};
438*f126890aSEmmanuel Vadot				};
439*f126890aSEmmanuel Vadot
440*f126890aSEmmanuel Vadot				ssc1 {
441*f126890aSEmmanuel Vadot					pinctrl_ssc1_tx: ssc1_tx-0 {
442*f126890aSEmmanuel Vadot						atmel,pins =
443*f126890aSEmmanuel Vadot							<AT91_PIOA 17 AT91_PERIPH_B AT91_PINCTRL_NONE>,
444*f126890aSEmmanuel Vadot							<AT91_PIOA 18 AT91_PERIPH_B AT91_PINCTRL_NONE>,
445*f126890aSEmmanuel Vadot							<AT91_PIOA 19 AT91_PERIPH_B AT91_PINCTRL_NONE>;
446*f126890aSEmmanuel Vadot					};
447*f126890aSEmmanuel Vadot
448*f126890aSEmmanuel Vadot					pinctrl_ssc1_rx: ssc1_rx-0 {
449*f126890aSEmmanuel Vadot						atmel,pins =
450*f126890aSEmmanuel Vadot							<AT91_PIOA 20 AT91_PERIPH_B AT91_PINCTRL_NONE>,
451*f126890aSEmmanuel Vadot							<AT91_PIOA 21 AT91_PERIPH_B AT91_PINCTRL_NONE>,
452*f126890aSEmmanuel Vadot							<AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE>;
453*f126890aSEmmanuel Vadot					};
454*f126890aSEmmanuel Vadot				};
455*f126890aSEmmanuel Vadot
456*f126890aSEmmanuel Vadot				ssc2 {
457*f126890aSEmmanuel Vadot					pinctrl_ssc2_tx: ssc2_tx-0 {
458*f126890aSEmmanuel Vadot						atmel,pins =
459*f126890aSEmmanuel Vadot							<AT91_PIOC 25 AT91_PERIPH_B AT91_PINCTRL_NONE>,
460*f126890aSEmmanuel Vadot							<AT91_PIOC 26 AT91_PERIPH_B AT91_PINCTRL_NONE>,
461*f126890aSEmmanuel Vadot							<AT91_PIOC 27 AT91_PERIPH_B AT91_PINCTRL_NONE>;
462*f126890aSEmmanuel Vadot					};
463*f126890aSEmmanuel Vadot
464*f126890aSEmmanuel Vadot					pinctrl_ssc2_rx: ssc2_rx-0 {
465*f126890aSEmmanuel Vadot						atmel,pins =
466*f126890aSEmmanuel Vadot							<AT91_PIOC 28 AT91_PERIPH_B AT91_PINCTRL_NONE>,
467*f126890aSEmmanuel Vadot							<AT91_PIOC 29 AT91_PERIPH_B AT91_PINCTRL_NONE>,
468*f126890aSEmmanuel Vadot							<AT91_PIOC 30 AT91_PERIPH_B AT91_PINCTRL_NONE>;
469*f126890aSEmmanuel Vadot					};
470*f126890aSEmmanuel Vadot				};
471*f126890aSEmmanuel Vadot
472*f126890aSEmmanuel Vadot				spi0 {
473*f126890aSEmmanuel Vadot					pinctrl_spi0: spi0-0 {
474*f126890aSEmmanuel Vadot						atmel,pins =
475*f126890aSEmmanuel Vadot							<AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE>,
476*f126890aSEmmanuel Vadot							<AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE>,
477*f126890aSEmmanuel Vadot							<AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE>;
478*f126890aSEmmanuel Vadot					};
479*f126890aSEmmanuel Vadot					};
480*f126890aSEmmanuel Vadot
481*f126890aSEmmanuel Vadot				spi1 {
482*f126890aSEmmanuel Vadot					pinctrl_spi1: spi1-0 {
483*f126890aSEmmanuel Vadot						atmel,pins =
484*f126890aSEmmanuel Vadot							<AT91_PIOB 30 AT91_PERIPH_A AT91_PINCTRL_NONE>,
485*f126890aSEmmanuel Vadot							<AT91_PIOB 31 AT91_PERIPH_A AT91_PINCTRL_NONE>,
486*f126890aSEmmanuel Vadot							<AT91_PIOB 29 AT91_PERIPH_A AT91_PINCTRL_NONE>;
487*f126890aSEmmanuel Vadot					};
488*f126890aSEmmanuel Vadot				};
489*f126890aSEmmanuel Vadot
490*f126890aSEmmanuel Vadot				tcb0 {
491*f126890aSEmmanuel Vadot					pinctrl_tcb0_tclk0: tcb0_tclk0-0 {
492*f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOC 16 AT91_PERIPH_B AT91_PINCTRL_NONE>;
493*f126890aSEmmanuel Vadot					};
494*f126890aSEmmanuel Vadot
495*f126890aSEmmanuel Vadot					pinctrl_tcb0_tclk1: tcb0_tclk1-0 {
496*f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOC 17 AT91_PERIPH_B AT91_PINCTRL_NONE>;
497*f126890aSEmmanuel Vadot					};
498*f126890aSEmmanuel Vadot
499*f126890aSEmmanuel Vadot					pinctrl_tcb0_tclk2: tcb0_tclk2-0 {
500*f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOC 18 AT91_PERIPH_B AT91_PINCTRL_NONE>;
501*f126890aSEmmanuel Vadot					};
502*f126890aSEmmanuel Vadot
503*f126890aSEmmanuel Vadot					pinctrl_tcb0_tioa0: tcb0_tioa0-0 {
504*f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOC 19 AT91_PERIPH_B AT91_PINCTRL_NONE>;
505*f126890aSEmmanuel Vadot					};
506*f126890aSEmmanuel Vadot
507*f126890aSEmmanuel Vadot					pinctrl_tcb0_tioa1: tcb0_tioa1-0 {
508*f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOC 21 AT91_PERIPH_B AT91_PINCTRL_NONE>;
509*f126890aSEmmanuel Vadot					};
510*f126890aSEmmanuel Vadot
511*f126890aSEmmanuel Vadot					pinctrl_tcb0_tioa2: tcb0_tioa2-0 {
512*f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOC 23 AT91_PERIPH_B AT91_PINCTRL_NONE>;
513*f126890aSEmmanuel Vadot					};
514*f126890aSEmmanuel Vadot
515*f126890aSEmmanuel Vadot					pinctrl_tcb0_tiob0: tcb0_tiob0-0 {
516*f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOC 20 AT91_PERIPH_B AT91_PINCTRL_NONE>;
517*f126890aSEmmanuel Vadot					};
518*f126890aSEmmanuel Vadot
519*f126890aSEmmanuel Vadot					pinctrl_tcb0_tiob1: tcb0_tiob1-0 {
520*f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOC 22 AT91_PERIPH_B AT91_PINCTRL_NONE>;
521*f126890aSEmmanuel Vadot					};
522*f126890aSEmmanuel Vadot
523*f126890aSEmmanuel Vadot					pinctrl_tcb0_tiob2: tcb0_tiob2-0 {
524*f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOC 24 AT91_PERIPH_B AT91_PINCTRL_NONE>;
525*f126890aSEmmanuel Vadot					};
526*f126890aSEmmanuel Vadot				};
527*f126890aSEmmanuel Vadot
528*f126890aSEmmanuel Vadot				i2c0 {
529*f126890aSEmmanuel Vadot					pinctrl_i2c_bitbang: i2c-0-bitbang {
530*f126890aSEmmanuel Vadot						atmel,pins =
531*f126890aSEmmanuel Vadot							<AT91_PIOA 7 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>,
532*f126890aSEmmanuel Vadot							<AT91_PIOA 8 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
533*f126890aSEmmanuel Vadot					};
534*f126890aSEmmanuel Vadot					pinctrl_i2c_twi: i2c-0-twi {
535*f126890aSEmmanuel Vadot						atmel,pins =
536*f126890aSEmmanuel Vadot							<AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_NONE>,
537*f126890aSEmmanuel Vadot							<AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_NONE>;
538*f126890aSEmmanuel Vadot					};
539*f126890aSEmmanuel Vadot				};
540*f126890aSEmmanuel Vadot
541*f126890aSEmmanuel Vadot				fb {
542*f126890aSEmmanuel Vadot					pinctrl_fb: fb-0 {
543*f126890aSEmmanuel Vadot						atmel,pins =
544*f126890aSEmmanuel Vadot							<AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE>,
545*f126890aSEmmanuel Vadot							<AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE>,
546*f126890aSEmmanuel Vadot							<AT91_PIOB 3 AT91_PERIPH_A AT91_PINCTRL_NONE>,
547*f126890aSEmmanuel Vadot							<AT91_PIOB 7 AT91_PERIPH_A AT91_PINCTRL_NONE>,
548*f126890aSEmmanuel Vadot							<AT91_PIOB 8 AT91_PERIPH_A AT91_PINCTRL_NONE>,
549*f126890aSEmmanuel Vadot							<AT91_PIOB 9 AT91_PERIPH_A AT91_PINCTRL_NONE>,
550*f126890aSEmmanuel Vadot							<AT91_PIOB 10 AT91_PERIPH_A AT91_PINCTRL_NONE>,
551*f126890aSEmmanuel Vadot							<AT91_PIOB 11 AT91_PERIPH_A AT91_PINCTRL_NONE>,
552*f126890aSEmmanuel Vadot							<AT91_PIOB 12 AT91_PERIPH_A AT91_PINCTRL_NONE>,
553*f126890aSEmmanuel Vadot							<AT91_PIOB 15 AT91_PERIPH_A AT91_PINCTRL_NONE>,
554*f126890aSEmmanuel Vadot							<AT91_PIOB 16 AT91_PERIPH_A AT91_PINCTRL_NONE>,
555*f126890aSEmmanuel Vadot							<AT91_PIOB 17 AT91_PERIPH_A AT91_PINCTRL_NONE>,
556*f126890aSEmmanuel Vadot							<AT91_PIOB 18 AT91_PERIPH_A AT91_PINCTRL_NONE>,
557*f126890aSEmmanuel Vadot							<AT91_PIOB 19 AT91_PERIPH_A AT91_PINCTRL_NONE>,
558*f126890aSEmmanuel Vadot							<AT91_PIOB 20 AT91_PERIPH_A AT91_PINCTRL_NONE>,
559*f126890aSEmmanuel Vadot							<AT91_PIOB 23 AT91_PERIPH_B AT91_PINCTRL_NONE>,
560*f126890aSEmmanuel Vadot							<AT91_PIOB 24 AT91_PERIPH_B AT91_PINCTRL_NONE>,
561*f126890aSEmmanuel Vadot							<AT91_PIOB 25 AT91_PERIPH_B AT91_PINCTRL_NONE>,
562*f126890aSEmmanuel Vadot							<AT91_PIOB 26 AT91_PERIPH_B AT91_PINCTRL_NONE>,
563*f126890aSEmmanuel Vadot							<AT91_PIOB 27 AT91_PERIPH_B AT91_PINCTRL_NONE>,
564*f126890aSEmmanuel Vadot							<AT91_PIOB 28 AT91_PERIPH_B AT91_PINCTRL_NONE>;
565*f126890aSEmmanuel Vadot					};
566*f126890aSEmmanuel Vadot				};
567*f126890aSEmmanuel Vadot
568*f126890aSEmmanuel Vadot				pioA: gpio@fffff400 {
569*f126890aSEmmanuel Vadot					compatible = "atmel,at91rm9200-gpio";
570*f126890aSEmmanuel Vadot					reg = <0xfffff400 0x200>;
571*f126890aSEmmanuel Vadot					interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
572*f126890aSEmmanuel Vadot					#gpio-cells = <2>;
573*f126890aSEmmanuel Vadot					gpio-controller;
574*f126890aSEmmanuel Vadot					interrupt-controller;
575*f126890aSEmmanuel Vadot					#interrupt-cells = <2>;
576*f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 2>;
577*f126890aSEmmanuel Vadot				};
578*f126890aSEmmanuel Vadot
579*f126890aSEmmanuel Vadot				pioB: gpio@fffff600 {
580*f126890aSEmmanuel Vadot					compatible = "atmel,at91rm9200-gpio";
581*f126890aSEmmanuel Vadot					reg = <0xfffff600 0x200>;
582*f126890aSEmmanuel Vadot					interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
583*f126890aSEmmanuel Vadot					#gpio-cells = <2>;
584*f126890aSEmmanuel Vadot					gpio-controller;
585*f126890aSEmmanuel Vadot					interrupt-controller;
586*f126890aSEmmanuel Vadot					#interrupt-cells = <2>;
587*f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 3>;
588*f126890aSEmmanuel Vadot				};
589*f126890aSEmmanuel Vadot
590*f126890aSEmmanuel Vadot				pioC: gpio@fffff800 {
591*f126890aSEmmanuel Vadot					compatible = "atmel,at91rm9200-gpio";
592*f126890aSEmmanuel Vadot					reg = <0xfffff800 0x200>;
593*f126890aSEmmanuel Vadot					interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
594*f126890aSEmmanuel Vadot					#gpio-cells = <2>;
595*f126890aSEmmanuel Vadot					gpio-controller;
596*f126890aSEmmanuel Vadot					interrupt-controller;
597*f126890aSEmmanuel Vadot					#interrupt-cells = <2>;
598*f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 4>;
599*f126890aSEmmanuel Vadot				};
600*f126890aSEmmanuel Vadot			};
601*f126890aSEmmanuel Vadot
602*f126890aSEmmanuel Vadot			pmc: clock-controller@fffffc00 {
603*f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9261-pmc", "syscon";
604*f126890aSEmmanuel Vadot				reg = <0xfffffc00 0x100>;
605*f126890aSEmmanuel Vadot				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
606*f126890aSEmmanuel Vadot				#clock-cells = <2>;
607*f126890aSEmmanuel Vadot				clocks = <&slow_xtal>, <&main_xtal>;
608*f126890aSEmmanuel Vadot				clock-names = "slow_xtal", "main_xtal";
609*f126890aSEmmanuel Vadot			};
610*f126890aSEmmanuel Vadot
611*f126890aSEmmanuel Vadot			reset-controller@fffffd00 {
612*f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-rstc";
613*f126890aSEmmanuel Vadot				reg = <0xfffffd00 0x10>;
614*f126890aSEmmanuel Vadot				clocks = <&slow_xtal>;
615*f126890aSEmmanuel Vadot			};
616*f126890aSEmmanuel Vadot
617*f126890aSEmmanuel Vadot			poweroff@fffffd10 {
618*f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-shdwc";
619*f126890aSEmmanuel Vadot				reg = <0xfffffd10 0x10>;
620*f126890aSEmmanuel Vadot				clocks = <&slow_xtal>;
621*f126890aSEmmanuel Vadot			};
622*f126890aSEmmanuel Vadot
623*f126890aSEmmanuel Vadot			pit: timer@fffffd30 {
624*f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-pit";
625*f126890aSEmmanuel Vadot				reg = <0xfffffd30 0xf>;
626*f126890aSEmmanuel Vadot				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
627*f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_CORE PMC_MCK>;
628*f126890aSEmmanuel Vadot			};
629*f126890aSEmmanuel Vadot
630*f126890aSEmmanuel Vadot			rtc@fffffd20 {
631*f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-rtt";
632*f126890aSEmmanuel Vadot				reg = <0xfffffd20 0x10>;
633*f126890aSEmmanuel Vadot				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
634*f126890aSEmmanuel Vadot				clocks = <&slow_xtal>;
635*f126890aSEmmanuel Vadot				status = "disabled";
636*f126890aSEmmanuel Vadot			};
637*f126890aSEmmanuel Vadot
638*f126890aSEmmanuel Vadot			watchdog@fffffd40 {
639*f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-wdt";
640*f126890aSEmmanuel Vadot				reg = <0xfffffd40 0x10>;
641*f126890aSEmmanuel Vadot				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
642*f126890aSEmmanuel Vadot				clocks = <&slow_xtal>;
643*f126890aSEmmanuel Vadot				status = "disabled";
644*f126890aSEmmanuel Vadot			};
645*f126890aSEmmanuel Vadot
646*f126890aSEmmanuel Vadot			gpbr: syscon@fffffd50 {
647*f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-gpbr", "syscon";
648*f126890aSEmmanuel Vadot				reg = <0xfffffd50 0x10>;
649*f126890aSEmmanuel Vadot				status = "disabled";
650*f126890aSEmmanuel Vadot			};
651*f126890aSEmmanuel Vadot		};
652*f126890aSEmmanuel Vadot	};
653*f126890aSEmmanuel Vadot
654*f126890aSEmmanuel Vadot	i2c-gpio-0 {
655*f126890aSEmmanuel Vadot		compatible = "i2c-gpio";
656*f126890aSEmmanuel Vadot		pinctrl-names = "default";
657*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_i2c_bitbang>;
658*f126890aSEmmanuel Vadot		gpios = <&pioA 7 GPIO_ACTIVE_HIGH>, /* sda */
659*f126890aSEmmanuel Vadot			<&pioA 8 GPIO_ACTIVE_HIGH>; /* scl */
660*f126890aSEmmanuel Vadot		i2c-gpio,sda-open-drain;
661*f126890aSEmmanuel Vadot		i2c-gpio,scl-open-drain;
662*f126890aSEmmanuel Vadot		i2c-gpio,delay-us = <2>;	/* ~100 kHz */
663*f126890aSEmmanuel Vadot		#address-cells = <1>;
664*f126890aSEmmanuel Vadot		#size-cells = <0>;
665*f126890aSEmmanuel Vadot		status = "disabled";
666*f126890aSEmmanuel Vadot	};
667*f126890aSEmmanuel Vadot};
668