1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (C) 2018 BTicino
4 * Copyright (C) 2018 Amarula Solutions B.V.
9 #include <dt-bindings/gpio/gpio.h>
10 #include "imx6dl.dtsi"
13 model = "BTicino i.MX6DL Mamoj board";
14 compatible = "bticino,imx6dl-mamoj", "fsl,imx6dl";
16 /* Will be filled by the bootloader */
18 device_type = "memory";
22 backlight_lcd: backlight-lcd {
23 compatible = "pwm-backlight";
24 pwms = <&pwm3 0 25000>; /* 25000ns -> 40kHz */
25 brightness-levels = <0 4 8 16 32 64 128 160 192 224 255>;
26 default-brightness-level = <7>;
30 compatible = "fsl,imx-parallel-display";
33 interface-pix-fmt = "rgb24";
34 pinctrl-names = "default";
35 pinctrl-0 = <&pinctrl_ipu1_lcdif>;
41 lcd_display_in: endpoint {
42 remote-endpoint = <&ipu1_di0_disp0>;
49 lcd_display_out: endpoint {
50 remote-endpoint = <&lcd_panel_in>;
56 compatible = "rocktech,rk070er9427";
57 backlight = <&backlight_lcd>;
58 power-supply = <®_lcd_lr>;
59 pinctrl-names = "default";
60 pinctrl-0 = <&pinctrl_ipu1_lcdif_pwr>;
63 lcd_panel_in: endpoint {
64 remote-endpoint = <&lcd_display_out>;
69 reg_lcd_3v3: regulator-lcd-dvdd {
70 compatible = "regulator-fixed";
71 regulator-name = "lcd-dvdd";
72 regulator-min-microvolt = <3300000>;
73 regulator-max-microvolt = <3300000>;
76 startup-delay-us = <21000>;
79 reg_lcd_power: regulator-lcd-power {
80 compatible = "regulator-fixed";
81 regulator-name = "lcd-enable";
82 regulator-min-microvolt = <3300000>;
83 regulator-max-microvolt = <3300000>;
86 vin-supply = <®_lcd_3v3>;
89 reg_lcd_vgl: regulator-lcd-vgl {
90 compatible = "regulator-fixed";
91 regulator-name = "lcd-vgl";
92 regulator-min-microvolt = <3300000>;
93 regulator-max-microvolt = <3300000>;
94 gpio = <&gpio2 20 GPIO_ACTIVE_HIGH>;
95 startup-delay-us = <6000>;
97 vin-supply = <®_lcd_power>;
100 reg_lcd_vgh: regulator-lcd-vgh {
101 compatible = "regulator-fixed";
102 regulator-name = "lcd-vgh";
103 regulator-min-microvolt = <3300000>;
104 regulator-max-microvolt = <3300000>;
105 gpio = <&gpio3 31 GPIO_ACTIVE_HIGH>;
106 startup-delay-us = <6000>;
108 vin-supply = <®_lcd_avdd>;
111 reg_lcd_vcom: regulator-lcd-vcom {
112 compatible = "regulator-fixed";
113 regulator-name = "lcd-vcom";
114 regulator-min-microvolt = <3300000>;
115 regulator-max-microvolt = <3300000>;
116 gpio = <&gpio4 14 GPIO_ACTIVE_HIGH>;
117 startup-delay-us = <11000>;
119 vin-supply = <®_lcd_vgh>;
122 reg_lcd_lr: regulator-lcd-lr {
123 compatible = "regulator-fixed";
124 regulator-name = "lcd-lr";
125 regulator-min-microvolt = <3300000>;
126 regulator-max-microvolt = <3300000>;
127 gpio = <&gpio4 15 GPIO_ACTIVE_HIGH>;
129 vin-supply = <®_lcd_vcom>;
132 reg_lcd_avdd: regulator-lcd-avdd {
133 compatible = "regulator-fixed";
134 regulator-name = "lcd-avdd";
135 regulator-min-microvolt = <10280000>;
136 regulator-max-microvolt = <10280000>;
137 gpio = <&gpio2 13 GPIO_ACTIVE_HIGH>;
138 startup-delay-us = <6000>;
140 vin-supply = <®_lcd_vgl>;
143 reg_usb_host: regulator-usb-vbus {
144 compatible = "regulator-fixed";
145 regulator-name = "usbhost-vbus";
146 pinctrl-names = "default";
147 pinctrl-0 = <&pinctrl_usbhost>;
148 regulator-min-microvolt = <50000000>;
149 regulator-max-microvolt = <50000000>;
150 gpio = <&gpio6 6 GPIO_ACTIVE_HIGH>;
154 reg_wl18xx_vmmc: regulator-wl18xx-vmcc {
155 compatible = "regulator-fixed";
156 regulator-name = "vwl1807";
157 pinctrl-names = "default";
158 pinctrl-0 = <&pinctrl_wlan>;
159 regulator-min-microvolt = <1800000>;
160 regulator-max-microvolt = <1800000>;
161 gpio = <&gpio6 21 GPIO_ACTIVE_HIGH>;
162 startup-delay-us = <70000>;
168 pinctrl-names = "default";
169 pinctrl-0 = <&pinctrl_enet>;
175 clock-frequency = <400000>;
176 pinctrl-names = "default";
177 pinctrl-0 = <&pinctrl_i2c3>;
182 clock-frequency = <100000>;
183 pinctrl-names = "default";
184 pinctrl-0 = <&pinctrl_i2c4>;
188 compatible = "fsl,pfuze100";
192 /* CPU vdd_arm core */
194 regulator-min-microvolt = <300000>;
195 regulator-max-microvolt = <1875000>;
198 regulator-ramp-delay = <6250>;
203 regulator-min-microvolt = <300000>;
204 regulator-max-microvolt = <1875000>;
207 regulator-ramp-delay = <6250>;
210 /* I/O power GEN_3V3 */
212 regulator-min-microvolt = <800000>;
213 regulator-max-microvolt = <3300000>;
220 regulator-min-microvolt = <400000>;
221 regulator-max-microvolt = <1975000>;
228 regulator-min-microvolt = <400000>;
229 regulator-max-microvolt = <1975000>;
236 regulator-min-microvolt = <800000>;
237 regulator-max-microvolt = <3300000>;
242 regulator-min-microvolt = <5000000>;
243 regulator-max-microvolt = <5150000>;
246 /* PMIC vsnvs. EX boot mode */
248 regulator-min-microvolt = <1000000>;
249 regulator-max-microvolt = <3000000>;
261 regulator-min-microvolt = <800000>;
262 regulator-max-microvolt = <1550000>;
267 regulator-min-microvolt = <800000>;
268 regulator-max-microvolt = <1550000>;
273 regulator-min-microvolt = <1800000>;
274 regulator-max-microvolt = <3300000>;
277 /* 1v8 general power */
279 regulator-min-microvolt = <1800000>;
280 regulator-max-microvolt = <3300000>;
284 /* 2v8 general power IMX6 */
286 regulator-min-microvolt = <1800000>;
287 regulator-max-microvolt = <3300000>;
293 regulator-min-microvolt = <1800000>;
294 regulator-max-microvolt = <3300000>;
302 remote-endpoint = <&lcd_display_in>;
306 pinctrl-names = "default";
307 pinctrl-0 = <&pinctrl_pwm3>;
312 pinctrl-names = "default";
313 pinctrl-0 = <&pinctrl_uart3>;
318 vbus-supply = <®_usb_host>;
323 dr_mode = "peripheral";
328 pinctrl-names = "default";
329 pinctrl-0 = <&pinctrl_usdhc1>;
331 vmmc-supply = <®_wl18xx_vmmc>;
335 keep-power-in-suspend;
337 max-frequency = <25000000>;
338 #address-cells = <1>;
343 compatible = "ti,wl1837";
345 interrupt-parent = <&gpio6>;
346 interrupts = <23 IRQ_TYPE_LEVEL_HIGH>;
347 tcxo-clock-frequency = <26000000>;
352 pinctrl-names = "default";
353 pinctrl-0 = <&pinctrl_usdhc3>;
356 keep-power-in-suspend;
361 pinctrl_enet: enetgrp {
363 MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0
364 MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0
365 MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b1
366 MX6QDL_PAD_ENET_TXD0__ENET_TX_DATA0 0x1b0b0
367 MX6QDL_PAD_ENET_TXD1__ENET_TX_DATA1 0x1b0b0
368 MX6QDL_PAD_KEY_ROW2__ENET_TX_DATA2 0x1b0b0
369 MX6QDL_PAD_KEY_ROW0__ENET_TX_DATA3 0x1b0b0
370 MX6QDL_PAD_ENET_TX_EN__ENET_TX_EN 0x1b0b0
371 MX6QDL_PAD_GPIO_19__ENET_TX_ER 0x1b0b0
372 MX6QDL_PAD_GPIO_18__ENET_RX_CLK 0x1b0b1
373 MX6QDL_PAD_ENET_RXD0__ENET_RX_DATA0 0x1b0b0
374 MX6QDL_PAD_ENET_RXD1__ENET_RX_DATA1 0x1b0b0
375 MX6QDL_PAD_KEY_COL2__ENET_RX_DATA2 0x1b0b0
376 MX6QDL_PAD_KEY_COL0__ENET_RX_DATA3 0x1b0b0
377 MX6QDL_PAD_ENET_CRS_DV__ENET_RX_EN 0x1b0b0
378 MX6QDL_PAD_ENET_RX_ER__ENET_RX_ER 0x1b0b0
379 MX6QDL_PAD_KEY_COL3__ENET_CRS 0x1b0b0
380 MX6QDL_PAD_KEY_ROW1__ENET_COL 0x1b0b0
384 pinctrl_i2c3: i2c3grp {
386 MX6QDL_PAD_GPIO_3__I2C3_SCL 0x4001b8b1
387 MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b8b1
391 pinctrl_i2c4: i2c4grp {
393 MX6QDL_PAD_GPIO_7__I2C4_SCL 0x4001b8b1
394 MX6QDL_PAD_GPIO_8__I2C4_SDA 0x4001b8b1
398 pinctrl_ipu1_lcdif: pinctrlipu1lcdif { /* parallel port 24-bit */
400 MX6QDL_PAD_DI0_DISP_CLK__IPU1_DI0_DISP_CLK 0x10 /* VDOUT_PCLK */
401 MX6QDL_PAD_DI0_PIN15__IPU1_DI0_PIN15 0x10
402 MX6QDL_PAD_DI0_PIN2__IPU1_DI0_PIN02 0x10 /* VDOUT_HSYNC */
403 MX6QDL_PAD_DI0_PIN3__IPU1_DI0_PIN03 0x10 /* VDOUT_VSYNC */
404 MX6QDL_PAD_DI0_PIN4__IPU1_DI0_PIN04 0x10 /* VDOUT_RESET */
405 MX6QDL_PAD_DISP0_DAT0__IPU1_DISP0_DATA00 0x10
406 MX6QDL_PAD_DISP0_DAT1__IPU1_DISP0_DATA01 0x10
407 MX6QDL_PAD_DISP0_DAT2__IPU1_DISP0_DATA02 0x10
408 MX6QDL_PAD_DISP0_DAT3__IPU1_DISP0_DATA03 0x10
409 MX6QDL_PAD_DISP0_DAT4__IPU1_DISP0_DATA04 0x10
410 MX6QDL_PAD_DISP0_DAT5__IPU1_DISP0_DATA05 0x10
411 MX6QDL_PAD_DISP0_DAT6__IPU1_DISP0_DATA06 0x10
412 MX6QDL_PAD_DISP0_DAT7__IPU1_DISP0_DATA07 0x10
413 MX6QDL_PAD_DISP0_DAT8__IPU1_DISP0_DATA08 0x10
414 MX6QDL_PAD_DISP0_DAT9__IPU1_DISP0_DATA09 0x10
415 MX6QDL_PAD_DISP0_DAT10__IPU1_DISP0_DATA10 0x10
416 MX6QDL_PAD_DISP0_DAT11__IPU1_DISP0_DATA11 0x10
417 MX6QDL_PAD_DISP0_DAT12__IPU1_DISP0_DATA12 0x10
418 MX6QDL_PAD_DISP0_DAT13__IPU1_DISP0_DATA13 0x10
419 MX6QDL_PAD_DISP0_DAT14__IPU1_DISP0_DATA14 0x10
420 MX6QDL_PAD_DISP0_DAT15__IPU1_DISP0_DATA15 0x10
421 MX6QDL_PAD_DISP0_DAT16__IPU1_DISP0_DATA16 0x10
422 MX6QDL_PAD_DISP0_DAT17__IPU1_DISP0_DATA17 0x10
423 MX6QDL_PAD_DISP0_DAT18__IPU1_DISP0_DATA18 0x10
424 MX6QDL_PAD_DISP0_DAT19__IPU1_DISP0_DATA19 0x10
425 MX6QDL_PAD_DISP0_DAT20__IPU1_DISP0_DATA20 0x10
426 MX6QDL_PAD_DISP0_DAT21__IPU1_DISP0_DATA21 0x10
427 MX6QDL_PAD_DISP0_DAT22__IPU1_DISP0_DATA22 0x10
428 MX6QDL_PAD_DISP0_DAT23__IPU1_DISP0_DATA23 0x10
432 pinctrl_ipu1_lcdif_pwr: ipu1lcdifpwrgrp {
434 MX6QDL_PAD_EIM_DA1__GPIO3_IO01 0x40013058 /* EN_LCD33V */
435 MX6QDL_PAD_SD4_DAT5__GPIO2_IO13 0x4001b0b0 /* EN_AVDD */
436 MX6QDL_PAD_EIM_D31__GPIO3_IO31 0x40013058 /* ENVGH */
437 MX6QDL_PAD_EIM_A18__GPIO2_IO20 0x40013058 /* ENVGL */
438 MX6QDL_PAD_EIM_DA6__GPIO3_IO06 0x40013058 /* LCD_POWER */
439 MX6QDL_PAD_KEY_COL4__GPIO4_IO14 0x40013058 /* EN_VCOM_LCD */
440 MX6QDL_PAD_KEY_ROW4__GPIO4_IO15 0x40013058 /* LCD_L_R */
441 MX6QDL_PAD_EIM_DA2__GPIO3_IO02 0x40013058 /* LCD_U_D */
445 pinctrl_pwm3: pwm3grp {
447 MX6QDL_PAD_SD4_DAT1__PWM3_OUT 0x1b0b1
451 pinctrl_uart3: uart3grp {
453 MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1
454 MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1
458 pinctrl_usbhost: usbhostgrp {
460 MX6QDL_PAD_EIM_A23__GPIO6_IO06 0x4001b0b0
464 pinctrl_usdhc1: usdhc1grp {
466 MX6QDL_PAD_SD1_CMD__SD1_CMD 0x17069
467 MX6QDL_PAD_SD1_CLK__SD1_CLK 0x10079
468 MX6QDL_PAD_SD1_DAT0__SD1_DATA0 0x17069
469 MX6QDL_PAD_SD1_DAT1__SD1_DATA1 0x17069
470 MX6QDL_PAD_SD1_DAT2__SD1_DATA2 0x17069
471 MX6QDL_PAD_SD1_DAT3__SD1_DATA3 0x17069
475 pinctrl_usdhc3: usdhc3grp {
477 MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059
478 MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059
479 MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059
480 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059
481 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059
482 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059
483 MX6QDL_PAD_SD3_DAT4__SD3_DATA4 0x17059
484 MX6QDL_PAD_SD3_DAT5__SD3_DATA5 0x17059
485 MX6QDL_PAD_SD3_DAT6__SD3_DATA6 0x17059
486 MX6QDL_PAD_SD3_DAT7__SD3_DATA7 0x17059
490 pinctrl_wlan: wlangrp {
492 MX6QDL_PAD_RGMII_TD1__GPIO6_IO21 0x4001b0b0