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 reg = <0x10000000 0x80000000>;
37 compatible = "simple-bus";
41 reg_3p3v: regulator@0 {
42 compatible = "regulator-fixed";
44 regulator-name = "3P3V";
45 regulator-min-microvolt = <3300000>;
46 regulator-max-microvolt = <3300000>;
50 reg_usb_otg_switch: regulator@1 {
51 compatible = "regulator-fixed";
53 regulator-name = "usb_otg_switch";
54 regulator-min-microvolt = <5000000>;
55 regulator-max-microvolt = <5000000>;
61 reg_usb_host1: regulator@2 {
62 compatible = "regulator-fixed";
64 regulator-name = "usb_host1_en";
65 regulator-min-microvolt = <3300000>;
66 regulator-max-microvolt = <3300000>;
73 compatible = "gpio-leds";
77 gpios = <&stmpe_gpio1 8 GPIO_ACTIVE_HIGH>;
78 linux,default-trigger = "heartbeat";
83 gpios = <&stmpe_gpio1 9 GPIO_ACTIVE_HIGH>;
88 gpios = <&stmpe_gpio1 10 GPIO_ACTIVE_HIGH>;
93 gpios = <&stmpe_gpio1 11 GPIO_ACTIVE_HIGH>;
99 pinctrl-names = "default";
100 pinctrl-0 = <&pinctrl_can1>;
105 pinctrl-names = "default";
106 pinctrl-0 = <&pinctrl_ecspi5>;
107 cs-gpios = <&gpio1 12 0>;
111 compatible = "m25p80", "jedec,spi-nor";
112 spi-max-frequency = <40000000>;
118 pinctrl-names = "default";
119 pinctrl-0 = <&pinctrl_enet>;
121 phy-reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
122 phy-supply = <&vgen2_1v2_eth>;
127 clock-frequency = <100000>;
128 pinctrl-names = "default";
129 pinctrl-0 = <&pinctrl_i2c1>;
134 clock-frequency = <100000>;
135 pinctrl-names = "default";
136 pinctrl-0 = <&pinctrl_i2c2
143 compatible = "fsl,pfuze100";
145 interrupt-parent = <&gpio3>;
150 regulator-min-microvolt = <300000>;
151 regulator-max-microvolt = <1875000>;
157 regulator-min-microvolt = <300000>;
158 regulator-max-microvolt = <1875000>;
164 regulator-min-microvolt = <800000>;
165 regulator-max-microvolt = <3300000>;
171 regulator-min-microvolt = <400000>;
172 regulator-max-microvolt = <1975000>;
178 regulator-min-microvolt = <400000>;
179 regulator-max-microvolt = <1975000>;
185 regulator-min-microvolt = <400000>;
186 regulator-max-microvolt = <1975000>;
191 regulator-min-microvolt = <5000000>;
192 regulator-max-microvolt = <5150000>;
197 regulator-min-microvolt = <1000000>;
198 regulator-max-microvolt = <3000000>;
209 regulator-min-microvolt = <800000>;
210 regulator-max-microvolt = <1550000>;
213 vgen2_1v2_eth: vgen2 {
214 regulator-min-microvolt = <800000>;
215 regulator-max-microvolt = <1550000>;
219 regulator-min-microvolt = <1800000>;
220 regulator-max-microvolt = <3300000>;
226 regulator-min-microvolt = <1800000>;
227 regulator-max-microvolt = <3300000>;
232 regulator-min-microvolt = <1800000>;
233 regulator-max-microvolt = <3300000>;
238 regulator-min-microvolt = <1800000>;
239 regulator-max-microvolt = <3300000>;
245 stmpe1: stmpe1601@40 {
246 compatible = "st,stmpe1601";
249 interrupt-parent = <&gpio3>;
250 vcc-supply = <&sw2_reg>;
251 vio-supply = <&sw2_reg>;
253 stmpe_gpio1: stmpe_gpio {
255 compatible = "st,stmpe-gpio";
259 stmpe2: stmpe1601@44 {
260 compatible = "st,stmpe1601";
263 interrupt-parent = <&gpio5>;
264 vcc-supply = <&sw2_reg>;
265 vio-supply = <&sw2_reg>;
267 stmpe_gpio2: stmpe_gpio {
269 compatible = "st,stmpe-gpio";
274 compatible = "ad,ad7414";
279 compatible = "ad,ad7414";
284 compatible = "st,m41t62";
290 clock-frequency = <100000>;
291 pinctrl-names = "default";
292 pinctrl-0 = <&pinctrl_i2c3>;
297 pinctrl-names = "default";
298 pinctrl-0 = <&pinctrl_hog>;
301 pinctrl_hog: hoggrp {
303 MX6QDL_PAD_EIM_A16__GPIO2_IO22 0x80000000
304 MX6QDL_PAD_EIM_A17__GPIO2_IO21 0x80000000
308 pinctrl_can1: can1grp {
310 MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX 0x1b0b0
311 MX6QDL_PAD_GPIO_7__FLEXCAN1_TX 0x1b0b0
315 pinctrl_ecspi5: ecspi5rp-1 {
317 MX6QDL_PAD_SD1_DAT0__ECSPI5_MISO 0x80000000
318 MX6QDL_PAD_SD1_CMD__ECSPI5_MOSI 0x80000000
319 MX6QDL_PAD_SD1_CLK__ECSPI5_SCLK 0x80000000
320 MX6QDL_PAD_SD2_DAT3__GPIO1_IO12 0x80000000
324 pinctrl_enet: enetgrp {
326 MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b030
327 MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b030
328 MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b030
329 MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b030
330 MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b030
331 MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b030
332 MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b030
333 MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b030
334 MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b030
335 MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b030
336 MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b030
337 MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b030
338 MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0
339 MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0
340 MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0
341 MX6QDL_PAD_ENET_CRS_DV__GPIO1_IO25 0x1b0b0
342 MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x4001b0a8
346 pinctrl_i2c1: i2c1grp {
348 MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1
349 MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1
353 pinctrl_i2c2: i2c2grp {
355 MX6QDL_PAD_EIM_EB2__I2C2_SCL 0x4001b8b1
356 MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
360 pinctrl_i2c3: i2c3grp {
362 MX6QDL_PAD_EIM_D17__I2C3_SCL 0x4001b8b1
363 MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b8b1
367 pinctrl_pcie: pciegrp {
369 MX6QDL_PAD_KEY_COL1__GPIO4_IO08 0x100b1
373 pinctrl_pfuze: pfuze100grp1 {
375 MX6QDL_PAD_EIM_D20__GPIO3_IO20 0x80000000
379 pinctrl_stmpe1: stmpe1grp {
380 fsl,pins = <MX6QDL_PAD_EIM_D30__GPIO3_IO30 0x80000000>;
383 pinctrl_stmpe2: stmpe2grp {
384 fsl,pins = <MX6QDL_PAD_EIM_A25__GPIO5_IO02 0x80000000>;
387 pinctrl_uart1: uart1grp {
389 MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1
390 MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA 0x1b0b1
394 pinctrl_uart2: uart2grp {
396 MX6QDL_PAD_EIM_D26__UART2_TX_DATA 0x1b0b1
397 MX6QDL_PAD_EIM_D27__UART2_RX_DATA 0x1b0b1
401 pinctrl_usbotg: usbotggrp {
403 MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x17059
407 pinctrl_usdhc3: usdhc3grp {
409 MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059
410 MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059
411 MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059
412 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059
413 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059
414 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059
418 pinctrl_usdhc4: usdhc4grp {
420 MX6QDL_PAD_SD4_CMD__SD4_CMD 0x17059
421 MX6QDL_PAD_SD4_CLK__SD4_CLK 0x10059
422 MX6QDL_PAD_SD4_DAT0__SD4_DATA0 0x17059
423 MX6QDL_PAD_SD4_DAT1__SD4_DATA1 0x17059
424 MX6QDL_PAD_SD4_DAT2__SD4_DATA2 0x17059
425 MX6QDL_PAD_SD4_DAT3__SD4_DATA3 0x17059
426 MX6QDL_PAD_SD4_DAT4__SD4_DATA4 0x17059
427 MX6QDL_PAD_SD4_DAT5__SD4_DATA5 0x17059
428 MX6QDL_PAD_SD4_DAT6__SD4_DATA6 0x17059
429 MX6QDL_PAD_SD4_DAT7__SD4_DATA7 0x17059
436 pinctrl-names = "default";
437 pinctrl-0 = <&pinctrl_pcie>;
438 reset-gpio = <&gpio4 8 GPIO_ACTIVE_LOW>;
447 pinctrl-names = "default";
448 pinctrl-0 = <&pinctrl_uart1>;
453 pinctrl-names = "default";
454 pinctrl-0 = <&pinctrl_uart2>;
459 vbus-supply = <®_usb_host1>;
460 disable-over-current;
466 pinctrl-names = "default";
467 pinctrl-0 = <&pinctrl_usbotg>;
468 disable-over-current;
473 pinctrl-names = "default";
474 pinctrl-0 = <&pinctrl_usdhc3>;
475 vmmc-supply = <®_3p3v>;
480 pinctrl-names = "default";
481 pinctrl-0 = <&pinctrl_usdhc4>;
482 vmmc-supply = <®_3p3v>;