1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2014 Gateworks Corporation
6 #include <dt-bindings/gpio/gpio.h>
9 /* these are used by bootloader for disabling nodes */
20 bootargs = "console=ttymxc1,115200";
24 compatible = "gpio-leds";
25 pinctrl-names = "default";
26 pinctrl-0 = <&pinctrl_gpio_leds>;
30 gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDG */
32 linux,default-trigger = "heartbeat";
37 gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDR */
38 default-state = "off";
43 gpios = <&gpio4 15 GPIO_ACTIVE_LOW>; /* MX6_LOCLED# */
44 default-state = "off";
49 device_type = "memory";
50 reg = <0x10000000 0x20000000>;
53 reg_1p0v: regulator-1p0v {
54 compatible = "regulator-fixed";
55 regulator-name = "1P0V";
56 regulator-min-microvolt = <1000000>;
57 regulator-max-microvolt = <1000000>;
61 reg_3p3v: regulator-3p3v {
62 compatible = "regulator-fixed";
63 regulator-name = "3P3V";
64 regulator-min-microvolt = <3300000>;
65 regulator-max-microvolt = <3300000>;
69 reg_5p0v: regulator-5p0v {
70 compatible = "regulator-fixed";
71 regulator-name = "5P0V";
72 regulator-min-microvolt = <5000000>;
73 regulator-max-microvolt = <5000000>;
79 pinctrl-names = "default";
80 pinctrl-0 = <&pinctrl_gpmi_nand>;
85 ddc-i2c-bus = <&i2c3>;
90 clock-frequency = <100000>;
91 pinctrl-names = "default";
92 pinctrl-0 = <&pinctrl_i2c1>;
96 compatible = "atmel,24c02";
102 compatible = "atmel,24c02";
108 compatible = "atmel,24c02";
114 compatible = "atmel,24c02";
120 compatible = "nxp,pca9555";
127 compatible = "dallas,ds1672";
133 clock-frequency = <100000>;
134 pinctrl-names = "default";
135 pinctrl-0 = <&pinctrl_i2c2>;
139 compatible = "lltc,ltc3676";
141 pinctrl-names = "default";
142 pinctrl-0 = <&pinctrl_pmic>;
143 interrupt-parent = <&gpio1>;
144 interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
147 /* VDD_SOC (1+R1/R2 = 1.635) */
149 regulator-name = "vddsoc";
150 regulator-min-microvolt = <674400>;
151 regulator-max-microvolt = <1308000>;
152 lltc,fb-voltage-divider = <127000 200000>;
153 regulator-ramp-delay = <7000>;
158 /* VDD_1P8 (1+R1/R2 = 2.505): ENET-PHY */
160 regulator-name = "vdd1p8";
161 regulator-min-microvolt = <1033310>;
162 regulator-max-microvolt = <2004000>;
163 lltc,fb-voltage-divider = <301000 200000>;
164 regulator-ramp-delay = <7000>;
169 /* VDD_ARM (1+R1/R2 = 1.635) */
171 regulator-name = "vddarm";
172 regulator-min-microvolt = <674400>;
173 regulator-max-microvolt = <1308000>;
174 lltc,fb-voltage-divider = <127000 200000>;
175 regulator-ramp-delay = <7000>;
180 /* VDD_DDR (1+R1/R2 = 2.105) */
182 regulator-name = "vddddr";
183 regulator-min-microvolt = <868310>;
184 regulator-max-microvolt = <1684000>;
185 lltc,fb-voltage-divider = <221000 200000>;
186 regulator-ramp-delay = <7000>;
191 /* VDD_2P5 (1+R1/R2 = 3.435): PCIe/ENET-PHY */
193 regulator-name = "vdd2p5";
194 regulator-min-microvolt = <2490375>;
195 regulator-max-microvolt = <2490375>;
196 lltc,fb-voltage-divider = <487000 200000>;
201 /* VDD_HIGH (1+R1/R2 = 4.17) */
203 regulator-name = "vdd3p0";
204 regulator-min-microvolt = <3023250>;
205 regulator-max-microvolt = <3023250>;
206 lltc,fb-voltage-divider = <634000 200000>;
215 clock-frequency = <100000>;
216 pinctrl-names = "default";
217 pinctrl-0 = <&pinctrl_i2c3>;
222 pinctrl-names = "default";
223 pinctrl-0 = <&pinctrl_pcie>;
224 reset-gpio = <&gpio1 29 GPIO_ACTIVE_LOW>;
229 pinctrl-names = "default";
230 pinctrl-0 = <&pinctrl_pwm2>; /* MX6_DIO1 */
235 pinctrl-names = "default";
236 pinctrl-0 = <&pinctrl_pwm3>; /* MX6_DIO2 */
241 pinctrl-names = "default";
242 pinctrl-0 = <&pinctrl_uart2>;
247 pinctrl-names = "default";
248 pinctrl-0 = <&pinctrl_uart3>;
253 pinctrl-names = "default";
254 pinctrl-0 = <&pinctrl_uart5>;
262 pinctrl-names = "default";
263 pinctrl-0 = <&pinctrl_wdog>;
264 fsl,ext-reset-output;
268 pinctrl_gpio_leds: gpioledsgrp {
270 MX6QDL_PAD_KEY_COL0__GPIO4_IO06 0x1b0b0
271 MX6QDL_PAD_KEY_ROW0__GPIO4_IO07 0x1b0b0
272 MX6QDL_PAD_KEY_ROW4__GPIO4_IO15 0x1b0b0
276 pinctrl_gpmi_nand: gpminandgrp {
278 MX6QDL_PAD_NANDF_CLE__NAND_CLE 0xb0b1
279 MX6QDL_PAD_NANDF_ALE__NAND_ALE 0xb0b1
280 MX6QDL_PAD_NANDF_WP_B__NAND_WP_B 0xb0b1
281 MX6QDL_PAD_NANDF_RB0__NAND_READY_B 0xb000
282 MX6QDL_PAD_NANDF_CS0__NAND_CE0_B 0xb0b1
283 MX6QDL_PAD_SD4_CMD__NAND_RE_B 0xb0b1
284 MX6QDL_PAD_SD4_CLK__NAND_WE_B 0xb0b1
285 MX6QDL_PAD_NANDF_D0__NAND_DATA00 0xb0b1
286 MX6QDL_PAD_NANDF_D1__NAND_DATA01 0xb0b1
287 MX6QDL_PAD_NANDF_D2__NAND_DATA02 0xb0b1
288 MX6QDL_PAD_NANDF_D3__NAND_DATA03 0xb0b1
289 MX6QDL_PAD_NANDF_D4__NAND_DATA04 0xb0b1
290 MX6QDL_PAD_NANDF_D5__NAND_DATA05 0xb0b1
291 MX6QDL_PAD_NANDF_D6__NAND_DATA06 0xb0b1
292 MX6QDL_PAD_NANDF_D7__NAND_DATA07 0xb0b1
296 pinctrl_i2c1: i2c1grp {
298 MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1
299 MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1
303 pinctrl_i2c2: i2c2grp {
305 MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1
306 MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
310 pinctrl_i2c3: i2c3grp {
312 MX6QDL_PAD_GPIO_3__I2C3_SCL 0x4001b8b1
313 MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b8b1
317 pinctrl_pcie: pciegrp {
319 MX6QDL_PAD_ENET_TXD1__GPIO1_IO29 0x1b0b0
323 pinctrl_pmic: pmicgrp {
325 MX6QDL_PAD_GPIO_8__GPIO1_IO08 0x0001b0b0 /* PMIC_IRQ# */
329 pinctrl_pwm2: pwm2grp {
331 MX6QDL_PAD_SD1_DAT2__PWM2_OUT 0x1b0b1
335 pinctrl_pwm3: pwm3grp {
337 MX6QDL_PAD_SD1_DAT1__PWM3_OUT 0x1b0b1
341 pinctrl_uart2: uart2grp {
343 MX6QDL_PAD_SD4_DAT7__UART2_TX_DATA 0x1b0b1
344 MX6QDL_PAD_SD4_DAT4__UART2_RX_DATA 0x1b0b1
348 pinctrl_uart3: uart3grp {
350 MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1
351 MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1
355 pinctrl_uart5: uart5grp {
357 MX6QDL_PAD_KEY_COL1__UART5_TX_DATA 0x1b0b1
358 MX6QDL_PAD_KEY_ROW1__UART5_RX_DATA 0x1b0b1
362 pinctrl_wdog: wdoggrp {
364 MX6QDL_PAD_DISP0_DAT8__WDOG1_B 0x1b0b0