2 * Copyright 2013 Data Modul AG
4 * The code contained herein is licensed under the GNU General Public
5 * License. You may obtain a copy of the GNU General Public License
6 * Version 2 or later at the following locations:
8 * http://www.opensource.org/licenses/gpl-license.html
9 * http://www.gnu.org/copyleft/gpl.html
14 #include <dt-bindings/gpio/gpio.h>
18 model = "Data Modul eDM-QMX6 Board";
19 compatible = "dmo,imx6q-edmqmx6", "fsl,imx6q";
33 device_type = "memory";
34 reg = <0x10000000 0x80000000>;
38 compatible = "simple-bus";
42 reg_3p3v: regulator@0 {
43 compatible = "regulator-fixed";
45 regulator-name = "3P3V";
46 regulator-min-microvolt = <3300000>;
47 regulator-max-microvolt = <3300000>;
51 reg_usb_otg_switch: regulator@1 {
52 compatible = "regulator-fixed";
54 regulator-name = "usb_otg_switch";
55 regulator-min-microvolt = <5000000>;
56 regulator-max-microvolt = <5000000>;
62 reg_usb_host1: regulator@2 {
63 compatible = "regulator-fixed";
65 regulator-name = "usb_host1_en";
66 regulator-min-microvolt = <3300000>;
67 regulator-max-microvolt = <3300000>;
74 compatible = "gpio-leds";
78 gpios = <&stmpe_gpio1 8 GPIO_ACTIVE_HIGH>;
79 linux,default-trigger = "heartbeat";
84 gpios = <&stmpe_gpio1 9 GPIO_ACTIVE_HIGH>;
89 gpios = <&stmpe_gpio1 10 GPIO_ACTIVE_HIGH>;
94 gpios = <&stmpe_gpio1 11 GPIO_ACTIVE_HIGH>;
100 pinctrl-names = "default";
101 pinctrl-0 = <&pinctrl_can1>;
106 pinctrl-names = "default";
107 pinctrl-0 = <&pinctrl_ecspi5>;
108 cs-gpios = <&gpio1 12 0>;
112 compatible = "m25p80", "jedec,spi-nor";
113 spi-max-frequency = <40000000>;
119 pinctrl-names = "default";
120 pinctrl-0 = <&pinctrl_enet>;
122 phy-reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
123 phy-supply = <&vgen2_1v2_eth>;
128 clock-frequency = <100000>;
129 pinctrl-names = "default";
130 pinctrl-0 = <&pinctrl_i2c1>;
135 clock-frequency = <100000>;
136 pinctrl-names = "default";
137 pinctrl-0 = <&pinctrl_i2c2
144 compatible = "fsl,pfuze100";
146 interrupt-parent = <&gpio3>;
151 regulator-min-microvolt = <300000>;
152 regulator-max-microvolt = <1875000>;
158 regulator-min-microvolt = <300000>;
159 regulator-max-microvolt = <1875000>;
165 regulator-min-microvolt = <800000>;
166 regulator-max-microvolt = <3300000>;
172 regulator-min-microvolt = <400000>;
173 regulator-max-microvolt = <1975000>;
179 regulator-min-microvolt = <400000>;
180 regulator-max-microvolt = <1975000>;
186 regulator-min-microvolt = <400000>;
187 regulator-max-microvolt = <1975000>;
192 regulator-min-microvolt = <5000000>;
193 regulator-max-microvolt = <5150000>;
198 regulator-min-microvolt = <1000000>;
199 regulator-max-microvolt = <3000000>;
210 regulator-min-microvolt = <800000>;
211 regulator-max-microvolt = <1550000>;
214 vgen2_1v2_eth: vgen2 {
215 regulator-min-microvolt = <800000>;
216 regulator-max-microvolt = <1550000>;
220 regulator-min-microvolt = <1800000>;
221 regulator-max-microvolt = <3300000>;
227 regulator-min-microvolt = <1800000>;
228 regulator-max-microvolt = <3300000>;
233 regulator-min-microvolt = <1800000>;
234 regulator-max-microvolt = <3300000>;
239 regulator-min-microvolt = <1800000>;
240 regulator-max-microvolt = <3300000>;
246 stmpe1: stmpe1601@40 {
247 compatible = "st,stmpe1601";
250 interrupt-parent = <&gpio3>;
251 vcc-supply = <&sw2_reg>;
252 vio-supply = <&sw2_reg>;
254 stmpe_gpio1: stmpe_gpio {
256 compatible = "st,stmpe-gpio";
260 stmpe2: stmpe1601@44 {
261 compatible = "st,stmpe1601";
264 interrupt-parent = <&gpio5>;
265 vcc-supply = <&sw2_reg>;
266 vio-supply = <&sw2_reg>;
268 stmpe_gpio2: stmpe_gpio {
270 compatible = "st,stmpe-gpio";
275 compatible = "ad,ad7414";
280 compatible = "ad,ad7414";
285 compatible = "st,m41t62";
291 clock-frequency = <100000>;
292 pinctrl-names = "default";
293 pinctrl-0 = <&pinctrl_i2c3>;
298 pinctrl-names = "default";
299 pinctrl-0 = <&pinctrl_hog>;
302 pinctrl_hog: hoggrp {
304 MX6QDL_PAD_EIM_A16__GPIO2_IO22 0x80000000
305 MX6QDL_PAD_EIM_A17__GPIO2_IO21 0x80000000
309 pinctrl_can1: can1grp {
311 MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX 0x1b0b0
312 MX6QDL_PAD_GPIO_7__FLEXCAN1_TX 0x1b0b0
316 pinctrl_ecspi5: ecspi5rp-1 {
318 MX6QDL_PAD_SD1_DAT0__ECSPI5_MISO 0x80000000
319 MX6QDL_PAD_SD1_CMD__ECSPI5_MOSI 0x80000000
320 MX6QDL_PAD_SD1_CLK__ECSPI5_SCLK 0x80000000
321 MX6QDL_PAD_SD2_DAT3__GPIO1_IO12 0x80000000
325 pinctrl_enet: enetgrp {
327 MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b030
328 MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b030
329 MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b030
330 MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b030
331 MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b030
332 MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b030
333 MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b030
334 MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b030
335 MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b030
336 MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b030
337 MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b030
338 MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b030
339 MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0
340 MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0
341 MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0
342 MX6QDL_PAD_ENET_CRS_DV__GPIO1_IO25 0x1b0b0
343 MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x4001b0a8
347 pinctrl_i2c1: i2c1grp {
349 MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1
350 MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1
354 pinctrl_i2c2: i2c2grp {
356 MX6QDL_PAD_EIM_EB2__I2C2_SCL 0x4001b8b1
357 MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
361 pinctrl_i2c3: i2c3grp {
363 MX6QDL_PAD_EIM_D17__I2C3_SCL 0x4001b8b1
364 MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b8b1
368 pinctrl_pcie: pciegrp {
370 MX6QDL_PAD_KEY_COL1__GPIO4_IO08 0x100b1
374 pinctrl_pfuze: pfuze100grp1 {
376 MX6QDL_PAD_EIM_D20__GPIO3_IO20 0x80000000
380 pinctrl_stmpe1: stmpe1grp {
381 fsl,pins = <MX6QDL_PAD_EIM_D30__GPIO3_IO30 0x80000000>;
384 pinctrl_stmpe2: stmpe2grp {
385 fsl,pins = <MX6QDL_PAD_EIM_A25__GPIO5_IO02 0x80000000>;
388 pinctrl_uart1: uart1grp {
390 MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1
391 MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA 0x1b0b1
395 pinctrl_uart2: uart2grp {
397 MX6QDL_PAD_EIM_D26__UART2_TX_DATA 0x1b0b1
398 MX6QDL_PAD_EIM_D27__UART2_RX_DATA 0x1b0b1
402 pinctrl_usbotg: usbotggrp {
404 MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x17059
408 pinctrl_usdhc3: usdhc3grp {
410 MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059
411 MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059
412 MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059
413 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059
414 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059
415 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059
419 pinctrl_usdhc4: usdhc4grp {
421 MX6QDL_PAD_SD4_CMD__SD4_CMD 0x17059
422 MX6QDL_PAD_SD4_CLK__SD4_CLK 0x10059
423 MX6QDL_PAD_SD4_DAT0__SD4_DATA0 0x17059
424 MX6QDL_PAD_SD4_DAT1__SD4_DATA1 0x17059
425 MX6QDL_PAD_SD4_DAT2__SD4_DATA2 0x17059
426 MX6QDL_PAD_SD4_DAT3__SD4_DATA3 0x17059
427 MX6QDL_PAD_SD4_DAT4__SD4_DATA4 0x17059
428 MX6QDL_PAD_SD4_DAT5__SD4_DATA5 0x17059
429 MX6QDL_PAD_SD4_DAT6__SD4_DATA6 0x17059
430 MX6QDL_PAD_SD4_DAT7__SD4_DATA7 0x17059
437 pinctrl-names = "default";
438 pinctrl-0 = <&pinctrl_pcie>;
439 reset-gpio = <&gpio4 8 GPIO_ACTIVE_LOW>;
448 pinctrl-names = "default";
449 pinctrl-0 = <&pinctrl_uart1>;
454 pinctrl-names = "default";
455 pinctrl-0 = <&pinctrl_uart2>;
460 vbus-supply = <®_usb_host1>;
461 disable-over-current;
467 pinctrl-names = "default";
468 pinctrl-0 = <&pinctrl_usbotg>;
469 disable-over-current;
474 pinctrl-names = "default";
475 pinctrl-0 = <&pinctrl_usdhc3>;
476 vmmc-supply = <®_3p3v>;
481 pinctrl-names = "default";
482 pinctrl-0 = <&pinctrl_usdhc4>;
483 vmmc-supply = <®_3p3v>;