xref: /freebsd-src/sys/contrib/device-tree/src/arm/microchip/at91-sama5d3_xplained.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * at91-sama5d3_xplained.dts - Device Tree file for the SAMA5D3 Xplained board
4*f126890aSEmmanuel Vadot *
5*f126890aSEmmanuel Vadot *  Copyright (C) 2014 Atmel,
6*f126890aSEmmanuel Vadot *		  2014 Nicolas Ferre <nicolas.ferre@atmel.com>
7*f126890aSEmmanuel Vadot */
8*f126890aSEmmanuel Vadot/dts-v1/;
9*f126890aSEmmanuel Vadot#include "sama5d36.dtsi"
10*f126890aSEmmanuel Vadot#include <dt-bindings/input/input.h>
11*f126890aSEmmanuel Vadot
12*f126890aSEmmanuel Vadot/ {
13*f126890aSEmmanuel Vadot	model = "SAMA5D3 Xplained";
14*f126890aSEmmanuel Vadot	compatible = "atmel,sama5d3-xplained", "atmel,sama5d3", "atmel,sama5";
15*f126890aSEmmanuel Vadot
16*f126890aSEmmanuel Vadot	chosen {
17*f126890aSEmmanuel Vadot		stdout-path = "serial0:115200n8";
18*f126890aSEmmanuel Vadot	};
19*f126890aSEmmanuel Vadot
20*f126890aSEmmanuel Vadot	memory@20000000 {
21*f126890aSEmmanuel Vadot		reg = <0x20000000 0x10000000>;
22*f126890aSEmmanuel Vadot	};
23*f126890aSEmmanuel Vadot
24*f126890aSEmmanuel Vadot	clocks {
25*f126890aSEmmanuel Vadot		slow_xtal {
26*f126890aSEmmanuel Vadot			clock-frequency = <32768>;
27*f126890aSEmmanuel Vadot		};
28*f126890aSEmmanuel Vadot
29*f126890aSEmmanuel Vadot		main_xtal {
30*f126890aSEmmanuel Vadot			clock-frequency = <12000000>;
31*f126890aSEmmanuel Vadot		};
32*f126890aSEmmanuel Vadot	};
33*f126890aSEmmanuel Vadot
34*f126890aSEmmanuel Vadot	ahb {
35*f126890aSEmmanuel Vadot		apb {
36*f126890aSEmmanuel Vadot			mmc0: mmc@f0000000 {
37*f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3 &pinctrl_mmc0_dat4_7 &pinctrl_mmc0_cd>;
38*f126890aSEmmanuel Vadot				vmmc-supply = <&vcc_mmc0_reg>;
39*f126890aSEmmanuel Vadot				vqmmc-supply = <&vcc_3v3_reg>;
40*f126890aSEmmanuel Vadot				status = "okay";
41*f126890aSEmmanuel Vadot				slot@0 {
42*f126890aSEmmanuel Vadot					reg = <0>;
43*f126890aSEmmanuel Vadot					bus-width = <8>;
44*f126890aSEmmanuel Vadot					cd-gpios = <&pioE 0 GPIO_ACTIVE_LOW>;
45*f126890aSEmmanuel Vadot				};
46*f126890aSEmmanuel Vadot			};
47*f126890aSEmmanuel Vadot
48*f126890aSEmmanuel Vadot			mmc1: mmc@f8000000 {
49*f126890aSEmmanuel Vadot				vmmc-supply = <&vcc_3v3_reg>;
50*f126890aSEmmanuel Vadot				vqmmc-supply = <&vcc_3v3_reg>;
51*f126890aSEmmanuel Vadot				status = "disabled";
52*f126890aSEmmanuel Vadot				slot@0 {
53*f126890aSEmmanuel Vadot					reg = <0>;
54*f126890aSEmmanuel Vadot					bus-width = <4>;
55*f126890aSEmmanuel Vadot					cd-gpios = <&pioE 1 GPIO_ACTIVE_LOW>;
56*f126890aSEmmanuel Vadot				};
57*f126890aSEmmanuel Vadot			};
58*f126890aSEmmanuel Vadot
59*f126890aSEmmanuel Vadot			spi0: spi@f0004000 {
60*f126890aSEmmanuel Vadot				pinctrl-names = "default", "cs";
61*f126890aSEmmanuel Vadot				pinctrl-1 = <&pinctrl_spi0_cs>;
62*f126890aSEmmanuel Vadot				cs-gpios = <&pioD 13 0>, <0>, <0>, <&pioD 16 0>;
63*f126890aSEmmanuel Vadot				status = "okay";
64*f126890aSEmmanuel Vadot			};
65*f126890aSEmmanuel Vadot
66*f126890aSEmmanuel Vadot			can0: can@f000c000 {
67*f126890aSEmmanuel Vadot				status = "okay";
68*f126890aSEmmanuel Vadot			};
69*f126890aSEmmanuel Vadot
70*f126890aSEmmanuel Vadot			tcb0: timer@f0010000 {
71*f126890aSEmmanuel Vadot				timer0: timer@0 {
72*f126890aSEmmanuel Vadot					compatible = "atmel,tcb-timer";
73*f126890aSEmmanuel Vadot					reg = <0>;
74*f126890aSEmmanuel Vadot				};
75*f126890aSEmmanuel Vadot
76*f126890aSEmmanuel Vadot				timer1: timer@1 {
77*f126890aSEmmanuel Vadot					compatible = "atmel,tcb-timer";
78*f126890aSEmmanuel Vadot					reg = <1>;
79*f126890aSEmmanuel Vadot				};
80*f126890aSEmmanuel Vadot			};
81*f126890aSEmmanuel Vadot
82*f126890aSEmmanuel Vadot			i2c0: i2c@f0014000 {
83*f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_i2c0_pu>;
84*f126890aSEmmanuel Vadot				status = "okay";
85*f126890aSEmmanuel Vadot			};
86*f126890aSEmmanuel Vadot
87*f126890aSEmmanuel Vadot			i2c1: i2c@f0018000 {
88*f126890aSEmmanuel Vadot				status = "okay";
89*f126890aSEmmanuel Vadot
90*f126890aSEmmanuel Vadot				pmic: act8865@5b {
91*f126890aSEmmanuel Vadot					compatible = "active-semi,act8865";
92*f126890aSEmmanuel Vadot					reg = <0x5b>;
93*f126890aSEmmanuel Vadot					status = "disabled";
94*f126890aSEmmanuel Vadot
95*f126890aSEmmanuel Vadot					regulators {
96*f126890aSEmmanuel Vadot						vcc_1v8_reg: DCDC_REG1 {
97*f126890aSEmmanuel Vadot							regulator-name = "VCC_1V8";
98*f126890aSEmmanuel Vadot							regulator-min-microvolt = <1800000>;
99*f126890aSEmmanuel Vadot							regulator-max-microvolt = <1800000>;
100*f126890aSEmmanuel Vadot							regulator-always-on;
101*f126890aSEmmanuel Vadot						};
102*f126890aSEmmanuel Vadot
103*f126890aSEmmanuel Vadot						vcc_1v2_reg: DCDC_REG2 {
104*f126890aSEmmanuel Vadot							regulator-name = "VCC_1V2";
105*f126890aSEmmanuel Vadot							regulator-min-microvolt = <1200000>;
106*f126890aSEmmanuel Vadot							regulator-max-microvolt = <1200000>;
107*f126890aSEmmanuel Vadot							regulator-always-on;
108*f126890aSEmmanuel Vadot						};
109*f126890aSEmmanuel Vadot
110*f126890aSEmmanuel Vadot						vcc_3v3_reg: DCDC_REG3 {
111*f126890aSEmmanuel Vadot							regulator-name = "VCC_3V3";
112*f126890aSEmmanuel Vadot							regulator-min-microvolt = <3300000>;
113*f126890aSEmmanuel Vadot							regulator-max-microvolt = <3300000>;
114*f126890aSEmmanuel Vadot							regulator-always-on;
115*f126890aSEmmanuel Vadot						};
116*f126890aSEmmanuel Vadot
117*f126890aSEmmanuel Vadot						vddfuse_reg: LDO_REG1 {
118*f126890aSEmmanuel Vadot							regulator-name = "FUSE_2V5";
119*f126890aSEmmanuel Vadot							regulator-min-microvolt = <2500000>;
120*f126890aSEmmanuel Vadot							regulator-max-microvolt = <2500000>;
121*f126890aSEmmanuel Vadot						};
122*f126890aSEmmanuel Vadot
123*f126890aSEmmanuel Vadot						vddana_reg: LDO_REG2 {
124*f126890aSEmmanuel Vadot							regulator-name = "VDDANA";
125*f126890aSEmmanuel Vadot							regulator-min-microvolt = <3300000>;
126*f126890aSEmmanuel Vadot							regulator-max-microvolt = <3300000>;
127*f126890aSEmmanuel Vadot							regulator-always-on;
128*f126890aSEmmanuel Vadot						};
129*f126890aSEmmanuel Vadot					};
130*f126890aSEmmanuel Vadot				};
131*f126890aSEmmanuel Vadot			};
132*f126890aSEmmanuel Vadot
133*f126890aSEmmanuel Vadot			macb0: ethernet@f0028000 {
134*f126890aSEmmanuel Vadot				phy-mode = "rgmii-rxid";
135*f126890aSEmmanuel Vadot				#address-cells = <1>;
136*f126890aSEmmanuel Vadot				#size-cells = <0>;
137*f126890aSEmmanuel Vadot				status = "okay";
138*f126890aSEmmanuel Vadot
139*f126890aSEmmanuel Vadot				ethernet-phy@7 {
140*f126890aSEmmanuel Vadot					reg = <0x7>;
141*f126890aSEmmanuel Vadot				};
142*f126890aSEmmanuel Vadot			};
143*f126890aSEmmanuel Vadot
144*f126890aSEmmanuel Vadot			pwm0: pwm@f002c000 {
145*f126890aSEmmanuel Vadot				pinctrl-names = "default";
146*f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_pwm0_pwmh0_0 &pinctrl_pwm0_pwmh1_0>;
147*f126890aSEmmanuel Vadot				status = "okay";
148*f126890aSEmmanuel Vadot			};
149*f126890aSEmmanuel Vadot
150*f126890aSEmmanuel Vadot			usart0: serial@f001c000 {
151*f126890aSEmmanuel Vadot				status = "okay";
152*f126890aSEmmanuel Vadot			};
153*f126890aSEmmanuel Vadot
154*f126890aSEmmanuel Vadot			usart1: serial@f0020000 {
155*f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_usart1 &pinctrl_usart1_rts_cts>;
156*f126890aSEmmanuel Vadot				status = "okay";
157*f126890aSEmmanuel Vadot			};
158*f126890aSEmmanuel Vadot
159*f126890aSEmmanuel Vadot			uart0: serial@f0024000 {
160*f126890aSEmmanuel Vadot				status = "okay";
161*f126890aSEmmanuel Vadot			};
162*f126890aSEmmanuel Vadot
163*f126890aSEmmanuel Vadot			mmc1: mmc@f8000000 {
164*f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3 &pinctrl_mmc1_cd>;
165*f126890aSEmmanuel Vadot				status = "okay";
166*f126890aSEmmanuel Vadot				slot@0 {
167*f126890aSEmmanuel Vadot					reg = <0>;
168*f126890aSEmmanuel Vadot					bus-width = <4>;
169*f126890aSEmmanuel Vadot					cd-gpios = <&pioE 1 GPIO_ACTIVE_HIGH>;
170*f126890aSEmmanuel Vadot				};
171*f126890aSEmmanuel Vadot			};
172*f126890aSEmmanuel Vadot
173*f126890aSEmmanuel Vadot			spi1: spi@f8008000 {
174*f126890aSEmmanuel Vadot				pinctrl-names = "default", "cs";
175*f126890aSEmmanuel Vadot				pinctrl-1 = <&pinctrl_spi1_cs>;
176*f126890aSEmmanuel Vadot				cs-gpios = <&pioC 25 0>;
177*f126890aSEmmanuel Vadot				status = "okay";
178*f126890aSEmmanuel Vadot			};
179*f126890aSEmmanuel Vadot
180*f126890aSEmmanuel Vadot			adc0: adc@f8018000 {
181*f126890aSEmmanuel Vadot				atmel,adc-vref = <3300>;
182*f126890aSEmmanuel Vadot				atmel,adc-channels-used = <0xfe>;
183*f126890aSEmmanuel Vadot				pinctrl-0 = <
184*f126890aSEmmanuel Vadot					&pinctrl_adc0_adtrg
185*f126890aSEmmanuel Vadot					&pinctrl_adc0_ad1
186*f126890aSEmmanuel Vadot					&pinctrl_adc0_ad2
187*f126890aSEmmanuel Vadot					&pinctrl_adc0_ad3
188*f126890aSEmmanuel Vadot					&pinctrl_adc0_ad4
189*f126890aSEmmanuel Vadot					&pinctrl_adc0_ad5
190*f126890aSEmmanuel Vadot					&pinctrl_adc0_ad6
191*f126890aSEmmanuel Vadot					&pinctrl_adc0_ad7
192*f126890aSEmmanuel Vadot					>;
193*f126890aSEmmanuel Vadot				status = "okay";
194*f126890aSEmmanuel Vadot			};
195*f126890aSEmmanuel Vadot
196*f126890aSEmmanuel Vadot			i2c2: i2c@f801c000 {
197*f126890aSEmmanuel Vadot				dmas = <0>, <0>;	/* Do not use DMA for i2c2 */
198*f126890aSEmmanuel Vadot				pinctrl-0 = <&pinctrl_i2c2_pu>;
199*f126890aSEmmanuel Vadot				status = "okay";
200*f126890aSEmmanuel Vadot			};
201*f126890aSEmmanuel Vadot
202*f126890aSEmmanuel Vadot			macb1: ethernet@f802c000 {
203*f126890aSEmmanuel Vadot				phy-mode = "rmii";
204*f126890aSEmmanuel Vadot				#address-cells = <1>;
205*f126890aSEmmanuel Vadot				#size-cells = <0>;
206*f126890aSEmmanuel Vadot				status = "okay";
207*f126890aSEmmanuel Vadot
208*f126890aSEmmanuel Vadot				ethernet-phy@1 {
209*f126890aSEmmanuel Vadot					reg = <0x1>;
210*f126890aSEmmanuel Vadot				};
211*f126890aSEmmanuel Vadot			};
212*f126890aSEmmanuel Vadot
213*f126890aSEmmanuel Vadot			dbgu: serial@ffffee00 {
214*f126890aSEmmanuel Vadot				status = "okay";
215*f126890aSEmmanuel Vadot			};
216*f126890aSEmmanuel Vadot
217*f126890aSEmmanuel Vadot			pinctrl@fffff200 {
218*f126890aSEmmanuel Vadot				board {
219*f126890aSEmmanuel Vadot					pinctrl_i2c0_pu: i2c0_pu {
220*f126890aSEmmanuel Vadot						atmel,pins =
221*f126890aSEmmanuel Vadot							<AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
222*f126890aSEmmanuel Vadot							<AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
223*f126890aSEmmanuel Vadot					};
224*f126890aSEmmanuel Vadot
225*f126890aSEmmanuel Vadot					pinctrl_i2c2_pu: i2c2_pu {
226*f126890aSEmmanuel Vadot						atmel,pins =
227*f126890aSEmmanuel Vadot							<AT91_PIOA 18 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>,
228*f126890aSEmmanuel Vadot							<AT91_PIOA 19 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>;
229*f126890aSEmmanuel Vadot					};
230*f126890aSEmmanuel Vadot
231*f126890aSEmmanuel Vadot					pinctrl_key_gpio: key_gpio_0 {
232*f126890aSEmmanuel Vadot						atmel,pins =
233*f126890aSEmmanuel Vadot							<AT91_PIOE 29 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
234*f126890aSEmmanuel Vadot					};
235*f126890aSEmmanuel Vadot
236*f126890aSEmmanuel Vadot					pinctrl_mmc0_cd: mmc0_cd {
237*f126890aSEmmanuel Vadot						atmel,pins =
238*f126890aSEmmanuel Vadot							<AT91_PIOE 0 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
239*f126890aSEmmanuel Vadot					};
240*f126890aSEmmanuel Vadot
241*f126890aSEmmanuel Vadot					pinctrl_mmc1_cd: mmc1_cd {
242*f126890aSEmmanuel Vadot						atmel,pins =
243*f126890aSEmmanuel Vadot							<AT91_PIOE 1 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
244*f126890aSEmmanuel Vadot					};
245*f126890aSEmmanuel Vadot
246*f126890aSEmmanuel Vadot					pinctrl_usba_vbus: usba_vbus {
247*f126890aSEmmanuel Vadot						atmel,pins =
248*f126890aSEmmanuel Vadot							<AT91_PIOE 9 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>;	/* PE9, conflicts with A9 */
249*f126890aSEmmanuel Vadot					};
250*f126890aSEmmanuel Vadot					pinctrl_usb_default: usb_default {
251*f126890aSEmmanuel Vadot						atmel,pins =
252*f126890aSEmmanuel Vadot							<AT91_PIOE 3 AT91_PERIPH_GPIO AT91_PINCTRL_NONE
253*f126890aSEmmanuel Vadot							 AT91_PIOE 4 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
254*f126890aSEmmanuel Vadot					};
255*f126890aSEmmanuel Vadot
256*f126890aSEmmanuel Vadot					pinctrl_gpio_leds: gpio_leds_default {
257*f126890aSEmmanuel Vadot						atmel,pins =
258*f126890aSEmmanuel Vadot							<AT91_PIOE 23 AT91_PERIPH_GPIO AT91_PINCTRL_NONE
259*f126890aSEmmanuel Vadot							 AT91_PIOE 24 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
260*f126890aSEmmanuel Vadot					};
261*f126890aSEmmanuel Vadot
262*f126890aSEmmanuel Vadot					pinctrl_spi0_cs: spi0_cs_default {
263*f126890aSEmmanuel Vadot						atmel,pins =
264*f126890aSEmmanuel Vadot							<AT91_PIOD 13 AT91_PERIPH_GPIO AT91_PINCTRL_NONE
265*f126890aSEmmanuel Vadot							 AT91_PIOD 16 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
266*f126890aSEmmanuel Vadot					};
267*f126890aSEmmanuel Vadot
268*f126890aSEmmanuel Vadot					pinctrl_spi1_cs: spi1_cs_default {
269*f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOC 25 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
270*f126890aSEmmanuel Vadot					};
271*f126890aSEmmanuel Vadot
272*f126890aSEmmanuel Vadot					pinctrl_vcc_mmc0_reg_gpio: vcc_mmc0_reg_gpio_default {
273*f126890aSEmmanuel Vadot						atmel,pins = <AT91_PIOE 2 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
274*f126890aSEmmanuel Vadot					};
275*f126890aSEmmanuel Vadot				};
276*f126890aSEmmanuel Vadot			};
277*f126890aSEmmanuel Vadot		};
278*f126890aSEmmanuel Vadot
279*f126890aSEmmanuel Vadot		usb0: gadget@500000 {
280*f126890aSEmmanuel Vadot			atmel,vbus-gpio = <&pioE 9 GPIO_ACTIVE_HIGH>;	/* PE9, conflicts with A9 */
281*f126890aSEmmanuel Vadot			pinctrl-names = "default";
282*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_usba_vbus>;
283*f126890aSEmmanuel Vadot			status = "okay";
284*f126890aSEmmanuel Vadot		};
285*f126890aSEmmanuel Vadot
286*f126890aSEmmanuel Vadot		usb1: ohci@600000 {
287*f126890aSEmmanuel Vadot			num-ports = <3>;
288*f126890aSEmmanuel Vadot			atmel,vbus-gpio = <0
289*f126890aSEmmanuel Vadot					   &pioE 3 GPIO_ACTIVE_LOW
290*f126890aSEmmanuel Vadot					   &pioE 4 GPIO_ACTIVE_LOW
291*f126890aSEmmanuel Vadot					  >;
292*f126890aSEmmanuel Vadot			pinctrl-names = "default";
293*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_usb_default>;
294*f126890aSEmmanuel Vadot			status = "okay";
295*f126890aSEmmanuel Vadot		};
296*f126890aSEmmanuel Vadot
297*f126890aSEmmanuel Vadot		usb2: ehci@700000 {
298*f126890aSEmmanuel Vadot			status = "okay";
299*f126890aSEmmanuel Vadot		};
300*f126890aSEmmanuel Vadot
301*f126890aSEmmanuel Vadot		ebi: ebi@10000000 {
302*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_ebi_nand_addr>;
303*f126890aSEmmanuel Vadot			pinctrl-names = "default";
304*f126890aSEmmanuel Vadot			status = "okay";
305*f126890aSEmmanuel Vadot
306*f126890aSEmmanuel Vadot			nand_controller: nand-controller {
307*f126890aSEmmanuel Vadot				status = "okay";
308*f126890aSEmmanuel Vadot
309*f126890aSEmmanuel Vadot				nand@3 {
310*f126890aSEmmanuel Vadot					reg = <0x3 0x0 0x2>;
311*f126890aSEmmanuel Vadot					atmel,rb = <0>;
312*f126890aSEmmanuel Vadot					nand-bus-width = <8>;
313*f126890aSEmmanuel Vadot					nand-ecc-mode = "hw";
314*f126890aSEmmanuel Vadot					nand-ecc-strength = <4>;
315*f126890aSEmmanuel Vadot					nand-ecc-step-size = <512>;
316*f126890aSEmmanuel Vadot					nand-on-flash-bbt;
317*f126890aSEmmanuel Vadot					label = "atmel_nand";
318*f126890aSEmmanuel Vadot
319*f126890aSEmmanuel Vadot					partitions {
320*f126890aSEmmanuel Vadot						compatible = "fixed-partitions";
321*f126890aSEmmanuel Vadot						#address-cells = <1>;
322*f126890aSEmmanuel Vadot						#size-cells = <1>;
323*f126890aSEmmanuel Vadot
324*f126890aSEmmanuel Vadot						at91bootstrap@0 {
325*f126890aSEmmanuel Vadot							label = "at91bootstrap";
326*f126890aSEmmanuel Vadot							reg = <0x0 0x40000>;
327*f126890aSEmmanuel Vadot						};
328*f126890aSEmmanuel Vadot
329*f126890aSEmmanuel Vadot						bootloader@40000 {
330*f126890aSEmmanuel Vadot							label = "bootloader";
331*f126890aSEmmanuel Vadot							reg = <0x40000 0xc0000>;
332*f126890aSEmmanuel Vadot						};
333*f126890aSEmmanuel Vadot
334*f126890aSEmmanuel Vadot						bootloaderenvred@100000 {
335*f126890aSEmmanuel Vadot							label = "bootloader env redundant";
336*f126890aSEmmanuel Vadot							reg = <0x100000 0x40000>;
337*f126890aSEmmanuel Vadot						};
338*f126890aSEmmanuel Vadot
339*f126890aSEmmanuel Vadot						bootloaderenv@140000 {
340*f126890aSEmmanuel Vadot							label = "bootloader env";
341*f126890aSEmmanuel Vadot							reg = <0x140000 0x40000>;
342*f126890aSEmmanuel Vadot						};
343*f126890aSEmmanuel Vadot
344*f126890aSEmmanuel Vadot						dtb@180000 {
345*f126890aSEmmanuel Vadot							label = "device tree";
346*f126890aSEmmanuel Vadot							reg = <0x180000 0x80000>;
347*f126890aSEmmanuel Vadot						};
348*f126890aSEmmanuel Vadot
349*f126890aSEmmanuel Vadot						kernel@200000 {
350*f126890aSEmmanuel Vadot							label = "kernel";
351*f126890aSEmmanuel Vadot							reg = <0x200000 0x600000>;
352*f126890aSEmmanuel Vadot						};
353*f126890aSEmmanuel Vadot
354*f126890aSEmmanuel Vadot						rootfs@800000 {
355*f126890aSEmmanuel Vadot							label = "rootfs";
356*f126890aSEmmanuel Vadot							reg = <0x800000 0x0f800000>;
357*f126890aSEmmanuel Vadot						};
358*f126890aSEmmanuel Vadot					};
359*f126890aSEmmanuel Vadot				};
360*f126890aSEmmanuel Vadot			};
361*f126890aSEmmanuel Vadot		};
362*f126890aSEmmanuel Vadot	};
363*f126890aSEmmanuel Vadot
364*f126890aSEmmanuel Vadot	vcc_mmc0_reg: fixedregulator_mmc0 {
365*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
366*f126890aSEmmanuel Vadot		pinctrl-names = "default";
367*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_vcc_mmc0_reg_gpio>;
368*f126890aSEmmanuel Vadot		gpio = <&pioE 2 GPIO_ACTIVE_LOW>;
369*f126890aSEmmanuel Vadot		regulator-name = "mmc0-card-supply";
370*f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
371*f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
372*f126890aSEmmanuel Vadot		regulator-always-on;
373*f126890aSEmmanuel Vadot	};
374*f126890aSEmmanuel Vadot
375*f126890aSEmmanuel Vadot	gpio-keys {
376*f126890aSEmmanuel Vadot		compatible = "gpio-keys";
377*f126890aSEmmanuel Vadot
378*f126890aSEmmanuel Vadot		pinctrl-names = "default";
379*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_key_gpio>;
380*f126890aSEmmanuel Vadot
381*f126890aSEmmanuel Vadot		button {
382*f126890aSEmmanuel Vadot			label = "PB_USER";
383*f126890aSEmmanuel Vadot			gpios = <&pioE 29 GPIO_ACTIVE_LOW>;
384*f126890aSEmmanuel Vadot			linux,code = <KEY_PROG1>;
385*f126890aSEmmanuel Vadot			wakeup-source;
386*f126890aSEmmanuel Vadot		};
387*f126890aSEmmanuel Vadot	};
388*f126890aSEmmanuel Vadot
389*f126890aSEmmanuel Vadot	leds {
390*f126890aSEmmanuel Vadot		compatible = "gpio-leds";
391*f126890aSEmmanuel Vadot		pinctrl-names = "default";
392*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_gpio_leds>;
393*f126890aSEmmanuel Vadot		status = "okay";
394*f126890aSEmmanuel Vadot
395*f126890aSEmmanuel Vadot		led-d2 {
396*f126890aSEmmanuel Vadot			label = "d2";
397*f126890aSEmmanuel Vadot			gpios = <&pioE 23 GPIO_ACTIVE_LOW>;	/* PE23, conflicts with A23, CTS2 */
398*f126890aSEmmanuel Vadot			linux,default-trigger = "heartbeat";
399*f126890aSEmmanuel Vadot		};
400*f126890aSEmmanuel Vadot
401*f126890aSEmmanuel Vadot		led-d3 {
402*f126890aSEmmanuel Vadot			label = "d3"; /* Conflict with EBI CS0, USART2 CTS. */
403*f126890aSEmmanuel Vadot			gpios = <&pioE 24 GPIO_ACTIVE_HIGH>;
404*f126890aSEmmanuel Vadot		};
405*f126890aSEmmanuel Vadot	};
406*f126890aSEmmanuel Vadot};
407