xref: /freebsd-src/sys/contrib/device-tree/src/arm/microchip/at91-sama5d27_wlsom1.dtsi (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * at91-sama5d27_wlsom1.dtsi - Device Tree file for SAMA5D27 WLSOM1
4f126890aSEmmanuel Vadot *
5f126890aSEmmanuel Vadot * Copyright (C) 2019 Microchip Technology Inc. and its subsidiaries
6f126890aSEmmanuel Vadot *
7f126890aSEmmanuel Vadot * Author: Nicolas Ferre <nicolas.ferre@microcihp.com>
8f126890aSEmmanuel Vadot * Author: Eugen Hristev <eugen.hristev@microcihp.com>
9f126890aSEmmanuel Vadot */
10f126890aSEmmanuel Vadot#include "sama5d2.dtsi"
11f126890aSEmmanuel Vadot#include "sama5d2-pinfunc.h"
12f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
13f126890aSEmmanuel Vadot#include <dt-bindings/mfd/atmel-flexcom.h>
14f126890aSEmmanuel Vadot#include <dt-bindings/pinctrl/at91.h>
15f126890aSEmmanuel Vadot
16f126890aSEmmanuel Vadot/ {
17f126890aSEmmanuel Vadot	model = "Microchip SAMA5D27 WLSOM1";
18f126890aSEmmanuel Vadot	compatible = "microchip,sama5d27-wlsom1", "atmel,sama5d27", "atmel,sama5d2", "atmel,sama5";
19f126890aSEmmanuel Vadot
20f126890aSEmmanuel Vadot	aliases {
21f126890aSEmmanuel Vadot		i2c0 = &i2c0;
22f126890aSEmmanuel Vadot	};
23f126890aSEmmanuel Vadot
24f126890aSEmmanuel Vadot	clocks {
25f126890aSEmmanuel Vadot		slow_xtal {
26f126890aSEmmanuel Vadot			clock-frequency = <32768>;
27f126890aSEmmanuel Vadot		};
28f126890aSEmmanuel Vadot
29f126890aSEmmanuel Vadot		main_xtal {
30f126890aSEmmanuel Vadot			clock-frequency = <24000000>;
31f126890aSEmmanuel Vadot		};
32f126890aSEmmanuel Vadot	};
33f126890aSEmmanuel Vadot
34*b2d2a78aSEmmanuel Vadot	reg_5v: regulator-5v {
35*b2d2a78aSEmmanuel Vadot		compatible = "regulator-fixed";
36*b2d2a78aSEmmanuel Vadot		regulator-name = "VDD_MAIN";
37*b2d2a78aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
38*b2d2a78aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
39*b2d2a78aSEmmanuel Vadot		regulator-always-on;
40*b2d2a78aSEmmanuel Vadot	};
41*b2d2a78aSEmmanuel Vadot
42f126890aSEmmanuel Vadot	wifi_pwrseq: wifi_pwrseq {
43f126890aSEmmanuel Vadot		compatible = "mmc-pwrseq-wilc1000";
44f126890aSEmmanuel Vadot		reset-gpios = <&pioA PIN_PA27 GPIO_ACTIVE_HIGH>;
45f126890aSEmmanuel Vadot		powerdown-gpios = <&pioA PIN_PA29 GPIO_ACTIVE_HIGH>;
46f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_wilc_pwrseq>;
47f126890aSEmmanuel Vadot		pinctrl-names = "default";
48f126890aSEmmanuel Vadot	};
49f126890aSEmmanuel Vadot};
50f126890aSEmmanuel Vadot
51f126890aSEmmanuel Vadot&flx1 {
52f126890aSEmmanuel Vadot	atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_USART>;
53f126890aSEmmanuel Vadot
54f126890aSEmmanuel Vadot	uart6: serial@200 {
55f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_flx1_default>;
56f126890aSEmmanuel Vadot		pinctrl-names = "default";
57f126890aSEmmanuel Vadot	};
58f126890aSEmmanuel Vadot};
59f126890aSEmmanuel Vadot
60f126890aSEmmanuel Vadot&i2c0 {
61f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c0_default>;
62f126890aSEmmanuel Vadot	pinctrl-1 = <&pinctrl_i2c0_gpio>;
63f126890aSEmmanuel Vadot	pinctrl-names = "default", "gpio";
64f126890aSEmmanuel Vadot	sda-gpios = <&pioA PIN_PD21 GPIO_ACTIVE_HIGH>;
65f126890aSEmmanuel Vadot	scl-gpios = <&pioA PIN_PD22 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
66f126890aSEmmanuel Vadot	status = "okay";
67f126890aSEmmanuel Vadot};
68f126890aSEmmanuel Vadot
69f126890aSEmmanuel Vadot&i2c1 {
70f126890aSEmmanuel Vadot	dmas = <0>, <0>;
71f126890aSEmmanuel Vadot	pinctrl-names = "default", "gpio";
72f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c1_default>;
73f126890aSEmmanuel Vadot	pinctrl-1 = <&pinctrl_i2c1_gpio>;
74f126890aSEmmanuel Vadot	sda-gpios = <&pioA PIN_PD19 GPIO_ACTIVE_HIGH>;
75f126890aSEmmanuel Vadot	scl-gpios = <&pioA PIN_PD20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
76f126890aSEmmanuel Vadot	status = "okay";
77f126890aSEmmanuel Vadot
78f126890aSEmmanuel Vadot	mcp16502@5b {
79f126890aSEmmanuel Vadot		compatible = "microchip,mcp16502";
80f126890aSEmmanuel Vadot		reg = <0x5b>;
81*b2d2a78aSEmmanuel Vadot		lvin-supply = <&reg_5v>;
82*b2d2a78aSEmmanuel Vadot		pvin1-supply = <&reg_5v>;
83*b2d2a78aSEmmanuel Vadot		pvin2-supply = <&reg_5v>;
84*b2d2a78aSEmmanuel Vadot		pvin3-supply = <&reg_5v>;
85*b2d2a78aSEmmanuel Vadot		pvin4-supply = <&reg_5v>;
86f126890aSEmmanuel Vadot		status = "okay";
87f126890aSEmmanuel Vadot		lpm-gpios = <&pioBU 0 GPIO_ACTIVE_LOW>;
88f126890aSEmmanuel Vadot
89f126890aSEmmanuel Vadot		regulators {
90f126890aSEmmanuel Vadot			vdd_3v3: VDD_IO {
91f126890aSEmmanuel Vadot				regulator-name = "VDD_IO";
92f126890aSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
93f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
94f126890aSEmmanuel Vadot				regulator-initial-mode = <2>;
95f126890aSEmmanuel Vadot				regulator-allowed-modes = <2>, <4>;
96f126890aSEmmanuel Vadot				regulator-always-on;
97f126890aSEmmanuel Vadot
98f126890aSEmmanuel Vadot				regulator-state-standby {
99f126890aSEmmanuel Vadot					regulator-on-in-suspend;
100f126890aSEmmanuel Vadot					regulator-mode = <4>;
101f126890aSEmmanuel Vadot				};
102f126890aSEmmanuel Vadot
103f126890aSEmmanuel Vadot				regulator-state-mem {
104f126890aSEmmanuel Vadot					regulator-off-in-suspend;
105f126890aSEmmanuel Vadot					regulator-mode = <4>;
106f126890aSEmmanuel Vadot				};
107f126890aSEmmanuel Vadot			};
108f126890aSEmmanuel Vadot
109f126890aSEmmanuel Vadot			vddio_ddr: VDD_DDR {
110f126890aSEmmanuel Vadot				regulator-name = "VDD_DDR";
111f126890aSEmmanuel Vadot				regulator-min-microvolt = <1200000>;
112f126890aSEmmanuel Vadot				regulator-max-microvolt = <1200000>;
113f126890aSEmmanuel Vadot				regulator-initial-mode = <2>;
114f126890aSEmmanuel Vadot				regulator-allowed-modes = <2>, <4>;
115f126890aSEmmanuel Vadot				regulator-always-on;
116f126890aSEmmanuel Vadot
117f126890aSEmmanuel Vadot				regulator-state-standby {
118f126890aSEmmanuel Vadot					regulator-on-in-suspend;
119f126890aSEmmanuel Vadot					regulator-suspend-microvolt = <1200000>;
120f126890aSEmmanuel Vadot					regulator-changeable-in-suspend;
121f126890aSEmmanuel Vadot					regulator-mode = <4>;
122f126890aSEmmanuel Vadot				};
123f126890aSEmmanuel Vadot
124f126890aSEmmanuel Vadot				regulator-state-mem {
125f126890aSEmmanuel Vadot					regulator-on-in-suspend;
126f126890aSEmmanuel Vadot					regulator-suspend-microvolt = <1200000>;
127f126890aSEmmanuel Vadot					regulator-changeable-in-suspend;
128f126890aSEmmanuel Vadot					regulator-mode = <4>;
129f126890aSEmmanuel Vadot				};
130f126890aSEmmanuel Vadot			};
131f126890aSEmmanuel Vadot
132f126890aSEmmanuel Vadot			vdd_core: VDD_CORE {
133f126890aSEmmanuel Vadot				regulator-name = "VDD_CORE";
134f126890aSEmmanuel Vadot				regulator-min-microvolt = <1250000>;
135f126890aSEmmanuel Vadot				regulator-max-microvolt = <1250000>;
136f126890aSEmmanuel Vadot				regulator-initial-mode = <2>;
137f126890aSEmmanuel Vadot				regulator-allowed-modes = <2>, <4>;
138f126890aSEmmanuel Vadot				regulator-always-on;
139f126890aSEmmanuel Vadot
140f126890aSEmmanuel Vadot				regulator-state-standby {
141f126890aSEmmanuel Vadot					regulator-on-in-suspend;
142f126890aSEmmanuel Vadot					regulator-mode = <4>;
143f126890aSEmmanuel Vadot				};
144f126890aSEmmanuel Vadot
145f126890aSEmmanuel Vadot				regulator-state-mem {
146f126890aSEmmanuel Vadot					regulator-off-in-suspend;
147f126890aSEmmanuel Vadot					regulator-mode = <4>;
148f126890aSEmmanuel Vadot				};
149f126890aSEmmanuel Vadot			};
150f126890aSEmmanuel Vadot
151f126890aSEmmanuel Vadot			vdd_ddr: VDD_OTHER {
152f126890aSEmmanuel Vadot				regulator-name = "VDD_OTHER";
153f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
154f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
155f126890aSEmmanuel Vadot				regulator-initial-mode = <2>;
156f126890aSEmmanuel Vadot				regulator-allowed-modes = <2>, <4>;
157f126890aSEmmanuel Vadot				regulator-always-on;
158f126890aSEmmanuel Vadot
159f126890aSEmmanuel Vadot				regulator-state-standby {
160f126890aSEmmanuel Vadot					regulator-on-in-suspend;
161f126890aSEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
162f126890aSEmmanuel Vadot					regulator-changeable-in-suspend;
163f126890aSEmmanuel Vadot					regulator-mode = <4>;
164f126890aSEmmanuel Vadot				};
165f126890aSEmmanuel Vadot
166f126890aSEmmanuel Vadot				regulator-state-mem {
167f126890aSEmmanuel Vadot					regulator-on-in-suspend;
168f126890aSEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
169f126890aSEmmanuel Vadot					regulator-changeable-in-suspend;
170f126890aSEmmanuel Vadot					regulator-mode = <4>;
171f126890aSEmmanuel Vadot				};
172f126890aSEmmanuel Vadot			};
173f126890aSEmmanuel Vadot
174f126890aSEmmanuel Vadot			LDO1 {
175f126890aSEmmanuel Vadot				regulator-name = "LDO1";
176f126890aSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
177f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
178f126890aSEmmanuel Vadot				regulator-always-on;
179f126890aSEmmanuel Vadot
180f126890aSEmmanuel Vadot				regulator-state-standby {
181f126890aSEmmanuel Vadot					regulator-on-in-suspend;
182f126890aSEmmanuel Vadot				};
183f126890aSEmmanuel Vadot
184f126890aSEmmanuel Vadot				regulator-state-mem {
185f126890aSEmmanuel Vadot					regulator-off-in-suspend;
186f126890aSEmmanuel Vadot				};
187f126890aSEmmanuel Vadot			};
188f126890aSEmmanuel Vadot
189f126890aSEmmanuel Vadot			LDO2 {
190f126890aSEmmanuel Vadot				regulator-name = "LDO2";
191f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
192f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
193f126890aSEmmanuel Vadot
194f126890aSEmmanuel Vadot				regulator-state-standby {
195f126890aSEmmanuel Vadot					regulator-on-in-suspend;
196f126890aSEmmanuel Vadot				};
197f126890aSEmmanuel Vadot
198f126890aSEmmanuel Vadot				regulator-state-mem {
199f126890aSEmmanuel Vadot					regulator-off-in-suspend;
200f126890aSEmmanuel Vadot				};
201f126890aSEmmanuel Vadot			};
202f126890aSEmmanuel Vadot		};
203f126890aSEmmanuel Vadot	};
204f126890aSEmmanuel Vadot};
205f126890aSEmmanuel Vadot
206f126890aSEmmanuel Vadot&macb0 {
207f126890aSEmmanuel Vadot	pinctrl-names = "default";
208f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_macb0_default>;
209f126890aSEmmanuel Vadot	#address-cells = <1>;
210f126890aSEmmanuel Vadot	#size-cells = <0>;
211f126890aSEmmanuel Vadot	phy-mode = "rmii";
212f126890aSEmmanuel Vadot
213f126890aSEmmanuel Vadot	ethernet-phy@0 {
214f126890aSEmmanuel Vadot		reg = <0x0>;
215f126890aSEmmanuel Vadot		interrupt-parent = <&pioA>;
216f126890aSEmmanuel Vadot		interrupts = <PIN_PB24 IRQ_TYPE_LEVEL_LOW>;
217f126890aSEmmanuel Vadot		pinctrl-names = "default";
218f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_macb0_phy_irq>;
219f126890aSEmmanuel Vadot	};
220f126890aSEmmanuel Vadot};
221f126890aSEmmanuel Vadot
222f126890aSEmmanuel Vadot&pmc {
223f126890aSEmmanuel Vadot	atmel,osc-bypass;
224f126890aSEmmanuel Vadot};
225f126890aSEmmanuel Vadot
226f126890aSEmmanuel Vadot&qspi1 {
227f126890aSEmmanuel Vadot	pinctrl-names = "default";
228f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_qspi1_default>;
229f126890aSEmmanuel Vadot	status = "disabled";
230f126890aSEmmanuel Vadot
231f126890aSEmmanuel Vadot	qspi1_flash: flash@0 {
232f126890aSEmmanuel Vadot		#address-cells = <1>;
233f126890aSEmmanuel Vadot		#size-cells = <1>;
234f126890aSEmmanuel Vadot		compatible = "jedec,spi-nor";
235f126890aSEmmanuel Vadot		reg = <0>;
236f126890aSEmmanuel Vadot		spi-max-frequency = <104000000>;
237f126890aSEmmanuel Vadot		spi-cs-setup-ns = <7>;
238f126890aSEmmanuel Vadot		spi-rx-bus-width = <4>;
239f126890aSEmmanuel Vadot		spi-tx-bus-width = <4>;
240f126890aSEmmanuel Vadot		m25p,fast-read;
241f126890aSEmmanuel Vadot		status = "disabled";
242f126890aSEmmanuel Vadot
243f126890aSEmmanuel Vadot		at91bootstrap@0 {
244f126890aSEmmanuel Vadot			label = "at91bootstrap";
245f126890aSEmmanuel Vadot			reg = <0x0 0x40000>;
246f126890aSEmmanuel Vadot		};
247f126890aSEmmanuel Vadot
248f126890aSEmmanuel Vadot		bootloader@40000 {
249f126890aSEmmanuel Vadot			label = "bootloader";
250f126890aSEmmanuel Vadot			reg = <0x40000 0xc0000>;
251f126890aSEmmanuel Vadot		};
252f126890aSEmmanuel Vadot
253f126890aSEmmanuel Vadot		bootloaderenvred@100000 {
254f126890aSEmmanuel Vadot			label = "bootloader env redundant";
255f126890aSEmmanuel Vadot			reg = <0x100000 0x40000>;
256f126890aSEmmanuel Vadot		};
257f126890aSEmmanuel Vadot
258f126890aSEmmanuel Vadot		bootloaderenv@140000 {
259f126890aSEmmanuel Vadot			label = "bootloader env";
260f126890aSEmmanuel Vadot			reg = <0x140000 0x40000>;
261f126890aSEmmanuel Vadot		};
262f126890aSEmmanuel Vadot
263f126890aSEmmanuel Vadot		dtb@180000 {
264f126890aSEmmanuel Vadot			label = "device tree";
265f126890aSEmmanuel Vadot			reg = <0x180000 0x80000>;
266f126890aSEmmanuel Vadot		};
267f126890aSEmmanuel Vadot
268f126890aSEmmanuel Vadot		kernel@200000 {
269f126890aSEmmanuel Vadot			label = "kernel";
270f126890aSEmmanuel Vadot			reg = <0x200000 0x600000>;
271f126890aSEmmanuel Vadot		};
272f126890aSEmmanuel Vadot	};
273f126890aSEmmanuel Vadot};
274f126890aSEmmanuel Vadot
275f126890aSEmmanuel Vadot&pioA {
276f126890aSEmmanuel Vadot	pinctrl_flx1_default: flx1_usart_default {
277f126890aSEmmanuel Vadot		pinmux = <PIN_PA24__FLEXCOM1_IO0>,
278f126890aSEmmanuel Vadot			 <PIN_PA23__FLEXCOM1_IO1>,
279f126890aSEmmanuel Vadot			 <PIN_PA25__FLEXCOM1_IO3>,
280f126890aSEmmanuel Vadot			 <PIN_PA26__FLEXCOM1_IO4>;
281f126890aSEmmanuel Vadot		bias-disable;
282f126890aSEmmanuel Vadot	};
283f126890aSEmmanuel Vadot
284f126890aSEmmanuel Vadot	pinctrl_i2c0_default: i2c0_default {
285f126890aSEmmanuel Vadot		pinmux = <PIN_PD21__TWD0>,
286f126890aSEmmanuel Vadot			 <PIN_PD22__TWCK0>;
287f126890aSEmmanuel Vadot		bias-disable;
288f126890aSEmmanuel Vadot	};
289f126890aSEmmanuel Vadot
290f126890aSEmmanuel Vadot	pinctrl_i2c0_gpio: i2c0_gpio {
291f126890aSEmmanuel Vadot		pinmux = <PIN_PD21__GPIO>,
292f126890aSEmmanuel Vadot			 <PIN_PD22__GPIO>;
293f126890aSEmmanuel Vadot		bias-disable;
294f126890aSEmmanuel Vadot	};
295f126890aSEmmanuel Vadot
296f126890aSEmmanuel Vadot	pinctrl_i2c1_default: i2c1_default {
297f126890aSEmmanuel Vadot		pinmux = <PIN_PD19__TWD1>,
298f126890aSEmmanuel Vadot			 <PIN_PD20__TWCK1>;
299f126890aSEmmanuel Vadot		bias-disable;
300f126890aSEmmanuel Vadot	};
301f126890aSEmmanuel Vadot
302f126890aSEmmanuel Vadot	pinctrl_i2c1_gpio: i2c1_gpio {
303f126890aSEmmanuel Vadot		pinmux = <PIN_PD19__GPIO>,
304f126890aSEmmanuel Vadot			 <PIN_PD20__GPIO>;
305f126890aSEmmanuel Vadot		bias-disable;
306f126890aSEmmanuel Vadot	};
307f126890aSEmmanuel Vadot
308f126890aSEmmanuel Vadot	pinctrl_macb0_default: macb0_default {
309f126890aSEmmanuel Vadot		pinmux = <PIN_PB14__GTXCK>,
310f126890aSEmmanuel Vadot			 <PIN_PB15__GTXEN>,
311f126890aSEmmanuel Vadot			 <PIN_PB16__GRXDV>,
312f126890aSEmmanuel Vadot			 <PIN_PB17__GRXER>,
313f126890aSEmmanuel Vadot			 <PIN_PB18__GRX0>,
314f126890aSEmmanuel Vadot			 <PIN_PB19__GRX1>,
315f126890aSEmmanuel Vadot			 <PIN_PB20__GTX0>,
316f126890aSEmmanuel Vadot			 <PIN_PB21__GTX1>,
317f126890aSEmmanuel Vadot			 <PIN_PB22__GMDC>,
318f126890aSEmmanuel Vadot			 <PIN_PB23__GMDIO>;
319f126890aSEmmanuel Vadot		bias-disable;
320f126890aSEmmanuel Vadot	};
321f126890aSEmmanuel Vadot
322f126890aSEmmanuel Vadot	pinctrl_macb0_phy_irq: macb0_phy_irq {
323f126890aSEmmanuel Vadot		pinmux = <PIN_PB24__GPIO>;
324f126890aSEmmanuel Vadot		bias-disable;
325f126890aSEmmanuel Vadot	};
326f126890aSEmmanuel Vadot
327f126890aSEmmanuel Vadot	pinctrl_qspi1_default: qspi1_default {
328f126890aSEmmanuel Vadot		pinmux = <PIN_PB5__QSPI1_SCK>,
329f126890aSEmmanuel Vadot			 <PIN_PB6__QSPI1_CS>,
330f126890aSEmmanuel Vadot			 <PIN_PB7__QSPI1_IO0>,
331f126890aSEmmanuel Vadot			 <PIN_PB8__QSPI1_IO1>,
332f126890aSEmmanuel Vadot			 <PIN_PB9__QSPI1_IO2>,
333f126890aSEmmanuel Vadot			 <PIN_PB10__QSPI1_IO3>;
334f126890aSEmmanuel Vadot		bias-pull-up;
335f126890aSEmmanuel Vadot	};
336f126890aSEmmanuel Vadot
337f126890aSEmmanuel Vadot	pinctrl_sdmmc1_default: sdmmc1_default {
338f126890aSEmmanuel Vadot		cmd-data {
339f126890aSEmmanuel Vadot			pinmux = <PIN_PA28__SDMMC1_CMD>,
340f126890aSEmmanuel Vadot				 <PIN_PA18__SDMMC1_DAT0>,
341f126890aSEmmanuel Vadot				 <PIN_PA19__SDMMC1_DAT1>,
342f126890aSEmmanuel Vadot				 <PIN_PA20__SDMMC1_DAT2>,
343f126890aSEmmanuel Vadot				 <PIN_PA21__SDMMC1_DAT3>;
344f126890aSEmmanuel Vadot			bias-disable;
345f126890aSEmmanuel Vadot		};
346f126890aSEmmanuel Vadot
347f126890aSEmmanuel Vadot		conf-ck {
348f126890aSEmmanuel Vadot			pinmux = <PIN_PA22__SDMMC1_CK>;
349f126890aSEmmanuel Vadot			bias-disable;
350f126890aSEmmanuel Vadot		};
351f126890aSEmmanuel Vadot	};
352f126890aSEmmanuel Vadot
353f126890aSEmmanuel Vadot	pinctrl_wilc_default: wilc_default {
354f126890aSEmmanuel Vadot		conf-irq {
355f126890aSEmmanuel Vadot			pinmux = <PIN_PB25__GPIO>;
356f126890aSEmmanuel Vadot			bias-disable;
357f126890aSEmmanuel Vadot		};
358f126890aSEmmanuel Vadot	};
359f126890aSEmmanuel Vadot
360f126890aSEmmanuel Vadot	pinctrl_wilc_pwrseq: wilc_pwrseq {
361f126890aSEmmanuel Vadot		conf-ce-nrst {
362f126890aSEmmanuel Vadot			pinmux = <PIN_PA27__GPIO>,
363f126890aSEmmanuel Vadot				 <PIN_PA29__GPIO>;
364f126890aSEmmanuel Vadot			bias-disable;
365f126890aSEmmanuel Vadot		};
366f126890aSEmmanuel Vadot
367f126890aSEmmanuel Vadot		conf-rtcclk {
368f126890aSEmmanuel Vadot			pinmux = <PIN_PB13__PCK1>;
369f126890aSEmmanuel Vadot			bias-disable;
370f126890aSEmmanuel Vadot		};
371f126890aSEmmanuel Vadot	};
372f126890aSEmmanuel Vadot};
373f126890aSEmmanuel Vadot
374f126890aSEmmanuel Vadot&sdmmc1 {
375f126890aSEmmanuel Vadot	#address-cells = <1>;
376f126890aSEmmanuel Vadot	#size-cells = <0>;
377f126890aSEmmanuel Vadot	bus-width = <4>;
378f126890aSEmmanuel Vadot	pinctrl-names = "default";
379f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_sdmmc1_default>;
380f126890aSEmmanuel Vadot	mmc-pwrseq = <&wifi_pwrseq>;
381f126890aSEmmanuel Vadot	no-1-8-v;
382f126890aSEmmanuel Vadot	non-removable;
383f126890aSEmmanuel Vadot	bus-width = <4>;
384f126890aSEmmanuel Vadot	status = "okay";
385f126890aSEmmanuel Vadot
386f126890aSEmmanuel Vadot	wilc: wifi@0 {
387f126890aSEmmanuel Vadot		reg = <0>;
388f126890aSEmmanuel Vadot		compatible = "microchip,wilc1000";
389f126890aSEmmanuel Vadot		pinctrl-names = "default";
390f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_wilc_default>;
391f126890aSEmmanuel Vadot		clocks = <&pmc PMC_TYPE_SYSTEM 9>;
392f126890aSEmmanuel Vadot		clock-names = "rtc";
393f126890aSEmmanuel Vadot		interrupts = <PIN_PB25 IRQ_TYPE_NONE>;
394f126890aSEmmanuel Vadot		interrupt-parent = <&pioA>;
395f126890aSEmmanuel Vadot		assigned-clocks = <&pmc PMC_TYPE_SYSTEM 9>;
396f126890aSEmmanuel Vadot		assigned-clock-rates = <32768>;
397f126890aSEmmanuel Vadot	};
398f126890aSEmmanuel Vadot};
399f126890aSEmmanuel Vadot
400