xref: /freebsd-src/sys/contrib/device-tree/src/arm/nxp/imx/imx7d-remarkable2.dts (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * Copyright (C) 2015 Freescale Semiconductor, Inc.
4f126890aSEmmanuel Vadot * Copyright (C) 2019 reMarkable AS - http://www.remarkable.com/
5f126890aSEmmanuel Vadot *
6f126890aSEmmanuel Vadot */
7f126890aSEmmanuel Vadot
8f126890aSEmmanuel Vadot/dts-v1/;
9f126890aSEmmanuel Vadot
10f126890aSEmmanuel Vadot#include "imx7d.dtsi"
11f126890aSEmmanuel Vadot#include <dt-bindings/input/linux-event-codes.h>
12f126890aSEmmanuel Vadot
13f126890aSEmmanuel Vadot/ {
14f126890aSEmmanuel Vadot	model = "reMarkable 2.0";
15f126890aSEmmanuel Vadot	compatible = "remarkable,imx7d-remarkable2", "fsl,imx7d";
16f126890aSEmmanuel Vadot
17f126890aSEmmanuel Vadot	chosen {
18f126890aSEmmanuel Vadot		stdout-path = &uart6;
19f126890aSEmmanuel Vadot	};
20f126890aSEmmanuel Vadot
21f126890aSEmmanuel Vadot	memory@80000000 {
22f126890aSEmmanuel Vadot		device_type = "memory";
23f126890aSEmmanuel Vadot		reg = <0x80000000 0x40000000>;
24f126890aSEmmanuel Vadot	};
25f126890aSEmmanuel Vadot
26f126890aSEmmanuel Vadot	thermal-zones {
27f126890aSEmmanuel Vadot		epd-thermal {
28f126890aSEmmanuel Vadot			thermal-sensors = <&sy7636a>;
29f126890aSEmmanuel Vadot			polling-delay-passive = <30000>;
30f126890aSEmmanuel Vadot			polling-delay = <30000>;
31f126890aSEmmanuel Vadot
32f126890aSEmmanuel Vadot			trips {
33f126890aSEmmanuel Vadot				trip0 {
34f126890aSEmmanuel Vadot					temperature = <49000>;
35f126890aSEmmanuel Vadot					hysteresis = <2000>;
36f126890aSEmmanuel Vadot					type = "passive";
37f126890aSEmmanuel Vadot				};
38f126890aSEmmanuel Vadot
39f126890aSEmmanuel Vadot				trip1 {
40f126890aSEmmanuel Vadot					temperature = <50000>;
41f126890aSEmmanuel Vadot					hysteresis = <2000>;
42f126890aSEmmanuel Vadot					type = "critical";
43f126890aSEmmanuel Vadot				};
44f126890aSEmmanuel Vadot			};
45f126890aSEmmanuel Vadot		};
46f126890aSEmmanuel Vadot	};
47f126890aSEmmanuel Vadot
48f126890aSEmmanuel Vadot	reg_brcm: regulator-brcm {
49f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
50f126890aSEmmanuel Vadot		regulator-name = "brcm_reg";
51f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
52f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
53f126890aSEmmanuel Vadot		pinctrl-names = "default";
54f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_brcm_reg>;
55f126890aSEmmanuel Vadot		gpio = <&gpio6 13 GPIO_ACTIVE_HIGH>;
56f126890aSEmmanuel Vadot		enable-active-high;
57f126890aSEmmanuel Vadot		startup-delay-us = <150>;
58f126890aSEmmanuel Vadot	};
59f126890aSEmmanuel Vadot
60f126890aSEmmanuel Vadot	reg_digitizer: regulator-digitizer {
61f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
62f126890aSEmmanuel Vadot		regulator-name = "VDD_3V3_DIGITIZER";
63f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
64f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
65f126890aSEmmanuel Vadot		pinctrl-names = "default", "sleep";
66f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_digitizer_reg>;
67f126890aSEmmanuel Vadot		pinctrl-1 = <&pinctrl_digitizer_reg>;
68f126890aSEmmanuel Vadot		gpio = <&gpio1 6 GPIO_ACTIVE_HIGH>;
69f126890aSEmmanuel Vadot		enable-active-high;
70f126890aSEmmanuel Vadot		startup-delay-us = <100000>; /* 100 ms */
71f126890aSEmmanuel Vadot	};
72f126890aSEmmanuel Vadot
73f126890aSEmmanuel Vadot	reg_touch: regulator-touch {
74f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
75f126890aSEmmanuel Vadot		regulator-name = "VDD_3V3_TOUCH";
76f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
77f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
78f126890aSEmmanuel Vadot		pinctrl-names = "default";
79f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_touch_reg>;
80f126890aSEmmanuel Vadot		gpio = <&gpio1 11 GPIO_ACTIVE_HIGH>;
81f126890aSEmmanuel Vadot		enable-active-high;
82f126890aSEmmanuel Vadot	};
83f126890aSEmmanuel Vadot
84f126890aSEmmanuel Vadot	wifi_pwrseq: wifi_pwrseq {
85f126890aSEmmanuel Vadot		compatible = "mmc-pwrseq-simple";
86f126890aSEmmanuel Vadot		pinctrl-names = "default";
87f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_wifi>;
88f126890aSEmmanuel Vadot		reset-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>;
89f126890aSEmmanuel Vadot		clocks = <&clks IMX7D_CLKO2_ROOT_DIV>;
90f126890aSEmmanuel Vadot		clock-names = "ext_clock";
91f126890aSEmmanuel Vadot	};
92f126890aSEmmanuel Vadot};
93f126890aSEmmanuel Vadot
94f126890aSEmmanuel Vadot&cpu0 {
95f126890aSEmmanuel Vadot	cpu-supply = <&buck1>;
96f126890aSEmmanuel Vadot};
97f126890aSEmmanuel Vadot
98f126890aSEmmanuel Vadot&clks {
99f126890aSEmmanuel Vadot	assigned-clocks = <&clks IMX7D_CLKO2_ROOT_SRC>,
100f126890aSEmmanuel Vadot			  <&clks IMX7D_CLKO2_ROOT_DIV>;
101f126890aSEmmanuel Vadot	assigned-clock-parents = <&clks IMX7D_CKIL>;
102f126890aSEmmanuel Vadot	assigned-clock-rates = <0>, <32768>;
103f126890aSEmmanuel Vadot};
104f126890aSEmmanuel Vadot
105f126890aSEmmanuel Vadot&i2c1 {
106f126890aSEmmanuel Vadot	clock-frequency = <400000>;
107f126890aSEmmanuel Vadot	pinctrl-names = "default";
108f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c1>;
109f126890aSEmmanuel Vadot	status = "okay";
110f126890aSEmmanuel Vadot
111f126890aSEmmanuel Vadot	wacom_digitizer: digitizer@9 {
112f126890aSEmmanuel Vadot		compatible = "hid-over-i2c";
113f126890aSEmmanuel Vadot		reg = <0x09>;
114f126890aSEmmanuel Vadot		hid-descr-addr = <0x01>;
115f126890aSEmmanuel Vadot		pinctrl-names = "default";
116f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_wacom>;
117f126890aSEmmanuel Vadot		interrupt-parent = <&gpio1>;
118f126890aSEmmanuel Vadot		interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
119f126890aSEmmanuel Vadot		touchscreen-inverted-x;
120f126890aSEmmanuel Vadot		touchscreen-inverted-y;
121f126890aSEmmanuel Vadot		vdd-supply = <&reg_digitizer>;
122f126890aSEmmanuel Vadot	};
123f126890aSEmmanuel Vadot};
124f126890aSEmmanuel Vadot
125f126890aSEmmanuel Vadot&i2c2 {
126f126890aSEmmanuel Vadot	clock-frequency = <100000>;
127f126890aSEmmanuel Vadot	pinctrl-names = "default";
128f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c2>;
129f126890aSEmmanuel Vadot	status = "okay";
130f126890aSEmmanuel Vadot
131f126890aSEmmanuel Vadot	bd71815: pmic@4b {
132f126890aSEmmanuel Vadot		compatible = "rohm,bd71815";
133f126890aSEmmanuel Vadot		reg = <0x4b>;
134f126890aSEmmanuel Vadot		pinctrl-names = "default";
135f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_bd71815>;
136f126890aSEmmanuel Vadot		interrupt-parent = <&gpio6>; /* PMIC_INT_B GPIO6_IO16 */
137f126890aSEmmanuel Vadot		interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
138f126890aSEmmanuel Vadot		gpio-controller;
139f126890aSEmmanuel Vadot		clocks = <&clks IMX7D_CLKO2_ROOT_SRC>;
140f126890aSEmmanuel Vadot		clock-output-names = "bd71815-32k-out";
141f126890aSEmmanuel Vadot		#clock-cells = <0>;
142f126890aSEmmanuel Vadot		#gpio-cells = <2>;
143f126890aSEmmanuel Vadot
144f126890aSEmmanuel Vadot		regulators {
145f126890aSEmmanuel Vadot			buck1: buck1 {
146f126890aSEmmanuel Vadot				regulator-name = "buck1";
147f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
148f126890aSEmmanuel Vadot				regulator-max-microvolt = <2000000>;
149f126890aSEmmanuel Vadot				regulator-boot-on;
150f126890aSEmmanuel Vadot				regulator-always-on;
151f126890aSEmmanuel Vadot				regulator-ramp-delay = <1250>;
152f126890aSEmmanuel Vadot			};
153f126890aSEmmanuel Vadot
154f126890aSEmmanuel Vadot			buck2: buck2 {
155f126890aSEmmanuel Vadot				regulator-name = "buck2";
156f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
157f126890aSEmmanuel Vadot				regulator-max-microvolt = <2000000>;
158f126890aSEmmanuel Vadot				regulator-boot-on;
159f126890aSEmmanuel Vadot				regulator-always-on;
160f126890aSEmmanuel Vadot				regulator-ramp-delay = <1250>;
161f126890aSEmmanuel Vadot			};
162f126890aSEmmanuel Vadot
163f126890aSEmmanuel Vadot			buck3: buck3 {
164f126890aSEmmanuel Vadot				regulator-name = "buck3";
165f126890aSEmmanuel Vadot				regulator-min-microvolt = <1200000>;
166f126890aSEmmanuel Vadot				regulator-max-microvolt = <2700000>;
167f126890aSEmmanuel Vadot				regulator-boot-on;
168f126890aSEmmanuel Vadot				regulator-always-on;
169f126890aSEmmanuel Vadot			};
170f126890aSEmmanuel Vadot
171f126890aSEmmanuel Vadot			buck4: buck4 {
172f126890aSEmmanuel Vadot				regulator-name = "buck4";
173f126890aSEmmanuel Vadot				regulator-min-microvolt = <1100000>;
174f126890aSEmmanuel Vadot				regulator-max-microvolt = <1850000>;
175f126890aSEmmanuel Vadot				regulator-boot-on;
176f126890aSEmmanuel Vadot				regulator-always-on;
177f126890aSEmmanuel Vadot			};
178f126890aSEmmanuel Vadot
179f126890aSEmmanuel Vadot			buck5: buck5 {
180f126890aSEmmanuel Vadot				regulator-name = "buck5";
181f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
182f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
183f126890aSEmmanuel Vadot				regulator-boot-on;
184f126890aSEmmanuel Vadot				regulator-always-on;
185f126890aSEmmanuel Vadot			};
186f126890aSEmmanuel Vadot
187f126890aSEmmanuel Vadot			ldo1: ldo1 {
188f126890aSEmmanuel Vadot				regulator-name = "ldo1";
189f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
190f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
191f126890aSEmmanuel Vadot				regulator-boot-on;
192f126890aSEmmanuel Vadot				regulator-always-on;
193f126890aSEmmanuel Vadot			};
194f126890aSEmmanuel Vadot
195f126890aSEmmanuel Vadot			ldo2: ldo2 {
196f126890aSEmmanuel Vadot				regulator-name = "ldo2";
197f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
198f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
199f126890aSEmmanuel Vadot				regulator-boot-on;
200f126890aSEmmanuel Vadot				regulator-always-on;
201f126890aSEmmanuel Vadot			};
202f126890aSEmmanuel Vadot
203f126890aSEmmanuel Vadot			ldo3: ldo3 {
204f126890aSEmmanuel Vadot				regulator-name = "ldo3";
205f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
206f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
207f126890aSEmmanuel Vadot				regulator-boot-on;
208f126890aSEmmanuel Vadot				regulator-always-on;
209f126890aSEmmanuel Vadot			};
210f126890aSEmmanuel Vadot
211f126890aSEmmanuel Vadot			ldo4: ldo4 {
212f126890aSEmmanuel Vadot				regulator-name = "ldo4";
213f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
214f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
215f126890aSEmmanuel Vadot				regulator-boot-on;
216f126890aSEmmanuel Vadot				regulator-always-on;
217f126890aSEmmanuel Vadot			};
218f126890aSEmmanuel Vadot
219f126890aSEmmanuel Vadot			ldo5: ldo5 {
220f126890aSEmmanuel Vadot				regulator-name = "ldo5";
221f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
222f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
223f126890aSEmmanuel Vadot				regulator-boot-on;
224f126890aSEmmanuel Vadot				regulator-always-on;
225f126890aSEmmanuel Vadot			};
226f126890aSEmmanuel Vadot
227f126890aSEmmanuel Vadot			ldo6: ldodvref {
228f126890aSEmmanuel Vadot				regulator-name = "ldodvref";
229f126890aSEmmanuel Vadot				regulator-boot-on;
230f126890aSEmmanuel Vadot				regulator-always-on;
231f126890aSEmmanuel Vadot			};
232f126890aSEmmanuel Vadot
233f126890aSEmmanuel Vadot			ldo7: ldolpsr {
234f126890aSEmmanuel Vadot				regulator-name = "ldolpsr";
235f126890aSEmmanuel Vadot				regulator-boot-on;
236f126890aSEmmanuel Vadot				regulator-always-on;
237f126890aSEmmanuel Vadot			};
238f126890aSEmmanuel Vadot
239f126890aSEmmanuel Vadot			boost: wled {
240f126890aSEmmanuel Vadot				regulator-name = "wled";
241f126890aSEmmanuel Vadot				regulator-min-microamp = <10>;
242f126890aSEmmanuel Vadot				regulator-max-microamp = <25000>;
243f126890aSEmmanuel Vadot				regulator-boot-on;
244f126890aSEmmanuel Vadot				regulator-always-on;
245f126890aSEmmanuel Vadot			};
246f126890aSEmmanuel Vadot		};
247f126890aSEmmanuel Vadot	};
248f126890aSEmmanuel Vadot};
249f126890aSEmmanuel Vadot
250f126890aSEmmanuel Vadot&i2c3 {
251f126890aSEmmanuel Vadot	clock-frequency = <100000>;
252f126890aSEmmanuel Vadot	pinctrl-names = "default";
253f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c3>;
254f126890aSEmmanuel Vadot	status = "okay";
255f126890aSEmmanuel Vadot
256f126890aSEmmanuel Vadot	touchscreen@24 {
257f126890aSEmmanuel Vadot		compatible = "cypress,tt21000";
258f126890aSEmmanuel Vadot		reg = <0x24>;
259f126890aSEmmanuel Vadot		pinctrl-names = "default";
260f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_touch>;
261f126890aSEmmanuel Vadot		interrupt-parent = <&gpio1>;
262f126890aSEmmanuel Vadot		interrupts = <14 IRQ_TYPE_EDGE_FALLING>;
263f126890aSEmmanuel Vadot		reset-gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
264f126890aSEmmanuel Vadot		vdd-supply = <&reg_touch>;
265f126890aSEmmanuel Vadot		touchscreen-size-x = <880>;
266f126890aSEmmanuel Vadot		touchscreen-size-y = <1280>;
267f126890aSEmmanuel Vadot		#address-cells = <1>;
268f126890aSEmmanuel Vadot		#size-cells = <0>;
269f126890aSEmmanuel Vadot
270f126890aSEmmanuel Vadot		button@0 {
271f126890aSEmmanuel Vadot			reg = <0>;
272f126890aSEmmanuel Vadot			linux,keycodes = <KEY_HOMEPAGE>;
273f126890aSEmmanuel Vadot		};
274f126890aSEmmanuel Vadot
275f126890aSEmmanuel Vadot		button@1 {
276f126890aSEmmanuel Vadot			reg = <1>;
277f126890aSEmmanuel Vadot			linux,keycodes = <KEY_MENU>;
278f126890aSEmmanuel Vadot		};
279f126890aSEmmanuel Vadot
280f126890aSEmmanuel Vadot		button@2 {
281f126890aSEmmanuel Vadot			reg = <2>;
282f126890aSEmmanuel Vadot			linux,keycodes = <KEY_BACK>;
283f126890aSEmmanuel Vadot		};
284f126890aSEmmanuel Vadot
285f126890aSEmmanuel Vadot		button@3 {
286f126890aSEmmanuel Vadot			reg = <3>;
287f126890aSEmmanuel Vadot			linux,keycodes = <KEY_SEARCH>;
288f126890aSEmmanuel Vadot		};
289f126890aSEmmanuel Vadot
290f126890aSEmmanuel Vadot		button@4 {
291f126890aSEmmanuel Vadot			reg = <4>;
292f126890aSEmmanuel Vadot			linux,keycodes = <KEY_VOLUMEDOWN>;
293f126890aSEmmanuel Vadot		};
294f126890aSEmmanuel Vadot
295f126890aSEmmanuel Vadot		button@5 {
296f126890aSEmmanuel Vadot			reg = <5>;
297f126890aSEmmanuel Vadot			linux,keycodes = <KEY_VOLUMEUP>;
298f126890aSEmmanuel Vadot		};
299f126890aSEmmanuel Vadot
300f126890aSEmmanuel Vadot		button@6 {
301f126890aSEmmanuel Vadot			reg = <6>;
302f126890aSEmmanuel Vadot			linux,keycodes = <KEY_CAMERA>;
303f126890aSEmmanuel Vadot		};
304f126890aSEmmanuel Vadot
305f126890aSEmmanuel Vadot		button@7 {
306f126890aSEmmanuel Vadot			reg = <7>;
307f126890aSEmmanuel Vadot			linux,keycodes = <KEY_POWER>;
308f126890aSEmmanuel Vadot		};
309f126890aSEmmanuel Vadot	};
310f126890aSEmmanuel Vadot};
311f126890aSEmmanuel Vadot
312f126890aSEmmanuel Vadot&i2c4 {
313f126890aSEmmanuel Vadot	clock-frequency = <100000>;
314f126890aSEmmanuel Vadot	pinctrl-names = "default", "sleep";
315f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c4>;
316f126890aSEmmanuel Vadot	pinctrl-1 = <&pinctrl_i2c4>;
317f126890aSEmmanuel Vadot	status = "okay";
318f126890aSEmmanuel Vadot
319f126890aSEmmanuel Vadot	sy7636a: pmic@62 {
320f126890aSEmmanuel Vadot		compatible = "silergy,sy7636a";
321f126890aSEmmanuel Vadot		reg = <0x62>;
322f126890aSEmmanuel Vadot		pinctrl-names = "default";
323f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_epdpmic>;
324f126890aSEmmanuel Vadot		#thermal-sensor-cells = <0>;
325f126890aSEmmanuel Vadot		epd-pwr-good-gpios = <&gpio6 21 GPIO_ACTIVE_HIGH>;
326f126890aSEmmanuel Vadot
327f126890aSEmmanuel Vadot		regulators {
328f126890aSEmmanuel Vadot			reg_epdpmic: vcom {
329f126890aSEmmanuel Vadot				regulator-name = "vcom";
330f126890aSEmmanuel Vadot				regulator-boot-on;
331f126890aSEmmanuel Vadot			};
332f126890aSEmmanuel Vadot		};
333f126890aSEmmanuel Vadot	};
334f126890aSEmmanuel Vadot};
335f126890aSEmmanuel Vadot
336f126890aSEmmanuel Vadot&snvs_pwrkey {
337f126890aSEmmanuel Vadot	status = "okay";
338f126890aSEmmanuel Vadot};
339f126890aSEmmanuel Vadot
340f126890aSEmmanuel Vadot&uart1 {
341f126890aSEmmanuel Vadot	pinctrl-names = "default";
342f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart1>;
343f126890aSEmmanuel Vadot	assigned-clocks = <&clks IMX7D_UART1_ROOT_SRC>;
344f126890aSEmmanuel Vadot	assigned-clock-parents = <&clks IMX7D_OSC_24M_CLK>;
345f126890aSEmmanuel Vadot	status = "okay";
346f126890aSEmmanuel Vadot};
347f126890aSEmmanuel Vadot
348f126890aSEmmanuel Vadot&uart6 {
349f126890aSEmmanuel Vadot	pinctrl-names = "default";
350f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart6>;
351f126890aSEmmanuel Vadot	assigned-clocks = <&clks IMX7D_UART6_ROOT_SRC>;
352f126890aSEmmanuel Vadot	assigned-clock-parents = <&clks IMX7D_OSC_24M_CLK>;
353f126890aSEmmanuel Vadot	status = "okay";
354f126890aSEmmanuel Vadot};
355f126890aSEmmanuel Vadot
356f126890aSEmmanuel Vadot&usbotg2 {
357f126890aSEmmanuel Vadot	srp-disable;
358f126890aSEmmanuel Vadot	hnp-disable;
359f126890aSEmmanuel Vadot	status = "okay";
360f126890aSEmmanuel Vadot};
361f126890aSEmmanuel Vadot
362f126890aSEmmanuel Vadot&usdhc2 {
363f126890aSEmmanuel Vadot	#address-cells = <1>;
364f126890aSEmmanuel Vadot	#size-cells = <0>;
365f126890aSEmmanuel Vadot	pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep";
366f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc2>;
367f126890aSEmmanuel Vadot	pinctrl-1 = <&pinctrl_usdhc2_100mhz>;
368f126890aSEmmanuel Vadot	pinctrl-2 = <&pinctrl_usdhc2_200mhz>;
369f126890aSEmmanuel Vadot	mmc-pwrseq = <&wifi_pwrseq>;
370f126890aSEmmanuel Vadot	vmmc-supply = <&reg_brcm>;
371f126890aSEmmanuel Vadot	bus-width = <4>;
372f126890aSEmmanuel Vadot	non-removable;
373f126890aSEmmanuel Vadot	keep-power-in-suspend;
374f126890aSEmmanuel Vadot	cap-power-off-card;
375f126890aSEmmanuel Vadot	status = "okay";
376f126890aSEmmanuel Vadot
377f126890aSEmmanuel Vadot	brcmf: bcrmf@1 {
378f126890aSEmmanuel Vadot		reg = <1>;
379f126890aSEmmanuel Vadot		compatible = "brcm,bcm4329-fmac";
380f126890aSEmmanuel Vadot	};
381f126890aSEmmanuel Vadot};
382f126890aSEmmanuel Vadot
383f126890aSEmmanuel Vadot&usdhc3 {
384f126890aSEmmanuel Vadot	pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep";
385f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc3>;
386f126890aSEmmanuel Vadot	pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
387f126890aSEmmanuel Vadot	pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
388f126890aSEmmanuel Vadot	pinctrl-3 = <&pinctrl_usdhc3>;
389f126890aSEmmanuel Vadot	assigned-clocks = <&clks IMX7D_USDHC3_ROOT_CLK>;
390f126890aSEmmanuel Vadot	assigned-clock-rates = <400000000>;
391f126890aSEmmanuel Vadot	bus-width = <8>;
392f126890aSEmmanuel Vadot	non-removable;
393f126890aSEmmanuel Vadot	status = "okay";
394f126890aSEmmanuel Vadot};
395f126890aSEmmanuel Vadot
396f126890aSEmmanuel Vadot&wdog1 {
397f126890aSEmmanuel Vadot	pinctrl-names = "default";
398f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_wdog>;
399f126890aSEmmanuel Vadot	fsl,ext-reset-output;
400f126890aSEmmanuel Vadot};
401f126890aSEmmanuel Vadot
402f126890aSEmmanuel Vadot&iomuxc_lpsr {
403f126890aSEmmanuel Vadot	pinctrl_digitizer_reg: digitizerreggrp {
404f126890aSEmmanuel Vadot		fsl,pins = <
405f126890aSEmmanuel Vadot			/* DIGITIZER_PWR_EN */
406f126890aSEmmanuel Vadot			MX7D_PAD_LPSR_GPIO1_IO06__GPIO1_IO6	0x14
407f126890aSEmmanuel Vadot		>;
408f126890aSEmmanuel Vadot	};
409f126890aSEmmanuel Vadot
410f126890aSEmmanuel Vadot	pinctrl_wacom: wacomgrp {
411f126890aSEmmanuel Vadot		fsl,pins = <
412f126890aSEmmanuel Vadot			/*MX7D_PAD_LPSR_GPIO1_IO05__GPIO1_IO5	0x00000014 FWE */
413f126890aSEmmanuel Vadot			MX7D_PAD_LPSR_GPIO1_IO04__GPIO1_IO4	0x00000074 /* PDCTB */
414f126890aSEmmanuel Vadot			MX7D_PAD_LPSR_GPIO1_IO01__GPIO1_IO1	0x00000034 /* WACOM INT */
415f126890aSEmmanuel Vadot			/*MX7D_PAD_LPSR_GPIO1_IO06__GPIO1_IO6	0x00000014 WACOM PWR ENABLE */
416f126890aSEmmanuel Vadot			/*MX7D_PAD_LPSR_GPIO1_IO00__GPIO1_IO0	0x00000074 WACOM RESET */
417f126890aSEmmanuel Vadot		>;
418f126890aSEmmanuel Vadot	};
419f126890aSEmmanuel Vadot};
420f126890aSEmmanuel Vadot
421f126890aSEmmanuel Vadot&iomuxc {
422f126890aSEmmanuel Vadot	pinctrl_bd71815: bd71815grp {
423f126890aSEmmanuel Vadot		fsl,pins = <
424f126890aSEmmanuel Vadot			MX7D_PAD_SAI1_RX_SYNC__GPIO6_IO16	0x59
425f126890aSEmmanuel Vadot		>;
426f126890aSEmmanuel Vadot	};
427f126890aSEmmanuel Vadot
428f126890aSEmmanuel Vadot	pinctrl_brcm_reg: brcmreggrp {
429f126890aSEmmanuel Vadot		fsl,pins = <
430f126890aSEmmanuel Vadot			/* WIFI_PWR_EN */
431f126890aSEmmanuel Vadot			MX7D_PAD_SAI1_TX_BCLK__GPIO6_IO13	0x14
432f126890aSEmmanuel Vadot		>;
433f126890aSEmmanuel Vadot	};
434f126890aSEmmanuel Vadot
435f126890aSEmmanuel Vadot	pinctrl_epdpmic: epdpmicgrp {
436f126890aSEmmanuel Vadot		fsl,pins = <
437f126890aSEmmanuel Vadot			MX7D_PAD_SAI2_RX_DATA__GPIO6_IO21	0x00000074
438f126890aSEmmanuel Vadot			MX7D_PAD_ENET1_RGMII_TXC__GPIO7_IO11	0x00000014
439f126890aSEmmanuel Vadot		>;
440f126890aSEmmanuel Vadot	};
441f126890aSEmmanuel Vadot
442f126890aSEmmanuel Vadot	pinctrl_touch: touchgrp {
443f126890aSEmmanuel Vadot		fsl,pins = <
444f126890aSEmmanuel Vadot			/* CYTTSP interrupt */
445f126890aSEmmanuel Vadot			MX7D_PAD_GPIO1_IO14__GPIO1_IO14		0x54
446f126890aSEmmanuel Vadot			/* CYTTSP reset */
447f126890aSEmmanuel Vadot			MX7D_PAD_GPIO1_IO13__GPIO1_IO13		0x04
448f126890aSEmmanuel Vadot		>;
449f126890aSEmmanuel Vadot	};
450f126890aSEmmanuel Vadot
451f126890aSEmmanuel Vadot	pinctrl_i2c1: i2c1grp {
452f126890aSEmmanuel Vadot		fsl,pins = <
453f126890aSEmmanuel Vadot			MX7D_PAD_I2C1_SDA__I2C1_SDA		0x4000007f
454f126890aSEmmanuel Vadot			MX7D_PAD_I2C1_SCL__I2C1_SCL		0x4000007f
455f126890aSEmmanuel Vadot		>;
456f126890aSEmmanuel Vadot	};
457f126890aSEmmanuel Vadot
458f126890aSEmmanuel Vadot	pinctrl_i2c2: i2c2grp {
459f126890aSEmmanuel Vadot		fsl,pins = <
460f126890aSEmmanuel Vadot			MX7D_PAD_I2C2_SDA__I2C2_SDA		0x4000007f
461f126890aSEmmanuel Vadot			MX7D_PAD_I2C2_SCL__I2C2_SCL		0x4000007f
462f126890aSEmmanuel Vadot		>;
463f126890aSEmmanuel Vadot	};
464f126890aSEmmanuel Vadot
465f126890aSEmmanuel Vadot	pinctrl_i2c3: i2c3grp {
466f126890aSEmmanuel Vadot		fsl,pins = <
467f126890aSEmmanuel Vadot			MX7D_PAD_I2C3_SDA__I2C3_SDA		0x4000007f
468f126890aSEmmanuel Vadot			MX7D_PAD_I2C3_SCL__I2C3_SCL		0x4000007f
469f126890aSEmmanuel Vadot		>;
470f126890aSEmmanuel Vadot	};
471f126890aSEmmanuel Vadot
472f126890aSEmmanuel Vadot	pinctrl_i2c4: i2c4grp {
473f126890aSEmmanuel Vadot		fsl,pins = <
474f126890aSEmmanuel Vadot			MX7D_PAD_I2C4_SDA__I2C4_SDA		0x4000007f
475f126890aSEmmanuel Vadot			MX7D_PAD_I2C4_SCL__I2C4_SCL		0x4000007f
476f126890aSEmmanuel Vadot		>;
477f126890aSEmmanuel Vadot	};
478f126890aSEmmanuel Vadot
479f126890aSEmmanuel Vadot	pinctrl_touch_reg: touchreggrp {
480f126890aSEmmanuel Vadot		fsl,pins = <
481f126890aSEmmanuel Vadot			/* TOUCH_PWR_EN */
482f126890aSEmmanuel Vadot			MX7D_PAD_GPIO1_IO11__GPIO1_IO11		0x14
483f126890aSEmmanuel Vadot		>;
484f126890aSEmmanuel Vadot	};
485f126890aSEmmanuel Vadot
486f126890aSEmmanuel Vadot	pinctrl_uart1: uart1grp {
487f126890aSEmmanuel Vadot		fsl,pins = <
488f126890aSEmmanuel Vadot			MX7D_PAD_UART1_TX_DATA__UART1_DCE_TX	0x79
489f126890aSEmmanuel Vadot			MX7D_PAD_UART1_RX_DATA__UART1_DCE_RX	0x79
490f126890aSEmmanuel Vadot		>;
491f126890aSEmmanuel Vadot	};
492f126890aSEmmanuel Vadot
493f126890aSEmmanuel Vadot	pinctrl_uart6: uart6grp {
494f126890aSEmmanuel Vadot		fsl,pins = <
495f126890aSEmmanuel Vadot			MX7D_PAD_EPDC_DATA09__UART6_DCE_TX		0x79
496f126890aSEmmanuel Vadot			MX7D_PAD_EPDC_DATA08__UART6_DCE_RX		0x79
497f126890aSEmmanuel Vadot		>;
498f126890aSEmmanuel Vadot	};
499f126890aSEmmanuel Vadot
500f126890aSEmmanuel Vadot	pinctrl_usdhc2: usdhc2grp {
501f126890aSEmmanuel Vadot		fsl,pins = <
502f126890aSEmmanuel Vadot			MX7D_PAD_SD2_CMD__SD2_CMD		0x59
503f126890aSEmmanuel Vadot			MX7D_PAD_SD2_CLK__SD2_CLK		0x19
504f126890aSEmmanuel Vadot			MX7D_PAD_SD2_DATA0__SD2_DATA0		0x59
505f126890aSEmmanuel Vadot			MX7D_PAD_SD2_DATA1__SD2_DATA1		0x59
506f126890aSEmmanuel Vadot			MX7D_PAD_SD2_DATA2__SD2_DATA2		0x59
507f126890aSEmmanuel Vadot			MX7D_PAD_SD2_DATA3__SD2_DATA3		0x59
508f126890aSEmmanuel Vadot		>;
509f126890aSEmmanuel Vadot	};
510f126890aSEmmanuel Vadot
511*b2d2a78aSEmmanuel Vadot	pinctrl_usdhc2_100mhz: usdhc2-100mhz-grp {
512f126890aSEmmanuel Vadot		fsl,pins = <
513f126890aSEmmanuel Vadot			MX7D_PAD_SD2_CMD__SD2_CMD		0x5a
514f126890aSEmmanuel Vadot			MX7D_PAD_SD2_CLK__SD2_CLK		0x1a
515f126890aSEmmanuel Vadot			MX7D_PAD_SD2_DATA0__SD2_DATA0		0x5a
516f126890aSEmmanuel Vadot			MX7D_PAD_SD2_DATA1__SD2_DATA1		0x5a
517f126890aSEmmanuel Vadot			MX7D_PAD_SD2_DATA2__SD2_DATA2		0x5a
518f126890aSEmmanuel Vadot			MX7D_PAD_SD2_DATA3__SD2_DATA3		0x5a
519f126890aSEmmanuel Vadot		>;
520f126890aSEmmanuel Vadot	};
521f126890aSEmmanuel Vadot
522*b2d2a78aSEmmanuel Vadot	pinctrl_usdhc2_200mhz: usdhc2-200mhz-grp {
523f126890aSEmmanuel Vadot		fsl,pins = <
524f126890aSEmmanuel Vadot			MX7D_PAD_SD2_CMD__SD2_CMD		0x5b
525f126890aSEmmanuel Vadot			MX7D_PAD_SD2_CLK__SD2_CLK		0x1b
526f126890aSEmmanuel Vadot			MX7D_PAD_SD2_DATA0__SD2_DATA0		0x5b
527f126890aSEmmanuel Vadot			MX7D_PAD_SD2_DATA1__SD2_DATA1		0x5b
528f126890aSEmmanuel Vadot			MX7D_PAD_SD2_DATA2__SD2_DATA2		0x5b
529f126890aSEmmanuel Vadot			MX7D_PAD_SD2_DATA3__SD2_DATA3		0x5b
530f126890aSEmmanuel Vadot		>;
531f126890aSEmmanuel Vadot	};
532f126890aSEmmanuel Vadot
533f126890aSEmmanuel Vadot	pinctrl_usdhc3: usdhc3grp {
534f126890aSEmmanuel Vadot		fsl,pins = <
535f126890aSEmmanuel Vadot			MX7D_PAD_SD3_CMD__SD3_CMD		0x59
536f126890aSEmmanuel Vadot			MX7D_PAD_SD3_CLK__SD3_CLK		0x19
537f126890aSEmmanuel Vadot			MX7D_PAD_SD3_DATA0__SD3_DATA0		0x59
538f126890aSEmmanuel Vadot			MX7D_PAD_SD3_DATA1__SD3_DATA1		0x59
539f126890aSEmmanuel Vadot			MX7D_PAD_SD3_DATA2__SD3_DATA2		0x59
540f126890aSEmmanuel Vadot			MX7D_PAD_SD3_DATA3__SD3_DATA3		0x59
541f126890aSEmmanuel Vadot			MX7D_PAD_SD3_DATA4__SD3_DATA4		0x59
542f126890aSEmmanuel Vadot			MX7D_PAD_SD3_DATA5__SD3_DATA5		0x59
543f126890aSEmmanuel Vadot			MX7D_PAD_SD3_DATA6__SD3_DATA6		0x59
544f126890aSEmmanuel Vadot			MX7D_PAD_SD3_DATA7__SD3_DATA7		0x59
545f126890aSEmmanuel Vadot			MX7D_PAD_SD3_STROBE__SD3_STROBE		0x19
546f126890aSEmmanuel Vadot		>;
547f126890aSEmmanuel Vadot	};
548f126890aSEmmanuel Vadot
549*b2d2a78aSEmmanuel Vadot	pinctrl_usdhc3_100mhz: usdhc3-100mhz-grp {
550f126890aSEmmanuel Vadot		fsl,pins = <
551f126890aSEmmanuel Vadot			MX7D_PAD_SD3_CMD__SD3_CMD		0x5a
552f126890aSEmmanuel Vadot			MX7D_PAD_SD3_CLK__SD3_CLK		0x1a
553f126890aSEmmanuel Vadot			MX7D_PAD_SD3_DATA0__SD3_DATA0		0x5a
554f126890aSEmmanuel Vadot			MX7D_PAD_SD3_DATA1__SD3_DATA1		0x5a
555f126890aSEmmanuel Vadot			MX7D_PAD_SD3_DATA2__SD3_DATA2		0x5a
556f126890aSEmmanuel Vadot			MX7D_PAD_SD3_DATA3__SD3_DATA3		0x5a
557f126890aSEmmanuel Vadot			MX7D_PAD_SD3_DATA4__SD3_DATA4		0x5a
558f126890aSEmmanuel Vadot			MX7D_PAD_SD3_DATA5__SD3_DATA5		0x5a
559f126890aSEmmanuel Vadot			MX7D_PAD_SD3_DATA6__SD3_DATA6		0x5a
560f126890aSEmmanuel Vadot			MX7D_PAD_SD3_DATA7__SD3_DATA7		0x5a
561f126890aSEmmanuel Vadot			MX7D_PAD_SD3_STROBE__SD3_STROBE		0x1a
562f126890aSEmmanuel Vadot		>;
563f126890aSEmmanuel Vadot	};
564f126890aSEmmanuel Vadot
565*b2d2a78aSEmmanuel Vadot	pinctrl_usdhc3_200mhz: usdhc3-200mhz-grp {
566f126890aSEmmanuel Vadot		fsl,pins = <
567f126890aSEmmanuel Vadot			MX7D_PAD_SD3_CMD__SD3_CMD		0x5b
568f126890aSEmmanuel Vadot			MX7D_PAD_SD3_CLK__SD3_CLK		0x1b
569f126890aSEmmanuel Vadot			MX7D_PAD_SD3_DATA0__SD3_DATA0		0x5b
570f126890aSEmmanuel Vadot			MX7D_PAD_SD3_DATA1__SD3_DATA1		0x5b
571f126890aSEmmanuel Vadot			MX7D_PAD_SD3_DATA2__SD3_DATA2		0x5b
572f126890aSEmmanuel Vadot			MX7D_PAD_SD3_DATA3__SD3_DATA3		0x5b
573f126890aSEmmanuel Vadot			MX7D_PAD_SD3_DATA4__SD3_DATA4		0x5b
574f126890aSEmmanuel Vadot			MX7D_PAD_SD3_DATA5__SD3_DATA5		0x5b
575f126890aSEmmanuel Vadot			MX7D_PAD_SD3_DATA6__SD3_DATA6		0x5b
576f126890aSEmmanuel Vadot			MX7D_PAD_SD3_DATA7__SD3_DATA7		0x5b
577f126890aSEmmanuel Vadot			MX7D_PAD_SD3_STROBE__SD3_STROBE		0x1b
578f126890aSEmmanuel Vadot		>;
579f126890aSEmmanuel Vadot	};
580f126890aSEmmanuel Vadot
581f126890aSEmmanuel Vadot	pinctrl_wdog: wdoggrp {
582f126890aSEmmanuel Vadot		fsl,pins = <
583f126890aSEmmanuel Vadot			MX7D_PAD_ENET1_COL__WDOG1_WDOG_ANY	0x74
584f126890aSEmmanuel Vadot		>;
585f126890aSEmmanuel Vadot	};
586f126890aSEmmanuel Vadot
587f126890aSEmmanuel Vadot	pinctrl_wifi: wifigrp {
588f126890aSEmmanuel Vadot		fsl,pins = <
589f126890aSEmmanuel Vadot			/* WiFi Reg On */
590f126890aSEmmanuel Vadot			MX7D_PAD_SD2_CD_B__GPIO5_IO9		0x00000014
591f126890aSEmmanuel Vadot			/* WiFi Sleep 32k */
592f126890aSEmmanuel Vadot			MX7D_PAD_SD1_WP__CCM_CLKO2		0x00000014
593f126890aSEmmanuel Vadot		>;
594f126890aSEmmanuel Vadot	};
595f126890aSEmmanuel Vadot};
596