1 // SPDX-License-Identifier: GPL-2.0 OR X11
3 * Copyright 2016 Boundary Devices, Inc.
11 model = "Boundary Devices i.MX7 Nitrogen7 Board";
12 compatible = "boundary,imx7d-nitrogen7", "fsl,imx7d";
15 device_type = "memory";
16 reg = <0x80000000 0x40000000>;
20 compatible = "gpio-backlight";
21 pinctrl-names = "default";
22 pinctrl-0 = <&pinctrl_backlight_j9>;
23 gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
27 backlight_lcd: backlight-j20 {
28 compatible = "pwm-backlight";
29 pwms = <&pwm1 0 5000000 0>;
30 brightness-levels = <0 4 8 16 32 64 128 255>;
31 default-brightness-level = <6>;
36 compatible = "okaya,rs800480t-7x0gp";
37 backlight = <&backlight_lcd>;
41 remote-endpoint = <&lcdif_out>;
46 reg_usb_otg1_vbus: regulator-usb-otg1-vbus {
47 compatible = "regulator-fixed";
48 regulator-name = "usb_otg1_vbus";
49 regulator-min-microvolt = <5000000>;
50 regulator-max-microvolt = <5000000>;
51 gpio = <&gpio1 5 GPIO_ACTIVE_HIGH>;
55 reg_usb_otg2_vbus: regulator-usb-otg2-vbus {
56 compatible = "regulator-fixed";
57 regulator-name = "usb_otg2_vbus";
58 regulator-min-microvolt = <5000000>;
59 regulator-max-microvolt = <5000000>;
60 gpio = <&gpio4 7 GPIO_ACTIVE_HIGH>;
64 reg_can2_3v3: regulator-can2-3v3 {
65 compatible = "regulator-fixed";
66 regulator-name = "can2-3v3";
67 regulator-min-microvolt = <3300000>;
68 regulator-max-microvolt = <3300000>;
69 gpio = <&gpio2 14 GPIO_ACTIVE_LOW>;
72 reg_vref_1v8: regulator-vref-1v8 {
73 compatible = "regulator-fixed";
74 regulator-name = "vref-1v8";
75 regulator-min-microvolt = <1800000>;
76 regulator-max-microvolt = <1800000>;
79 reg_vref_3v3: regulator-vref-3v3 {
80 compatible = "regulator-fixed";
81 regulator-name = "vref-3v3";
82 regulator-min-microvolt = <3300000>;
83 regulator-max-microvolt = <3300000>;
86 reg_wlan: regulator-wlan {
87 compatible = "regulator-fixed";
88 regulator-min-microvolt = <3300000>;
89 regulator-max-microvolt = <3300000>;
90 regulator-name = "reg_wlan";
91 startup-delay-us = <70000>;
92 gpio = <&gpio4 21 GPIO_ACTIVE_HIGH>;
96 usdhc2_pwrseq: usdhc2_pwrseq {
97 compatible = "mmc-pwrseq-simple";
98 clocks = <&clks IMX7D_CLKO2_ROOT_DIV>;
99 clock-names = "ext_clock";
104 vref-supply = <®_vref_1v8>;
109 vref-supply = <®_vref_1v8>;
114 assigned-clocks = <&clks IMX7D_CLKO2_ROOT_SRC>,
115 <&clks IMX7D_CLKO2_ROOT_DIV>;
116 assigned-clock-parents = <&clks IMX7D_CKIL>;
117 assigned-clock-rates = <0>, <32768>;
121 cpu-supply = <&sw1a_reg>;
125 cpu-supply = <&sw1a_reg>;
129 pinctrl-names = "default";
130 pinctrl-0 = <&pinctrl_enet1>;
131 assigned-clocks = <&clks IMX7D_ENET1_TIME_ROOT_SRC>,
132 <&clks IMX7D_ENET1_TIME_ROOT_CLK>;
133 assigned-clock-parents = <&clks IMX7D_PLL_ENET_MAIN_100M_CLK>;
134 assigned-clock-rates = <0>, <100000000>;
136 phy-handle = <ðphy0>;
141 #address-cells = <1>;
144 ethphy0: ethernet-phy@4 {
151 pinctrl-names = "default";
152 pinctrl-0 = <&pinctrl_flexcan2>;
153 xceiver-supply = <®_can2_3v3>;
158 pinctrl-names = "default";
159 pinctrl-0 = <&pinctrl_i2c1>;
163 compatible = "fsl,pfuze3000";
168 regulator-min-microvolt = <700000>;
169 regulator-max-microvolt = <1475000>;
172 regulator-ramp-delay = <6250>;
175 /* use sw1c_reg to align with pfuze100/pfuze200 */
177 regulator-min-microvolt = <700000>;
178 regulator-max-microvolt = <1475000>;
181 regulator-ramp-delay = <6250>;
185 regulator-min-microvolt = <1500000>;
186 regulator-max-microvolt = <1850000>;
192 regulator-min-microvolt = <900000>;
193 regulator-max-microvolt = <1650000>;
199 regulator-min-microvolt = <5000000>;
200 regulator-max-microvolt = <5150000>;
204 regulator-min-microvolt = <1000000>;
205 regulator-max-microvolt = <3000000>;
216 regulator-min-microvolt = <1800000>;
217 regulator-max-microvolt = <3300000>;
222 regulator-min-microvolt = <800000>;
223 regulator-max-microvolt = <1550000>;
228 regulator-min-microvolt = <2850000>;
229 regulator-max-microvolt = <3300000>;
234 regulator-min-microvolt = <2850000>;
235 regulator-max-microvolt = <3300000>;
240 regulator-min-microvolt = <1800000>;
241 regulator-max-microvolt = <3300000>;
246 regulator-min-microvolt = <1800000>;
247 regulator-max-microvolt = <3300000>;
255 pinctrl-names = "default";
256 pinctrl-0 = <&pinctrl_i2c2>;
260 compatible = "microcrystal,rv4162";
261 pinctrl-names = "default";
262 pinctrl-0 = <&pinctrl_i2c2_rv4162>;
264 interrupts-extended = <&gpio2 15 IRQ_TYPE_LEVEL_LOW>;
269 pinctrl-names = "default";
270 pinctrl-0 = <&pinctrl_i2c3>;
274 compatible = "ti,tsc2004";
276 pinctrl-names = "default";
277 pinctrl-0 = <&pinctrl_i2c3_tsc2004>;
278 interrupts-extended = <&gpio3 4 IRQ_TYPE_EDGE_FALLING>;
279 wakeup-gpios = <&gpio3 4 GPIO_ACTIVE_LOW>;
284 pinctrl-names = "default";
285 pinctrl-0 = <&pinctrl_i2c4>;
289 compatible = "wlf,wm8960";
291 clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_CLK>;
292 clock-names = "mclk";
301 lcdif_out: endpoint {
302 remote-endpoint = <&panel_in>;
308 pinctrl-names = "default";
309 pinctrl-0 = <&pinctrl_pwm1>;
314 pinctrl-names = "default";
315 pinctrl-0 = <&pinctrl_pwm2>;
320 pinctrl-names = "default";
321 pinctrl-0 = <&pinctrl_uart1>;
322 assigned-clocks = <&clks IMX7D_UART1_ROOT_SRC>;
323 assigned-clock-parents = <&clks IMX7D_OSC_24M_CLK>;
328 pinctrl-names = "default";
329 pinctrl-0 = <&pinctrl_uart2>;
330 assigned-clocks = <&clks IMX7D_UART2_ROOT_SRC>;
331 assigned-clock-parents = <&clks IMX7D_OSC_24M_CLK>;
336 pinctrl-names = "default";
337 pinctrl-0 = <&pinctrl_uart3>;
338 assigned-clocks = <&clks IMX7D_UART3_ROOT_SRC>;
339 assigned-clock-parents = <&clks IMX7D_OSC_24M_CLK>;
344 pinctrl-names = "default";
345 pinctrl-0 = <&pinctrl_uart6>;
346 assigned-clocks = <&clks IMX7D_UART6_ROOT_SRC>;
347 assigned-clock-parents = <&clks IMX7D_PLL_SYS_MAIN_240M_CLK>;
353 vbus-supply = <®_usb_otg1_vbus>;
354 pinctrl-names = "default";
355 pinctrl-0 = <&pinctrl_usbotg1>;
360 vbus-supply = <®_usb_otg2_vbus>;
361 pinctrl-names = "default";
362 pinctrl-0 = <&pinctrl_usbotg2>;
368 pinctrl-names = "default";
369 pinctrl-0 = <&pinctrl_usdhc1>;
370 cd-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
371 vmmc-supply = <&vgen3_reg>;
373 fsl,tuning-step = <2>;
375 keep-power-in-suspend;
380 #address-cells = <1>;
382 pinctrl-names = "default";
383 pinctrl-0 = <&pinctrl_usdhc2>;
386 vmmc-supply = <®_wlan>;
387 mmc-pwrseq = <&usdhc2_pwrseq>;
389 keep-power-in-suspend;
393 compatible = "ti,wl1271";
395 interrupt-parent = <&gpio4>;
396 interrupts = <20 IRQ_TYPE_LEVEL_HIGH>;
397 ref-clock-frequency = <38400000>;
402 pinctrl-names = "default";
403 pinctrl-0 = <&pinctrl_usdhc3>;
404 assigned-clocks = <&clks IMX7D_USDHC3_ROOT_CLK>;
405 assigned-clock-rates = <400000000>;
407 fsl,tuning-step = <2>;
413 pinctrl-names = "default";
414 pinctrl-0 = <&pinctrl_wdog1>;
419 pinctrl-names = "default";
420 pinctrl-0 = <&pinctrl_hog_1 &pinctrl_j2>;
422 pinctrl_hog_1: hoggrp-1 {
424 MX7D_PAD_SD3_RESET_B__GPIO6_IO11 0x5d
425 MX7D_PAD_GPIO1_IO13__GPIO1_IO13 0x7d
426 MX7D_PAD_ECSPI2_MISO__GPIO4_IO22 0x7d
430 pinctrl_enet1: enet1grp {
432 MX7D_PAD_GPIO1_IO10__ENET1_MDIO 0x3
433 MX7D_PAD_GPIO1_IO11__ENET1_MDC 0x3
434 MX7D_PAD_GPIO1_IO12__CCM_ENET_REF_CLK1 0x3
435 MX7D_PAD_ENET1_RGMII_TXC__ENET1_RGMII_TXC 0x71
436 MX7D_PAD_ENET1_RGMII_TD0__ENET1_RGMII_TD0 0x71
437 MX7D_PAD_ENET1_RGMII_TD1__ENET1_RGMII_TD1 0x71
438 MX7D_PAD_ENET1_RGMII_TD2__ENET1_RGMII_TD2 0x71
439 MX7D_PAD_ENET1_RGMII_TD3__ENET1_RGMII_TD3 0x71
440 MX7D_PAD_ENET1_RGMII_TX_CTL__ENET1_RGMII_TX_CTL 0x71
441 MX7D_PAD_ENET1_RGMII_RXC__ENET1_RGMII_RXC 0x71
442 MX7D_PAD_ENET1_RGMII_RD0__ENET1_RGMII_RD0 0x11
443 MX7D_PAD_ENET1_RGMII_RD1__ENET1_RGMII_RD1 0x11
444 MX7D_PAD_ENET1_RGMII_RD2__ENET1_RGMII_RD2 0x11
445 MX7D_PAD_ENET1_RGMII_RD3__ENET1_RGMII_RD3 0x71
446 MX7D_PAD_ENET1_RGMII_RX_CTL__ENET1_RGMII_RX_CTL 0x11
447 MX7D_PAD_SD3_STROBE__GPIO6_IO10 0x75
451 pinctrl_flexcan2: flexcan2grp {
453 MX7D_PAD_GPIO1_IO14__FLEXCAN2_RX 0x7d
454 MX7D_PAD_GPIO1_IO15__FLEXCAN2_TX 0x7d
455 MX7D_PAD_EPDC_DATA14__GPIO2_IO14 0x7d
459 pinctrl_i2c1: i2c1grp {
461 MX7D_PAD_I2C1_SDA__I2C1_SDA 0x4000007f
462 MX7D_PAD_I2C1_SCL__I2C1_SCL 0x4000007f
466 pinctrl_i2c2: i2c2grp {
468 MX7D_PAD_I2C2_SDA__I2C2_SDA 0x4000007f
469 MX7D_PAD_I2C2_SCL__I2C2_SCL 0x4000007f
473 pinctrl_i2c2_rv4162: i2c2-rv4162grp {
475 MX7D_PAD_EPDC_DATA15__GPIO2_IO15 0x7d
479 pinctrl_i2c3: i2c3grp {
481 MX7D_PAD_I2C3_SDA__I2C3_SDA 0x4000007f
482 MX7D_PAD_I2C3_SCL__I2C3_SCL 0x4000007f
486 pinctrl_i2c3_tsc2004: i2c3tsc2004grp {
488 MX7D_PAD_LCD_RESET__GPIO3_IO4 0x79
489 MX7D_PAD_SD2_WP__GPIO5_IO10 0x7d
493 pinctrl_i2c4: i2c4grp {
495 MX7D_PAD_I2C4_SDA__I2C4_SDA 0x4000007f
496 MX7D_PAD_I2C4_SCL__I2C4_SCL 0x4000007f
502 MX7D_PAD_SAI1_TX_DATA__GPIO6_IO15 0x7d
503 MX7D_PAD_EPDC_BDR0__GPIO2_IO28 0x7d
504 MX7D_PAD_SAI1_RX_DATA__GPIO6_IO12 0x7d
505 MX7D_PAD_EPDC_BDR1__GPIO2_IO29 0x7d
506 MX7D_PAD_SD1_WP__GPIO5_IO1 0x7d
507 MX7D_PAD_EPDC_SDSHR__GPIO2_IO19 0x7d
508 MX7D_PAD_SD1_RESET_B__GPIO5_IO2 0x7d
509 MX7D_PAD_SD2_RESET_B__GPIO5_IO11 0x7d
510 MX7D_PAD_EPDC_DATA07__GPIO2_IO7 0x7d
511 MX7D_PAD_EPDC_DATA08__GPIO2_IO8 0x7d
512 MX7D_PAD_EPDC_DATA09__GPIO2_IO9 0x7d
513 MX7D_PAD_EPDC_DATA10__GPIO2_IO10 0x7d
514 MX7D_PAD_EPDC_DATA11__GPIO2_IO11 0x7d
515 MX7D_PAD_EPDC_DATA12__GPIO2_IO12 0x7d
516 MX7D_PAD_SAI1_TX_SYNC__GPIO6_IO14 0x7d
517 MX7D_PAD_EPDC_DATA13__GPIO2_IO13 0x7d
518 MX7D_PAD_SAI1_TX_BCLK__GPIO6_IO13 0x7d
519 MX7D_PAD_SD2_CD_B__GPIO5_IO9 0x7d
520 MX7D_PAD_EPDC_GDCLK__GPIO2_IO24 0x7d
521 MX7D_PAD_SAI2_RX_DATA__GPIO6_IO21 0x7d
522 MX7D_PAD_EPDC_GDOE__GPIO2_IO25 0x7d
523 MX7D_PAD_EPDC_GDRL__GPIO2_IO26 0x7d
524 MX7D_PAD_SAI2_TX_DATA__GPIO6_IO22 0x7d
525 MX7D_PAD_EPDC_SDCE0__GPIO2_IO20 0x7d
526 MX7D_PAD_SAI2_TX_BCLK__GPIO6_IO20 0x7d
527 MX7D_PAD_EPDC_SDCE1__GPIO2_IO21 0x7d
528 MX7D_PAD_SAI2_TX_SYNC__GPIO6_IO19 0x7d
529 MX7D_PAD_EPDC_SDCE2__GPIO2_IO22 0x7d
530 MX7D_PAD_EPDC_SDCE3__GPIO2_IO23 0x7d
531 MX7D_PAD_EPDC_GDSP__GPIO2_IO27 0x7d
532 MX7D_PAD_EPDC_SDCLK__GPIO2_IO16 0x7d
533 MX7D_PAD_EPDC_SDLE__GPIO2_IO17 0x7d
534 MX7D_PAD_EPDC_SDOE__GPIO2_IO18 0x7d
535 MX7D_PAD_EPDC_PWR_COM__GPIO2_IO30 0x7d
536 MX7D_PAD_EPDC_PWR_STAT__GPIO2_IO31 0x7d
540 pinctrl_lcdif_dat: lcdifdatgrp {
542 MX7D_PAD_LCD_DATA00__LCD_DATA0 0x79
543 MX7D_PAD_LCD_DATA01__LCD_DATA1 0x79
544 MX7D_PAD_LCD_DATA02__LCD_DATA2 0x79
545 MX7D_PAD_LCD_DATA03__LCD_DATA3 0x79
546 MX7D_PAD_LCD_DATA04__LCD_DATA4 0x79
547 MX7D_PAD_LCD_DATA05__LCD_DATA5 0x79
548 MX7D_PAD_LCD_DATA06__LCD_DATA6 0x79
549 MX7D_PAD_LCD_DATA07__LCD_DATA7 0x79
550 MX7D_PAD_LCD_DATA08__LCD_DATA8 0x79
551 MX7D_PAD_LCD_DATA09__LCD_DATA9 0x79
552 MX7D_PAD_LCD_DATA10__LCD_DATA10 0x79
553 MX7D_PAD_LCD_DATA11__LCD_DATA11 0x79
554 MX7D_PAD_LCD_DATA12__LCD_DATA12 0x79
555 MX7D_PAD_LCD_DATA13__LCD_DATA13 0x79
556 MX7D_PAD_LCD_DATA14__LCD_DATA14 0x79
557 MX7D_PAD_LCD_DATA15__LCD_DATA15 0x79
558 MX7D_PAD_LCD_DATA16__LCD_DATA16 0x79
559 MX7D_PAD_LCD_DATA17__LCD_DATA17 0x79
560 MX7D_PAD_LCD_DATA18__LCD_DATA18 0x79
561 MX7D_PAD_LCD_DATA19__LCD_DATA19 0x79
562 MX7D_PAD_LCD_DATA20__LCD_DATA20 0x79
563 MX7D_PAD_LCD_DATA21__LCD_DATA21 0x79
564 MX7D_PAD_LCD_DATA22__LCD_DATA22 0x79
565 MX7D_PAD_LCD_DATA23__LCD_DATA23 0x79
569 pinctrl_lcdif_ctrl: lcdifctrlgrp {
571 MX7D_PAD_LCD_CLK__LCD_CLK 0x79
572 MX7D_PAD_LCD_ENABLE__LCD_ENABLE 0x79
573 MX7D_PAD_LCD_VSYNC__LCD_VSYNC 0x79
574 MX7D_PAD_LCD_HSYNC__LCD_HSYNC 0x79
578 pinctrl_pwm2: pwm2grp {
580 MX7D_PAD_GPIO1_IO09__PWM2_OUT 0x7d
584 pinctrl_uart1: uart1grp {
586 MX7D_PAD_UART1_TX_DATA__UART1_DCE_TX 0x79
587 MX7D_PAD_UART1_RX_DATA__UART1_DCE_RX 0x79
591 pinctrl_uart2: uart2grp {
593 MX7D_PAD_UART2_TX_DATA__UART2_DCE_TX 0x79
594 MX7D_PAD_UART2_RX_DATA__UART2_DCE_RX 0x79
598 pinctrl_uart3: uart3grp {
600 MX7D_PAD_UART3_TX_DATA__UART3_DCE_TX 0x79
601 MX7D_PAD_UART3_RX_DATA__UART3_DCE_RX 0x79
602 MX7D_PAD_EPDC_DATA04__GPIO2_IO4 0x7d
606 pinctrl_uart6: uart6grp {
608 MX7D_PAD_ECSPI1_MOSI__UART6_DCE_TX 0x79
609 MX7D_PAD_ECSPI1_SCLK__UART6_DCE_RX 0x79
610 MX7D_PAD_ECSPI1_SS0__UART6_DCE_CTS 0x79
611 MX7D_PAD_ECSPI1_MISO__UART6_DCE_RTS 0x79
615 pinctrl_usbotg2: usbotg2grp {
617 MX7D_PAD_UART3_RTS_B__USB_OTG2_OC 0x7d
618 MX7D_PAD_UART3_CTS_B__GPIO4_IO7 0x14
622 pinctrl_usdhc1: usdhc1grp {
624 MX7D_PAD_SD1_CMD__SD1_CMD 0x59
625 MX7D_PAD_SD1_CLK__SD1_CLK 0x19
626 MX7D_PAD_SD1_DATA0__SD1_DATA0 0x59
627 MX7D_PAD_SD1_DATA1__SD1_DATA1 0x59
628 MX7D_PAD_SD1_DATA2__SD1_DATA2 0x59
629 MX7D_PAD_SD1_DATA3__SD1_DATA3 0x59
630 MX7D_PAD_GPIO1_IO08__SD1_VSELECT 0x75
631 MX7D_PAD_SD1_CD_B__GPIO5_IO0 0x75
635 pinctrl_usdhc2: usdhc2grp {
637 MX7D_PAD_SD2_CMD__SD2_CMD 0x59
638 MX7D_PAD_SD2_CLK__SD2_CLK 0x19
639 MX7D_PAD_SD2_DATA0__SD2_DATA0 0x59
640 MX7D_PAD_SD2_DATA1__SD2_DATA1 0x59
641 MX7D_PAD_SD2_DATA2__SD2_DATA2 0x59
642 MX7D_PAD_SD2_DATA3__SD2_DATA3 0x59
643 MX7D_PAD_ECSPI2_SCLK__GPIO4_IO20 0x59
644 MX7D_PAD_ECSPI2_MOSI__GPIO4_IO21 0x59
648 pinctrl_usdhc3: usdhc3grp {
650 MX7D_PAD_SD3_CMD__SD3_CMD 0x59
651 MX7D_PAD_SD3_CLK__SD3_CLK 0x19
652 MX7D_PAD_SD3_DATA0__SD3_DATA0 0x59
653 MX7D_PAD_SD3_DATA1__SD3_DATA1 0x59
654 MX7D_PAD_SD3_DATA2__SD3_DATA2 0x59
655 MX7D_PAD_SD3_DATA3__SD3_DATA3 0x59
656 MX7D_PAD_SD3_DATA4__SD3_DATA4 0x59
657 MX7D_PAD_SD3_DATA5__SD3_DATA5 0x59
658 MX7D_PAD_SD3_DATA6__SD3_DATA6 0x59
659 MX7D_PAD_SD3_DATA7__SD3_DATA7 0x59
665 pinctrl-names = "default";
666 pinctrl-0 = <&pinctrl_hog_2>;
668 pinctrl_hog_2: hoggrp-2 {
670 MX7D_PAD_LPSR_GPIO1_IO02__GPIO1_IO2 0x7d
671 MX7D_PAD_LPSR_GPIO1_IO03__CCM_CLKO2 0x7d
675 pinctrl_backlight_j9: backlightj9grp {
677 MX7D_PAD_LPSR_GPIO1_IO07__GPIO1_IO7 0x7d
681 pinctrl_pwm1: pwm1grp {
683 MX7D_PAD_LPSR_GPIO1_IO01__PWM1_OUT 0x7d
687 pinctrl_usbotg1: usbotg1grp {
689 MX7D_PAD_LPSR_GPIO1_IO04__USB_OTG1_OC 0x7d
690 MX7D_PAD_LPSR_GPIO1_IO05__GPIO1_IO5 0x14
694 pinctrl_wdog1: wdog1grp {
696 MX7D_PAD_LPSR_GPIO1_IO00__WDOG1_WDOG_B 0x75