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 backlight_lcd: backlight-lcd {
17 compatible = "pwm-backlight";
18 pwms = <&pwm3 0 25000>; /* 25000ns -> 40kHz */
19 brightness-levels = <0 4 8 16 32 64 128 160 192 224 255>;
20 default-brightness-level = <7>;
24 compatible = "fsl,imx-parallel-display";
27 interface-pix-fmt = "rgb24";
28 pinctrl-names = "default";
29 pinctrl-0 = <&pinctrl_ipu1_lcdif>;
35 lcd_display_in: endpoint {
36 remote-endpoint = <&ipu1_di0_disp0>;
43 lcd_display_out: endpoint {
44 remote-endpoint = <&lcd_panel_in>;
50 compatible = "rocktech,rk070er9427";
51 backlight = <&backlight_lcd>;
52 power-supply = <®_lcd_lr>;
53 pinctrl-names = "default";
54 pinctrl-0 = <&pinctrl_ipu1_lcdif_pwr>;
57 lcd_panel_in: endpoint {
58 remote-endpoint = <&lcd_display_out>;
63 reg_lcd_3v3: regulator-lcd-dvdd {
64 compatible = "regulator-fixed";
65 regulator-name = "lcd-dvdd";
66 regulator-min-microvolt = <3300000>;
67 regulator-max-microvolt = <3300000>;
70 startup-delay-us = <21000>;
73 reg_lcd_power: regulator-lcd-power {
74 compatible = "regulator-fixed";
75 regulator-name = "lcd-enable";
76 regulator-min-microvolt = <3300000>;
77 regulator-max-microvolt = <3300000>;
80 vin-supply = <®_lcd_3v3>;
83 reg_lcd_vgl: regulator-lcd-vgl {
84 compatible = "regulator-fixed";
85 regulator-name = "lcd-vgl";
86 regulator-min-microvolt = <3300000>;
87 regulator-max-microvolt = <3300000>;
88 gpio = <&gpio2 20 GPIO_ACTIVE_HIGH>;
89 startup-delay-us = <6000>;
91 vin-supply = <®_lcd_power>;
94 reg_lcd_vgh: regulator-lcd-vgh {
95 compatible = "regulator-fixed";
96 regulator-name = "lcd-vgh";
97 regulator-min-microvolt = <3300000>;
98 regulator-max-microvolt = <3300000>;
99 gpio = <&gpio3 31 GPIO_ACTIVE_HIGH>;
100 startup-delay-us = <6000>;
102 vin-supply = <®_lcd_avdd>;
105 reg_lcd_vcom: regulator-lcd-vcom {
106 compatible = "regulator-fixed";
107 regulator-name = "lcd-vcom";
108 regulator-min-microvolt = <3300000>;
109 regulator-max-microvolt = <3300000>;
110 gpio = <&gpio4 14 GPIO_ACTIVE_HIGH>;
111 startup-delay-us = <11000>;
113 vin-supply = <®_lcd_vgh>;
116 reg_lcd_lr: regulator-lcd-lr {
117 compatible = "regulator-fixed";
118 regulator-name = "lcd-lr";
119 regulator-min-microvolt = <3300000>;
120 regulator-max-microvolt = <3300000>;
121 gpio = <&gpio4 15 GPIO_ACTIVE_HIGH>;
123 vin-supply = <®_lcd_vcom>;
126 reg_lcd_avdd: regulator-lcd-avdd {
127 compatible = "regulator-fixed";
128 regulator-name = "lcd-avdd";
129 regulator-min-microvolt = <10280000>;
130 regulator-max-microvolt = <10280000>;
131 gpio = <&gpio2 13 GPIO_ACTIVE_HIGH>;
132 startup-delay-us = <6000>;
134 vin-supply = <®_lcd_vgl>;
137 reg_usb_host: regulator-usb-vbus {
138 compatible = "regulator-fixed";
139 regulator-name = "usbhost-vbus";
140 pinctrl-names = "default";
141 pinctrl-0 = <&pinctrl_usbhost>;
142 regulator-min-microvolt = <50000000>;
143 regulator-max-microvolt = <50000000>;
144 gpio = <&gpio6 6 GPIO_ACTIVE_HIGH>;
148 reg_wl18xx_vmmc: regulator-wl18xx-vmcc {
149 compatible = "regulator-fixed";
150 regulator-name = "vwl1807";
151 pinctrl-names = "default";
152 pinctrl-0 = <&pinctrl_wlan>;
153 regulator-min-microvolt = <1800000>;
154 regulator-max-microvolt = <1800000>;
155 gpio = <&gpio6 21 GPIO_ACTIVE_HIGH>;
156 startup-delay-us = <70000>;
162 pinctrl-names = "default";
163 pinctrl-0 = <&pinctrl_enet>;
169 clock-frequency = <400000>;
170 pinctrl-names = "default";
171 pinctrl-0 = <&pinctrl_i2c3>;
176 clock-frequency = <100000>;
177 pinctrl-names = "default";
178 pinctrl-0 = <&pinctrl_i2c4>;
182 compatible = "fsl,pfuze100";
186 /* CPU vdd_arm core */
188 regulator-min-microvolt = <300000>;
189 regulator-max-microvolt = <1875000>;
192 regulator-ramp-delay = <6250>;
197 regulator-min-microvolt = <300000>;
198 regulator-max-microvolt = <1875000>;
201 regulator-ramp-delay = <6250>;
204 /* I/O power GEN_3V3 */
206 regulator-min-microvolt = <800000>;
207 regulator-max-microvolt = <3300000>;
214 regulator-min-microvolt = <400000>;
215 regulator-max-microvolt = <1975000>;
222 regulator-min-microvolt = <400000>;
223 regulator-max-microvolt = <1975000>;
230 regulator-min-microvolt = <800000>;
231 regulator-max-microvolt = <3300000>;
236 regulator-min-microvolt = <5000000>;
237 regulator-max-microvolt = <5150000>;
240 /* PMIC vsnvs. EX boot mode */
242 regulator-min-microvolt = <1000000>;
243 regulator-max-microvolt = <3000000>;
255 regulator-min-microvolt = <800000>;
256 regulator-max-microvolt = <1550000>;
261 regulator-min-microvolt = <800000>;
262 regulator-max-microvolt = <1550000>;
267 regulator-min-microvolt = <1800000>;
268 regulator-max-microvolt = <3300000>;
271 /* 1v8 general power */
273 regulator-min-microvolt = <1800000>;
274 regulator-max-microvolt = <3300000>;
278 /* 2v8 general power IMX6 */
280 regulator-min-microvolt = <1800000>;
281 regulator-max-microvolt = <3300000>;
287 regulator-min-microvolt = <1800000>;
288 regulator-max-microvolt = <3300000>;
296 remote-endpoint = <&lcd_display_in>;
300 pinctrl-names = "default";
301 pinctrl-0 = <&pinctrl_pwm3>;
306 pinctrl-names = "default";
307 pinctrl-0 = <&pinctrl_uart3>;
312 vbus-supply = <®_usb_host>;
317 dr_mode = "peripheral";
322 pinctrl-names = "default";
323 pinctrl-0 = <&pinctrl_usdhc1>;
325 vmmc-supply = <®_wl18xx_vmmc>;
329 keep-power-in-suspend;
331 max-frequency = <25000000>;
332 #address-cells = <1>;
337 compatible = "ti,wl1837";
339 interrupt-parent = <&gpio6>;
340 interrupts = <23 IRQ_TYPE_LEVEL_HIGH>;
341 tcxo-clock-frequency = <26000000>;
346 pinctrl-names = "default";
347 pinctrl-0 = <&pinctrl_usdhc3>;
350 keep-power-in-suspend;
355 pinctrl_enet: enetgrp {
357 MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0
358 MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0
359 MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b1
360 MX6QDL_PAD_ENET_TXD0__ENET_TX_DATA0 0x1b0b0
361 MX6QDL_PAD_ENET_TXD1__ENET_TX_DATA1 0x1b0b0
362 MX6QDL_PAD_KEY_ROW2__ENET_TX_DATA2 0x1b0b0
363 MX6QDL_PAD_KEY_ROW0__ENET_TX_DATA3 0x1b0b0
364 MX6QDL_PAD_ENET_TX_EN__ENET_TX_EN 0x1b0b0
365 MX6QDL_PAD_GPIO_19__ENET_TX_ER 0x1b0b0
366 MX6QDL_PAD_GPIO_18__ENET_RX_CLK 0x1b0b1
367 MX6QDL_PAD_ENET_RXD0__ENET_RX_DATA0 0x1b0b0
368 MX6QDL_PAD_ENET_RXD1__ENET_RX_DATA1 0x1b0b0
369 MX6QDL_PAD_KEY_COL2__ENET_RX_DATA2 0x1b0b0
370 MX6QDL_PAD_KEY_COL0__ENET_RX_DATA3 0x1b0b0
371 MX6QDL_PAD_ENET_CRS_DV__ENET_RX_EN 0x1b0b0
372 MX6QDL_PAD_ENET_RX_ER__ENET_RX_ER 0x1b0b0
373 MX6QDL_PAD_KEY_COL3__ENET_CRS 0x1b0b0
374 MX6QDL_PAD_KEY_ROW1__ENET_COL 0x1b0b0
378 pinctrl_i2c3: i2c3grp {
380 MX6QDL_PAD_GPIO_3__I2C3_SCL 0x4001b8b1
381 MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b8b1
385 pinctrl_i2c4: i2c4grp {
387 MX6QDL_PAD_GPIO_7__I2C4_SCL 0x4001b8b1
388 MX6QDL_PAD_GPIO_8__I2C4_SDA 0x4001b8b1
392 pinctrl_ipu1_lcdif: pinctrlipu1lcdif { /* parallel port 24-bit */
394 MX6QDL_PAD_DI0_DISP_CLK__IPU1_DI0_DISP_CLK 0x10 /* VDOUT_PCLK */
395 MX6QDL_PAD_DI0_PIN15__IPU1_DI0_PIN15 0x10
396 MX6QDL_PAD_DI0_PIN2__IPU1_DI0_PIN02 0x10 /* VDOUT_HSYNC */
397 MX6QDL_PAD_DI0_PIN3__IPU1_DI0_PIN03 0x10 /* VDOUT_VSYNC */
398 MX6QDL_PAD_DI0_PIN4__IPU1_DI0_PIN04 0x10 /* VDOUT_RESET */
399 MX6QDL_PAD_DISP0_DAT0__IPU1_DISP0_DATA00 0x10
400 MX6QDL_PAD_DISP0_DAT1__IPU1_DISP0_DATA01 0x10
401 MX6QDL_PAD_DISP0_DAT2__IPU1_DISP0_DATA02 0x10
402 MX6QDL_PAD_DISP0_DAT3__IPU1_DISP0_DATA03 0x10
403 MX6QDL_PAD_DISP0_DAT4__IPU1_DISP0_DATA04 0x10
404 MX6QDL_PAD_DISP0_DAT5__IPU1_DISP0_DATA05 0x10
405 MX6QDL_PAD_DISP0_DAT6__IPU1_DISP0_DATA06 0x10
406 MX6QDL_PAD_DISP0_DAT7__IPU1_DISP0_DATA07 0x10
407 MX6QDL_PAD_DISP0_DAT8__IPU1_DISP0_DATA08 0x10
408 MX6QDL_PAD_DISP0_DAT9__IPU1_DISP0_DATA09 0x10
409 MX6QDL_PAD_DISP0_DAT10__IPU1_DISP0_DATA10 0x10
410 MX6QDL_PAD_DISP0_DAT11__IPU1_DISP0_DATA11 0x10
411 MX6QDL_PAD_DISP0_DAT12__IPU1_DISP0_DATA12 0x10
412 MX6QDL_PAD_DISP0_DAT13__IPU1_DISP0_DATA13 0x10
413 MX6QDL_PAD_DISP0_DAT14__IPU1_DISP0_DATA14 0x10
414 MX6QDL_PAD_DISP0_DAT15__IPU1_DISP0_DATA15 0x10
415 MX6QDL_PAD_DISP0_DAT16__IPU1_DISP0_DATA16 0x10
416 MX6QDL_PAD_DISP0_DAT17__IPU1_DISP0_DATA17 0x10
417 MX6QDL_PAD_DISP0_DAT18__IPU1_DISP0_DATA18 0x10
418 MX6QDL_PAD_DISP0_DAT19__IPU1_DISP0_DATA19 0x10
419 MX6QDL_PAD_DISP0_DAT20__IPU1_DISP0_DATA20 0x10
420 MX6QDL_PAD_DISP0_DAT21__IPU1_DISP0_DATA21 0x10
421 MX6QDL_PAD_DISP0_DAT22__IPU1_DISP0_DATA22 0x10
422 MX6QDL_PAD_DISP0_DAT23__IPU1_DISP0_DATA23 0x10
426 pinctrl_ipu1_lcdif_pwr: ipu1lcdifpwrgrp {
428 MX6QDL_PAD_EIM_DA1__GPIO3_IO01 0x40013058 /* EN_LCD33V */
429 MX6QDL_PAD_SD4_DAT5__GPIO2_IO13 0x4001b0b0 /* EN_AVDD */
430 MX6QDL_PAD_EIM_D31__GPIO3_IO31 0x40013058 /* ENVGH */
431 MX6QDL_PAD_EIM_A18__GPIO2_IO20 0x40013058 /* ENVGL */
432 MX6QDL_PAD_EIM_DA6__GPIO3_IO06 0x40013058 /* LCD_POWER */
433 MX6QDL_PAD_KEY_COL4__GPIO4_IO14 0x40013058 /* EN_VCOM_LCD */
434 MX6QDL_PAD_KEY_ROW4__GPIO4_IO15 0x40013058 /* LCD_L_R */
435 MX6QDL_PAD_EIM_DA2__GPIO3_IO02 0x40013058 /* LCD_U_D */
439 pinctrl_pwm3: pwm3grp {
441 MX6QDL_PAD_SD4_DAT1__PWM3_OUT 0x1b0b1
445 pinctrl_uart3: uart3grp {
447 MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1
448 MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1
452 pinctrl_usbhost: usbhostgrp {
454 MX6QDL_PAD_EIM_A23__GPIO6_IO06 0x4001b0b0
458 pinctrl_usdhc1: usdhc1grp {
460 MX6QDL_PAD_SD1_CMD__SD1_CMD 0x17069
461 MX6QDL_PAD_SD1_CLK__SD1_CLK 0x10079
462 MX6QDL_PAD_SD1_DAT0__SD1_DATA0 0x17069
463 MX6QDL_PAD_SD1_DAT1__SD1_DATA1 0x17069
464 MX6QDL_PAD_SD1_DAT2__SD1_DATA2 0x17069
465 MX6QDL_PAD_SD1_DAT3__SD1_DATA3 0x17069
469 pinctrl_usdhc3: usdhc3grp {
471 MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059
472 MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059
473 MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059
474 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059
475 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059
476 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059
477 MX6QDL_PAD_SD3_DAT4__SD3_DATA4 0x17059
478 MX6QDL_PAD_SD3_DAT5__SD3_DATA5 0x17059
479 MX6QDL_PAD_SD3_DAT6__SD3_DATA6 0x17059
480 MX6QDL_PAD_SD3_DAT7__SD3_DATA7 0x17059
484 pinctrl_wlan: wlangrp {
486 MX6QDL_PAD_RGMII_TD1__GPIO6_IO21 0x4001b0b0