xref: /freebsd-src/sys/contrib/device-tree/src/arm/microchip/at91-sam9x60ek.dts (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * at91-sam9x60ek.dts - Device Tree file for Microchip SAM9X60-EK board
4f126890aSEmmanuel Vadot *
5f126890aSEmmanuel Vadot * Copyright (C) 2019 Microchip Technology Inc. and its subsidiaries
6f126890aSEmmanuel Vadot *
7f126890aSEmmanuel Vadot * Author: Sandeep Sheriker M <sandeepsheriker.mallikarjun@microchip.com>
8f126890aSEmmanuel Vadot */
9f126890aSEmmanuel Vadot/dts-v1/;
10f126890aSEmmanuel Vadot#include "sam9x60.dtsi"
11f126890aSEmmanuel Vadot#include <dt-bindings/input/input.h>
12f126890aSEmmanuel Vadot
13f126890aSEmmanuel Vadot/ {
14f126890aSEmmanuel Vadot	model = "Microchip SAM9X60-EK";
15f126890aSEmmanuel Vadot	compatible = "microchip,sam9x60ek", "microchip,sam9x60", "atmel,at91sam9";
16f126890aSEmmanuel Vadot
17f126890aSEmmanuel Vadot	aliases {
18f126890aSEmmanuel Vadot		i2c0 = &i2c0;
19f126890aSEmmanuel Vadot		i2c1 = &i2c6;
20f126890aSEmmanuel Vadot		serial1 = &uart5;
21f126890aSEmmanuel Vadot	};
22f126890aSEmmanuel Vadot
23f126890aSEmmanuel Vadot	chosen {
24f126890aSEmmanuel Vadot		stdout-path = "serial0:115200n8";
25f126890aSEmmanuel Vadot	};
26f126890aSEmmanuel Vadot
27f126890aSEmmanuel Vadot	clocks {
28f126890aSEmmanuel Vadot		slow_xtal {
29f126890aSEmmanuel Vadot			clock-frequency = <32768>;
30f126890aSEmmanuel Vadot		};
31f126890aSEmmanuel Vadot
32f126890aSEmmanuel Vadot		main_xtal {
33f126890aSEmmanuel Vadot			clock-frequency = <24000000>;
34f126890aSEmmanuel Vadot		};
35f126890aSEmmanuel Vadot	};
36f126890aSEmmanuel Vadot
37f126890aSEmmanuel Vadot	gpio-keys {
38f126890aSEmmanuel Vadot		compatible = "gpio-keys";
39f126890aSEmmanuel Vadot		pinctrl-names = "default";
40f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_key_gpio_default>;
41f126890aSEmmanuel Vadot
42f126890aSEmmanuel Vadot		button-1 {
43f126890aSEmmanuel Vadot			label = "SW1";
44f126890aSEmmanuel Vadot			gpios = <&pioD 18 GPIO_ACTIVE_LOW>;
45f126890aSEmmanuel Vadot			linux,code = <KEY_PROG1>;
46f126890aSEmmanuel Vadot			wakeup-source;
47f126890aSEmmanuel Vadot		};
48f126890aSEmmanuel Vadot	};
49f126890aSEmmanuel Vadot
50f126890aSEmmanuel Vadot	leds {
51f126890aSEmmanuel Vadot		compatible = "gpio-leds";
52f126890aSEmmanuel Vadot		pinctrl-names = "default";
53f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_gpio_leds>;
54f126890aSEmmanuel Vadot		status = "okay"; /* Conflict with pwm0. */
55f126890aSEmmanuel Vadot
56f126890aSEmmanuel Vadot		red {
57f126890aSEmmanuel Vadot			label = "red";
58f126890aSEmmanuel Vadot			gpios = <&pioB 11 GPIO_ACTIVE_HIGH>;
59f126890aSEmmanuel Vadot		};
60f126890aSEmmanuel Vadot
61f126890aSEmmanuel Vadot		green {
62f126890aSEmmanuel Vadot			label = "green";
63f126890aSEmmanuel Vadot			gpios = <&pioB 12 GPIO_ACTIVE_HIGH>;
64f126890aSEmmanuel Vadot		};
65f126890aSEmmanuel Vadot
66f126890aSEmmanuel Vadot		blue {
67f126890aSEmmanuel Vadot			label = "blue";
68f126890aSEmmanuel Vadot			gpios = <&pioB 13 GPIO_ACTIVE_HIGH>;
69f126890aSEmmanuel Vadot			linux,default-trigger = "heartbeat";
70f126890aSEmmanuel Vadot		};
71f126890aSEmmanuel Vadot	};
72f126890aSEmmanuel Vadot
73f126890aSEmmanuel Vadot	vdd_1v8: fixed-regulator-vdd_1v8 {
74f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
75f126890aSEmmanuel Vadot		regulator-name = "VDD_1V8";
76f126890aSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
77f126890aSEmmanuel Vadot		regulator-max-microvolt = <1800000>;
78f126890aSEmmanuel Vadot		regulator-always-on;
79f126890aSEmmanuel Vadot	};
80f126890aSEmmanuel Vadot
81f126890aSEmmanuel Vadot	vdd_1v15: fixed-regulator-vdd_1v15 {
82f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
83f126890aSEmmanuel Vadot		regulator-name = "VDD_1V15";
84f126890aSEmmanuel Vadot		regulator-min-microvolt = <1150000>;
85f126890aSEmmanuel Vadot		regulator-max-microvolt = <1150000>;
86f126890aSEmmanuel Vadot		regulator-always-on;
87f126890aSEmmanuel Vadot	};
88f126890aSEmmanuel Vadot
89f126890aSEmmanuel Vadot	vdd1_3v3: fixed-regulator-vdd1_3v3 {
90f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
91f126890aSEmmanuel Vadot		regulator-name = "VDD1_3V3";
92f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
93f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
94f126890aSEmmanuel Vadot		regulator-always-on;
95f126890aSEmmanuel Vadot	};
96f126890aSEmmanuel Vadot
97f126890aSEmmanuel Vadot	vdd2_3v3: regulator-fixed-vdd2_3v3 {
98f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
99f126890aSEmmanuel Vadot		regulator-name = "VDD2_3V3";
100f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
101f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
102f126890aSEmmanuel Vadot		regulator-always-on;
103f126890aSEmmanuel Vadot	};
104f126890aSEmmanuel Vadot};
105f126890aSEmmanuel Vadot
106f126890aSEmmanuel Vadot&adc {
107f126890aSEmmanuel Vadot	vddana-supply = <&vdd1_3v3>;
108f126890aSEmmanuel Vadot	vref-supply = <&vdd1_3v3>;
109f126890aSEmmanuel Vadot	pinctrl-names = "default";
110f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_adc_default &pinctrl_adtrg_default>;
111f126890aSEmmanuel Vadot	status = "okay";
112f126890aSEmmanuel Vadot};
113f126890aSEmmanuel Vadot
114f126890aSEmmanuel Vadot&can0 {
115f126890aSEmmanuel Vadot	pinctrl-names = "default";
116f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_can0_rx_tx>;
117f126890aSEmmanuel Vadot	status = "disabled"; /* Conflict with dbgu. */
118f126890aSEmmanuel Vadot};
119f126890aSEmmanuel Vadot
120f126890aSEmmanuel Vadot&can1 {
121f126890aSEmmanuel Vadot	pinctrl-names = "default";
122f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_can1_rx_tx>;
123f126890aSEmmanuel Vadot	status = "okay";
124f126890aSEmmanuel Vadot};
125f126890aSEmmanuel Vadot
126f126890aSEmmanuel Vadot&classd {
127f126890aSEmmanuel Vadot	pinctrl-names = "default";
128f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_classd_default>;
129f126890aSEmmanuel Vadot	atmel,pwm-type = "diff";
130f126890aSEmmanuel Vadot	atmel,non-overlap-time = <10>;
131f126890aSEmmanuel Vadot	status = "okay";
132f126890aSEmmanuel Vadot};
133f126890aSEmmanuel Vadot
134f126890aSEmmanuel Vadot&dbgu {
135f126890aSEmmanuel Vadot	pinctrl-names = "default";
136f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_dbgu>;
137f126890aSEmmanuel Vadot	status = "okay"; /* Conflict with can0. */
138f126890aSEmmanuel Vadot};
139f126890aSEmmanuel Vadot
140f126890aSEmmanuel Vadot&ebi {
141f126890aSEmmanuel Vadot	pinctrl-names = "default";
142f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_ebi_addr_nand &pinctrl_ebi_data_0_7>;
143f126890aSEmmanuel Vadot	status = "okay";
144f126890aSEmmanuel Vadot
145f126890aSEmmanuel Vadot	nand_controller: nand-controller {
146f126890aSEmmanuel Vadot		pinctrl-names = "default";
147f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_nand_oe_we &pinctrl_nand_cs &pinctrl_nand_rb>;
148f126890aSEmmanuel Vadot		status = "okay";
149f126890aSEmmanuel Vadot
150f126890aSEmmanuel Vadot		nand@3 {
151f126890aSEmmanuel Vadot			reg = <0x3 0x0 0x800000>;
152f126890aSEmmanuel Vadot			rb-gpios = <&pioD 5 GPIO_ACTIVE_HIGH>;
153f126890aSEmmanuel Vadot			cs-gpios = <&pioD 4 GPIO_ACTIVE_HIGH>;
154f126890aSEmmanuel Vadot			nand-bus-width = <8>;
155f126890aSEmmanuel Vadot			nand-ecc-mode = "hw";
156f126890aSEmmanuel Vadot			nand-ecc-strength = <8>;
157f126890aSEmmanuel Vadot			nand-ecc-step-size = <512>;
158f126890aSEmmanuel Vadot			nand-on-flash-bbt;
159f126890aSEmmanuel Vadot			label = "atmel_nand";
160f126890aSEmmanuel Vadot
161f126890aSEmmanuel Vadot			partitions {
162f126890aSEmmanuel Vadot				compatible = "fixed-partitions";
163f126890aSEmmanuel Vadot				#address-cells = <1>;
164f126890aSEmmanuel Vadot				#size-cells = <1>;
165f126890aSEmmanuel Vadot
166f126890aSEmmanuel Vadot				at91bootstrap@0 {
167f126890aSEmmanuel Vadot					label = "at91bootstrap";
168f126890aSEmmanuel Vadot					reg = <0x0 0x40000>;
169f126890aSEmmanuel Vadot				};
170f126890aSEmmanuel Vadot
171f126890aSEmmanuel Vadot				uboot@40000 {
172f126890aSEmmanuel Vadot					label = "u-boot";
173f126890aSEmmanuel Vadot					reg = <0x40000 0xc0000>;
174f126890aSEmmanuel Vadot				};
175f126890aSEmmanuel Vadot
176f126890aSEmmanuel Vadot				ubootenvred@100000 {
177f126890aSEmmanuel Vadot					label = "U-Boot Env Redundant";
178f126890aSEmmanuel Vadot					reg = <0x100000 0x40000>;
179f126890aSEmmanuel Vadot				};
180f126890aSEmmanuel Vadot
181f126890aSEmmanuel Vadot				ubootenv@140000 {
182f126890aSEmmanuel Vadot					label = "U-Boot Env";
183f126890aSEmmanuel Vadot					reg = <0x140000 0x40000>;
184f126890aSEmmanuel Vadot				};
185f126890aSEmmanuel Vadot
186f126890aSEmmanuel Vadot				dtb@180000 {
187f126890aSEmmanuel Vadot					label = "device tree";
188f126890aSEmmanuel Vadot					reg = <0x180000 0x80000>;
189f126890aSEmmanuel Vadot				};
190f126890aSEmmanuel Vadot
191f126890aSEmmanuel Vadot				kernel@200000 {
192f126890aSEmmanuel Vadot					label = "kernel";
193f126890aSEmmanuel Vadot					reg = <0x200000 0x600000>;
194f126890aSEmmanuel Vadot				};
195f126890aSEmmanuel Vadot
196f126890aSEmmanuel Vadot				rootfs@800000 {
197f126890aSEmmanuel Vadot					label = "rootfs";
198f126890aSEmmanuel Vadot					reg = <0x800000 0x1f800000>;
199f126890aSEmmanuel Vadot				};
200f126890aSEmmanuel Vadot			};
201f126890aSEmmanuel Vadot		};
202f126890aSEmmanuel Vadot	};
203f126890aSEmmanuel Vadot};
204f126890aSEmmanuel Vadot
205f126890aSEmmanuel Vadot&flx0 {
206f126890aSEmmanuel Vadot	atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_TWI>;
207f126890aSEmmanuel Vadot	status = "okay";
208f126890aSEmmanuel Vadot
209f126890aSEmmanuel Vadot	i2c0: i2c@600 {
210f126890aSEmmanuel Vadot		dmas = <0>, <0>;
211f126890aSEmmanuel Vadot		pinctrl-names = "default";
212f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_flx0_default>;
213f126890aSEmmanuel Vadot		i2c-analog-filter;
214f126890aSEmmanuel Vadot		i2c-digital-filter;
215f126890aSEmmanuel Vadot		i2c-digital-filter-width-ns = <35>;
216f126890aSEmmanuel Vadot		status = "okay";
217f126890aSEmmanuel Vadot
218f126890aSEmmanuel Vadot		eeprom@53 {
219f126890aSEmmanuel Vadot			compatible = "atmel,24c02";
220f126890aSEmmanuel Vadot			reg = <0x53>;
221f126890aSEmmanuel Vadot			pagesize = <16>;
222f126890aSEmmanuel Vadot			status = "okay";
223f126890aSEmmanuel Vadot		};
224f126890aSEmmanuel Vadot	};
225f126890aSEmmanuel Vadot};
226f126890aSEmmanuel Vadot
227f126890aSEmmanuel Vadot&flx4 {
228f126890aSEmmanuel Vadot	atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_SPI>;
229f126890aSEmmanuel Vadot	status = "disabled";
230f126890aSEmmanuel Vadot
231f126890aSEmmanuel Vadot	spi4: spi@400 {
232f126890aSEmmanuel Vadot		dmas = <0>, <0>;
233f126890aSEmmanuel Vadot		pinctrl-names = "default";
234f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_flx4_default>;
235f126890aSEmmanuel Vadot		status = "disabled";
236f126890aSEmmanuel Vadot	};
237f126890aSEmmanuel Vadot};
238f126890aSEmmanuel Vadot
239f126890aSEmmanuel Vadot&flx5 {
240f126890aSEmmanuel Vadot	atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_USART>;
241f126890aSEmmanuel Vadot	status = "okay";
242f126890aSEmmanuel Vadot
243f126890aSEmmanuel Vadot	uart5: serial@200 {
244f126890aSEmmanuel Vadot		pinctrl-names = "default";
245f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_flx5_default>;
246f126890aSEmmanuel Vadot		status = "okay";
247f126890aSEmmanuel Vadot	};
248f126890aSEmmanuel Vadot};
249f126890aSEmmanuel Vadot
250f126890aSEmmanuel Vadot&flx6 {
251f126890aSEmmanuel Vadot	atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_TWI>;
252f126890aSEmmanuel Vadot	status = "okay";
253f126890aSEmmanuel Vadot
254f126890aSEmmanuel Vadot	i2c6: i2c@600 {
255f126890aSEmmanuel Vadot		dmas = <0>, <0>;
256f126890aSEmmanuel Vadot		pinctrl-names = "default";
257f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_flx6_default>;
258f126890aSEmmanuel Vadot		i2c-analog-filter;
259f126890aSEmmanuel Vadot		i2c-digital-filter;
260f126890aSEmmanuel Vadot		i2c-digital-filter-width-ns = <35>;
261f126890aSEmmanuel Vadot		status = "okay";
262f126890aSEmmanuel Vadot
263f126890aSEmmanuel Vadot		gpio_exp: mcp23008@20 {
264f126890aSEmmanuel Vadot			compatible = "microchip,mcp23008";
265f126890aSEmmanuel Vadot			reg = <0x20>;
266f126890aSEmmanuel Vadot		};
267f126890aSEmmanuel Vadot	};
268f126890aSEmmanuel Vadot};
269f126890aSEmmanuel Vadot
270f126890aSEmmanuel Vadot&gpbr {
271f126890aSEmmanuel Vadot	status = "okay";
272f126890aSEmmanuel Vadot};
273f126890aSEmmanuel Vadot
274f126890aSEmmanuel Vadot&i2s {
275f126890aSEmmanuel Vadot	pinctrl-names = "default";
276f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2s_default>;
277f126890aSEmmanuel Vadot	#sound-dai-cells = <0>;
278f126890aSEmmanuel Vadot	status = "disabled"; /* Conflict with QSPI. */
279f126890aSEmmanuel Vadot};
280f126890aSEmmanuel Vadot
281f126890aSEmmanuel Vadot&macb0 {
282f126890aSEmmanuel Vadot	phy-mode = "rmii";
283f126890aSEmmanuel Vadot	#address-cells = <1>;
284f126890aSEmmanuel Vadot	#size-cells = <0>;
285f126890aSEmmanuel Vadot	pinctrl-names = "default";
286f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_macb0_rmii>;
287f126890aSEmmanuel Vadot	status = "okay";
288f126890aSEmmanuel Vadot
289f126890aSEmmanuel Vadot	ethernet-phy@0 {
290f126890aSEmmanuel Vadot		reg = <0x0>;
291*8d13bc63SEmmanuel Vadot		interrupt-parent = <&pioB>;
292*8d13bc63SEmmanuel Vadot		interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
293f126890aSEmmanuel Vadot	};
294f126890aSEmmanuel Vadot};
295f126890aSEmmanuel Vadot
296f126890aSEmmanuel Vadot&pinctrl {
297f126890aSEmmanuel Vadot	adc {
298f126890aSEmmanuel Vadot		pinctrl_adc_default: adc_default {
299f126890aSEmmanuel Vadot			atmel,pins = <AT91_PIOB 15 AT91_PERIPH_A AT91_PINCTRL_NONE>;
300f126890aSEmmanuel Vadot		};
301f126890aSEmmanuel Vadot
302f126890aSEmmanuel Vadot		pinctrl_adtrg_default: adtrg_default {
303f126890aSEmmanuel Vadot			atmel,pins = <AT91_PIOB 18 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>;
304f126890aSEmmanuel Vadot		};
305f126890aSEmmanuel Vadot	};
306f126890aSEmmanuel Vadot
307f126890aSEmmanuel Vadot	dbgu {
308f126890aSEmmanuel Vadot		pinctrl_dbgu: dbgu-0 {
309f126890aSEmmanuel Vadot			atmel,pins = <AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
310f126890aSEmmanuel Vadot				      AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE>;
311f126890aSEmmanuel Vadot		};
312f126890aSEmmanuel Vadot	};
313f126890aSEmmanuel Vadot
314f126890aSEmmanuel Vadot	i2s {
315f126890aSEmmanuel Vadot		pinctrl_i2s_default: i2s {
316f126890aSEmmanuel Vadot			atmel,pins =
317f126890aSEmmanuel Vadot				<AT91_PIOB 19 AT91_PERIPH_B AT91_PINCTRL_NONE		/* I2SCK */
318f126890aSEmmanuel Vadot				 AT91_PIOB 20 AT91_PERIPH_B AT91_PINCTRL_NONE		/* I2SWS */
319f126890aSEmmanuel Vadot				 AT91_PIOB 21 AT91_PERIPH_B AT91_PINCTRL_NONE		/* I2SDIN */
320f126890aSEmmanuel Vadot				 AT91_PIOB 22 AT91_PERIPH_B AT91_PINCTRL_NONE		/* I2SDOUT */
321f126890aSEmmanuel Vadot				 AT91_PIOB 23 AT91_PERIPH_B AT91_PINCTRL_NONE>;		/* I2SMCK */
322f126890aSEmmanuel Vadot		};
323f126890aSEmmanuel Vadot	};
324f126890aSEmmanuel Vadot
325f126890aSEmmanuel Vadot	qspi {
326f126890aSEmmanuel Vadot		pinctrl_qspi: qspi {
327f126890aSEmmanuel Vadot			atmel,pins =
328f126890aSEmmanuel Vadot				<AT91_PIOB 19 AT91_PERIPH_A AT91_PINCTRL_SLEWRATE_DIS
329f126890aSEmmanuel Vadot				 AT91_PIOB 20 AT91_PERIPH_A AT91_PINCTRL_SLEWRATE_DIS
330f126890aSEmmanuel Vadot				 AT91_PIOB 21 AT91_PERIPH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_SLEWRATE_DIS)
331f126890aSEmmanuel Vadot				 AT91_PIOB 22 AT91_PERIPH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_SLEWRATE_DIS)
332f126890aSEmmanuel Vadot				 AT91_PIOB 23 AT91_PERIPH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_SLEWRATE_DIS)
333f126890aSEmmanuel Vadot				 AT91_PIOB 24 AT91_PERIPH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_SLEWRATE_DIS)>;
334f126890aSEmmanuel Vadot		};
335f126890aSEmmanuel Vadot	};
336f126890aSEmmanuel Vadot
337f126890aSEmmanuel Vadot	nand {
338f126890aSEmmanuel Vadot		pinctrl_nand_oe_we: nand-oe-we-0 {
339f126890aSEmmanuel Vadot			atmel,pins =
340f126890aSEmmanuel Vadot				<AT91_PIOD 0 AT91_PERIPH_A (AT91_PINCTRL_NONE | AT91_PINCTRL_SLEWRATE_DIS)
341f126890aSEmmanuel Vadot				 AT91_PIOD 1 AT91_PERIPH_A (AT91_PINCTRL_NONE | AT91_PINCTRL_SLEWRATE_DIS)>;
342f126890aSEmmanuel Vadot		};
343f126890aSEmmanuel Vadot
344f126890aSEmmanuel Vadot		pinctrl_nand_rb: nand-rb-0 {
345f126890aSEmmanuel Vadot			atmel,pins =
346f126890aSEmmanuel Vadot				<AT91_PIOD 5 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
347f126890aSEmmanuel Vadot		};
348f126890aSEmmanuel Vadot
349f126890aSEmmanuel Vadot		pinctrl_nand_cs: nand-cs-0 {
350f126890aSEmmanuel Vadot			atmel,pins =
351f126890aSEmmanuel Vadot				<AT91_PIOD 4 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
352f126890aSEmmanuel Vadot		};
353f126890aSEmmanuel Vadot	};
354f126890aSEmmanuel Vadot
355f126890aSEmmanuel Vadot	ebi {
356f126890aSEmmanuel Vadot		pinctrl_ebi_data_0_7: ebi-data-lsb-0 {
357f126890aSEmmanuel Vadot			atmel,pins =
358f126890aSEmmanuel Vadot				<AT91_PIOD 6 AT91_PERIPH_A (AT91_PINCTRL_NONE | AT91_PINCTRL_SLEWRATE_DIS)
359f126890aSEmmanuel Vadot				 AT91_PIOD 7 AT91_PERIPH_A (AT91_PINCTRL_NONE | AT91_PINCTRL_SLEWRATE_DIS)
360f126890aSEmmanuel Vadot				 AT91_PIOD 8 AT91_PERIPH_A (AT91_PINCTRL_NONE | AT91_PINCTRL_SLEWRATE_DIS)
361f126890aSEmmanuel Vadot				 AT91_PIOD 9 AT91_PERIPH_A (AT91_PINCTRL_NONE | AT91_PINCTRL_SLEWRATE_DIS)
362f126890aSEmmanuel Vadot				 AT91_PIOD 10 AT91_PERIPH_A (AT91_PINCTRL_NONE | AT91_PINCTRL_SLEWRATE_DIS)
363f126890aSEmmanuel Vadot				 AT91_PIOD 11 AT91_PERIPH_A (AT91_PINCTRL_NONE | AT91_PINCTRL_SLEWRATE_DIS)
364f126890aSEmmanuel Vadot				 AT91_PIOD 12 AT91_PERIPH_A (AT91_PINCTRL_NONE | AT91_PINCTRL_SLEWRATE_DIS)
365f126890aSEmmanuel Vadot				 AT91_PIOD 13 AT91_PERIPH_A (AT91_PINCTRL_NONE | AT91_PINCTRL_SLEWRATE_DIS)>;
366f126890aSEmmanuel Vadot		};
367f126890aSEmmanuel Vadot
368f126890aSEmmanuel Vadot		pinctrl_ebi_data_0_15: ebi-data-msb-0 {
369f126890aSEmmanuel Vadot			atmel,pins =
370f126890aSEmmanuel Vadot				<AT91_PIOD 6 AT91_PERIPH_A AT91_PINCTRL_NONE
371f126890aSEmmanuel Vadot				 AT91_PIOD 7 AT91_PERIPH_A AT91_PINCTRL_NONE
372f126890aSEmmanuel Vadot				 AT91_PIOD 8 AT91_PERIPH_A AT91_PINCTRL_NONE
373f126890aSEmmanuel Vadot				 AT91_PIOD 9 AT91_PERIPH_A AT91_PINCTRL_NONE
374f126890aSEmmanuel Vadot				 AT91_PIOD 10 AT91_PERIPH_A AT91_PINCTRL_NONE
375f126890aSEmmanuel Vadot				 AT91_PIOD 11 AT91_PERIPH_A AT91_PINCTRL_NONE
376f126890aSEmmanuel Vadot				 AT91_PIOD 12 AT91_PERIPH_A AT91_PINCTRL_NONE
377f126890aSEmmanuel Vadot				 AT91_PIOD 13 AT91_PERIPH_A AT91_PINCTRL_NONE
378f126890aSEmmanuel Vadot				 AT91_PIOD 14 AT91_PERIPH_A AT91_PINCTRL_NONE
379f126890aSEmmanuel Vadot				 AT91_PIOD 15 AT91_PERIPH_A AT91_PINCTRL_NONE
380f126890aSEmmanuel Vadot				 AT91_PIOD 16 AT91_PERIPH_A AT91_PINCTRL_NONE
381f126890aSEmmanuel Vadot				 AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_NONE
382f126890aSEmmanuel Vadot				 AT91_PIOD 18 AT91_PERIPH_A AT91_PINCTRL_NONE
383f126890aSEmmanuel Vadot				 AT91_PIOD 19 AT91_PERIPH_A AT91_PINCTRL_NONE
384f126890aSEmmanuel Vadot				 AT91_PIOD 20 AT91_PERIPH_A AT91_PINCTRL_NONE
385f126890aSEmmanuel Vadot				 AT91_PIOD 21 AT91_PERIPH_A AT91_PINCTRL_NONE>;
386f126890aSEmmanuel Vadot		};
387f126890aSEmmanuel Vadot
388f126890aSEmmanuel Vadot		pinctrl_ebi_addr_nand: ebi-addr-0 {
389f126890aSEmmanuel Vadot			atmel,pins =
390f126890aSEmmanuel Vadot				<AT91_PIOD 2 AT91_PERIPH_A (AT91_PINCTRL_NONE | AT91_PINCTRL_SLEWRATE_DIS)
391f126890aSEmmanuel Vadot				 AT91_PIOD 3 AT91_PERIPH_A (AT91_PINCTRL_NONE | AT91_PINCTRL_SLEWRATE_DIS)>;
392f126890aSEmmanuel Vadot		};
393f126890aSEmmanuel Vadot	};
394f126890aSEmmanuel Vadot
395f126890aSEmmanuel Vadot	flexcom {
396f126890aSEmmanuel Vadot		pinctrl_flx0_default: flx0_twi {
397f126890aSEmmanuel Vadot			atmel,pins =
398f126890aSEmmanuel Vadot				<AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
399f126890aSEmmanuel Vadot				 AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
400f126890aSEmmanuel Vadot		};
401f126890aSEmmanuel Vadot
402f126890aSEmmanuel Vadot		pinctrl_flx4_default: flx4_spi {
403f126890aSEmmanuel Vadot			atmel,pins =
404f126890aSEmmanuel Vadot				<AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE
405f126890aSEmmanuel Vadot				 AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE
406f126890aSEmmanuel Vadot				 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE
407f126890aSEmmanuel Vadot				 AT91_PIOA 14 AT91_PERIPH_A AT91_PINCTRL_NONE>;
408f126890aSEmmanuel Vadot		};
409f126890aSEmmanuel Vadot
410f126890aSEmmanuel Vadot		pinctrl_flx5_default: flx5_uart {
411f126890aSEmmanuel Vadot			atmel,pins =
412f126890aSEmmanuel Vadot				<AT91_PIOA 7 AT91_PERIPH_C AT91_PINCTRL_NONE
413f126890aSEmmanuel Vadot				 AT91_PIOA 8 AT91_PERIPH_B AT91_PINCTRL_NONE
414f126890aSEmmanuel Vadot				 AT91_PIOA 21 AT91_PERIPH_B AT91_PINCTRL_NONE
415f126890aSEmmanuel Vadot				 AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE>;
416f126890aSEmmanuel Vadot		};
417f126890aSEmmanuel Vadot
418f126890aSEmmanuel Vadot		pinctrl_flx6_default: flx6_twi {
419f126890aSEmmanuel Vadot			atmel,pins =
420f126890aSEmmanuel Vadot				<AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
421f126890aSEmmanuel Vadot				 AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
422f126890aSEmmanuel Vadot		};
423f126890aSEmmanuel Vadot	};
424f126890aSEmmanuel Vadot
425f126890aSEmmanuel Vadot	classd {
426f126890aSEmmanuel Vadot		pinctrl_classd_default: classd {
427f126890aSEmmanuel Vadot			atmel,pins =
428f126890aSEmmanuel Vadot				<AT91_PIOA 24 AT91_PERIPH_C AT91_PINCTRL_PULL_UP
429f126890aSEmmanuel Vadot				 AT91_PIOA 25 AT91_PERIPH_C AT91_PINCTRL_PULL_DOWN
430f126890aSEmmanuel Vadot				 AT91_PIOA 26 AT91_PERIPH_C AT91_PINCTRL_PULL_UP
431f126890aSEmmanuel Vadot				 AT91_PIOA 27 AT91_PERIPH_C AT91_PINCTRL_PULL_DOWN>;
432f126890aSEmmanuel Vadot		};
433f126890aSEmmanuel Vadot	};
434f126890aSEmmanuel Vadot
435f126890aSEmmanuel Vadot	can0 {
436f126890aSEmmanuel Vadot		pinctrl_can0_rx_tx: can0_rx_tx {
437f126890aSEmmanuel Vadot			atmel,pins =
438f126890aSEmmanuel Vadot				<AT91_PIOA 9 AT91_PERIPH_B AT91_PINCTRL_NONE	/* CANRX0 */
439f126890aSEmmanuel Vadot				 AT91_PIOA 10 AT91_PERIPH_B AT91_PINCTRL_NONE	/* CANTX0 */
440f126890aSEmmanuel Vadot				 AT91_PIOD 20 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_DOWN	/* Enable CAN0 mux */
441f126890aSEmmanuel Vadot				 AT91_PIOD 21 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_DOWN>;	/* Enable CAN Transceivers */
442f126890aSEmmanuel Vadot		};
443f126890aSEmmanuel Vadot	};
444f126890aSEmmanuel Vadot
445f126890aSEmmanuel Vadot	can1 {
446f126890aSEmmanuel Vadot		pinctrl_can1_rx_tx: can1_rx_tx {
447f126890aSEmmanuel Vadot			atmel,pins =
448f126890aSEmmanuel Vadot				<AT91_PIOA 6 AT91_PERIPH_B AT91_PINCTRL_NONE	/* CANRX1 RXD1 */
449f126890aSEmmanuel Vadot				 AT91_PIOA 5 AT91_PERIPH_B AT91_PINCTRL_NONE	/* CANTX1 TXD1 */
450f126890aSEmmanuel Vadot				 AT91_PIOD 19 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_DOWN	/* Enable CAN1 mux */
451f126890aSEmmanuel Vadot				 AT91_PIOD 21 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_DOWN>;	/* Enable CAN Transceivers */
452f126890aSEmmanuel Vadot		};
453f126890aSEmmanuel Vadot	};
454f126890aSEmmanuel Vadot
455f126890aSEmmanuel Vadot	macb0 {
456f126890aSEmmanuel Vadot		pinctrl_macb0_rmii: macb0_rmii-0 {
457f126890aSEmmanuel Vadot			atmel,pins =
458f126890aSEmmanuel Vadot				<AT91_PIOB 0 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB0 periph A */
459f126890aSEmmanuel Vadot				 AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB1 periph A */
460f126890aSEmmanuel Vadot				 AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB2 periph A */
461f126890aSEmmanuel Vadot				 AT91_PIOB 3 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB3 periph A */
462f126890aSEmmanuel Vadot				 AT91_PIOB 4 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB4 periph A */
463f126890aSEmmanuel Vadot				 AT91_PIOB 5 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB5 periph A */
464f126890aSEmmanuel Vadot				 AT91_PIOB 6 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB6 periph A */
465f126890aSEmmanuel Vadot				 AT91_PIOB 7 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB7 periph A */
466*8d13bc63SEmmanuel Vadot				 AT91_PIOB 8 AT91_PERIPH_GPIO AT91_PINCTRL_NONE	/* PB8 IRQ GPIO */
467f126890aSEmmanuel Vadot				 AT91_PIOB 9 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PB9 periph A */
468f126890aSEmmanuel Vadot				 AT91_PIOB 10 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* PB10 periph A */
469f126890aSEmmanuel Vadot		};
470f126890aSEmmanuel Vadot	};
471f126890aSEmmanuel Vadot
472f126890aSEmmanuel Vadot	pwm0 {
473f126890aSEmmanuel Vadot		pinctrl_pwm0_0: pwm0_0 {
474f126890aSEmmanuel Vadot			atmel,pins = <AT91_PIOB 11 AT91_PERIPH_B AT91_PINCTRL_NONE>;
475f126890aSEmmanuel Vadot		};
476f126890aSEmmanuel Vadot
477f126890aSEmmanuel Vadot		pinctrl_pwm0_1: pwm0_1 {
478f126890aSEmmanuel Vadot			atmel,pins = <AT91_PIOB 12 AT91_PERIPH_B AT91_PINCTRL_NONE>;
479f126890aSEmmanuel Vadot		};
480f126890aSEmmanuel Vadot
481f126890aSEmmanuel Vadot		pinctrl_pwm0_2: pwm0_2 {
482f126890aSEmmanuel Vadot			atmel,pins = <AT91_PIOB 13 AT91_PERIPH_B AT91_PINCTRL_NONE>;
483f126890aSEmmanuel Vadot		};
484f126890aSEmmanuel Vadot
485f126890aSEmmanuel Vadot		pinctrl_pwm0_3: pwm0_3 {
486f126890aSEmmanuel Vadot			atmel,pins = <AT91_PIOB 14 AT91_PERIPH_B AT91_PINCTRL_NONE>;
487f126890aSEmmanuel Vadot		};
488f126890aSEmmanuel Vadot	};
489f126890aSEmmanuel Vadot
490f126890aSEmmanuel Vadot	sdmmc0 {
491f126890aSEmmanuel Vadot		pinctrl_sdmmc0_default: sdmmc0 {
492f126890aSEmmanuel Vadot			atmel,pins =
493f126890aSEmmanuel Vadot				<AT91_PIOA 17 AT91_PERIPH_A (AT91_PINCTRL_DRIVE_STRENGTH_HI)				/* PA17 CK  periph A with pullup */
494f126890aSEmmanuel Vadot				 AT91_PIOA 16 AT91_PERIPH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI)	/* PA16 CMD periph A with pullup */
495f126890aSEmmanuel Vadot				 AT91_PIOA 15 AT91_PERIPH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI)	/* PA15 DAT0 periph A */
496f126890aSEmmanuel Vadot				 AT91_PIOA 18 AT91_PERIPH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI)	/* PA18 DAT1 periph A with pullup */
497f126890aSEmmanuel Vadot				 AT91_PIOA 19 AT91_PERIPH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI)	/* PA19 DAT2 periph A with pullup */
498f126890aSEmmanuel Vadot				 AT91_PIOA 20 AT91_PERIPH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI)>;	/* PA20 DAT3 periph A with pullup */
499f126890aSEmmanuel Vadot		};
500f126890aSEmmanuel Vadot		pinctrl_sdmmc0_cd: sdmmc0_cd {
501f126890aSEmmanuel Vadot			atmel,pins =
502f126890aSEmmanuel Vadot				<AT91_PIOA 23 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
503f126890aSEmmanuel Vadot		};
504f126890aSEmmanuel Vadot	};
505f126890aSEmmanuel Vadot
506f126890aSEmmanuel Vadot	sdmmc1 {
507f126890aSEmmanuel Vadot		pinctrl_sdmmc1_default: sdmmc1 {
508f126890aSEmmanuel Vadot			atmel,pins =
509f126890aSEmmanuel Vadot				<AT91_PIOA 13 AT91_PERIPH_B (AT91_PINCTRL_DRIVE_STRENGTH_HI)				/* PA13 CK periph B */
510f126890aSEmmanuel Vadot				 AT91_PIOA 12 AT91_PERIPH_B (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI)	/* PA12 CMD periph B with pullup */
511f126890aSEmmanuel Vadot				 AT91_PIOA 11 AT91_PERIPH_B (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI)	/* PA11 DAT0 periph B with pullup */
512f126890aSEmmanuel Vadot				 AT91_PIOA  2 AT91_PERIPH_B (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI)	/* PA2 DAT1 periph B with pullup */
513f126890aSEmmanuel Vadot				 AT91_PIOA  3 AT91_PERIPH_B (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI)	/* PA3 DAT2 periph B with pullup */
514f126890aSEmmanuel Vadot				 AT91_PIOA  4 AT91_PERIPH_B (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI)>;	/* PA4 DAT3 periph B with pullup */
515f126890aSEmmanuel Vadot		};
516f126890aSEmmanuel Vadot	};
517f126890aSEmmanuel Vadot
518f126890aSEmmanuel Vadot	gpio_keys {
519f126890aSEmmanuel Vadot		pinctrl_key_gpio_default: pinctrl_key_gpio {
520f126890aSEmmanuel Vadot			atmel,pins = <AT91_PIOD 18 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
521f126890aSEmmanuel Vadot		};
522f126890aSEmmanuel Vadot	};
523f126890aSEmmanuel Vadot
524f126890aSEmmanuel Vadot	usb0 {
525f126890aSEmmanuel Vadot		pinctrl_usba_vbus: usba_vbus {
526f126890aSEmmanuel Vadot			atmel,pins = <AT91_PIOB 16 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
527f126890aSEmmanuel Vadot		};
528f126890aSEmmanuel Vadot	};
529f126890aSEmmanuel Vadot
530f126890aSEmmanuel Vadot	usb1 {
531f126890aSEmmanuel Vadot		pinctrl_usb_default: usb_default {
532f126890aSEmmanuel Vadot			atmel,pins = <AT91_PIOD 15 AT91_PERIPH_GPIO AT91_PINCTRL_NONE
533f126890aSEmmanuel Vadot				      AT91_PIOD 16 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
534f126890aSEmmanuel Vadot		};
535f126890aSEmmanuel Vadot	};
536f126890aSEmmanuel Vadot
537f126890aSEmmanuel Vadot	leds {
538f126890aSEmmanuel Vadot		pinctrl_gpio_leds: gpio_leds {
539f126890aSEmmanuel Vadot			atmel,pins = <AT91_PIOB 11 AT91_PERIPH_GPIO AT91_PINCTRL_NONE
540f126890aSEmmanuel Vadot				      AT91_PIOB 12 AT91_PERIPH_GPIO AT91_PINCTRL_NONE
541f126890aSEmmanuel Vadot				      AT91_PIOB 13 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
542f126890aSEmmanuel Vadot		};
543f126890aSEmmanuel Vadot	};
544f126890aSEmmanuel Vadot}; /* pinctrl */
545f126890aSEmmanuel Vadot
546f126890aSEmmanuel Vadot&pwm0 {
547f126890aSEmmanuel Vadot	pinctrl-names = "default";
548f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pwm0_0 &pinctrl_pwm0_1 &pinctrl_pwm0_2 &pinctrl_pwm0_3>;
549f126890aSEmmanuel Vadot	status = "disabled"; /* Conflict with leds. */
550f126890aSEmmanuel Vadot};
551f126890aSEmmanuel Vadot
552f126890aSEmmanuel Vadot&sdmmc0 {
553f126890aSEmmanuel Vadot	bus-width = <4>;
554f126890aSEmmanuel Vadot	pinctrl-names = "default";
555f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_sdmmc0_default &pinctrl_sdmmc0_cd>;
556f126890aSEmmanuel Vadot	status = "okay";
557f126890aSEmmanuel Vadot	cd-gpios = <&pioA 23 GPIO_ACTIVE_LOW>;
558f126890aSEmmanuel Vadot	disable-wp;
559f126890aSEmmanuel Vadot};
560f126890aSEmmanuel Vadot
561f126890aSEmmanuel Vadot&sdmmc1 {
562f126890aSEmmanuel Vadot	bus-width = <4>;
563f126890aSEmmanuel Vadot	pinctrl-names = "default";
564f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_sdmmc1_default>;
565f126890aSEmmanuel Vadot	no-1-8-v;
566f126890aSEmmanuel Vadot	non-removable;
567f126890aSEmmanuel Vadot	status = "disabled"; /* Conflict with flx4. */
568f126890aSEmmanuel Vadot};
569f126890aSEmmanuel Vadot
570f126890aSEmmanuel Vadot&qspi {
571f126890aSEmmanuel Vadot	pinctrl-names = "default";
572f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_qspi>;
573f126890aSEmmanuel Vadot	status = "okay"; /* Conflict with i2s. */
574f126890aSEmmanuel Vadot
575f126890aSEmmanuel Vadot	flash@0 {
576f126890aSEmmanuel Vadot		#address-cells = <1>;
577f126890aSEmmanuel Vadot		#size-cells = <1>;
578f126890aSEmmanuel Vadot		compatible = "jedec,spi-nor";
579f126890aSEmmanuel Vadot		reg = <0>;
580f126890aSEmmanuel Vadot		spi-max-frequency = <104000000>;
581f126890aSEmmanuel Vadot		spi-cs-setup-ns = <7>;
582f126890aSEmmanuel Vadot		spi-tx-bus-width = <4>;
583f126890aSEmmanuel Vadot		spi-rx-bus-width = <4>;
584f126890aSEmmanuel Vadot		m25p,fast-read;
585f126890aSEmmanuel Vadot
586f126890aSEmmanuel Vadot		at91bootstrap@0 {
587f126890aSEmmanuel Vadot			label = "qspi: at91bootstrap";
588f126890aSEmmanuel Vadot			reg = <0x0 0x40000>;
589f126890aSEmmanuel Vadot		};
590f126890aSEmmanuel Vadot
591f126890aSEmmanuel Vadot		bootloader@40000 {
592f126890aSEmmanuel Vadot			label = "qspi: bootloader";
593f126890aSEmmanuel Vadot			reg = <0x40000 0xc0000>;
594f126890aSEmmanuel Vadot		};
595f126890aSEmmanuel Vadot
596f126890aSEmmanuel Vadot		bootloaderenvred@100000 {
597f126890aSEmmanuel Vadot			label = "qspi: bootloader env redundant";
598f126890aSEmmanuel Vadot			reg = <0x100000 0x40000>;
599f126890aSEmmanuel Vadot		};
600f126890aSEmmanuel Vadot
601f126890aSEmmanuel Vadot		bootloaderenv@140000 {
602f126890aSEmmanuel Vadot			label = "qspi: bootloader env";
603f126890aSEmmanuel Vadot			reg = <0x140000 0x40000>;
604f126890aSEmmanuel Vadot		};
605f126890aSEmmanuel Vadot
606f126890aSEmmanuel Vadot		dtb@180000 {
607f126890aSEmmanuel Vadot			label = "qspi: device tree";
608f126890aSEmmanuel Vadot			reg = <0x180000 0x80000>;
609f126890aSEmmanuel Vadot		};
610f126890aSEmmanuel Vadot
611f126890aSEmmanuel Vadot		kernel@200000 {
612f126890aSEmmanuel Vadot			label = "qspi: kernel";
613f126890aSEmmanuel Vadot			reg = <0x200000 0x600000>;
614f126890aSEmmanuel Vadot		};
615f126890aSEmmanuel Vadot	};
616f126890aSEmmanuel Vadot};
617f126890aSEmmanuel Vadot
618f126890aSEmmanuel Vadot&rtt {
619f126890aSEmmanuel Vadot	atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
620f126890aSEmmanuel Vadot	status = "okay";
621f126890aSEmmanuel Vadot};
622f126890aSEmmanuel Vadot
623f126890aSEmmanuel Vadot&shutdown_controller {
624f126890aSEmmanuel Vadot	debounce-delay-us = <976>;
625f126890aSEmmanuel Vadot	status = "okay";
626f126890aSEmmanuel Vadot
627f126890aSEmmanuel Vadot	input@0 {
628f126890aSEmmanuel Vadot		reg = <0>;
629f126890aSEmmanuel Vadot	};
630f126890aSEmmanuel Vadot};
631f126890aSEmmanuel Vadot
632f126890aSEmmanuel Vadot&tcb0 {
633f126890aSEmmanuel Vadot	timer0: timer@0 {
634f126890aSEmmanuel Vadot		compatible = "atmel,tcb-timer";
635f126890aSEmmanuel Vadot		reg = <0>;
636f126890aSEmmanuel Vadot	};
637f126890aSEmmanuel Vadot
638f126890aSEmmanuel Vadot	timer1: timer@1 {
639f126890aSEmmanuel Vadot		compatible = "atmel,tcb-timer";
640f126890aSEmmanuel Vadot		reg = <1>;
641f126890aSEmmanuel Vadot	};
642f126890aSEmmanuel Vadot};
643f126890aSEmmanuel Vadot
644f126890aSEmmanuel Vadot&usb0 {
645f126890aSEmmanuel Vadot	atmel,vbus-gpio = <&pioB 16 GPIO_ACTIVE_HIGH>;
646f126890aSEmmanuel Vadot	pinctrl-names = "default";
647f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usba_vbus>;
648f126890aSEmmanuel Vadot	status = "okay";
649f126890aSEmmanuel Vadot};
650f126890aSEmmanuel Vadot
651f126890aSEmmanuel Vadot&usb1 {
652f126890aSEmmanuel Vadot	num-ports = <3>;
653f126890aSEmmanuel Vadot	atmel,vbus-gpio = <0
654f126890aSEmmanuel Vadot			   &pioD 15 GPIO_ACTIVE_HIGH
655f126890aSEmmanuel Vadot			   &pioD 16 GPIO_ACTIVE_HIGH>;
656f126890aSEmmanuel Vadot	pinctrl-names = "default";
657f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usb_default>;
658f126890aSEmmanuel Vadot	status = "okay";
659f126890aSEmmanuel Vadot};
660f126890aSEmmanuel Vadot
661f126890aSEmmanuel Vadot&usb2 {
662f126890aSEmmanuel Vadot	status = "okay";
663f126890aSEmmanuel Vadot};
664f126890aSEmmanuel Vadot
665f126890aSEmmanuel Vadot&watchdog {
666f126890aSEmmanuel Vadot	status = "okay";
667f126890aSEmmanuel Vadot};
668f126890aSEmmanuel Vadot
669