xref: /linux/arch/arm/boot/dts/microchip/at91-sama7g54_curiosity.dts (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
1ebd6591fSMihai Sain// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2ebd6591fSMihai Sain/*
3ebd6591fSMihai Sain * at91-sama7g54_curiosity.dts - Device Tree file for SAMA7G54 Curiosity Board
4ebd6591fSMihai Sain *
5ebd6591fSMihai Sain * Copyright (C) 2024 Microchip Technology Inc. and its subsidiaries
6ebd6591fSMihai Sain *
7ebd6591fSMihai Sain * Author: Mihai Sain <mihai.sain@microchip.com>
8ebd6591fSMihai Sain *
9ebd6591fSMihai Sain */
10ebd6591fSMihai Sain/dts-v1/;
11ebd6591fSMihai Sain#include "sama7g5-pinfunc.h"
12ebd6591fSMihai Sain#include "sama7g5.dtsi"
13ebd6591fSMihai Sain#include <dt-bindings/input/input.h>
14ebd6591fSMihai Sain#include <dt-bindings/leds/common.h>
15ebd6591fSMihai Sain#include <dt-bindings/mfd/atmel-flexcom.h>
16ebd6591fSMihai Sain#include <dt-bindings/pinctrl/at91.h>
17ebd6591fSMihai Sain
18ebd6591fSMihai Sain/ {
19ebd6591fSMihai Sain	model = "Microchip SAMA7G54 Curiosity";
20ebd6591fSMihai Sain	compatible = "microchip,sama7g54-curiosity", "microchip,sama7g5", "microchip,sama7";
21ebd6591fSMihai Sain
22ebd6591fSMihai Sain	aliases {
23ebd6591fSMihai Sain		serial0 = &uart3;
24ebd6591fSMihai Sain		i2c0 = &i2c10;
25ebd6591fSMihai Sain	};
26ebd6591fSMihai Sain
27ebd6591fSMihai Sain	chosen {
28ebd6591fSMihai Sain		stdout-path = "serial0:115200n8";
29ebd6591fSMihai Sain	};
30ebd6591fSMihai Sain
31ebd6591fSMihai Sain	gpio-keys {
32ebd6591fSMihai Sain		compatible = "gpio-keys";
33ebd6591fSMihai Sain		pinctrl-names = "default";
34ebd6591fSMihai Sain		pinctrl-0 = <&pinctrl_key_gpio_default>;
35ebd6591fSMihai Sain
36ebd6591fSMihai Sain		button-user {
37ebd6591fSMihai Sain			label = "user-button";
38ebd6591fSMihai Sain			gpios = <&pioA PIN_PD19 GPIO_ACTIVE_LOW>;
39ebd6591fSMihai Sain			linux,code = <KEY_PROG1>;
40ebd6591fSMihai Sain			wakeup-source;
41ebd6591fSMihai Sain		};
42ebd6591fSMihai Sain	};
43ebd6591fSMihai Sain
44ebd6591fSMihai Sain	leds {
45ebd6591fSMihai Sain		compatible = "gpio-leds";
46ebd6591fSMihai Sain		pinctrl-names = "default";
47ebd6591fSMihai Sain		pinctrl-0 = <&pinctrl_led_gpio_default>;
48ebd6591fSMihai Sain
49ebd6591fSMihai Sain		led-red {
50ebd6591fSMihai Sain			color = <LED_COLOR_ID_RED>;
51ebd6591fSMihai Sain			function = LED_FUNCTION_POWER;
52ebd6591fSMihai Sain			gpios = <&pioA PIN_PD13 GPIO_ACTIVE_HIGH>;
53ebd6591fSMihai Sain			default-state = "off";
54ebd6591fSMihai Sain		};
55ebd6591fSMihai Sain
56ebd6591fSMihai Sain		led-green {
57ebd6591fSMihai Sain			color = <LED_COLOR_ID_GREEN>;
58ebd6591fSMihai Sain			function = LED_FUNCTION_BOOT;
59ebd6591fSMihai Sain			gpios = <&pioA PIN_PD14 GPIO_ACTIVE_HIGH>;
60ebd6591fSMihai Sain			default-state = "off";
61ebd6591fSMihai Sain		};
62ebd6591fSMihai Sain
63ebd6591fSMihai Sain		led-blue {
64ebd6591fSMihai Sain			color = <LED_COLOR_ID_BLUE>;
65ebd6591fSMihai Sain			function = LED_FUNCTION_CPU;
66ebd6591fSMihai Sain			gpios = <&pioA PIN_PB15 GPIO_ACTIVE_HIGH>;
67ebd6591fSMihai Sain			linux,default-trigger = "heartbeat";
68ebd6591fSMihai Sain		};
69ebd6591fSMihai Sain	};
70ebd6591fSMihai Sain
71ebd6591fSMihai Sain	memory@60000000 {
72ebd6591fSMihai Sain		device_type = "memory";
73ebd6591fSMihai Sain		reg = <0x60000000 0x10000000>; /* 256 MiB DDR3L-1066 16-bit */
74ebd6591fSMihai Sain	};
75*b6f4d5bcSAndrei Simion
76*b6f4d5bcSAndrei Simion	reg_5v: regulator-5v {
77*b6f4d5bcSAndrei Simion		compatible = "regulator-fixed";
78*b6f4d5bcSAndrei Simion		regulator-name = "5V_MAIN";
79*b6f4d5bcSAndrei Simion		regulator-min-microvolt = <5000000>;
80*b6f4d5bcSAndrei Simion		regulator-max-microvolt = <5000000>;
81*b6f4d5bcSAndrei Simion		regulator-always-on;
82*b6f4d5bcSAndrei Simion	};
83ebd6591fSMihai Sain};
84ebd6591fSMihai Sain
85ebd6591fSMihai Sain&adc {
86ebd6591fSMihai Sain	vddana-supply = <&vddout25>;
87ebd6591fSMihai Sain	vref-supply = <&vddout25>;
88ebd6591fSMihai Sain	pinctrl-names = "default";
89ebd6591fSMihai Sain	pinctrl-0 = <&pinctrl_mikrobus1_an_default &pinctrl_mikrobus2_an_default>;
90ebd6591fSMihai Sain	status = "okay";
91ebd6591fSMihai Sain};
92ebd6591fSMihai Sain
93ebd6591fSMihai Sain&cpu0 {
94ebd6591fSMihai Sain	cpu-supply = <&vddcpu>;
95ebd6591fSMihai Sain};
96ebd6591fSMihai Sain
97ebd6591fSMihai Sain&dma0 {
98ebd6591fSMihai Sain	status = "okay";
99ebd6591fSMihai Sain};
100ebd6591fSMihai Sain
101ebd6591fSMihai Sain&dma1 {
102ebd6591fSMihai Sain	status = "okay";
103ebd6591fSMihai Sain};
104ebd6591fSMihai Sain
105ebd6591fSMihai Sain&dma2 {
106ebd6591fSMihai Sain	status = "okay";
107ebd6591fSMihai Sain};
108ebd6591fSMihai Sain
109ebd6591fSMihai Sain&ebi {
110ebd6591fSMihai Sain	pinctrl-names = "default";
111ebd6591fSMihai Sain	pinctrl-0 = <&pinctrl_nand_default>;
112ebd6591fSMihai Sain	status = "okay";
113ebd6591fSMihai Sain
114ebd6591fSMihai Sain	nand_controller: nand-controller {
115ebd6591fSMihai Sain		status = "okay";
116ebd6591fSMihai Sain
117ebd6591fSMihai Sain		nand@3 {
118ebd6591fSMihai Sain			reg = <0x3 0x0 0x800000>;
119ebd6591fSMihai Sain			atmel,rb = <0>;
120ebd6591fSMihai Sain			nand-bus-width = <8>;
121ebd6591fSMihai Sain			nand-ecc-mode = "hw";
122ebd6591fSMihai Sain			nand-ecc-strength = <8>;
123ebd6591fSMihai Sain			nand-ecc-step-size = <512>;
124ebd6591fSMihai Sain			nand-on-flash-bbt;
125ebd6591fSMihai Sain			label = "nand";
126ebd6591fSMihai Sain
127ebd6591fSMihai Sain			partitions {
128ebd6591fSMihai Sain				compatible = "fixed-partitions";
129ebd6591fSMihai Sain				#address-cells = <1>;
130ebd6591fSMihai Sain				#size-cells = <1>;
131ebd6591fSMihai Sain
132ebd6591fSMihai Sain				at91bootstrap@0 {
133ebd6591fSMihai Sain					label = "nand: at91bootstrap";
134ebd6591fSMihai Sain					reg = <0x0 0x40000>;
135ebd6591fSMihai Sain				};
136ebd6591fSMihai Sain
137ebd6591fSMihai Sain				bootloader@40000 {
138ebd6591fSMihai Sain					label = "nand: u-boot";
139ebd6591fSMihai Sain					reg = <0x40000 0x100000>;
140ebd6591fSMihai Sain				};
141ebd6591fSMihai Sain
142ebd6591fSMihai Sain				bootloaderenv@140000 {
143ebd6591fSMihai Sain					label = "nand: u-boot env";
144ebd6591fSMihai Sain					reg = <0x140000 0x40000>;
145ebd6591fSMihai Sain				};
146ebd6591fSMihai Sain
147ebd6591fSMihai Sain				dtb@180000 {
148ebd6591fSMihai Sain					label = "nand: device tree";
149ebd6591fSMihai Sain					reg = <0x180000 0x80000>;
150ebd6591fSMihai Sain				};
151ebd6591fSMihai Sain
152ebd6591fSMihai Sain				kernel@200000 {
153ebd6591fSMihai Sain					label = "nand: kernel";
154ebd6591fSMihai Sain					reg = <0x200000 0x600000>;
155ebd6591fSMihai Sain				};
156ebd6591fSMihai Sain
157ebd6591fSMihai Sain				rootfs@800000 {
158ebd6591fSMihai Sain					label = "nand: rootfs";
159ebd6591fSMihai Sain					reg = <0x800000 0x1f800000>;
160ebd6591fSMihai Sain				};
161ebd6591fSMihai Sain			};
162ebd6591fSMihai Sain		};
163ebd6591fSMihai Sain	};
164ebd6591fSMihai Sain};
165ebd6591fSMihai Sain
166ebd6591fSMihai Sain&flx3 {
167ebd6591fSMihai Sain	atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_USART>;
168ebd6591fSMihai Sain	status = "okay";
169ebd6591fSMihai Sain
170ebd6591fSMihai Sain	uart3: serial@200 {
171ebd6591fSMihai Sain		pinctrl-names = "default";
172ebd6591fSMihai Sain		pinctrl-0 = <&pinctrl_flx3_default>;
173ebd6591fSMihai Sain		status = "okay";
174ebd6591fSMihai Sain	};
175ebd6591fSMihai Sain};
176ebd6591fSMihai Sain
177ebd6591fSMihai Sain&flx10 {
178ebd6591fSMihai Sain	atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_TWI>;
179ebd6591fSMihai Sain	status = "okay";
180ebd6591fSMihai Sain
181ebd6591fSMihai Sain	i2c10: i2c@600 {
182ebd6591fSMihai Sain		pinctrl-names = "default";
183ebd6591fSMihai Sain		pinctrl-0 = <&pinctrl_flx10_default>;
184ebd6591fSMihai Sain		i2c-analog-filter;
185ebd6591fSMihai Sain		i2c-digital-filter;
186ebd6591fSMihai Sain		i2c-digital-filter-width-ns = <35>;
187ebd6591fSMihai Sain		status = "okay";
188ebd6591fSMihai Sain
189ebd6591fSMihai Sain		eeprom@51 {
190ebd6591fSMihai Sain			compatible = "atmel,24c02";
191ebd6591fSMihai Sain			reg = <0x51>;
192ebd6591fSMihai Sain			pagesize = <16>;
193ebd6591fSMihai Sain			size = <256>;
194ebd6591fSMihai Sain			vcc-supply = <&vdd_3v3>;
195ebd6591fSMihai Sain		};
196ebd6591fSMihai Sain
197ebd6591fSMihai Sain		pmic@5b {
198ebd6591fSMihai Sain			compatible = "microchip,mcp16502";
199ebd6591fSMihai Sain			reg = <0x5b>;
200*b6f4d5bcSAndrei Simion			lvin-supply = <&reg_5v>;
201*b6f4d5bcSAndrei Simion			pvin1-supply = <&reg_5v>;
202*b6f4d5bcSAndrei Simion			pvin2-supply = <&reg_5v>;
203*b6f4d5bcSAndrei Simion			pvin3-supply = <&reg_5v>;
204*b6f4d5bcSAndrei Simion			pvin4-supply = <&reg_5v>;
205ebd6591fSMihai Sain
206ebd6591fSMihai Sain			regulators {
207ebd6591fSMihai Sain				vdd_3v3: VDD_IO {
208ebd6591fSMihai Sain					regulator-name = "VDD_IO";
209ebd6591fSMihai Sain					regulator-min-microvolt = <3300000>;
210ebd6591fSMihai Sain					regulator-max-microvolt = <3300000>;
211ebd6591fSMihai Sain					regulator-initial-mode = <2>;
212ebd6591fSMihai Sain					regulator-allowed-modes = <2>, <4>;
213ebd6591fSMihai Sain					regulator-always-on;
214ebd6591fSMihai Sain
215ebd6591fSMihai Sain					regulator-state-standby {
216ebd6591fSMihai Sain						regulator-on-in-suspend;
217ebd6591fSMihai Sain						regulator-suspend-microvolt = <3300000>;
218ebd6591fSMihai Sain						regulator-mode = <4>;
219ebd6591fSMihai Sain					};
220ebd6591fSMihai Sain
221ebd6591fSMihai Sain					regulator-state-mem {
222ebd6591fSMihai Sain						regulator-off-in-suspend;
223ebd6591fSMihai Sain						regulator-mode = <4>;
224ebd6591fSMihai Sain					};
225ebd6591fSMihai Sain				};
226ebd6591fSMihai Sain
227ebd6591fSMihai Sain				vddioddr: VDD_DDR {
228ebd6591fSMihai Sain					regulator-name = "VDD_DDR";
229ebd6591fSMihai Sain					regulator-min-microvolt = <1350000>;
230ebd6591fSMihai Sain					regulator-max-microvolt = <1350000>;
231ebd6591fSMihai Sain					regulator-initial-mode = <2>;
232ebd6591fSMihai Sain					regulator-allowed-modes = <2>, <4>;
233ebd6591fSMihai Sain					regulator-always-on;
234ebd6591fSMihai Sain
235ebd6591fSMihai Sain					regulator-state-standby {
236ebd6591fSMihai Sain						regulator-on-in-suspend;
237ebd6591fSMihai Sain						regulator-suspend-microvolt = <1350000>;
238ebd6591fSMihai Sain						regulator-mode = <4>;
239ebd6591fSMihai Sain					};
240ebd6591fSMihai Sain
241ebd6591fSMihai Sain					regulator-state-mem {
242ebd6591fSMihai Sain						regulator-on-in-suspend;
243ebd6591fSMihai Sain						regulator-suspend-microvolt = <1350000>;
244ebd6591fSMihai Sain						regulator-mode = <4>;
245ebd6591fSMihai Sain					};
246ebd6591fSMihai Sain				};
247ebd6591fSMihai Sain
248ebd6591fSMihai Sain				vddcore: VDD_CORE {
249ebd6591fSMihai Sain					regulator-name = "VDD_CORE";
250ebd6591fSMihai Sain					regulator-min-microvolt = <1150000>;
251ebd6591fSMihai Sain					regulator-max-microvolt = <1150000>;
252ebd6591fSMihai Sain					regulator-initial-mode = <2>;
253ebd6591fSMihai Sain					regulator-allowed-modes = <2>, <4>;
254ebd6591fSMihai Sain					regulator-always-on;
255ebd6591fSMihai Sain
256ebd6591fSMihai Sain					regulator-state-standby {
257ebd6591fSMihai Sain						regulator-on-in-suspend;
2581fe5e0a3SAndrei Simion						regulator-suspend-microvolt = <1150000>;
259ebd6591fSMihai Sain						regulator-mode = <4>;
260ebd6591fSMihai Sain					};
261ebd6591fSMihai Sain
262ebd6591fSMihai Sain					regulator-state-mem {
263ebd6591fSMihai Sain						regulator-off-in-suspend;
264ebd6591fSMihai Sain						regulator-mode = <4>;
265ebd6591fSMihai Sain					};
266ebd6591fSMihai Sain				};
267ebd6591fSMihai Sain
268ebd6591fSMihai Sain				vddcpu: VDD_OTHER {
269ebd6591fSMihai Sain					regulator-name = "VDD_OTHER";
270ebd6591fSMihai Sain					regulator-min-microvolt = <1050000>;
271ebd6591fSMihai Sain					regulator-max-microvolt = <1250000>;
272ebd6591fSMihai Sain					regulator-initial-mode = <2>;
273ebd6591fSMihai Sain					regulator-allowed-modes = <2>, <4>;
274ebd6591fSMihai Sain					regulator-ramp-delay = <3125>;
275ebd6591fSMihai Sain					regulator-always-on;
276ebd6591fSMihai Sain
277ebd6591fSMihai Sain					regulator-state-standby {
278ebd6591fSMihai Sain						regulator-on-in-suspend;
2791fe5e0a3SAndrei Simion						regulator-suspend-microvolt = <1050000>;
280ebd6591fSMihai Sain						regulator-mode = <4>;
281ebd6591fSMihai Sain					};
282ebd6591fSMihai Sain
283ebd6591fSMihai Sain					regulator-state-mem {
284ebd6591fSMihai Sain						regulator-off-in-suspend;
285ebd6591fSMihai Sain						regulator-mode = <4>;
286ebd6591fSMihai Sain					};
287ebd6591fSMihai Sain				};
288ebd6591fSMihai Sain
289ebd6591fSMihai Sain				vldo1: LDO1 {
290ebd6591fSMihai Sain					regulator-name = "LDO1";
291ebd6591fSMihai Sain					regulator-min-microvolt = <1800000>;
292ebd6591fSMihai Sain					regulator-max-microvolt = <1800000>;
293ebd6591fSMihai Sain					regulator-always-on;
294ebd6591fSMihai Sain
295ebd6591fSMihai Sain					regulator-state-standby {
2961fe5e0a3SAndrei Simion						regulator-suspend-microvolt = <1800000>;
297ebd6591fSMihai Sain						regulator-on-in-suspend;
298ebd6591fSMihai Sain					};
299ebd6591fSMihai Sain
300ebd6591fSMihai Sain					regulator-state-mem {
301ebd6591fSMihai Sain						regulator-off-in-suspend;
302ebd6591fSMihai Sain					};
303ebd6591fSMihai Sain				};
304ebd6591fSMihai Sain
305ebd6591fSMihai Sain				vldo2: LDO2 {
306ebd6591fSMihai Sain					regulator-name = "LDO2";
307ebd6591fSMihai Sain					regulator-min-microvolt = <3300000>;
308ebd6591fSMihai Sain					regulator-max-microvolt = <3300000>;
309ebd6591fSMihai Sain					regulator-always-on;
310ebd6591fSMihai Sain
311ebd6591fSMihai Sain					regulator-state-standby {
3121fe5e0a3SAndrei Simion						regulator-suspend-microvolt = <3300000>;
313ebd6591fSMihai Sain						regulator-on-in-suspend;
314ebd6591fSMihai Sain					};
315ebd6591fSMihai Sain
316ebd6591fSMihai Sain					regulator-state-mem {
317ebd6591fSMihai Sain						regulator-off-in-suspend;
318ebd6591fSMihai Sain					};
319ebd6591fSMihai Sain				};
320ebd6591fSMihai Sain			};
321ebd6591fSMihai Sain		};
322ebd6591fSMihai Sain	};
323ebd6591fSMihai Sain};
324ebd6591fSMihai Sain
325ebd6591fSMihai Sain&main_xtal {
326ebd6591fSMihai Sain	clock-frequency = <24000000>;
327ebd6591fSMihai Sain};
328ebd6591fSMihai Sain
329ebd6591fSMihai Sain&qspi1 {
330ebd6591fSMihai Sain	pinctrl-names = "default";
331ebd6591fSMihai Sain	pinctrl-0 = <&pinctrl_qspi1_default>;
332ebd6591fSMihai Sain	status = "okay";
333ebd6591fSMihai Sain
334ebd6591fSMihai Sain	flash@0 {
335ebd6591fSMihai Sain		compatible = "jedec,spi-nor";
336ebd6591fSMihai Sain		reg = <0x0>;
337ebd6591fSMihai Sain		spi-max-frequency = <100000000>;
338ebd6591fSMihai Sain		spi-tx-bus-width = <4>;
339ebd6591fSMihai Sain		spi-rx-bus-width = <4>;
340ebd6591fSMihai Sain		m25p,fast-read;
341ebd6591fSMihai Sain	};
342ebd6591fSMihai Sain};
343ebd6591fSMihai Sain
344ebd6591fSMihai Sain&pioA {
345ebd6591fSMihai Sain	pinctrl_flx3_default: flx3-default {
346ebd6591fSMihai Sain		pinmux = <PIN_PD16__FLEXCOM3_IO0>,
347ebd6591fSMihai Sain			 <PIN_PD17__FLEXCOM3_IO1>;
348ebd6591fSMihai Sain		bias-pull-up;
349ebd6591fSMihai Sain	};
350ebd6591fSMihai Sain
351ebd6591fSMihai Sain	pinctrl_flx10_default: flx10-default {
352ebd6591fSMihai Sain		pinmux = <PIN_PC30__FLEXCOM10_IO0>,
353ebd6591fSMihai Sain			 <PIN_PC31__FLEXCOM10_IO1>;
354ebd6591fSMihai Sain		bias-pull-up;
355ebd6591fSMihai Sain	};
356ebd6591fSMihai Sain
357ebd6591fSMihai Sain	pinctrl_key_gpio_default: key-gpio-default {
358ebd6591fSMihai Sain		pinmux = <PIN_PD19__GPIO>;
359ebd6591fSMihai Sain		bias-pull-up;
360ebd6591fSMihai Sain	};
361ebd6591fSMihai Sain
362ebd6591fSMihai Sain	pinctrl_led_gpio_default: led-gpio-default {
363ebd6591fSMihai Sain		pinmux = <PIN_PD13__GPIO>,
364ebd6591fSMihai Sain			 <PIN_PD14__GPIO>,
365ebd6591fSMihai Sain			 <PIN_PB15__GPIO>;
366ebd6591fSMihai Sain		bias-pull-up;
367ebd6591fSMihai Sain	};
368ebd6591fSMihai Sain
369ebd6591fSMihai Sain	pinctrl_mikrobus1_an_default: mikrobus1-an-default {
370ebd6591fSMihai Sain		pinmux = <PIN_PC15__GPIO>;
371ebd6591fSMihai Sain		bias-disable;
372ebd6591fSMihai Sain	};
373ebd6591fSMihai Sain
374ebd6591fSMihai Sain	pinctrl_mikrobus2_an_default: mikrobus2-an-default {
375ebd6591fSMihai Sain		pinmux = <PIN_PC13__GPIO>;
376ebd6591fSMihai Sain		bias-disable;
377ebd6591fSMihai Sain	};
378ebd6591fSMihai Sain
379ebd6591fSMihai Sain	pinctrl_nand_default: nand-default {
380ebd6591fSMihai Sain		pinmux = <PIN_PD9__D0>,
381ebd6591fSMihai Sain			 <PIN_PD10__D1>,
382ebd6591fSMihai Sain			 <PIN_PD11__D2>,
383ebd6591fSMihai Sain			 <PIN_PC21__D3>,
384ebd6591fSMihai Sain			 <PIN_PC22__D4>,
385ebd6591fSMihai Sain			 <PIN_PC23__D5>,
386ebd6591fSMihai Sain			 <PIN_PC24__D6>,
387ebd6591fSMihai Sain			 <PIN_PD2__D7>,
388ebd6591fSMihai Sain			 <PIN_PD3__NANDRDY>,
389ebd6591fSMihai Sain			 <PIN_PD4__NCS3_NANDCS>,
390ebd6591fSMihai Sain			 <PIN_PD5__NWE_NWR0_NANDWE>,
391ebd6591fSMihai Sain			 <PIN_PD6__NRD_NANDOE>,
392ebd6591fSMihai Sain			 <PIN_PD7__A21_NANDALE>,
393ebd6591fSMihai Sain			 <PIN_PD8__A22_NANDCLE>;
394ebd6591fSMihai Sain		bias-disable;
395ebd6591fSMihai Sain		slew-rate = <0>;
396ebd6591fSMihai Sain	};
397ebd6591fSMihai Sain
398ebd6591fSMihai Sain	pinctrl_qspi1_default: qspi1-default {
399ebd6591fSMihai Sain		pinmux = <PIN_PB22__QSPI1_IO3>,
400ebd6591fSMihai Sain			 <PIN_PB23__QSPI1_IO2>,
401ebd6591fSMihai Sain			 <PIN_PB24__QSPI1_IO1>,
402ebd6591fSMihai Sain			 <PIN_PB25__QSPI1_IO0>,
403ebd6591fSMihai Sain			 <PIN_PB26__QSPI1_CS>,
404ebd6591fSMihai Sain			 <PIN_PB27__QSPI1_SCK>;
405ebd6591fSMihai Sain		bias-pull-up;
406ebd6591fSMihai Sain		slew-rate = <0>;
407ebd6591fSMihai Sain	};
408ebd6591fSMihai Sain
409ebd6591fSMihai Sain	pinctrl_sdmmc0_default: sdmmc0-default {
410ebd6591fSMihai Sain		pinmux = <PIN_PA0__SDMMC0_CK>,
411ebd6591fSMihai Sain			 <PIN_PA1__SDMMC0_CMD>,
412ebd6591fSMihai Sain			 <PIN_PA2__SDMMC0_RSTN>,
413ebd6591fSMihai Sain			 <PIN_PA3__SDMMC0_DAT0>,
414ebd6591fSMihai Sain			 <PIN_PA4__SDMMC0_DAT1>,
415ebd6591fSMihai Sain			 <PIN_PA5__SDMMC0_DAT2>,
416ebd6591fSMihai Sain			 <PIN_PA6__SDMMC0_DAT3>;
417ebd6591fSMihai Sain		bias-pull-up;
418ebd6591fSMihai Sain		slew-rate = <0>;
419ebd6591fSMihai Sain	};
420ebd6591fSMihai Sain
421ebd6591fSMihai Sain	pinctrl_sdmmc1_default: sdmmc1-default {
422ebd6591fSMihai Sain		pinmux = <PIN_PB29__SDMMC1_CMD>,
423ebd6591fSMihai Sain			 <PIN_PB30__SDMMC1_CK>,
424ebd6591fSMihai Sain			 <PIN_PB31__SDMMC1_DAT0>,
425ebd6591fSMihai Sain			 <PIN_PC0__SDMMC1_DAT1>,
426ebd6591fSMihai Sain			 <PIN_PC1__SDMMC1_DAT2>,
427ebd6591fSMihai Sain			 <PIN_PC2__SDMMC1_DAT3>,
428ebd6591fSMihai Sain			 <PIN_PC4__SDMMC1_CD>;
429ebd6591fSMihai Sain		bias-pull-up;
430ebd6591fSMihai Sain		slew-rate = <0>;
431ebd6591fSMihai Sain	};
432ebd6591fSMihai Sain};
433ebd6591fSMihai Sain
434ebd6591fSMihai Sain&rtt {
435ebd6591fSMihai Sain	atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
436ebd6591fSMihai Sain};
437ebd6591fSMihai Sain
438ebd6591fSMihai Sain/* M.2 slot for wireless card */
439ebd6591fSMihai Sain&sdmmc0 {
440ebd6591fSMihai Sain	bus-width = <4>;
441ebd6591fSMihai Sain	cd-gpios = <&pioA 31 GPIO_ACTIVE_LOW>;
442ebd6591fSMihai Sain	disable-wp;
443ebd6591fSMihai Sain	sdhci-caps-mask = <0x0 0x00200000>;
444ebd6591fSMihai Sain	vmmc-supply = <&vdd_3v3>;
445ebd6591fSMihai Sain	vqmmc-supply = <&vdd_3v3>;
446ebd6591fSMihai Sain	pinctrl-names = "default";
447ebd6591fSMihai Sain	pinctrl-0 = <&pinctrl_sdmmc0_default>;
448ebd6591fSMihai Sain	status = "okay";
449ebd6591fSMihai Sain};
450ebd6591fSMihai Sain
451ebd6591fSMihai Sain/* micro SD socket */
452ebd6591fSMihai Sain&sdmmc1 {
453ebd6591fSMihai Sain	bus-width = <4>;
454ebd6591fSMihai Sain	disable-wp;
455ebd6591fSMihai Sain	sdhci-caps-mask = <0x0 0x00200000>;
456ebd6591fSMihai Sain	vmmc-supply = <&vdd_3v3>;
457ebd6591fSMihai Sain	vqmmc-supply = <&vdd_3v3>;
458ebd6591fSMihai Sain	pinctrl-names = "default";
459ebd6591fSMihai Sain	pinctrl-0 = <&pinctrl_sdmmc1_default>;
460ebd6591fSMihai Sain	status = "okay";
461ebd6591fSMihai Sain};
462ebd6591fSMihai Sain
463ebd6591fSMihai Sain&slow_xtal {
464ebd6591fSMihai Sain	clock-frequency = <32768>;
465ebd6591fSMihai Sain};
466ebd6591fSMihai Sain
467ebd6591fSMihai Sain&shdwc {
468ebd6591fSMihai Sain	debounce-delay-us = <976>;
469ebd6591fSMihai Sain	status = "okay";
470ebd6591fSMihai Sain
471ebd6591fSMihai Sain	input@0 {
472ebd6591fSMihai Sain		reg = <0>;
473ebd6591fSMihai Sain	};
474ebd6591fSMihai Sain};
475ebd6591fSMihai Sain
476ebd6591fSMihai Sain&tcb0 {
477ebd6591fSMihai Sain	timer0: timer@0 {
478ebd6591fSMihai Sain		compatible = "atmel,tcb-timer";
479ebd6591fSMihai Sain		reg = <0>;
480ebd6591fSMihai Sain	};
481ebd6591fSMihai Sain
482ebd6591fSMihai Sain	timer1: timer@1 {
483ebd6591fSMihai Sain		compatible = "atmel,tcb-timer";
484ebd6591fSMihai Sain		reg = <1>;
485ebd6591fSMihai Sain	};
486ebd6591fSMihai Sain};
487ebd6591fSMihai Sain
488ebd6591fSMihai Sain&trng {
489ebd6591fSMihai Sain	status = "okay";
490ebd6591fSMihai Sain};
491ebd6591fSMihai Sain
492ebd6591fSMihai Sain&vddout25 {
493ebd6591fSMihai Sain	vin-supply = <&vdd_3v3>;
494ebd6591fSMihai Sain	status = "okay";
495ebd6591fSMihai Sain};
496