1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2013 Data Modul AG
8 #include <dt-bindings/gpio/gpio.h>
12 model = "Data Modul eDM-QMX6 Board";
13 compatible = "dmo,imx6q-edmqmx6", "fsl,imx6q";
27 device_type = "memory";
28 reg = <0x10000000 0x80000000>;
32 compatible = "simple-bus";
36 reg_3p3v: regulator@0 {
37 compatible = "regulator-fixed";
39 regulator-name = "3P3V";
40 regulator-min-microvolt = <3300000>;
41 regulator-max-microvolt = <3300000>;
45 reg_usb_otg_switch: regulator@1 {
46 compatible = "regulator-fixed";
48 regulator-name = "usb_otg_switch";
49 regulator-min-microvolt = <5000000>;
50 regulator-max-microvolt = <5000000>;
56 reg_usb_host1: regulator@2 {
57 compatible = "regulator-fixed";
59 regulator-name = "usb_host1_en";
60 regulator-min-microvolt = <3300000>;
61 regulator-max-microvolt = <3300000>;
68 compatible = "gpio-leds";
72 gpios = <&stmpe_gpio1 8 GPIO_ACTIVE_HIGH>;
73 linux,default-trigger = "heartbeat";
78 gpios = <&stmpe_gpio1 9 GPIO_ACTIVE_HIGH>;
83 gpios = <&stmpe_gpio1 10 GPIO_ACTIVE_HIGH>;
88 gpios = <&stmpe_gpio1 11 GPIO_ACTIVE_HIGH>;
94 pinctrl-names = "default";
95 pinctrl-0 = <&pinctrl_can1>;
100 pinctrl-names = "default";
101 pinctrl-0 = <&pinctrl_ecspi5>;
102 cs-gpios = <&gpio1 12 0>;
106 compatible = "m25p80", "jedec,spi-nor";
107 spi-max-frequency = <40000000>;
113 pinctrl-names = "default";
114 pinctrl-0 = <&pinctrl_enet>;
116 phy-reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
117 phy-supply = <&vgen2_1v2_eth>;
122 clock-frequency = <100000>;
123 pinctrl-names = "default";
124 pinctrl-0 = <&pinctrl_i2c1>;
129 clock-frequency = <100000>;
130 pinctrl-names = "default";
131 pinctrl-0 = <&pinctrl_i2c2
138 compatible = "fsl,pfuze100";
140 interrupt-parent = <&gpio3>;
145 regulator-min-microvolt = <300000>;
146 regulator-max-microvolt = <1875000>;
152 regulator-min-microvolt = <300000>;
153 regulator-max-microvolt = <1875000>;
159 regulator-min-microvolt = <800000>;
160 regulator-max-microvolt = <3300000>;
166 regulator-min-microvolt = <400000>;
167 regulator-max-microvolt = <1975000>;
173 regulator-min-microvolt = <400000>;
174 regulator-max-microvolt = <1975000>;
180 regulator-min-microvolt = <400000>;
181 regulator-max-microvolt = <1975000>;
186 regulator-min-microvolt = <5000000>;
187 regulator-max-microvolt = <5150000>;
192 regulator-min-microvolt = <1000000>;
193 regulator-max-microvolt = <3000000>;
204 regulator-min-microvolt = <800000>;
205 regulator-max-microvolt = <1550000>;
208 vgen2_1v2_eth: vgen2 {
209 regulator-min-microvolt = <800000>;
210 regulator-max-microvolt = <1550000>;
214 regulator-min-microvolt = <1800000>;
215 regulator-max-microvolt = <3300000>;
221 regulator-min-microvolt = <1800000>;
222 regulator-max-microvolt = <3300000>;
227 regulator-min-microvolt = <1800000>;
228 regulator-max-microvolt = <3300000>;
233 regulator-min-microvolt = <1800000>;
234 regulator-max-microvolt = <3300000>;
240 stmpe1: stmpe1601@40 {
241 compatible = "st,stmpe1601";
244 interrupt-parent = <&gpio3>;
245 vcc-supply = <&sw2_reg>;
246 vio-supply = <&sw2_reg>;
248 stmpe_gpio1: stmpe_gpio {
250 compatible = "st,stmpe-gpio";
254 stmpe2: stmpe1601@44 {
255 compatible = "st,stmpe1601";
258 interrupt-parent = <&gpio5>;
259 vcc-supply = <&sw2_reg>;
260 vio-supply = <&sw2_reg>;
262 stmpe_gpio2: stmpe_gpio {
264 compatible = "st,stmpe-gpio";
269 compatible = "ad,ad7414";
274 compatible = "ad,ad7414";
279 compatible = "st,m41t62";
285 clock-frequency = <100000>;
286 pinctrl-names = "default";
287 pinctrl-0 = <&pinctrl_i2c3>;
292 pinctrl-names = "default";
293 pinctrl-0 = <&pinctrl_hog>;
296 pinctrl_hog: hoggrp {
298 MX6QDL_PAD_EIM_A16__GPIO2_IO22 0x80000000
299 MX6QDL_PAD_EIM_A17__GPIO2_IO21 0x80000000
303 pinctrl_can1: can1grp {
305 MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX 0x1b0b0
306 MX6QDL_PAD_GPIO_7__FLEXCAN1_TX 0x1b0b0
310 pinctrl_ecspi5: ecspi5rp-1 {
312 MX6QDL_PAD_SD1_DAT0__ECSPI5_MISO 0x80000000
313 MX6QDL_PAD_SD1_CMD__ECSPI5_MOSI 0x80000000
314 MX6QDL_PAD_SD1_CLK__ECSPI5_SCLK 0x80000000
315 MX6QDL_PAD_SD2_DAT3__GPIO1_IO12 0x80000000
319 pinctrl_enet: enetgrp {
321 MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b030
322 MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b030
323 MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b030
324 MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b030
325 MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b030
326 MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b030
327 MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b030
328 MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b030
329 MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b030
330 MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b030
331 MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b030
332 MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b030
333 MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0
334 MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0
335 MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0
336 MX6QDL_PAD_ENET_CRS_DV__GPIO1_IO25 0x1b0b0
337 MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x4001b0a8
341 pinctrl_i2c1: i2c1grp {
343 MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1
344 MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1
348 pinctrl_i2c2: i2c2grp {
350 MX6QDL_PAD_EIM_EB2__I2C2_SCL 0x4001b8b1
351 MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
355 pinctrl_i2c3: i2c3grp {
357 MX6QDL_PAD_EIM_D17__I2C3_SCL 0x4001b8b1
358 MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b8b1
362 pinctrl_pcie: pciegrp {
364 MX6QDL_PAD_KEY_COL1__GPIO4_IO08 0x100b1
368 pinctrl_pfuze: pfuze100grp1 {
370 MX6QDL_PAD_EIM_D20__GPIO3_IO20 0x80000000
374 pinctrl_stmpe1: stmpe1grp {
375 fsl,pins = <MX6QDL_PAD_EIM_D30__GPIO3_IO30 0x80000000>;
378 pinctrl_stmpe2: stmpe2grp {
379 fsl,pins = <MX6QDL_PAD_EIM_A25__GPIO5_IO02 0x80000000>;
382 pinctrl_uart1: uart1grp {
384 MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1
385 MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA 0x1b0b1
389 pinctrl_uart2: uart2grp {
391 MX6QDL_PAD_EIM_D26__UART2_TX_DATA 0x1b0b1
392 MX6QDL_PAD_EIM_D27__UART2_RX_DATA 0x1b0b1
396 pinctrl_usbotg: usbotggrp {
398 MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x17059
402 pinctrl_usdhc3: usdhc3grp {
404 MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059
405 MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059
406 MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059
407 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059
408 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059
409 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059
413 pinctrl_usdhc4: usdhc4grp {
415 MX6QDL_PAD_SD4_CMD__SD4_CMD 0x17059
416 MX6QDL_PAD_SD4_CLK__SD4_CLK 0x10059
417 MX6QDL_PAD_SD4_DAT0__SD4_DATA0 0x17059
418 MX6QDL_PAD_SD4_DAT1__SD4_DATA1 0x17059
419 MX6QDL_PAD_SD4_DAT2__SD4_DATA2 0x17059
420 MX6QDL_PAD_SD4_DAT3__SD4_DATA3 0x17059
421 MX6QDL_PAD_SD4_DAT4__SD4_DATA4 0x17059
422 MX6QDL_PAD_SD4_DAT5__SD4_DATA5 0x17059
423 MX6QDL_PAD_SD4_DAT6__SD4_DATA6 0x17059
424 MX6QDL_PAD_SD4_DAT7__SD4_DATA7 0x17059
431 pinctrl-names = "default";
432 pinctrl-0 = <&pinctrl_pcie>;
433 reset-gpio = <&gpio4 8 GPIO_ACTIVE_LOW>;
442 pinctrl-names = "default";
443 pinctrl-0 = <&pinctrl_uart1>;
448 pinctrl-names = "default";
449 pinctrl-0 = <&pinctrl_uart2>;
454 vbus-supply = <®_usb_host1>;
455 disable-over-current;
461 pinctrl-names = "default";
462 pinctrl-0 = <&pinctrl_usbotg>;
463 disable-over-current;
468 pinctrl-names = "default";
469 pinctrl-0 = <&pinctrl_usdhc3>;
470 vmmc-supply = <®_3p3v>;
475 pinctrl-names = "default";
476 pinctrl-0 = <&pinctrl_usdhc4>;
477 vmmc-supply = <®_3p3v>;