2 * Copyright 2013 Gateworks Corporation
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
12 #include <dt-bindings/gpio/gpio.h>
15 /* these are used by bootloader for disabling nodes */
25 bootargs = "console=ttymxc1,115200";
29 compatible = "gpio-leds";
30 pinctrl-names = "default";
31 pinctrl-0 = <&pinctrl_gpio_leds>;
35 gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDG */
37 linux,default-trigger = "heartbeat";
42 gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDR */
43 default-state = "off";
48 reg = <0x10000000 0x20000000>;
52 compatible = "pps-gpio";
53 pinctrl-names = "default";
54 pinctrl-0 = <&pinctrl_pps>;
55 gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
59 reg_3p3v: regulator-3p3v {
60 compatible = "regulator-fixed";
61 regulator-name = "3P3V";
62 regulator-min-microvolt = <3300000>;
63 regulator-max-microvolt = <3300000>;
67 reg_5p0v: regulator-5p0v {
68 compatible = "regulator-fixed";
69 regulator-name = "5P0V";
70 regulator-min-microvolt = <5000000>;
71 regulator-max-microvolt = <5000000>;
75 reg_usb_otg_vbus: regulator-usb-otg-vbus {
76 compatible = "regulator-fixed";
77 regulator-name = "usb_otg_vbus";
78 regulator-min-microvolt = <5000000>;
79 regulator-max-microvolt = <5000000>;
80 gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
86 pinctrl-names = "default";
87 pinctrl-0 = <&pinctrl_enet>;
88 phy-mode = "rgmii-id";
89 phy-reset-gpios = <&gpio1 30 GPIO_ACTIVE_LOW>;
94 pinctrl-names = "default";
95 pinctrl-0 = <&pinctrl_gpmi_nand>;
100 ddc-i2c-bus = <&i2c3>;
105 clock-frequency = <100000>;
106 pinctrl-names = "default";
107 pinctrl-0 = <&pinctrl_i2c1>;
111 compatible = "atmel,24c02";
117 compatible = "atmel,24c02";
123 compatible = "atmel,24c02";
129 compatible = "atmel,24c02";
135 compatible = "nxp,pca9555";
142 compatible = "dallas,ds1672";
148 clock-frequency = <100000>;
149 pinctrl-names = "default";
150 pinctrl-0 = <&pinctrl_i2c2>;
154 compatible = "lltc,ltc3676";
156 pinctrl-names = "default";
157 pinctrl-0 = <&pinctrl_pmic>;
158 interrupt-parent = <&gpio1>;
159 interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
162 /* VDD_SOC (1+R1/R2 = 1.635) */
164 regulator-name = "vddsoc";
165 regulator-min-microvolt = <674400>;
166 regulator-max-microvolt = <1308000>;
167 lltc,fb-voltage-divider = <127000 200000>;
168 regulator-ramp-delay = <7000>;
173 /* VDD_1P8 (1+R1/R2 = 2.505): GPS/VideoIn/ENET-PHY */
175 regulator-name = "vdd1p8";
176 regulator-min-microvolt = <1033310>;
177 regulator-max-microvolt = <2004000>;
178 lltc,fb-voltage-divider = <301000 200000>;
179 regulator-ramp-delay = <7000>;
184 /* VDD_ARM (1+R1/R2 = 1.635) */
186 regulator-name = "vddarm";
187 regulator-min-microvolt = <674400>;
188 regulator-max-microvolt = <1308000>;
189 lltc,fb-voltage-divider = <127000 200000>;
190 regulator-ramp-delay = <7000>;
195 /* VDD_DDR (1+R1/R2 = 2.105) */
197 regulator-name = "vddddr";
198 regulator-min-microvolt = <868310>;
199 regulator-max-microvolt = <1684000>;
200 lltc,fb-voltage-divider = <221000 200000>;
201 regulator-ramp-delay = <7000>;
206 /* VDD_2P5 (1+R1/R2 = 3.435): PCIe/ENET-PHY */
208 regulator-name = "vdd2p5";
209 regulator-min-microvolt = <2490375>;
210 regulator-max-microvolt = <2490375>;
211 lltc,fb-voltage-divider = <487000 200000>;
216 /* VDD_HIGH (1+R1/R2 = 4.17) */
218 regulator-name = "vdd3p0";
219 regulator-min-microvolt = <3023250>;
220 regulator-max-microvolt = <3023250>;
221 lltc,fb-voltage-divider = <634000 200000>;
230 clock-frequency = <100000>;
231 pinctrl-names = "default";
232 pinctrl-0 = <&pinctrl_i2c3>;
237 pinctrl-names = "default";
238 pinctrl-0 = <&pinctrl_pcie>;
239 reset-gpio = <&gpio1 0 GPIO_ACTIVE_LOW>;
244 pinctrl-names = "default";
245 pinctrl-0 = <&pinctrl_pwm2>; /* MX6_DIO1 */
250 pinctrl-names = "default";
251 pinctrl-0 = <&pinctrl_pwm3>; /* MX6_DIO2 */
256 pinctrl-names = "default";
257 pinctrl-0 = <&pinctrl_pwm4>; /* MX6_DIO3 */
262 pinctrl-names = "default";
263 pinctrl-0 = <&pinctrl_uart1>;
268 pinctrl-names = "default";
269 pinctrl-0 = <&pinctrl_uart2>;
274 pinctrl-names = "default";
275 pinctrl-0 = <&pinctrl_uart3>;
280 pinctrl-names = "default";
281 pinctrl-0 = <&pinctrl_uart5>;
286 vbus-supply = <®_usb_otg_vbus>;
287 pinctrl-names = "default";
288 pinctrl-0 = <&pinctrl_usbotg>;
289 disable-over-current;
298 pinctrl-names = "default";
299 pinctrl-0 = <&pinctrl_wdog>;
300 fsl,ext-reset-output;
305 pinctrl_enet: enetgrp {
307 MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b030
308 MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b030
309 MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b030
310 MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b030
311 MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b030
312 MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b030
313 MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b030
314 MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b030
315 MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b030
316 MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b030
317 MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b030
318 MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b030
319 MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0
320 MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0
321 MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0
322 MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x4001b0a8
323 MX6QDL_PAD_ENET_TXD0__GPIO1_IO30 0x1b0b0 /* PHY Reset */
327 pinctrl_gpio_leds: gpioledsgrp {
329 MX6QDL_PAD_KEY_COL0__GPIO4_IO06 0x1b0b0
330 MX6QDL_PAD_KEY_ROW0__GPIO4_IO07 0x1b0b0
334 pinctrl_gpmi_nand: gpminandgrp {
336 MX6QDL_PAD_NANDF_CLE__NAND_CLE 0xb0b1
337 MX6QDL_PAD_NANDF_ALE__NAND_ALE 0xb0b1
338 MX6QDL_PAD_NANDF_WP_B__NAND_WP_B 0xb0b1
339 MX6QDL_PAD_NANDF_RB0__NAND_READY_B 0xb000
340 MX6QDL_PAD_NANDF_CS0__NAND_CE0_B 0xb0b1
341 MX6QDL_PAD_SD4_CMD__NAND_RE_B 0xb0b1
342 MX6QDL_PAD_SD4_CLK__NAND_WE_B 0xb0b1
343 MX6QDL_PAD_NANDF_D0__NAND_DATA00 0xb0b1
344 MX6QDL_PAD_NANDF_D1__NAND_DATA01 0xb0b1
345 MX6QDL_PAD_NANDF_D2__NAND_DATA02 0xb0b1
346 MX6QDL_PAD_NANDF_D3__NAND_DATA03 0xb0b1
347 MX6QDL_PAD_NANDF_D4__NAND_DATA04 0xb0b1
348 MX6QDL_PAD_NANDF_D5__NAND_DATA05 0xb0b1
349 MX6QDL_PAD_NANDF_D6__NAND_DATA06 0xb0b1
350 MX6QDL_PAD_NANDF_D7__NAND_DATA07 0xb0b1
354 pinctrl_i2c1: i2c1grp {
356 MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1
357 MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1
361 pinctrl_i2c2: i2c2grp {
363 MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1
364 MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
368 pinctrl_i2c3: i2c3grp {
370 MX6QDL_PAD_GPIO_3__I2C3_SCL 0x4001b8b1
371 MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b8b1
375 pinctrl_pcie: pciegrp {
377 MX6QDL_PAD_GPIO_0__GPIO1_IO00 0x1b0b0
381 pinctrl_pmic: pmicgrp {
383 MX6QDL_PAD_GPIO_8__GPIO1_IO08 0x0001b0b0 /* PMIC_IRQ# */
387 pinctrl_pps: ppsgrp {
389 MX6QDL_PAD_ENET_RXD1__GPIO1_IO26 0x1b0b1
393 pinctrl_pwm2: pwm2grp {
395 MX6QDL_PAD_SD1_DAT2__PWM2_OUT 0x1b0b1
399 pinctrl_pwm3: pwm3grp {
401 MX6QDL_PAD_SD1_DAT1__PWM3_OUT 0x1b0b1
405 pinctrl_pwm4: pwm4grp {
407 MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x1b0b1
411 pinctrl_uart1: uart1grp {
413 MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1
414 MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA 0x1b0b1
418 pinctrl_uart2: uart2grp {
420 MX6QDL_PAD_SD4_DAT7__UART2_TX_DATA 0x1b0b1
421 MX6QDL_PAD_SD4_DAT4__UART2_RX_DATA 0x1b0b1
425 pinctrl_uart3: uart3grp {
427 MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1
428 MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1
432 pinctrl_uart5: uart5grp {
434 MX6QDL_PAD_KEY_COL1__UART5_TX_DATA 0x1b0b1
435 MX6QDL_PAD_KEY_ROW1__UART5_RX_DATA 0x1b0b1
439 pinctrl_usbotg: usbotggrp {
441 MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059
442 MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x1b0b0 /* OTG_PWR_EN */
446 pinctrl_wdog: wdoggrp {
448 MX6QDL_PAD_DISP0_DAT8__WDOG1_B 0x1b0b0