1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (C) 2016 NXP Semiconductors.
4 * Author: Fabio Estevam <fabio.estevam@nxp.com>
9 #include <dt-bindings/input/input.h>
13 model = "Element14 Warp i.MX7 Board";
14 compatible = "element14,imx7s-warp", "fsl,imx7s";
17 device_type = "memory";
18 reg = <0x80000000 0x20000000>;
22 compatible = "gpio-keys";
23 pinctrl-0 = <&pinctrl_gpio>;
28 gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>;
29 linux,code = <KEY_BACK>;
34 reg_brcm: regulator-brcm {
35 compatible = "regulator-fixed";
37 gpio = <&gpio5 10 GPIO_ACTIVE_HIGH>;
38 pinctrl-names = "default";
39 pinctrl-0 = <&pinctrl_brcm_reg>;
40 regulator-name = "brcm_reg";
41 regulator-min-microvolt = <3300000>;
42 regulator-max-microvolt = <3300000>;
43 startup-delay-us = <200000>;
46 reg_bt: regulator-bt {
47 compatible = "regulator-fixed";
48 pinctrl-names = "default";
49 pinctrl-0 = <&pinctrl_bt_reg>;
51 gpio = <&gpio5 17 GPIO_ACTIVE_HIGH>;
52 regulator-name = "bt_reg";
53 regulator-min-microvolt = <3300000>;
54 regulator-max-microvolt = <3300000>;
58 reg_peri_3p15v: regulator-peri-3p15v {
59 compatible = "regulator-fixed";
60 regulator-name = "peri_3p15v_reg";
61 regulator-min-microvolt = <3150000>;
62 regulator-max-microvolt = <3150000>;
67 compatible = "simple-audio-card";
68 simple-audio-card,name = "imx7-sgtl5000";
69 simple-audio-card,format = "i2s";
70 simple-audio-card,bitclock-master = <&dailink_master>;
71 simple-audio-card,frame-master = <&dailink_master>;
72 simple-audio-card,cpu {
76 dailink_master: simple-audio-card,codec {
78 clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_CLK>;
84 assigned-clocks = <&clks IMX7D_PLL_AUDIO_POST_DIV>;
85 assigned-clock-rates = <884736000>;
93 pinctrl-names = "default";
94 pinctrl-0 = <&pinctrl_i2c1>;
98 compatible = "fsl,pfuze3000";
103 regulator-min-microvolt = <700000>;
104 regulator-max-microvolt = <1475000>;
107 regulator-ramp-delay = <6250>;
110 /* use sw1c_reg to align with pfuze100/pfuze200 */
112 regulator-min-microvolt = <700000>;
113 regulator-max-microvolt = <1475000>;
116 regulator-ramp-delay = <6250>;
120 regulator-min-microvolt = <1500000>;
121 regulator-max-microvolt = <1850000>;
127 regulator-min-microvolt = <900000>;
128 regulator-max-microvolt = <1650000>;
134 regulator-min-microvolt = <5000000>;
135 regulator-max-microvolt = <5150000>;
141 regulator-min-microvolt = <1000000>;
142 regulator-max-microvolt = <3000000>;
153 regulator-min-microvolt = <1800000>;
154 regulator-max-microvolt = <3300000>;
159 regulator-min-microvolt = <800000>;
160 regulator-max-microvolt = <1550000>;
164 regulator-min-microvolt = <2850000>;
165 regulator-max-microvolt = <3300000>;
170 regulator-min-microvolt = <2850000>;
171 regulator-max-microvolt = <3300000>;
176 regulator-min-microvolt = <1800000>;
177 regulator-max-microvolt = <3300000>;
182 regulator-min-microvolt = <1800000>;
183 regulator-max-microvolt = <3300000>;
191 clock-frequency = <100000>;
192 pinctrl-names = "default";
193 pinctrl-0 = <&pinctrl_i2c2>;
197 compatible = "ovti,ov2680";
198 pinctrl-names = "default";
199 pinctrl-0 = <&pinctrl_ov2680>;
202 clock-names = "xvclk";
203 reset-gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
204 DOVDD-supply = <&sw2_reg>;
205 DVDD-supply = <&sw2_reg>;
206 AVDD-supply = <®_peri_3p15v>;
209 ov2680_to_mipi: endpoint {
210 remote-endpoint = <&mipi_from_sensor>;
219 clock-frequency = <100000>;
220 pinctrl-names = "default";
221 pinctrl-0 = <&pinctrl_i2c3>;
226 clock-frequency = <100000>;
227 pinctrl-names = "default";
228 pinctrl-0 = <&pinctrl_i2c4>;
232 #sound-dai-cells = <0>;
234 compatible = "fsl,sgtl5000";
235 clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_CLK>;
236 pinctrl-names = "default";
237 pinctrl-0 = <&pinctrl_sai1_mclk>;
238 VDDA-supply = <&vgen4_reg>;
239 VDDIO-supply = <&vgen4_reg>;
240 VDDD-supply = <&vgen2_reg>;
244 compatible = "fsl,mpl3115";
250 clock-frequency = <166000000>;
251 fsl,csis-hs-settle = <3>;
257 mipi_from_sensor: endpoint {
258 remote-endpoint = <&ov2680_to_mipi>;
266 pinctrl-names = "default";
267 pinctrl-0 = <&pinctrl_sai1>;
268 assigned-clocks = <&clks IMX7D_SAI1_ROOT_SRC>,
269 <&clks IMX7D_SAI1_ROOT_CLK>;
270 assigned-clock-parents = <&clks IMX7D_PLL_AUDIO_POST_DIV>;
271 assigned-clock-rates = <0>, <36864000>;
276 pinctrl-names = "default";
277 pinctrl-0 = <&pinctrl_uart1>;
278 assigned-clocks = <&clks IMX7D_UART1_ROOT_SRC>;
279 assigned-clock-parents = <&clks IMX7D_PLL_SYS_MAIN_240M_CLK>;
284 pinctrl-names = "default";
285 pinctrl-0 = <&pinctrl_uart3>;
286 assigned-clocks = <&clks IMX7D_UART3_ROOT_SRC>;
287 assigned-clock-parents = <&clks IMX7D_PLL_SYS_MAIN_240M_CLK>;
293 pinctrl-names = "default";
294 pinctrl-0 = <&pinctrl_uart6>;
295 assigned-clocks = <&clks IMX7D_UART6_ROOT_SRC>;
296 assigned-clock-parents = <&clks IMX7D_PLL_SYS_MAIN_240M_CLK>;
302 dr_mode = "peripheral";
307 pinctrl-names = "default";
308 pinctrl-0 = <&pinctrl_usdhc1>;
310 keep-power-in-suspend;
313 vmmc-supply = <®_brcm>;
318 pinctrl-names = "default", "state_100mhz", "state_200mhz";
319 pinctrl-0 = <&pinctrl_usdhc3>;
320 pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
321 pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
322 assigned-clocks = <&clks IMX7D_USDHC3_ROOT_CLK>;
323 assigned-clock-rates = <400000000>;
326 fsl,tuning-step = <2>;
336 pinctrl-names = "default";
337 pinctrl-0 = <&pinctrl_wdog>;
338 fsl,ext-reset-output;
343 pinctrl_brcm_reg: brcmreggrp {
345 MX7D_PAD_SD2_WP__GPIO5_IO10 0x14 /* WL_REG_ON */
349 pinctrl_bt_reg: btreggrp {
351 MX7D_PAD_SD2_DATA3__GPIO5_IO17 0x14 /* BT_REG_ON */
355 pinctrl_gpio: gpiogrp {
357 MX7D_PAD_ENET1_RGMII_RD1__GPIO7_IO1 0x14
361 pinctrl_i2c1: i2c1grp {
363 MX7D_PAD_I2C1_SDA__I2C1_SDA 0x4000007f
364 MX7D_PAD_I2C1_SCL__I2C1_SCL 0x4000007f
368 pinctrl_i2c2: i2c2grp {
370 MX7D_PAD_I2C2_SDA__I2C2_SDA 0x4000007f
371 MX7D_PAD_I2C2_SCL__I2C2_SCL 0x4000007f
375 pinctrl_i2c3: i2c3grp {
377 MX7D_PAD_I2C3_SDA__I2C3_SDA 0x4000007f
378 MX7D_PAD_I2C3_SCL__I2C3_SCL 0x4000007f
382 pinctrl_i2c4: i2c4grp {
384 MX7D_PAD_I2C4_SCL__I2C4_SCL 0x4000007f
385 MX7D_PAD_I2C4_SDA__I2C4_SDA 0x4000007f
389 pinctrl_ov2680: ov2660grp {
391 MX7D_PAD_LPSR_GPIO1_IO03__GPIO1_IO3 0x14
395 pinctrl_sai1: sai1grp {
397 MX7D_PAD_SAI1_RX_DATA__SAI1_RX_DATA0 0x1f
398 MX7D_PAD_SAI1_TX_BCLK__SAI1_TX_BCLK 0x1f
399 MX7D_PAD_SAI1_TX_SYNC__SAI1_TX_SYNC 0x1f
400 MX7D_PAD_SAI1_TX_DATA__SAI1_TX_DATA0 0x30
404 pinctrl_sai1_mclk: sai1mclkgrp {
406 MX7D_PAD_SAI1_MCLK__SAI1_MCLK 0x1f
410 pinctrl_uart1: uart1grp {
412 MX7D_PAD_UART1_TX_DATA__UART1_DCE_TX 0x79
413 MX7D_PAD_UART1_RX_DATA__UART1_DCE_RX 0x79
417 pinctrl_uart3: uart3grp {
419 MX7D_PAD_UART3_TX_DATA__UART3_DCE_TX 0x79
420 MX7D_PAD_UART3_RX_DATA__UART3_DCE_RX 0x79
421 MX7D_PAD_UART3_CTS_B__UART3_DCE_CTS 0x79
422 MX7D_PAD_UART3_RTS_B__UART3_DCE_RTS 0x79
426 pinctrl_uart6: uart6grp {
428 MX7D_PAD_ECSPI1_MOSI__UART6_DTE_RX 0x79
429 MX7D_PAD_ECSPI1_SCLK__UART6_DTE_TX 0x79
433 pinctrl_usdhc1: usdhc1grp {
435 MX7D_PAD_SD1_CMD__SD1_CMD 0x59
436 MX7D_PAD_SD1_CLK__SD1_CLK 0x19
437 MX7D_PAD_SD1_DATA0__SD1_DATA0 0x59
438 MX7D_PAD_SD1_DATA1__SD1_DATA1 0x59
439 MX7D_PAD_SD1_DATA2__SD1_DATA2 0x59
440 MX7D_PAD_SD1_DATA3__SD1_DATA3 0x59
441 MX7D_PAD_SD2_RESET_B__GPIO5_IO11 0x14 /* WL_HOST_WAKE */
445 pinctrl_usdhc3: usdhc3grp {
447 MX7D_PAD_SD3_CMD__SD3_CMD 0x59
448 MX7D_PAD_SD3_CLK__SD3_CLK 0x19
449 MX7D_PAD_SD3_DATA0__SD3_DATA0 0x59
450 MX7D_PAD_SD3_DATA1__SD3_DATA1 0x59
451 MX7D_PAD_SD3_DATA2__SD3_DATA2 0x59
452 MX7D_PAD_SD3_DATA3__SD3_DATA3 0x59
453 MX7D_PAD_SD3_DATA4__SD3_DATA4 0x59
454 MX7D_PAD_SD3_DATA5__SD3_DATA5 0x59
455 MX7D_PAD_SD3_DATA6__SD3_DATA6 0x59
456 MX7D_PAD_SD3_DATA7__SD3_DATA7 0x59
457 MX7D_PAD_SD3_RESET_B__SD3_RESET_B 0x19
461 pinctrl_usdhc3_100mhz: usdhc3grp_100mhz {
463 MX7D_PAD_SD3_CMD__SD3_CMD 0x5a
464 MX7D_PAD_SD3_CLK__SD3_CLK 0x1a
465 MX7D_PAD_SD3_DATA0__SD3_DATA0 0x5a
466 MX7D_PAD_SD3_DATA1__SD3_DATA1 0x5a
467 MX7D_PAD_SD3_DATA2__SD3_DATA2 0x5a
468 MX7D_PAD_SD3_DATA3__SD3_DATA3 0x5a
469 MX7D_PAD_SD3_DATA4__SD3_DATA4 0x5a
470 MX7D_PAD_SD3_DATA5__SD3_DATA5 0x5a
471 MX7D_PAD_SD3_DATA6__SD3_DATA6 0x5a
472 MX7D_PAD_SD3_DATA7__SD3_DATA7 0x5a
473 MX7D_PAD_SD3_RESET_B__SD3_RESET_B 0x1a
477 pinctrl_usdhc3_200mhz: usdhc3grp_200mhz {
479 MX7D_PAD_SD3_CMD__SD3_CMD 0x5b
480 MX7D_PAD_SD3_CLK__SD3_CLK 0x1b
481 MX7D_PAD_SD3_DATA0__SD3_DATA0 0x5b
482 MX7D_PAD_SD3_DATA1__SD3_DATA1 0x5b
483 MX7D_PAD_SD3_DATA2__SD3_DATA2 0x5b
484 MX7D_PAD_SD3_DATA3__SD3_DATA3 0x5b
485 MX7D_PAD_SD3_DATA4__SD3_DATA4 0x5b
486 MX7D_PAD_SD3_DATA5__SD3_DATA5 0x5b
487 MX7D_PAD_SD3_DATA6__SD3_DATA6 0x5b
488 MX7D_PAD_SD3_DATA7__SD3_DATA7 0x5b
489 MX7D_PAD_SD3_RESET_B__SD3_RESET_B 0x1b
495 pinctrl_wdog: wdoggrp {
497 MX7D_PAD_LPSR_GPIO1_IO00__WDOG1_WDOG_B 0x74