xref: /freebsd-src/sys/contrib/device-tree/src/arm/microchip/sama5d2.dtsi (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * sama5d2.dtsi - Device Tree Include file for SAMA5D2 family SoC
4f126890aSEmmanuel Vadot *
5f126890aSEmmanuel Vadot *  Copyright (C) 2015 Atmel,
6f126890aSEmmanuel Vadot *                2015 Ludovic Desroches <ludovic.desroches@atmel.com>
7f126890aSEmmanuel Vadot */
8f126890aSEmmanuel Vadot
9f126890aSEmmanuel Vadot#include <dt-bindings/dma/at91.h>
10f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h>
11f126890aSEmmanuel Vadot#include <dt-bindings/clock/at91.h>
12f126890aSEmmanuel Vadot#include <dt-bindings/mfd/at91-usart.h>
13f126890aSEmmanuel Vadot#include <dt-bindings/iio/adc/at91-sama5d2_adc.h>
14f126890aSEmmanuel Vadot
15f126890aSEmmanuel Vadot/ {
16f126890aSEmmanuel Vadot	#address-cells = <1>;
17f126890aSEmmanuel Vadot	#size-cells = <1>;
18f126890aSEmmanuel Vadot	model = "Atmel SAMA5D2 family SoC";
19f126890aSEmmanuel Vadot	compatible = "atmel,sama5d2";
20f126890aSEmmanuel Vadot	interrupt-parent = <&aic>;
21f126890aSEmmanuel Vadot
22f126890aSEmmanuel Vadot	aliases {
23f126890aSEmmanuel Vadot		serial0 = &uart1;
24f126890aSEmmanuel Vadot		serial1 = &uart3;
25f126890aSEmmanuel Vadot	};
26f126890aSEmmanuel Vadot
27f126890aSEmmanuel Vadot	cpus {
28f126890aSEmmanuel Vadot		#address-cells = <1>;
29f126890aSEmmanuel Vadot		#size-cells = <0>;
30f126890aSEmmanuel Vadot
31f126890aSEmmanuel Vadot		cpu@0 {
32f126890aSEmmanuel Vadot			device_type = "cpu";
33f126890aSEmmanuel Vadot			compatible = "arm,cortex-a5";
34f126890aSEmmanuel Vadot			reg = <0>;
35f126890aSEmmanuel Vadot			next-level-cache = <&L2>;
36f126890aSEmmanuel Vadot		};
37f126890aSEmmanuel Vadot	};
38f126890aSEmmanuel Vadot
39f126890aSEmmanuel Vadot	pmu {
40f126890aSEmmanuel Vadot		compatible = "arm,cortex-a5-pmu";
41f126890aSEmmanuel Vadot		interrupts = <2 IRQ_TYPE_LEVEL_HIGH 0>;
42f126890aSEmmanuel Vadot	};
43f126890aSEmmanuel Vadot
44f126890aSEmmanuel Vadot	etb@740000 {
45f126890aSEmmanuel Vadot		compatible = "arm,coresight-etb10", "arm,primecell";
46f126890aSEmmanuel Vadot		reg = <0x740000 0x1000>;
47f126890aSEmmanuel Vadot
48f126890aSEmmanuel Vadot		clocks = <&pmc PMC_TYPE_CORE PMC_MCK>;
49f126890aSEmmanuel Vadot		clock-names = "apb_pclk";
50f126890aSEmmanuel Vadot
51f126890aSEmmanuel Vadot		in-ports {
52f126890aSEmmanuel Vadot			port {
53f126890aSEmmanuel Vadot				etb_in: endpoint {
54f126890aSEmmanuel Vadot					remote-endpoint = <&etm_out>;
55f126890aSEmmanuel Vadot				};
56f126890aSEmmanuel Vadot			};
57f126890aSEmmanuel Vadot		};
58f126890aSEmmanuel Vadot	};
59f126890aSEmmanuel Vadot
60f126890aSEmmanuel Vadot	etm@73c000 {
61f126890aSEmmanuel Vadot		compatible = "arm,coresight-etm3x", "arm,primecell";
62f126890aSEmmanuel Vadot		reg = <0x73c000 0x1000>;
63f126890aSEmmanuel Vadot
64f126890aSEmmanuel Vadot		clocks = <&pmc PMC_TYPE_CORE PMC_MCK>;
65f126890aSEmmanuel Vadot		clock-names = "apb_pclk";
66f126890aSEmmanuel Vadot
67f126890aSEmmanuel Vadot		out-ports {
68f126890aSEmmanuel Vadot			port {
69f126890aSEmmanuel Vadot				etm_out: endpoint {
70f126890aSEmmanuel Vadot					remote-endpoint = <&etb_in>;
71f126890aSEmmanuel Vadot				};
72f126890aSEmmanuel Vadot			};
73f126890aSEmmanuel Vadot		};
74f126890aSEmmanuel Vadot	};
75f126890aSEmmanuel Vadot
76f126890aSEmmanuel Vadot	memory@20000000 {
77f126890aSEmmanuel Vadot		device_type = "memory";
78f126890aSEmmanuel Vadot		reg = <0x20000000 0x20000000>;
79f126890aSEmmanuel Vadot	};
80f126890aSEmmanuel Vadot
81f126890aSEmmanuel Vadot	clocks {
82f126890aSEmmanuel Vadot		slow_xtal: slow_xtal {
83f126890aSEmmanuel Vadot			compatible = "fixed-clock";
84f126890aSEmmanuel Vadot			#clock-cells = <0>;
85f126890aSEmmanuel Vadot			clock-frequency = <0>;
86f126890aSEmmanuel Vadot		};
87f126890aSEmmanuel Vadot
88f126890aSEmmanuel Vadot		main_xtal: main_xtal {
89f126890aSEmmanuel Vadot			compatible = "fixed-clock";
90f126890aSEmmanuel Vadot			#clock-cells = <0>;
91f126890aSEmmanuel Vadot			clock-frequency = <0>;
92f126890aSEmmanuel Vadot		};
93f126890aSEmmanuel Vadot	};
94f126890aSEmmanuel Vadot
95f126890aSEmmanuel Vadot	ns_sram: sram@200000 {
96f126890aSEmmanuel Vadot		compatible = "mmio-sram";
97f126890aSEmmanuel Vadot		reg = <0x00200000 0x20000>;
98f126890aSEmmanuel Vadot		#address-cells = <1>;
99f126890aSEmmanuel Vadot		#size-cells = <1>;
100f126890aSEmmanuel Vadot		ranges = <0 0x00200000 0x20000>;
101f126890aSEmmanuel Vadot	};
102f126890aSEmmanuel Vadot
103f126890aSEmmanuel Vadot	resistive_touch: resistive-touch {
104f126890aSEmmanuel Vadot		compatible = "resistive-adc-touch";
105f126890aSEmmanuel Vadot		io-channels = <&adc AT91_SAMA5D2_ADC_X_CHANNEL>,
106f126890aSEmmanuel Vadot			      <&adc AT91_SAMA5D2_ADC_Y_CHANNEL>,
107f126890aSEmmanuel Vadot			      <&adc AT91_SAMA5D2_ADC_P_CHANNEL>;
108f126890aSEmmanuel Vadot		io-channel-names = "x", "y", "pressure";
109f126890aSEmmanuel Vadot		touchscreen-min-pressure = <50000>;
110f126890aSEmmanuel Vadot		status = "disabled";
111f126890aSEmmanuel Vadot	};
112f126890aSEmmanuel Vadot
113f126890aSEmmanuel Vadot	ahb {
114f126890aSEmmanuel Vadot		compatible = "simple-bus";
115f126890aSEmmanuel Vadot		#address-cells = <1>;
116f126890aSEmmanuel Vadot		#size-cells = <1>;
117f126890aSEmmanuel Vadot		ranges;
118f126890aSEmmanuel Vadot
119f126890aSEmmanuel Vadot		nfc_sram: sram@100000 {
120f126890aSEmmanuel Vadot			compatible = "mmio-sram";
121f126890aSEmmanuel Vadot			no-memory-wc;
122f126890aSEmmanuel Vadot			reg = <0x00100000 0x2400>;
123f126890aSEmmanuel Vadot			#address-cells = <1>;
124f126890aSEmmanuel Vadot			#size-cells = <1>;
125f126890aSEmmanuel Vadot			ranges = <0 0x00100000 0x2400>;
126f126890aSEmmanuel Vadot
127f126890aSEmmanuel Vadot		};
128f126890aSEmmanuel Vadot
129f126890aSEmmanuel Vadot		usb0: gadget@300000 {
130f126890aSEmmanuel Vadot			compatible = "atmel,sama5d3-udc";
131f126890aSEmmanuel Vadot			reg = <0x00300000 0x100000
132f126890aSEmmanuel Vadot			       0xfc02c000 0x400>;
133f126890aSEmmanuel Vadot			interrupts = <42 IRQ_TYPE_LEVEL_HIGH 2>;
134f126890aSEmmanuel Vadot			clocks = <&pmc PMC_TYPE_PERIPHERAL 42>, <&pmc PMC_TYPE_CORE PMC_UTMI>;
135f126890aSEmmanuel Vadot			clock-names = "pclk", "hclk";
136f126890aSEmmanuel Vadot			status = "disabled";
137f126890aSEmmanuel Vadot		};
138f126890aSEmmanuel Vadot
139f126890aSEmmanuel Vadot		usb1: ohci@400000 {
140f126890aSEmmanuel Vadot			compatible = "atmel,at91rm9200-ohci", "usb-ohci";
141f126890aSEmmanuel Vadot			reg = <0x00400000 0x100000>;
142f126890aSEmmanuel Vadot			interrupts = <41 IRQ_TYPE_LEVEL_HIGH 2>;
143f126890aSEmmanuel Vadot			clocks = <&pmc PMC_TYPE_PERIPHERAL 41>, <&pmc PMC_TYPE_PERIPHERAL 41>, <&pmc PMC_TYPE_SYSTEM 6>;
144f126890aSEmmanuel Vadot			clock-names = "ohci_clk", "hclk", "uhpck";
145f126890aSEmmanuel Vadot			status = "disabled";
146f126890aSEmmanuel Vadot		};
147f126890aSEmmanuel Vadot
148f126890aSEmmanuel Vadot		usb2: ehci@500000 {
149f126890aSEmmanuel Vadot			compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
150f126890aSEmmanuel Vadot			reg = <0x00500000 0x100000>;
151f126890aSEmmanuel Vadot			interrupts = <41 IRQ_TYPE_LEVEL_HIGH 2>;
152f126890aSEmmanuel Vadot			clocks = <&pmc PMC_TYPE_CORE PMC_UTMI>, <&pmc PMC_TYPE_PERIPHERAL 41>;
153f126890aSEmmanuel Vadot			clock-names = "usb_clk", "ehci_clk";
154f126890aSEmmanuel Vadot			status = "disabled";
155f126890aSEmmanuel Vadot		};
156f126890aSEmmanuel Vadot
157f126890aSEmmanuel Vadot		L2: cache-controller@a00000 {
158f126890aSEmmanuel Vadot			compatible = "arm,pl310-cache";
159f126890aSEmmanuel Vadot			reg = <0x00a00000 0x1000>;
160f126890aSEmmanuel Vadot			interrupts = <63 IRQ_TYPE_LEVEL_HIGH 4>;
161f126890aSEmmanuel Vadot			cache-unified;
162f126890aSEmmanuel Vadot			cache-level = <2>;
163f126890aSEmmanuel Vadot		};
164f126890aSEmmanuel Vadot
165f126890aSEmmanuel Vadot		ebi: ebi@10000000 {
166f126890aSEmmanuel Vadot			compatible = "atmel,sama5d3-ebi";
167f126890aSEmmanuel Vadot			#address-cells = <2>;
168f126890aSEmmanuel Vadot			#size-cells = <1>;
169f126890aSEmmanuel Vadot			atmel,smc = <&hsmc>;
170f126890aSEmmanuel Vadot			reg = <0x10000000 0x10000000
171f126890aSEmmanuel Vadot			       0x60000000 0x30000000>;
172f126890aSEmmanuel Vadot			ranges = <0x0 0x0 0x10000000 0x10000000
173f126890aSEmmanuel Vadot				  0x1 0x0 0x60000000 0x10000000
174f126890aSEmmanuel Vadot				  0x2 0x0 0x70000000 0x10000000
175f126890aSEmmanuel Vadot				  0x3 0x0 0x80000000 0x10000000>;
176f126890aSEmmanuel Vadot			clocks = <&pmc PMC_TYPE_CORE PMC_MCK2>;
177f126890aSEmmanuel Vadot			status = "disabled";
178f126890aSEmmanuel Vadot
179f126890aSEmmanuel Vadot			nand_controller: nand-controller {
180f126890aSEmmanuel Vadot				compatible = "atmel,sama5d3-nand-controller";
181f126890aSEmmanuel Vadot				atmel,nfc-sram = <&nfc_sram>;
182f126890aSEmmanuel Vadot				atmel,nfc-io = <&nfc_io>;
183f126890aSEmmanuel Vadot				ecc-engine = <&pmecc>;
184f126890aSEmmanuel Vadot				#address-cells = <2>;
185f126890aSEmmanuel Vadot				#size-cells = <1>;
186f126890aSEmmanuel Vadot				ranges;
187f126890aSEmmanuel Vadot				status = "disabled";
188f126890aSEmmanuel Vadot			};
189f126890aSEmmanuel Vadot		};
190f126890aSEmmanuel Vadot
191f126890aSEmmanuel Vadot		sdmmc0: sdio-host@a0000000 {
192f126890aSEmmanuel Vadot			compatible = "atmel,sama5d2-sdhci";
193f126890aSEmmanuel Vadot			reg = <0xa0000000 0x300>;
194f126890aSEmmanuel Vadot			interrupts = <31 IRQ_TYPE_LEVEL_HIGH 0>;
195f126890aSEmmanuel Vadot			clocks = <&pmc PMC_TYPE_PERIPHERAL 31>, <&pmc PMC_TYPE_GCK 31>, <&pmc PMC_TYPE_CORE PMC_MAIN>;
196f126890aSEmmanuel Vadot			clock-names = "hclock", "multclk", "baseclk";
197f126890aSEmmanuel Vadot			assigned-clocks = <&pmc PMC_TYPE_GCK 31>;
198f126890aSEmmanuel Vadot			assigned-clock-rates = <480000000>;
199f126890aSEmmanuel Vadot			status = "disabled";
200f126890aSEmmanuel Vadot		};
201f126890aSEmmanuel Vadot
202f126890aSEmmanuel Vadot		sdmmc1: sdio-host@b0000000 {
203f126890aSEmmanuel Vadot			compatible = "atmel,sama5d2-sdhci";
204f126890aSEmmanuel Vadot			reg = <0xb0000000 0x300>;
205f126890aSEmmanuel Vadot			interrupts = <32 IRQ_TYPE_LEVEL_HIGH 0>;
206f126890aSEmmanuel Vadot			clocks = <&pmc PMC_TYPE_PERIPHERAL 32>, <&pmc PMC_TYPE_GCK 32>, <&pmc PMC_TYPE_CORE PMC_MAIN>;
207f126890aSEmmanuel Vadot			clock-names = "hclock", "multclk", "baseclk";
208f126890aSEmmanuel Vadot			assigned-clocks = <&pmc PMC_TYPE_GCK 32>;
209f126890aSEmmanuel Vadot			assigned-clock-rates = <480000000>;
210f126890aSEmmanuel Vadot			status = "disabled";
211f126890aSEmmanuel Vadot		};
212f126890aSEmmanuel Vadot
213f126890aSEmmanuel Vadot		nfc_io: nfc-io@c0000000 {
214f126890aSEmmanuel Vadot			compatible = "atmel,sama5d3-nfc-io", "syscon";
215f126890aSEmmanuel Vadot			reg = <0xc0000000 0x8000000>;
216f126890aSEmmanuel Vadot		};
217f126890aSEmmanuel Vadot
218f126890aSEmmanuel Vadot		apb {
219f126890aSEmmanuel Vadot			compatible = "simple-bus";
220f126890aSEmmanuel Vadot			#address-cells = <1>;
221f126890aSEmmanuel Vadot			#size-cells = <1>;
222f126890aSEmmanuel Vadot			ranges;
223f126890aSEmmanuel Vadot
224f126890aSEmmanuel Vadot			hlcdc: hlcdc@f0000000 {
225f126890aSEmmanuel Vadot				compatible = "atmel,sama5d2-hlcdc";
226f126890aSEmmanuel Vadot				reg = <0xf0000000 0x2000>;
227f126890aSEmmanuel Vadot				interrupts = <45 IRQ_TYPE_LEVEL_HIGH 0>;
228f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 45>, <&pmc PMC_TYPE_SYSTEM 3>, <&clk32k>;
229f126890aSEmmanuel Vadot				clock-names = "periph_clk","sys_clk", "slow_clk";
230f126890aSEmmanuel Vadot				status = "disabled";
231f126890aSEmmanuel Vadot
232f126890aSEmmanuel Vadot				hlcdc-display-controller {
233f126890aSEmmanuel Vadot					compatible = "atmel,hlcdc-display-controller";
234f126890aSEmmanuel Vadot					#address-cells = <1>;
235f126890aSEmmanuel Vadot					#size-cells = <0>;
236f126890aSEmmanuel Vadot
237f126890aSEmmanuel Vadot					port@0 {
238f126890aSEmmanuel Vadot						#address-cells = <1>;
239f126890aSEmmanuel Vadot						#size-cells = <0>;
240f126890aSEmmanuel Vadot						reg = <0>;
241f126890aSEmmanuel Vadot					};
242f126890aSEmmanuel Vadot				};
243f126890aSEmmanuel Vadot
244f126890aSEmmanuel Vadot				hlcdc_pwm: hlcdc-pwm {
245f126890aSEmmanuel Vadot					compatible = "atmel,hlcdc-pwm";
246f126890aSEmmanuel Vadot					#pwm-cells = <3>;
247f126890aSEmmanuel Vadot				};
248f126890aSEmmanuel Vadot			};
249f126890aSEmmanuel Vadot
250f126890aSEmmanuel Vadot			isc: isc@f0008000 {
251f126890aSEmmanuel Vadot				compatible = "atmel,sama5d2-isc";
252f126890aSEmmanuel Vadot				reg = <0xf0008000 0x4000>;
253f126890aSEmmanuel Vadot				interrupts = <46 IRQ_TYPE_LEVEL_HIGH 5>;
254f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 46>, <&pmc PMC_TYPE_SYSTEM 18>, <&pmc PMC_TYPE_GCK 46>;
255f126890aSEmmanuel Vadot				clock-names = "hclock", "iscck", "gck";
256f126890aSEmmanuel Vadot				#clock-cells = <0>;
257f126890aSEmmanuel Vadot				clock-output-names = "isc-mck";
258f126890aSEmmanuel Vadot				status = "disabled";
259f126890aSEmmanuel Vadot			};
260f126890aSEmmanuel Vadot
261f126890aSEmmanuel Vadot			ramc0: ramc@f000c000 {
262f126890aSEmmanuel Vadot				compatible = "atmel,sama5d3-ddramc";
263f126890aSEmmanuel Vadot				reg = <0xf000c000 0x200>;
264f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_SYSTEM 2>, <&pmc PMC_TYPE_PERIPHERAL 13>;
265f126890aSEmmanuel Vadot				clock-names = "ddrck", "mpddr";
266f126890aSEmmanuel Vadot			};
267f126890aSEmmanuel Vadot
268f126890aSEmmanuel Vadot			dma0: dma-controller@f0010000 {
269f126890aSEmmanuel Vadot				compatible = "atmel,sama5d4-dma";
270f126890aSEmmanuel Vadot				reg = <0xf0010000 0x1000>;
271f126890aSEmmanuel Vadot				interrupts = <6 IRQ_TYPE_LEVEL_HIGH 0>;
272f126890aSEmmanuel Vadot				#dma-cells = <1>;
273f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 6>;
274f126890aSEmmanuel Vadot				clock-names = "dma_clk";
275f126890aSEmmanuel Vadot			};
276f126890aSEmmanuel Vadot
277f126890aSEmmanuel Vadot			/* Place dma1 here despite its address */
278f126890aSEmmanuel Vadot			dma1: dma-controller@f0004000 {
279f126890aSEmmanuel Vadot				compatible = "atmel,sama5d4-dma";
280f126890aSEmmanuel Vadot				reg = <0xf0004000 0x1000>;
281f126890aSEmmanuel Vadot				interrupts = <7 IRQ_TYPE_LEVEL_HIGH 0>;
282f126890aSEmmanuel Vadot				#dma-cells = <1>;
283f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 7>;
284f126890aSEmmanuel Vadot				clock-names = "dma_clk";
285f126890aSEmmanuel Vadot			};
286f126890aSEmmanuel Vadot
287f126890aSEmmanuel Vadot			pmc: clock-controller@f0014000 {
288f126890aSEmmanuel Vadot				compatible = "atmel,sama5d2-pmc", "syscon";
289f126890aSEmmanuel Vadot				reg = <0xf0014000 0x160>;
290f126890aSEmmanuel Vadot				interrupts = <74 IRQ_TYPE_LEVEL_HIGH 7>;
291f126890aSEmmanuel Vadot				#clock-cells = <2>;
292f126890aSEmmanuel Vadot				clocks = <&clk32k>, <&main_xtal>;
293f126890aSEmmanuel Vadot				clock-names = "slow_clk", "main_xtal";
294f126890aSEmmanuel Vadot			};
295f126890aSEmmanuel Vadot
296f126890aSEmmanuel Vadot			qspi0: spi@f0020000 {
297f126890aSEmmanuel Vadot				compatible = "atmel,sama5d2-qspi";
298f126890aSEmmanuel Vadot				reg = <0xf0020000 0x100>, <0xd0000000 0x08000000>;
299f126890aSEmmanuel Vadot				reg-names = "qspi_base", "qspi_mmap";
300f126890aSEmmanuel Vadot				interrupts = <52 IRQ_TYPE_LEVEL_HIGH 7>;
301f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 52>;
302f126890aSEmmanuel Vadot				clock-names = "pclk";
303f126890aSEmmanuel Vadot				#address-cells = <1>;
304f126890aSEmmanuel Vadot				#size-cells = <0>;
305f126890aSEmmanuel Vadot				status = "disabled";
306f126890aSEmmanuel Vadot			};
307f126890aSEmmanuel Vadot
308f126890aSEmmanuel Vadot			qspi1: spi@f0024000 {
309f126890aSEmmanuel Vadot				compatible = "atmel,sama5d2-qspi";
310f126890aSEmmanuel Vadot				reg = <0xf0024000 0x100>, <0xd8000000 0x08000000>;
311f126890aSEmmanuel Vadot				reg-names = "qspi_base", "qspi_mmap";
312f126890aSEmmanuel Vadot				interrupts = <53 IRQ_TYPE_LEVEL_HIGH 7>;
313f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 53>;
314f126890aSEmmanuel Vadot				clock-names = "pclk";
315f126890aSEmmanuel Vadot				#address-cells = <1>;
316f126890aSEmmanuel Vadot				#size-cells = <0>;
317f126890aSEmmanuel Vadot				status = "disabled";
318f126890aSEmmanuel Vadot			};
319f126890aSEmmanuel Vadot
320f126890aSEmmanuel Vadot			sha: crypto@f0028000 {
321f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9g46-sha";
322f126890aSEmmanuel Vadot				reg = <0xf0028000 0x100>;
323f126890aSEmmanuel Vadot				interrupts = <12 IRQ_TYPE_LEVEL_HIGH 0>;
324f126890aSEmmanuel Vadot				dmas = <&dma0
325f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
326f126890aSEmmanuel Vadot					 AT91_XDMAC_DT_PERID(30))>;
327f126890aSEmmanuel Vadot				dma-names = "tx";
328f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 12>;
329f126890aSEmmanuel Vadot				clock-names = "sha_clk";
330f126890aSEmmanuel Vadot			};
331f126890aSEmmanuel Vadot
332f126890aSEmmanuel Vadot			aes: crypto@f002c000 {
333f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9g46-aes";
334f126890aSEmmanuel Vadot				reg = <0xf002c000 0x100>;
335f126890aSEmmanuel Vadot				interrupts = <9 IRQ_TYPE_LEVEL_HIGH 0>;
336f126890aSEmmanuel Vadot				dmas = <&dma0
337f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
338f126890aSEmmanuel Vadot					 AT91_XDMAC_DT_PERID(26))>,
339f126890aSEmmanuel Vadot				       <&dma0
340f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
341f126890aSEmmanuel Vadot					 AT91_XDMAC_DT_PERID(27))>;
342f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
343f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 9>;
344f126890aSEmmanuel Vadot				clock-names = "aes_clk";
345f126890aSEmmanuel Vadot			};
346f126890aSEmmanuel Vadot
347f126890aSEmmanuel Vadot			spi0: spi@f8000000 {
348f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-spi";
349f126890aSEmmanuel Vadot				reg = <0xf8000000 0x100>;
350f126890aSEmmanuel Vadot				interrupts = <33 IRQ_TYPE_LEVEL_HIGH 7>;
351f126890aSEmmanuel Vadot				dmas = <&dma0
352f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
353f126890aSEmmanuel Vadot					 AT91_XDMAC_DT_PERID(6))>,
354f126890aSEmmanuel Vadot				       <&dma0
355f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
356f126890aSEmmanuel Vadot					 AT91_XDMAC_DT_PERID(7))>;
357f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
358f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 33>;
359f126890aSEmmanuel Vadot				clock-names = "spi_clk";
360f126890aSEmmanuel Vadot				atmel,fifo-size = <16>;
361f126890aSEmmanuel Vadot				#address-cells = <1>;
362f126890aSEmmanuel Vadot				#size-cells = <0>;
363f126890aSEmmanuel Vadot				status = "disabled";
364f126890aSEmmanuel Vadot			};
365f126890aSEmmanuel Vadot
366f126890aSEmmanuel Vadot			ssc0: ssc@f8004000 {
367f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9g45-ssc";
368f126890aSEmmanuel Vadot				reg = <0xf8004000 0x4000>;
369f126890aSEmmanuel Vadot				interrupts = <43 IRQ_TYPE_LEVEL_HIGH 4>;
370f126890aSEmmanuel Vadot				dmas = <&dma0
371f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
372f126890aSEmmanuel Vadot					AT91_XDMAC_DT_PERID(21))>,
373f126890aSEmmanuel Vadot				       <&dma0
374f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
375f126890aSEmmanuel Vadot					AT91_XDMAC_DT_PERID(22))>;
376f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
377f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 43>;
378f126890aSEmmanuel Vadot				clock-names = "pclk";
379f126890aSEmmanuel Vadot				status = "disabled";
380f126890aSEmmanuel Vadot			};
381f126890aSEmmanuel Vadot
382f126890aSEmmanuel Vadot			macb0: ethernet@f8008000 {
383f126890aSEmmanuel Vadot				compatible = "atmel,sama5d2-gem";
384f126890aSEmmanuel Vadot				reg = <0xf8008000 0x1000>;
385*aa1a8ff2SEmmanuel Vadot				interrupts = <5  IRQ_TYPE_LEVEL_HIGH 3>,	/* Queue 0 */
386*aa1a8ff2SEmmanuel Vadot					     <66 IRQ_TYPE_LEVEL_HIGH 3>,	/* Queue 1 */
387*aa1a8ff2SEmmanuel Vadot					     <67 IRQ_TYPE_LEVEL_HIGH 3>;        /* Queue 2 */
388f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 5>, <&pmc PMC_TYPE_PERIPHERAL 5>;
389f126890aSEmmanuel Vadot				clock-names = "hclk", "pclk";
390f126890aSEmmanuel Vadot				status = "disabled";
391f126890aSEmmanuel Vadot			};
392f126890aSEmmanuel Vadot
393f126890aSEmmanuel Vadot			tcb0: timer@f800c000 {
394f126890aSEmmanuel Vadot				compatible = "atmel,sama5d2-tcb", "simple-mfd", "syscon";
395f126890aSEmmanuel Vadot				#address-cells = <1>;
396f126890aSEmmanuel Vadot				#size-cells = <0>;
397f126890aSEmmanuel Vadot				reg = <0xf800c000 0x100>;
398f126890aSEmmanuel Vadot				interrupts = <35 IRQ_TYPE_LEVEL_HIGH 0>;
399f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 35>, <&pmc PMC_TYPE_GCK 35>, <&clk32k>;
400f126890aSEmmanuel Vadot				clock-names = "t0_clk", "gclk", "slow_clk";
401f126890aSEmmanuel Vadot			};
402f126890aSEmmanuel Vadot
403f126890aSEmmanuel Vadot			tcb1: timer@f8010000 {
404f126890aSEmmanuel Vadot				compatible = "atmel,sama5d2-tcb", "simple-mfd", "syscon";
405f126890aSEmmanuel Vadot				#address-cells = <1>;
406f126890aSEmmanuel Vadot				#size-cells = <0>;
407f126890aSEmmanuel Vadot				reg = <0xf8010000 0x100>;
408f126890aSEmmanuel Vadot				interrupts = <36 IRQ_TYPE_LEVEL_HIGH 0>;
409f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 36>, <&pmc PMC_TYPE_GCK 36>, <&clk32k>;
410f126890aSEmmanuel Vadot				clock-names = "t0_clk", "gclk", "slow_clk";
411f126890aSEmmanuel Vadot			};
412f126890aSEmmanuel Vadot
413f126890aSEmmanuel Vadot			hsmc: hsmc@f8014000 {
414f126890aSEmmanuel Vadot				compatible = "atmel,sama5d2-smc", "syscon", "simple-mfd";
415f126890aSEmmanuel Vadot				reg = <0xf8014000 0x1000>;
416f126890aSEmmanuel Vadot				interrupts = <17 IRQ_TYPE_LEVEL_HIGH 6>;
417f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 17>;
418f126890aSEmmanuel Vadot				#address-cells = <1>;
419f126890aSEmmanuel Vadot				#size-cells = <1>;
420f126890aSEmmanuel Vadot				ranges;
421f126890aSEmmanuel Vadot
422f126890aSEmmanuel Vadot				pmecc: ecc-engine@f8014070 {
423f126890aSEmmanuel Vadot					compatible = "atmel,sama5d2-pmecc";
424f126890aSEmmanuel Vadot					reg = <0xf8014070 0x490>,
425f126890aSEmmanuel Vadot					      <0xf8014500 0x200>;
426f126890aSEmmanuel Vadot				};
427f126890aSEmmanuel Vadot			};
428f126890aSEmmanuel Vadot
429f126890aSEmmanuel Vadot			pdmic: pdmic@f8018000 {
430f126890aSEmmanuel Vadot				compatible = "atmel,sama5d2-pdmic";
431f126890aSEmmanuel Vadot				reg = <0xf8018000 0x124>;
432f126890aSEmmanuel Vadot				interrupts = <48 IRQ_TYPE_LEVEL_HIGH 7>;
433f126890aSEmmanuel Vadot				dmas = <&dma0
434f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
435f126890aSEmmanuel Vadot					| AT91_XDMAC_DT_PERID(50))>;
436f126890aSEmmanuel Vadot				dma-names = "rx";
437f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 48>, <&pmc PMC_TYPE_GCK 48>;
438f126890aSEmmanuel Vadot				clock-names = "pclk", "gclk";
439f126890aSEmmanuel Vadot				status = "disabled";
440f126890aSEmmanuel Vadot			};
441f126890aSEmmanuel Vadot
442f126890aSEmmanuel Vadot			uart0: serial@f801c000 {
443f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-usart";
444f126890aSEmmanuel Vadot				reg = <0xf801c000 0x100>;
445f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
446f126890aSEmmanuel Vadot				interrupts = <24 IRQ_TYPE_LEVEL_HIGH 7>;
447f126890aSEmmanuel Vadot				dmas = <&dma0
448f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
449f126890aSEmmanuel Vadot					 AT91_XDMAC_DT_PERID(35))>,
450f126890aSEmmanuel Vadot				       <&dma0
451f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
452f126890aSEmmanuel Vadot					 AT91_XDMAC_DT_PERID(36))>;
453f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
454f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 24>;
455f126890aSEmmanuel Vadot				clock-names = "usart";
456f126890aSEmmanuel Vadot				status = "disabled";
457f126890aSEmmanuel Vadot			};
458f126890aSEmmanuel Vadot
459f126890aSEmmanuel Vadot			uart1: serial@f8020000 {
460f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-usart";
461f126890aSEmmanuel Vadot				reg = <0xf8020000 0x100>;
462f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
463f126890aSEmmanuel Vadot				interrupts = <25 IRQ_TYPE_LEVEL_HIGH 7>;
464f126890aSEmmanuel Vadot				dmas = <&dma0
465f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
466f126890aSEmmanuel Vadot					 AT91_XDMAC_DT_PERID(37))>,
467f126890aSEmmanuel Vadot				       <&dma0
468f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
469f126890aSEmmanuel Vadot					 AT91_XDMAC_DT_PERID(38))>;
470f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
471f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 25>;
472f126890aSEmmanuel Vadot				clock-names = "usart";
473f126890aSEmmanuel Vadot				status = "disabled";
474f126890aSEmmanuel Vadot			};
475f126890aSEmmanuel Vadot
476f126890aSEmmanuel Vadot			uart2: serial@f8024000 {
477f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-usart";
478f126890aSEmmanuel Vadot				reg = <0xf8024000 0x100>;
479f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
480f126890aSEmmanuel Vadot				interrupts = <26 IRQ_TYPE_LEVEL_HIGH 7>;
481f126890aSEmmanuel Vadot				dmas = <&dma0
482f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
483f126890aSEmmanuel Vadot					 AT91_XDMAC_DT_PERID(39))>,
484f126890aSEmmanuel Vadot				       <&dma0
485f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
486f126890aSEmmanuel Vadot					 AT91_XDMAC_DT_PERID(40))>;
487f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
488f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 26>;
489f126890aSEmmanuel Vadot				clock-names = "usart";
490f126890aSEmmanuel Vadot				status = "disabled";
491f126890aSEmmanuel Vadot			};
492f126890aSEmmanuel Vadot
493f126890aSEmmanuel Vadot			i2c0: i2c@f8028000 {
494f126890aSEmmanuel Vadot				compatible = "atmel,sama5d2-i2c";
495f126890aSEmmanuel Vadot				reg = <0xf8028000 0x100>;
496f126890aSEmmanuel Vadot				interrupts = <29 IRQ_TYPE_LEVEL_HIGH 7>;
497f126890aSEmmanuel Vadot				dmas = <&dma0
498f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
499f126890aSEmmanuel Vadot					 AT91_XDMAC_DT_PERID(0))>,
500f126890aSEmmanuel Vadot				       <&dma0
501f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
502f126890aSEmmanuel Vadot					 AT91_XDMAC_DT_PERID(1))>;
503f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
504f126890aSEmmanuel Vadot				#address-cells = <1>;
505f126890aSEmmanuel Vadot				#size-cells = <0>;
506f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 29>;
507f126890aSEmmanuel Vadot				atmel,fifo-size = <16>;
508f126890aSEmmanuel Vadot				status = "disabled";
509f126890aSEmmanuel Vadot			};
510f126890aSEmmanuel Vadot
511f126890aSEmmanuel Vadot			pwm0: pwm@f802c000 {
512f126890aSEmmanuel Vadot				compatible = "atmel,sama5d2-pwm";
513f126890aSEmmanuel Vadot				reg = <0xf802c000 0x4000>;
514f126890aSEmmanuel Vadot				interrupts = <38 IRQ_TYPE_LEVEL_HIGH 7>;
515f126890aSEmmanuel Vadot				#pwm-cells = <3>;
516f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 38>;
517f126890aSEmmanuel Vadot				status = "disabled";
518f126890aSEmmanuel Vadot			};
519f126890aSEmmanuel Vadot
520f126890aSEmmanuel Vadot			sfr: sfr@f8030000 {
521f126890aSEmmanuel Vadot				compatible = "atmel,sama5d2-sfr", "syscon";
522f126890aSEmmanuel Vadot				reg = <0xf8030000 0x98>;
523f126890aSEmmanuel Vadot			};
524f126890aSEmmanuel Vadot
525f126890aSEmmanuel Vadot			flx0: flexcom@f8034000 {
526f126890aSEmmanuel Vadot				compatible = "atmel,sama5d2-flexcom";
527f126890aSEmmanuel Vadot				reg = <0xf8034000 0x200>;
528f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 19>;
529f126890aSEmmanuel Vadot				#address-cells = <1>;
530f126890aSEmmanuel Vadot				#size-cells = <1>;
531f126890aSEmmanuel Vadot				ranges = <0x0 0xf8034000 0x800>;
532f126890aSEmmanuel Vadot				status = "disabled";
533f126890aSEmmanuel Vadot
534f126890aSEmmanuel Vadot				uart5: serial@200 {
535f126890aSEmmanuel Vadot					compatible = "atmel,at91sam9260-usart";
536f126890aSEmmanuel Vadot					reg = <0x200 0x200>;
537f126890aSEmmanuel Vadot					atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
538f126890aSEmmanuel Vadot					interrupts = <19 IRQ_TYPE_LEVEL_HIGH 7>;
539f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 19>;
540f126890aSEmmanuel Vadot					clock-names = "usart";
541f126890aSEmmanuel Vadot					dmas = <&dma0
542f126890aSEmmanuel Vadot						(AT91_XDMAC_DT_MEM_IF(0) |
543f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PER_IF(1) |
544f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PERID(11))>,
545f126890aSEmmanuel Vadot					       <&dma0
546f126890aSEmmanuel Vadot						(AT91_XDMAC_DT_MEM_IF(0) |
547f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PER_IF(1) |
548f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PERID(12))>;
549f126890aSEmmanuel Vadot					dma-names = "tx", "rx";
550f126890aSEmmanuel Vadot					atmel,fifo-size = <32>;
551f126890aSEmmanuel Vadot					status = "disabled";
552f126890aSEmmanuel Vadot				};
553f126890aSEmmanuel Vadot
554f126890aSEmmanuel Vadot				spi2: spi@400 {
555f126890aSEmmanuel Vadot					compatible = "atmel,at91rm9200-spi";
556f126890aSEmmanuel Vadot					reg = <0x400 0x200>;
557f126890aSEmmanuel Vadot					interrupts = <19 IRQ_TYPE_LEVEL_HIGH 7>;
558f126890aSEmmanuel Vadot					#address-cells = <1>;
559f126890aSEmmanuel Vadot					#size-cells = <0>;
560f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 19>;
561f126890aSEmmanuel Vadot					clock-names = "spi_clk";
562f126890aSEmmanuel Vadot					dmas = <&dma0
563f126890aSEmmanuel Vadot						(AT91_XDMAC_DT_MEM_IF(0) |
564f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PER_IF(1) |
565f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PERID(11))>,
566f126890aSEmmanuel Vadot					       <&dma0
567f126890aSEmmanuel Vadot						(AT91_XDMAC_DT_MEM_IF(0) |
568f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PER_IF(1) |
569f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PERID(12))>;
570f126890aSEmmanuel Vadot					dma-names = "tx", "rx";
571f126890aSEmmanuel Vadot					atmel,fifo-size = <16>;
572f126890aSEmmanuel Vadot					status = "disabled";
573f126890aSEmmanuel Vadot				};
574f126890aSEmmanuel Vadot
575f126890aSEmmanuel Vadot				i2c2: i2c@600 {
576f126890aSEmmanuel Vadot					compatible = "atmel,sama5d2-i2c";
577f126890aSEmmanuel Vadot					reg = <0x600 0x200>;
578f126890aSEmmanuel Vadot					interrupts = <19 IRQ_TYPE_LEVEL_HIGH 7>;
579f126890aSEmmanuel Vadot					#address-cells = <1>;
580f126890aSEmmanuel Vadot					#size-cells = <0>;
581f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 19>;
582f126890aSEmmanuel Vadot					dmas = <&dma0
583f126890aSEmmanuel Vadot						(AT91_XDMAC_DT_MEM_IF(0) |
584f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PER_IF(1) |
585f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PERID(11))>,
586f126890aSEmmanuel Vadot					       <&dma0
587f126890aSEmmanuel Vadot						(AT91_XDMAC_DT_MEM_IF(0) |
588f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PER_IF(1) |
589f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PERID(12))>;
590f126890aSEmmanuel Vadot					dma-names = "tx", "rx";
591f126890aSEmmanuel Vadot					atmel,fifo-size = <16>;
592f126890aSEmmanuel Vadot					status = "disabled";
593f126890aSEmmanuel Vadot				};
594f126890aSEmmanuel Vadot			};
595f126890aSEmmanuel Vadot
596f126890aSEmmanuel Vadot			flx1: flexcom@f8038000 {
597f126890aSEmmanuel Vadot				compatible = "atmel,sama5d2-flexcom";
598f126890aSEmmanuel Vadot				reg = <0xf8038000 0x200>;
599f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 20>;
600f126890aSEmmanuel Vadot				#address-cells = <1>;
601f126890aSEmmanuel Vadot				#size-cells = <1>;
602f126890aSEmmanuel Vadot				ranges = <0x0 0xf8038000 0x800>;
603f126890aSEmmanuel Vadot				status = "disabled";
604f126890aSEmmanuel Vadot
605f126890aSEmmanuel Vadot				uart6: serial@200 {
606f126890aSEmmanuel Vadot					compatible = "atmel,at91sam9260-usart";
607f126890aSEmmanuel Vadot					reg = <0x200 0x200>;
608f126890aSEmmanuel Vadot					atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
609f126890aSEmmanuel Vadot					interrupts = <20 IRQ_TYPE_LEVEL_HIGH 7>;
610f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 20>;
611f126890aSEmmanuel Vadot					clock-names = "usart";
612f126890aSEmmanuel Vadot					dmas = <&dma0
613f126890aSEmmanuel Vadot						(AT91_XDMAC_DT_MEM_IF(0) |
614f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PER_IF(1) |
615f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PERID(13))>,
616f126890aSEmmanuel Vadot					       <&dma0
617f126890aSEmmanuel Vadot						(AT91_XDMAC_DT_MEM_IF(0) |
618f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PER_IF(1) |
619f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PERID(14))>;
620f126890aSEmmanuel Vadot					dma-names = "tx", "rx";
621f126890aSEmmanuel Vadot					atmel,fifo-size = <32>;
622f126890aSEmmanuel Vadot					status = "disabled";
623f126890aSEmmanuel Vadot				};
624f126890aSEmmanuel Vadot
625f126890aSEmmanuel Vadot				spi3: spi@400 {
626f126890aSEmmanuel Vadot					compatible = "atmel,at91rm9200-spi";
627f126890aSEmmanuel Vadot					reg = <0x400 0x200>;
628f126890aSEmmanuel Vadot					interrupts = <20 IRQ_TYPE_LEVEL_HIGH 7>;
629f126890aSEmmanuel Vadot					#address-cells = <1>;
630f126890aSEmmanuel Vadot					#size-cells = <0>;
631f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 20>;
632f126890aSEmmanuel Vadot					clock-names = "spi_clk";
633f126890aSEmmanuel Vadot					dmas = <&dma0
634f126890aSEmmanuel Vadot						(AT91_XDMAC_DT_MEM_IF(0) |
635f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PER_IF(1) |
636f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PERID(13))>,
637f126890aSEmmanuel Vadot					       <&dma0
638f126890aSEmmanuel Vadot						(AT91_XDMAC_DT_MEM_IF(0) |
639f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PER_IF(1) |
640f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PERID(14))>;
641f126890aSEmmanuel Vadot					dma-names = "tx", "rx";
642f126890aSEmmanuel Vadot					atmel,fifo-size = <16>;
643f126890aSEmmanuel Vadot					status = "disabled";
644f126890aSEmmanuel Vadot				};
645f126890aSEmmanuel Vadot
646f126890aSEmmanuel Vadot				i2c3: i2c@600 {
647f126890aSEmmanuel Vadot					compatible = "atmel,sama5d2-i2c";
648f126890aSEmmanuel Vadot					reg = <0x600 0x200>;
649f126890aSEmmanuel Vadot					interrupts = <20 IRQ_TYPE_LEVEL_HIGH 7>;
650f126890aSEmmanuel Vadot					#address-cells = <1>;
651f126890aSEmmanuel Vadot					#size-cells = <0>;
652f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 20>;
653f126890aSEmmanuel Vadot					dmas = <&dma0
654f126890aSEmmanuel Vadot						(AT91_XDMAC_DT_MEM_IF(0) |
655f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PER_IF(1) |
656f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PERID(13))>,
657f126890aSEmmanuel Vadot					       <&dma0
658f126890aSEmmanuel Vadot						(AT91_XDMAC_DT_MEM_IF(0) |
659f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PER_IF(1) |
660f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PERID(14))>;
661f126890aSEmmanuel Vadot					dma-names = "tx", "rx";
662f126890aSEmmanuel Vadot					atmel,fifo-size = <16>;
663f126890aSEmmanuel Vadot					status = "disabled";
664f126890aSEmmanuel Vadot				};
665f126890aSEmmanuel Vadot			};
666f126890aSEmmanuel Vadot
667f126890aSEmmanuel Vadot			securam: sram@f8044000 {
668f126890aSEmmanuel Vadot				compatible = "atmel,sama5d2-securam", "mmio-sram";
669f126890aSEmmanuel Vadot				reg = <0xf8044000 0x1420>;
670f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 51>;
671f126890aSEmmanuel Vadot				#address-cells = <1>;
672f126890aSEmmanuel Vadot				#size-cells = <1>;
673f126890aSEmmanuel Vadot				no-memory-wc;
674f126890aSEmmanuel Vadot				ranges = <0 0xf8044000 0x1420>;
675f126890aSEmmanuel Vadot			};
676f126890aSEmmanuel Vadot
677f126890aSEmmanuel Vadot			reset_controller: reset-controller@f8048000 {
678f126890aSEmmanuel Vadot				compatible = "atmel,sama5d3-rstc";
679f126890aSEmmanuel Vadot				reg = <0xf8048000 0x10>;
680f126890aSEmmanuel Vadot				clocks = <&clk32k>;
681f126890aSEmmanuel Vadot			};
682f126890aSEmmanuel Vadot
683f126890aSEmmanuel Vadot			shutdown_controller: poweroff@f8048010 {
684f126890aSEmmanuel Vadot				compatible = "atmel,sama5d2-shdwc";
685f126890aSEmmanuel Vadot				reg = <0xf8048010 0x10>;
686f126890aSEmmanuel Vadot				clocks = <&clk32k>;
687f126890aSEmmanuel Vadot				#address-cells = <1>;
688f126890aSEmmanuel Vadot				#size-cells = <0>;
689f126890aSEmmanuel Vadot				atmel,wakeup-rtc-timer;
690f126890aSEmmanuel Vadot			};
691f126890aSEmmanuel Vadot
692f126890aSEmmanuel Vadot			pit: timer@f8048030 {
693f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-pit";
694f126890aSEmmanuel Vadot				reg = <0xf8048030 0x10>;
695f126890aSEmmanuel Vadot				interrupts = <3 IRQ_TYPE_LEVEL_HIGH 5>;
696f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_CORE PMC_MCK2>;
697f126890aSEmmanuel Vadot			};
698f126890aSEmmanuel Vadot
699f126890aSEmmanuel Vadot			watchdog: watchdog@f8048040 {
700f126890aSEmmanuel Vadot				compatible = "atmel,sama5d4-wdt";
701f126890aSEmmanuel Vadot				reg = <0xf8048040 0x10>;
702f126890aSEmmanuel Vadot				interrupts = <4 IRQ_TYPE_LEVEL_HIGH 7>;
703f126890aSEmmanuel Vadot				clocks = <&clk32k>;
704f126890aSEmmanuel Vadot				status = "disabled";
705f126890aSEmmanuel Vadot			};
706f126890aSEmmanuel Vadot
707f126890aSEmmanuel Vadot			clk32k: clock-controller@f8048050 {
708f126890aSEmmanuel Vadot				compatible = "atmel,sama5d4-sckc";
709f126890aSEmmanuel Vadot				reg = <0xf8048050 0x4>;
710f126890aSEmmanuel Vadot				clocks = <&slow_xtal>;
711f126890aSEmmanuel Vadot				#clock-cells = <0>;
712f126890aSEmmanuel Vadot			};
713f126890aSEmmanuel Vadot
714f126890aSEmmanuel Vadot			rtc: rtc@f80480b0 {
715f126890aSEmmanuel Vadot				compatible = "atmel,sama5d2-rtc";
716f126890aSEmmanuel Vadot				reg = <0xf80480b0 0x30>;
717f126890aSEmmanuel Vadot				interrupts = <74 IRQ_TYPE_LEVEL_HIGH 7>;
718f126890aSEmmanuel Vadot				clocks = <&clk32k>;
719f126890aSEmmanuel Vadot			};
720f126890aSEmmanuel Vadot
721f126890aSEmmanuel Vadot			i2s0: i2s@f8050000 {
722f126890aSEmmanuel Vadot				compatible = "atmel,sama5d2-i2s";
723f126890aSEmmanuel Vadot				reg = <0xf8050000 0x100>;
724f126890aSEmmanuel Vadot				interrupts = <54 IRQ_TYPE_LEVEL_HIGH 7>;
725f126890aSEmmanuel Vadot				dmas = <&dma0
726f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
727f126890aSEmmanuel Vadot					 AT91_XDMAC_DT_PERID(31))>,
728f126890aSEmmanuel Vadot				       <&dma0
729f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
730f126890aSEmmanuel Vadot					 AT91_XDMAC_DT_PERID(32))>;
731f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
732f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 54>, <&pmc PMC_TYPE_GCK 54>;
733f126890aSEmmanuel Vadot				clock-names = "pclk", "gclk";
734f126890aSEmmanuel Vadot				assigned-clocks = <&pmc PMC_TYPE_CORE PMC_I2S0_MUX>;
735f126890aSEmmanuel Vadot				assigned-clock-parents = <&pmc PMC_TYPE_GCK 54>;
736f126890aSEmmanuel Vadot				status = "disabled";
737f126890aSEmmanuel Vadot			};
738f126890aSEmmanuel Vadot
739f126890aSEmmanuel Vadot			can0: can@f8054000 {
740f126890aSEmmanuel Vadot				compatible = "bosch,m_can";
741f126890aSEmmanuel Vadot				reg = <0xf8054000 0x4000>, <0x210000 0x1c00>;
742f126890aSEmmanuel Vadot				reg-names = "m_can", "message_ram";
743f126890aSEmmanuel Vadot				interrupts = <56 IRQ_TYPE_LEVEL_HIGH 7>,
744f126890aSEmmanuel Vadot					     <64 IRQ_TYPE_LEVEL_HIGH 7>;
745f126890aSEmmanuel Vadot				interrupt-names = "int0", "int1";
746f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 56>, <&pmc PMC_TYPE_GCK 56>;
747f126890aSEmmanuel Vadot				clock-names = "hclk", "cclk";
748f126890aSEmmanuel Vadot				assigned-clocks = <&pmc PMC_TYPE_GCK 56>;
749f126890aSEmmanuel Vadot				assigned-clock-parents = <&pmc PMC_TYPE_CORE PMC_UTMI>;
750f126890aSEmmanuel Vadot				assigned-clock-rates = <40000000>;
751f126890aSEmmanuel Vadot				bosch,mram-cfg = <0x0 0 0 64 0 0 32 32>;
752f126890aSEmmanuel Vadot				status = "disabled";
753f126890aSEmmanuel Vadot			};
754f126890aSEmmanuel Vadot
755f126890aSEmmanuel Vadot			spi1: spi@fc000000 {
756f126890aSEmmanuel Vadot				compatible = "atmel,at91rm9200-spi";
757f126890aSEmmanuel Vadot				reg = <0xfc000000 0x100>;
758f126890aSEmmanuel Vadot				interrupts = <34 IRQ_TYPE_LEVEL_HIGH 7>;
759f126890aSEmmanuel Vadot				dmas = <&dma0
760f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
761f126890aSEmmanuel Vadot					 AT91_XDMAC_DT_PERID(8))>,
762f126890aSEmmanuel Vadot				       <&dma0
763f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
764f126890aSEmmanuel Vadot					 AT91_XDMAC_DT_PERID(9))>;
765f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
766f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 34>;
767f126890aSEmmanuel Vadot				clock-names = "spi_clk";
768f126890aSEmmanuel Vadot				atmel,fifo-size = <16>;
769f126890aSEmmanuel Vadot				#address-cells = <1>;
770f126890aSEmmanuel Vadot				#size-cells = <0>;
771f126890aSEmmanuel Vadot				status = "disabled";
772f126890aSEmmanuel Vadot			};
773f126890aSEmmanuel Vadot
774f126890aSEmmanuel Vadot			uart3: serial@fc008000 {
775f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-usart";
776f126890aSEmmanuel Vadot				reg = <0xfc008000 0x100>;
777f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
778f126890aSEmmanuel Vadot				interrupts = <27 IRQ_TYPE_LEVEL_HIGH 7>;
779f126890aSEmmanuel Vadot				dmas = <&dma1
780f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
781f126890aSEmmanuel Vadot					 AT91_XDMAC_DT_PERID(41))>,
782f126890aSEmmanuel Vadot				       <&dma1
783f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
784f126890aSEmmanuel Vadot					 AT91_XDMAC_DT_PERID(42))>;
785f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
786f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 27>;
787f126890aSEmmanuel Vadot				clock-names = "usart";
788f126890aSEmmanuel Vadot				status = "disabled";
789f126890aSEmmanuel Vadot			};
790f126890aSEmmanuel Vadot
791f126890aSEmmanuel Vadot			uart4: serial@fc00c000 {
792f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9260-usart";
793f126890aSEmmanuel Vadot				reg = <0xfc00c000 0x100>;
794f126890aSEmmanuel Vadot				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
795f126890aSEmmanuel Vadot				dmas = <&dma0
796f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
797f126890aSEmmanuel Vadot					 AT91_XDMAC_DT_PERID(43))>,
798f126890aSEmmanuel Vadot				       <&dma0
799f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
800f126890aSEmmanuel Vadot					 AT91_XDMAC_DT_PERID(44))>;
801f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
802f126890aSEmmanuel Vadot				interrupts = <28 IRQ_TYPE_LEVEL_HIGH 7>;
803f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 28>;
804f126890aSEmmanuel Vadot				clock-names = "usart";
805f126890aSEmmanuel Vadot				status = "disabled";
806f126890aSEmmanuel Vadot			};
807f126890aSEmmanuel Vadot
808f126890aSEmmanuel Vadot			flx2: flexcom@fc010000 {
809f126890aSEmmanuel Vadot				compatible = "atmel,sama5d2-flexcom";
810f126890aSEmmanuel Vadot				reg = <0xfc010000 0x200>;
811f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 21>;
812f126890aSEmmanuel Vadot				#address-cells = <1>;
813f126890aSEmmanuel Vadot				#size-cells = <1>;
814f126890aSEmmanuel Vadot				ranges = <0x0 0xfc010000 0x800>;
815f126890aSEmmanuel Vadot				status = "disabled";
816f126890aSEmmanuel Vadot
817f126890aSEmmanuel Vadot				uart7: serial@200 {
818f126890aSEmmanuel Vadot					compatible = "atmel,at91sam9260-usart";
819f126890aSEmmanuel Vadot					reg = <0x200 0x200>;
820f126890aSEmmanuel Vadot					atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
821f126890aSEmmanuel Vadot					interrupts = <21 IRQ_TYPE_LEVEL_HIGH 7>;
822f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 21>;
823f126890aSEmmanuel Vadot					clock-names = "usart";
824f126890aSEmmanuel Vadot					dmas = <&dma0
825f126890aSEmmanuel Vadot						(AT91_XDMAC_DT_MEM_IF(0) |
826f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PER_IF(1) |
827f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PERID(15))>,
828f126890aSEmmanuel Vadot						<&dma0
829f126890aSEmmanuel Vadot						(AT91_XDMAC_DT_MEM_IF(0) |
830f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PER_IF(1) |
831f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PERID(16))>;
832f126890aSEmmanuel Vadot					dma-names = "tx", "rx";
833f126890aSEmmanuel Vadot					atmel,fifo-size = <32>;
834f126890aSEmmanuel Vadot					status = "disabled";
835f126890aSEmmanuel Vadot				};
836f126890aSEmmanuel Vadot
837f126890aSEmmanuel Vadot				spi4: spi@400 {
838f126890aSEmmanuel Vadot					compatible = "atmel,at91rm9200-spi";
839f126890aSEmmanuel Vadot					reg = <0x400 0x200>;
840f126890aSEmmanuel Vadot					interrupts = <21 IRQ_TYPE_LEVEL_HIGH 7>;
841f126890aSEmmanuel Vadot					#address-cells = <1>;
842f126890aSEmmanuel Vadot					#size-cells = <0>;
843f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 21>;
844f126890aSEmmanuel Vadot					clock-names = "spi_clk";
845f126890aSEmmanuel Vadot					dmas = <&dma0
846f126890aSEmmanuel Vadot						(AT91_XDMAC_DT_MEM_IF(0) |
847f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PER_IF(1) |
848f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PERID(15))>,
849f126890aSEmmanuel Vadot						<&dma0
850f126890aSEmmanuel Vadot						(AT91_XDMAC_DT_MEM_IF(0) |
851f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PER_IF(1) |
852f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PERID(16))>;
853f126890aSEmmanuel Vadot					dma-names = "tx", "rx";
854f126890aSEmmanuel Vadot					atmel,fifo-size = <16>;
855f126890aSEmmanuel Vadot					status = "disabled";
856f126890aSEmmanuel Vadot				};
857f126890aSEmmanuel Vadot
858f126890aSEmmanuel Vadot				i2c4: i2c@600 {
859f126890aSEmmanuel Vadot					compatible = "atmel,sama5d2-i2c";
860f126890aSEmmanuel Vadot					reg = <0x600 0x200>;
861f126890aSEmmanuel Vadot					interrupts = <21 IRQ_TYPE_LEVEL_HIGH 7>;
862f126890aSEmmanuel Vadot					#address-cells = <1>;
863f126890aSEmmanuel Vadot					#size-cells = <0>;
864f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 21>;
865f126890aSEmmanuel Vadot					dmas = <&dma0
866f126890aSEmmanuel Vadot						(AT91_XDMAC_DT_MEM_IF(0) |
867f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PER_IF(1) |
868f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PERID(15))>,
869f126890aSEmmanuel Vadot						<&dma0
870f126890aSEmmanuel Vadot						(AT91_XDMAC_DT_MEM_IF(0) |
871f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PER_IF(1) |
872f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PERID(16))>;
873f126890aSEmmanuel Vadot					dma-names = "tx", "rx";
874f126890aSEmmanuel Vadot					atmel,fifo-size = <16>;
875f126890aSEmmanuel Vadot					status = "disabled";
876f126890aSEmmanuel Vadot				};
877f126890aSEmmanuel Vadot			};
878f126890aSEmmanuel Vadot
879f126890aSEmmanuel Vadot			flx3: flexcom@fc014000 {
880f126890aSEmmanuel Vadot				compatible = "atmel,sama5d2-flexcom";
881f126890aSEmmanuel Vadot				reg = <0xfc014000 0x200>;
882f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 22>;
883f126890aSEmmanuel Vadot				#address-cells = <1>;
884f126890aSEmmanuel Vadot				#size-cells = <1>;
885f126890aSEmmanuel Vadot				ranges = <0x0 0xfc014000 0x800>;
886f126890aSEmmanuel Vadot				status = "disabled";
887f126890aSEmmanuel Vadot
888f126890aSEmmanuel Vadot				uart8: serial@200 {
889f126890aSEmmanuel Vadot					compatible = "atmel,at91sam9260-usart";
890f126890aSEmmanuel Vadot					reg = <0x200 0x200>;
891f126890aSEmmanuel Vadot					atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
892f126890aSEmmanuel Vadot					interrupts = <22 IRQ_TYPE_LEVEL_HIGH 7>;
893f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 22>;
894f126890aSEmmanuel Vadot					clock-names = "usart";
895f126890aSEmmanuel Vadot					dmas = <&dma0
896f126890aSEmmanuel Vadot						(AT91_XDMAC_DT_MEM_IF(0) |
897f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PER_IF(1) |
898f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PERID(17))>,
899f126890aSEmmanuel Vadot					       <&dma0
900f126890aSEmmanuel Vadot						(AT91_XDMAC_DT_MEM_IF(0) |
901f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PER_IF(1) |
902f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PERID(18))>;
903f126890aSEmmanuel Vadot					dma-names = "tx", "rx";
904f126890aSEmmanuel Vadot					atmel,fifo-size = <32>;
905f126890aSEmmanuel Vadot					status = "disabled";
906f126890aSEmmanuel Vadot				};
907f126890aSEmmanuel Vadot
908f126890aSEmmanuel Vadot				spi5: spi@400 {
909f126890aSEmmanuel Vadot					compatible = "atmel,at91rm9200-spi";
910f126890aSEmmanuel Vadot					reg = <0x400 0x200>;
911f126890aSEmmanuel Vadot					interrupts = <22 IRQ_TYPE_LEVEL_HIGH 7>;
912f126890aSEmmanuel Vadot					#address-cells = <1>;
913f126890aSEmmanuel Vadot					#size-cells = <0>;
914f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 22>;
915f126890aSEmmanuel Vadot					clock-names = "spi_clk";
916f126890aSEmmanuel Vadot					dmas = <&dma0
917f126890aSEmmanuel Vadot						(AT91_XDMAC_DT_MEM_IF(0) |
918f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PER_IF(1) |
919f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PERID(17))>,
920f126890aSEmmanuel Vadot					       <&dma0
921f126890aSEmmanuel Vadot						(AT91_XDMAC_DT_MEM_IF(0) |
922f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PER_IF(1) |
923f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PERID(18))>;
924f126890aSEmmanuel Vadot					dma-names = "tx", "rx";
925f126890aSEmmanuel Vadot					atmel,fifo-size = <16>;
926f126890aSEmmanuel Vadot					status = "disabled";
927f126890aSEmmanuel Vadot				};
928f126890aSEmmanuel Vadot
929f126890aSEmmanuel Vadot				i2c5: i2c@600 {
930f126890aSEmmanuel Vadot					compatible = "atmel,sama5d2-i2c";
931f126890aSEmmanuel Vadot					reg = <0x600 0x200>;
932f126890aSEmmanuel Vadot					interrupts = <22 IRQ_TYPE_LEVEL_HIGH 7>;
933f126890aSEmmanuel Vadot					#address-cells = <1>;
934f126890aSEmmanuel Vadot					#size-cells = <0>;
935f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 22>;
936f126890aSEmmanuel Vadot					dmas = <&dma0
937f126890aSEmmanuel Vadot						(AT91_XDMAC_DT_MEM_IF(0) |
938f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PER_IF(1) |
939f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PERID(17))>,
940f126890aSEmmanuel Vadot					       <&dma0
941f126890aSEmmanuel Vadot						(AT91_XDMAC_DT_MEM_IF(0) |
942f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PER_IF(1) |
943f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PERID(18))>;
944f126890aSEmmanuel Vadot					dma-names = "tx", "rx";
945f126890aSEmmanuel Vadot					atmel,fifo-size = <16>;
946f126890aSEmmanuel Vadot					status = "disabled";
947f126890aSEmmanuel Vadot				};
948f126890aSEmmanuel Vadot
949f126890aSEmmanuel Vadot			};
950f126890aSEmmanuel Vadot
951f126890aSEmmanuel Vadot			flx4: flexcom@fc018000 {
952f126890aSEmmanuel Vadot				compatible = "atmel,sama5d2-flexcom";
953f126890aSEmmanuel Vadot				reg = <0xfc018000 0x200>;
954f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 23>;
955f126890aSEmmanuel Vadot				#address-cells = <1>;
956f126890aSEmmanuel Vadot				#size-cells = <1>;
957f126890aSEmmanuel Vadot				ranges = <0x0 0xfc018000 0x800>;
958f126890aSEmmanuel Vadot				status = "disabled";
959f126890aSEmmanuel Vadot
960f126890aSEmmanuel Vadot				uart9: serial@200 {
961f126890aSEmmanuel Vadot					compatible = "atmel,at91sam9260-usart";
962f126890aSEmmanuel Vadot					reg = <0x200 0x200>;
963f126890aSEmmanuel Vadot					atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
964f126890aSEmmanuel Vadot					interrupts = <23 IRQ_TYPE_LEVEL_HIGH 7>;
965f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 23>;
966f126890aSEmmanuel Vadot					clock-names = "usart";
967f126890aSEmmanuel Vadot					dmas = <&dma0
968f126890aSEmmanuel Vadot						(AT91_XDMAC_DT_MEM_IF(0) |
969f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PER_IF(1) |
970f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PERID(19))>,
971f126890aSEmmanuel Vadot					       <&dma0
972f126890aSEmmanuel Vadot						(AT91_XDMAC_DT_MEM_IF(0) |
973f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PER_IF(1) |
974f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PERID(20))>;
975f126890aSEmmanuel Vadot					dma-names = "tx", "rx";
976f126890aSEmmanuel Vadot					atmel,fifo-size = <32>;
977f126890aSEmmanuel Vadot					status = "disabled";
978f126890aSEmmanuel Vadot				};
979f126890aSEmmanuel Vadot
980f126890aSEmmanuel Vadot				spi6: spi@400 {
981f126890aSEmmanuel Vadot					compatible = "atmel,at91rm9200-spi";
982f126890aSEmmanuel Vadot					reg = <0x400 0x200>;
983f126890aSEmmanuel Vadot					interrupts = <23 IRQ_TYPE_LEVEL_HIGH 7>;
984f126890aSEmmanuel Vadot					#address-cells = <1>;
985f126890aSEmmanuel Vadot					#size-cells = <0>;
986f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 23>;
987f126890aSEmmanuel Vadot					clock-names = "spi_clk";
988f126890aSEmmanuel Vadot					dmas = <&dma0
989f126890aSEmmanuel Vadot						(AT91_XDMAC_DT_MEM_IF(0) |
990f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PER_IF(1) |
991f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PERID(19))>,
992f126890aSEmmanuel Vadot					       <&dma0
993f126890aSEmmanuel Vadot						(AT91_XDMAC_DT_MEM_IF(0) |
994f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PER_IF(1) |
995f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PERID(20))>;
996f126890aSEmmanuel Vadot					dma-names = "tx", "rx";
997f126890aSEmmanuel Vadot					atmel,fifo-size = <16>;
998f126890aSEmmanuel Vadot					status = "disabled";
999f126890aSEmmanuel Vadot				};
1000f126890aSEmmanuel Vadot
1001f126890aSEmmanuel Vadot				i2c6: i2c@600 {
1002f126890aSEmmanuel Vadot					compatible = "atmel,sama5d2-i2c";
1003f126890aSEmmanuel Vadot					reg = <0x600 0x200>;
1004f126890aSEmmanuel Vadot					interrupts = <23 IRQ_TYPE_LEVEL_HIGH 7>;
1005f126890aSEmmanuel Vadot					#address-cells = <1>;
1006f126890aSEmmanuel Vadot					#size-cells = <0>;
1007f126890aSEmmanuel Vadot					clocks = <&pmc PMC_TYPE_PERIPHERAL 23>;
1008f126890aSEmmanuel Vadot					dmas = <&dma0
1009f126890aSEmmanuel Vadot						(AT91_XDMAC_DT_MEM_IF(0) |
1010f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PER_IF(1) |
1011f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PERID(19))>,
1012f126890aSEmmanuel Vadot					       <&dma0
1013f126890aSEmmanuel Vadot						(AT91_XDMAC_DT_MEM_IF(0) |
1014f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PER_IF(1) |
1015f126890aSEmmanuel Vadot						 AT91_XDMAC_DT_PERID(20))>;
1016f126890aSEmmanuel Vadot					dma-names = "tx", "rx";
1017f126890aSEmmanuel Vadot					atmel,fifo-size = <16>;
1018f126890aSEmmanuel Vadot					status = "disabled";
1019f126890aSEmmanuel Vadot				};
1020f126890aSEmmanuel Vadot			};
1021f126890aSEmmanuel Vadot
1022f126890aSEmmanuel Vadot			trng@fc01c000 {
1023f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9g45-trng";
1024f126890aSEmmanuel Vadot				reg = <0xfc01c000 0x100>;
1025f126890aSEmmanuel Vadot				interrupts = <47 IRQ_TYPE_LEVEL_HIGH 0>;
1026f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 47>;
1027f126890aSEmmanuel Vadot			};
1028f126890aSEmmanuel Vadot
1029f126890aSEmmanuel Vadot			aic: interrupt-controller@fc020000 {
1030f126890aSEmmanuel Vadot				#interrupt-cells = <3>;
1031f126890aSEmmanuel Vadot				compatible = "atmel,sama5d2-aic";
1032f126890aSEmmanuel Vadot				interrupt-controller;
1033f126890aSEmmanuel Vadot				reg = <0xfc020000 0x200>;
1034f126890aSEmmanuel Vadot				atmel,external-irqs = <49>;
1035f126890aSEmmanuel Vadot			};
1036f126890aSEmmanuel Vadot
1037f126890aSEmmanuel Vadot			i2c1: i2c@fc028000 {
1038f126890aSEmmanuel Vadot				compatible = "atmel,sama5d2-i2c";
1039f126890aSEmmanuel Vadot				reg = <0xfc028000 0x100>;
1040f126890aSEmmanuel Vadot				interrupts = <30 IRQ_TYPE_LEVEL_HIGH 7>;
1041f126890aSEmmanuel Vadot				dmas = <&dma0
1042f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
1043f126890aSEmmanuel Vadot					 AT91_XDMAC_DT_PERID(2))>,
1044f126890aSEmmanuel Vadot				       <&dma0
1045f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
1046f126890aSEmmanuel Vadot					 AT91_XDMAC_DT_PERID(3))>;
1047f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
1048f126890aSEmmanuel Vadot				#address-cells = <1>;
1049f126890aSEmmanuel Vadot				#size-cells = <0>;
1050f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 30>;
1051f126890aSEmmanuel Vadot				atmel,fifo-size = <16>;
1052f126890aSEmmanuel Vadot				status = "disabled";
1053f126890aSEmmanuel Vadot			};
1054f126890aSEmmanuel Vadot
1055f126890aSEmmanuel Vadot			adc: adc@fc030000 {
1056f126890aSEmmanuel Vadot				compatible = "atmel,sama5d2-adc";
1057f126890aSEmmanuel Vadot				reg = <0xfc030000 0x100>;
1058f126890aSEmmanuel Vadot				interrupts = <40 IRQ_TYPE_LEVEL_HIGH 7>;
1059f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 40>;
1060f126890aSEmmanuel Vadot				clock-names = "adc_clk";
1061f126890aSEmmanuel Vadot				dmas = <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) | AT91_XDMAC_DT_PERID(25))>;
1062f126890aSEmmanuel Vadot				dma-names = "rx";
1063f126890aSEmmanuel Vadot				atmel,min-sample-rate-hz = <200000>;
1064f126890aSEmmanuel Vadot				atmel,max-sample-rate-hz = <20000000>;
1065f126890aSEmmanuel Vadot				atmel,startup-time-ms = <4>;
1066f126890aSEmmanuel Vadot				atmel,trigger-edge-type = <IRQ_TYPE_EDGE_RISING>;
1067f126890aSEmmanuel Vadot				#io-channel-cells = <1>;
1068f126890aSEmmanuel Vadot				status = "disabled";
1069f126890aSEmmanuel Vadot			};
1070f126890aSEmmanuel Vadot
1071f126890aSEmmanuel Vadot			pioA: pinctrl@fc038000 {
1072f126890aSEmmanuel Vadot				compatible = "atmel,sama5d2-pinctrl";
1073f126890aSEmmanuel Vadot				reg = <0xfc038000 0x600>;
1074f126890aSEmmanuel Vadot				interrupts = <18 IRQ_TYPE_LEVEL_HIGH 7>,
1075f126890aSEmmanuel Vadot					     <68 IRQ_TYPE_LEVEL_HIGH 7>,
1076f126890aSEmmanuel Vadot					     <69 IRQ_TYPE_LEVEL_HIGH 7>,
1077f126890aSEmmanuel Vadot					     <70 IRQ_TYPE_LEVEL_HIGH 7>;
1078f126890aSEmmanuel Vadot				interrupt-controller;
1079f126890aSEmmanuel Vadot				#interrupt-cells = <2>;
1080f126890aSEmmanuel Vadot				gpio-controller;
1081f126890aSEmmanuel Vadot				#gpio-cells = <2>;
1082f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 18>;
1083f126890aSEmmanuel Vadot			};
1084f126890aSEmmanuel Vadot
1085f126890aSEmmanuel Vadot			pioBU: secumod@fc040000 {
1086f126890aSEmmanuel Vadot				compatible = "atmel,sama5d2-secumod", "syscon";
1087f126890aSEmmanuel Vadot				reg = <0xfc040000 0x100>;
1088f126890aSEmmanuel Vadot
1089f126890aSEmmanuel Vadot				gpio-controller;
1090f126890aSEmmanuel Vadot				#gpio-cells = <2>;
1091f126890aSEmmanuel Vadot			};
1092f126890aSEmmanuel Vadot
1093f126890aSEmmanuel Vadot			tdes: crypto@fc044000 {
1094f126890aSEmmanuel Vadot				compatible = "atmel,at91sam9g46-tdes";
1095f126890aSEmmanuel Vadot				reg = <0xfc044000 0x100>;
1096f126890aSEmmanuel Vadot				interrupts = <11 IRQ_TYPE_LEVEL_HIGH 0>;
1097f126890aSEmmanuel Vadot				dmas = <&dma0
1098f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
1099f126890aSEmmanuel Vadot					 AT91_XDMAC_DT_PERID(28))>,
1100f126890aSEmmanuel Vadot				       <&dma0
1101f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
1102f126890aSEmmanuel Vadot					 AT91_XDMAC_DT_PERID(29))>;
1103f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
1104f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 11>;
1105f126890aSEmmanuel Vadot				clock-names = "tdes_clk";
1106f126890aSEmmanuel Vadot			};
1107f126890aSEmmanuel Vadot
1108f126890aSEmmanuel Vadot			classd: classd@fc048000 {
1109f126890aSEmmanuel Vadot				compatible = "atmel,sama5d2-classd";
1110f126890aSEmmanuel Vadot				reg = <0xfc048000 0x100>;
1111f126890aSEmmanuel Vadot				interrupts = <59 IRQ_TYPE_LEVEL_HIGH 7>;
1112f126890aSEmmanuel Vadot				dmas = <&dma0
1113f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
1114f126890aSEmmanuel Vadot					 AT91_XDMAC_DT_PERID(47))>;
1115f126890aSEmmanuel Vadot				dma-names = "tx";
1116f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 59>, <&pmc PMC_TYPE_GCK 59>;
1117f126890aSEmmanuel Vadot				clock-names = "pclk", "gclk";
1118f126890aSEmmanuel Vadot				status = "disabled";
1119f126890aSEmmanuel Vadot			};
1120f126890aSEmmanuel Vadot
1121f126890aSEmmanuel Vadot			i2s1: i2s@fc04c000 {
1122f126890aSEmmanuel Vadot				compatible = "atmel,sama5d2-i2s";
1123f126890aSEmmanuel Vadot				reg = <0xfc04c000 0x100>;
1124f126890aSEmmanuel Vadot				interrupts = <55 IRQ_TYPE_LEVEL_HIGH 7>;
1125f126890aSEmmanuel Vadot				dmas = <&dma0
1126f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
1127f126890aSEmmanuel Vadot					 AT91_XDMAC_DT_PERID(33))>,
1128f126890aSEmmanuel Vadot				       <&dma0
1129f126890aSEmmanuel Vadot					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
1130f126890aSEmmanuel Vadot					 AT91_XDMAC_DT_PERID(34))>;
1131f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
1132f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 55>, <&pmc PMC_TYPE_GCK 55>;
1133f126890aSEmmanuel Vadot				clock-names = "pclk", "gclk";
1134f126890aSEmmanuel Vadot				assigned-clocks = <&pmc PMC_TYPE_CORE PMC_I2S1_MUX>;
1135f126890aSEmmanuel Vadot				assigned-clock-parents = <&pmc PMC_TYPE_GCK 55>;
1136f126890aSEmmanuel Vadot				status = "disabled";
1137f126890aSEmmanuel Vadot			};
1138f126890aSEmmanuel Vadot
1139f126890aSEmmanuel Vadot			can1: can@fc050000 {
1140f126890aSEmmanuel Vadot				compatible = "bosch,m_can";
1141f126890aSEmmanuel Vadot				reg = <0xfc050000 0x4000>, <0x210000 0x3800>;
1142f126890aSEmmanuel Vadot				reg-names = "m_can", "message_ram";
1143f126890aSEmmanuel Vadot				interrupts = <57 IRQ_TYPE_LEVEL_HIGH 7>,
1144f126890aSEmmanuel Vadot					     <65 IRQ_TYPE_LEVEL_HIGH 7>;
1145f126890aSEmmanuel Vadot				interrupt-names = "int0", "int1";
1146f126890aSEmmanuel Vadot				clocks = <&pmc PMC_TYPE_PERIPHERAL 57>, <&pmc PMC_TYPE_GCK 57>;
1147f126890aSEmmanuel Vadot				clock-names = "hclk", "cclk";
1148f126890aSEmmanuel Vadot				assigned-clocks = <&pmc PMC_TYPE_GCK 57>;
1149f126890aSEmmanuel Vadot				assigned-clock-parents = <&pmc PMC_TYPE_CORE PMC_UTMI>;
1150f126890aSEmmanuel Vadot				assigned-clock-rates = <40000000>;
1151f126890aSEmmanuel Vadot				bosch,mram-cfg = <0x1c00 0 0 64 0 0 32 32>;
1152f126890aSEmmanuel Vadot				status = "disabled";
1153f126890aSEmmanuel Vadot			};
1154f126890aSEmmanuel Vadot
1155f126890aSEmmanuel Vadot			sfrbu: sfr@fc05c000 {
1156f126890aSEmmanuel Vadot				compatible = "atmel,sama5d2-sfrbu", "syscon";
1157f126890aSEmmanuel Vadot				reg = <0xfc05c000 0x20>;
1158f126890aSEmmanuel Vadot			};
1159f126890aSEmmanuel Vadot
1160f126890aSEmmanuel Vadot			chipid@fc069000 {
1161f126890aSEmmanuel Vadot				compatible = "atmel,sama5d2-chipid";
1162f126890aSEmmanuel Vadot				reg = <0xfc069000 0x8>;
1163f126890aSEmmanuel Vadot			};
1164f126890aSEmmanuel Vadot		};
1165f126890aSEmmanuel Vadot	};
1166f126890aSEmmanuel Vadot};
1167