2 * Copyright (C) 2016 Freescale Semiconductor, Inc.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
11 #include <dt-bindings/input/input.h>
12 #include "imx6ull.dtsi"
15 model = "Freescale i.MX6 ULL 14x14 EVK Board";
16 compatible = "fsl,imx6ull-14x14-evk", "fsl,imx6ull";
23 reg = <0x80000000 0x20000000>;
27 compatible = "pwm-backlight";
28 pwms = <&pwm1 0 5000000>;
29 brightness-levels = <0 4 8 16 32 64 128 255>;
30 default-brightness-level = <6>;
35 compatible = "simple-bus";
39 reg_can_3v3: regulator@0 {
40 compatible = "regulator-fixed";
42 regulator-name = "can-3v3";
43 regulator-min-microvolt = <3300000>;
44 regulator-max-microvolt = <3300000>;
45 gpios = <&gpio_spi 3 GPIO_ACTIVE_LOW>;
48 reg_sd1_vmmc: regulator@1 {
49 compatible = "regulator-fixed";
50 regulator-name = "VSD_3V3";
51 regulator-min-microvolt = <3300000>;
52 regulator-max-microvolt = <3300000>;
53 gpio = <&gpio1 9 GPIO_ACTIVE_HIGH>;
57 reg_gpio_dvfs: regulator-gpio {
58 compatible = "regulator-gpio";
59 pinctrl-names = "default";
60 pinctrl-0 = <&pinctrl_dvfs>;
61 regulator-min-microvolt = <1300000>;
62 regulator-max-microvolt = <1400000>;
63 regulator-name = "gpio_dvfs";
64 regulator-type = "voltage";
65 gpios = <&gpio5 3 GPIO_ACTIVE_HIGH>;
66 states = <1300000 0x1 1400000 0x0>;
71 compatible = "spi-gpio";
72 pinctrl-names = "default";
73 pinctrl-0 = <&pinctrl_spi4>;
75 gpio-sck = <&gpio5 11 0>;
76 gpio-mosi = <&gpio5 10 0>;
77 cs-gpios = <&gpio5 7 0>;
78 num-chipselects = <1>;
82 gpio_spi: gpio_spi@0 {
83 compatible = "fairchild,74hc595";
85 oe-gpios = <&gpio5 8 0>;
88 registers-number = <1>;
89 registers-default = /bits/ 8 <0x57>;
90 spi-max-frequency = <100000>;
96 arm-supply = <®_arm>;
97 soc-supply = <®_soc>;
98 dc-supply = <®_gpio_dvfs>;
102 assigned-clocks = <&clks IMX6UL_CLK_PLL4_AUDIO_DIV>;
103 assigned-clock-rates = <786432000>;
107 pinctrl-names = "default";
108 pinctrl-0 = <&pinctrl_enet1>;
110 phy-handle = <ðphy0>;
115 pinctrl-names = "default";
116 pinctrl-0 = <&pinctrl_enet2>;
118 phy-handle = <ðphy1>;
122 #address-cells = <1>;
125 ethphy0: ethernet-phy@2 {
126 compatible = "ethernet-phy-ieee802.3-c22";
130 ethphy1: ethernet-phy@1 {
131 compatible = "ethernet-phy-ieee802.3-c22";
138 fsl,cpu_pupscr_sw2iso = <0x1>;
139 fsl,cpu_pupscr_sw = <0x0>;
140 fsl,cpu_pdnscr_iso2sw = <0x1>;
141 fsl,cpu_pdnscr_iso = <0x1>;
142 fsl,ldo-bypass = <0>; /* DCDC, ldo-enable */
146 clock-frequency = <100000>;
147 pinctrl-names = "default";
148 pinctrl-0 = <&pinctrl_i2c1>;
152 compatible = "fsl,mag3110";
158 compatible = "fsl,fxls8471";
161 interrupt-parent = <&gpio5>;
167 clock_frequency = <100000>;
168 pinctrl-names = "default";
169 pinctrl-0 = <&pinctrl_i2c2>;
174 pinctrl-names = "default";
175 pinctrl-0 = <&pinctrl_hog_1>;
177 pinctrl_hog_1: hoggrp-1 {
179 MX6UL_PAD_UART1_RTS_B__GPIO1_IO19 0x17059 /* SD1 CD */
180 MX6UL_PAD_GPIO1_IO05__USDHC1_VSELECT 0x17059 /* SD1 VSELECT */
181 MX6UL_PAD_GPIO1_IO09__GPIO1_IO09 0x17059 /* SD1 RESET */
185 pinctrl_csi1: csi1grp {
187 MX6UL_PAD_CSI_MCLK__CSI_MCLK 0x1b088
188 MX6UL_PAD_CSI_PIXCLK__CSI_PIXCLK 0x1b088
189 MX6UL_PAD_CSI_VSYNC__CSI_VSYNC 0x1b088
190 MX6UL_PAD_CSI_HSYNC__CSI_HSYNC 0x1b088
191 MX6UL_PAD_CSI_DATA00__CSI_DATA02 0x1b088
192 MX6UL_PAD_CSI_DATA01__CSI_DATA03 0x1b088
193 MX6UL_PAD_CSI_DATA02__CSI_DATA04 0x1b088
194 MX6UL_PAD_CSI_DATA03__CSI_DATA05 0x1b088
195 MX6UL_PAD_CSI_DATA04__CSI_DATA06 0x1b088
196 MX6UL_PAD_CSI_DATA05__CSI_DATA07 0x1b088
197 MX6UL_PAD_CSI_DATA06__CSI_DATA08 0x1b088
198 MX6UL_PAD_CSI_DATA07__CSI_DATA09 0x1b088
202 pinctrl_enet1: enet1grp {
204 MX6UL_PAD_ENET1_RX_EN__ENET1_RX_EN 0x1b0b0
205 MX6UL_PAD_ENET1_RX_ER__ENET1_RX_ER 0x1b0b0
206 MX6UL_PAD_ENET1_RX_DATA0__ENET1_RDATA00 0x1b0b0
207 MX6UL_PAD_ENET1_RX_DATA1__ENET1_RDATA01 0x1b0b0
208 MX6UL_PAD_ENET1_TX_EN__ENET1_TX_EN 0x1b0b0
209 MX6UL_PAD_ENET1_TX_DATA0__ENET1_TDATA00 0x1b0b0
210 MX6UL_PAD_ENET1_TX_DATA1__ENET1_TDATA01 0x1b0b0
211 MX6UL_PAD_ENET1_TX_CLK__ENET1_REF_CLK1 0x4001b031
215 pinctrl_enet2: enet2grp {
217 MX6UL_PAD_GPIO1_IO07__ENET2_MDC 0x1b0b0
218 MX6UL_PAD_GPIO1_IO06__ENET2_MDIO 0x1b0b0
219 MX6UL_PAD_ENET2_RX_EN__ENET2_RX_EN 0x1b0b0
220 MX6UL_PAD_ENET2_RX_ER__ENET2_RX_ER 0x1b0b0
221 MX6UL_PAD_ENET2_RX_DATA0__ENET2_RDATA00 0x1b0b0
222 MX6UL_PAD_ENET2_RX_DATA1__ENET2_RDATA01 0x1b0b0
223 MX6UL_PAD_ENET2_TX_EN__ENET2_TX_EN 0x1b0b0
224 MX6UL_PAD_ENET2_TX_DATA0__ENET2_TDATA00 0x1b0b0
225 MX6UL_PAD_ENET2_TX_DATA1__ENET2_TDATA01 0x1b0b0
226 MX6UL_PAD_ENET2_TX_CLK__ENET2_REF_CLK2 0x4001b031
230 pinctrl_flexcan1: flexcan1grp{
232 MX6UL_PAD_UART3_RTS_B__FLEXCAN1_RX 0x1b020
233 MX6UL_PAD_UART3_CTS_B__FLEXCAN1_TX 0x1b020
237 pinctrl_flexcan2: flexcan2grp{
239 MX6UL_PAD_UART2_RTS_B__FLEXCAN2_RX 0x1b020
240 MX6UL_PAD_UART2_CTS_B__FLEXCAN2_TX 0x1b020
244 pinctrl_i2c1: i2c1grp {
246 MX6UL_PAD_UART4_TX_DATA__I2C1_SCL 0x4001b8b0
247 MX6UL_PAD_UART4_RX_DATA__I2C1_SDA 0x4001b8b0
251 pinctrl_i2c2: i2c2grp {
253 MX6UL_PAD_UART5_TX_DATA__I2C2_SCL 0x4001b8b0
254 MX6UL_PAD_UART5_RX_DATA__I2C2_SDA 0x4001b8b0
258 pinctrl_lcdif_dat: lcdifdatgrp {
260 MX6UL_PAD_LCD_DATA00__LCDIF_DATA00 0x79
261 MX6UL_PAD_LCD_DATA01__LCDIF_DATA01 0x79
262 MX6UL_PAD_LCD_DATA02__LCDIF_DATA02 0x79
263 MX6UL_PAD_LCD_DATA03__LCDIF_DATA03 0x79
264 MX6UL_PAD_LCD_DATA04__LCDIF_DATA04 0x79
265 MX6UL_PAD_LCD_DATA05__LCDIF_DATA05 0x79
266 MX6UL_PAD_LCD_DATA06__LCDIF_DATA06 0x79
267 MX6UL_PAD_LCD_DATA07__LCDIF_DATA07 0x79
268 MX6UL_PAD_LCD_DATA08__LCDIF_DATA08 0x79
269 MX6UL_PAD_LCD_DATA09__LCDIF_DATA09 0x79
270 MX6UL_PAD_LCD_DATA10__LCDIF_DATA10 0x79
271 MX6UL_PAD_LCD_DATA11__LCDIF_DATA11 0x79
272 MX6UL_PAD_LCD_DATA12__LCDIF_DATA12 0x79
273 MX6UL_PAD_LCD_DATA13__LCDIF_DATA13 0x79
274 MX6UL_PAD_LCD_DATA14__LCDIF_DATA14 0x79
275 MX6UL_PAD_LCD_DATA15__LCDIF_DATA15 0x79
276 MX6UL_PAD_LCD_DATA16__LCDIF_DATA16 0x79
277 MX6UL_PAD_LCD_DATA17__LCDIF_DATA17 0x79
278 MX6UL_PAD_LCD_DATA18__LCDIF_DATA18 0x79
279 MX6UL_PAD_LCD_DATA19__LCDIF_DATA19 0x79
280 MX6UL_PAD_LCD_DATA20__LCDIF_DATA20 0x79
281 MX6UL_PAD_LCD_DATA21__LCDIF_DATA21 0x79
282 MX6UL_PAD_LCD_DATA22__LCDIF_DATA22 0x79
283 MX6UL_PAD_LCD_DATA23__LCDIF_DATA23 0x79
287 pinctrl_lcdif_ctrl: lcdifctrlgrp {
289 MX6UL_PAD_LCD_CLK__LCDIF_CLK 0x79
290 MX6UL_PAD_LCD_ENABLE__LCDIF_ENABLE 0x79
291 MX6UL_PAD_LCD_HSYNC__LCDIF_HSYNC 0x79
292 MX6UL_PAD_LCD_VSYNC__LCDIF_VSYNC 0x79
296 pinctrl_pwm1: pwm1grp {
298 MX6UL_PAD_GPIO1_IO08__PWM1_OUT 0x110b0
302 pinctrl_qspi: qspigrp {
304 MX6UL_PAD_NAND_WP_B__QSPI_A_SCLK 0x70a1
305 MX6UL_PAD_NAND_READY_B__QSPI_A_DATA00 0x70a1
306 MX6UL_PAD_NAND_CE0_B__QSPI_A_DATA01 0x70a1
307 MX6UL_PAD_NAND_CE1_B__QSPI_A_DATA02 0x70a1
308 MX6UL_PAD_NAND_CLE__QSPI_A_DATA03 0x70a1
309 MX6UL_PAD_NAND_DQS__QSPI_A_SS0_B 0x70a1
313 pinctrl_uart1: uart1grp {
315 MX6UL_PAD_UART1_TX_DATA__UART1_DCE_TX 0x1b0b1
316 MX6UL_PAD_UART1_RX_DATA__UART1_DCE_RX 0x1b0b1
320 pinctrl_uart2: uart2grp {
322 MX6UL_PAD_UART2_TX_DATA__UART2_DCE_TX 0x1b0b1
323 MX6UL_PAD_UART2_RX_DATA__UART2_DCE_RX 0x1b0b1
324 MX6UL_PAD_UART3_RX_DATA__UART2_DCE_RTS 0x1b0b1
325 MX6UL_PAD_UART3_TX_DATA__UART2_DCE_CTS 0x1b0b1
329 pinctrl_uart2dte: uart2dtegrp {
331 MX6UL_PAD_UART2_TX_DATA__UART2_DTE_RX 0x1b0b1
332 MX6UL_PAD_UART2_RX_DATA__UART2_DTE_TX 0x1b0b1
333 MX6UL_PAD_UART3_RX_DATA__UART2_DTE_CTS 0x1b0b1
334 MX6UL_PAD_UART3_TX_DATA__UART2_DTE_RTS 0x1b0b1
338 pinctrl_usdhc1: usdhc1grp {
340 MX6UL_PAD_SD1_CMD__USDHC1_CMD 0x17059
341 MX6UL_PAD_SD1_CLK__USDHC1_CLK 0x10071
342 MX6UL_PAD_SD1_DATA0__USDHC1_DATA0 0x17059
343 MX6UL_PAD_SD1_DATA1__USDHC1_DATA1 0x17059
344 MX6UL_PAD_SD1_DATA2__USDHC1_DATA2 0x17059
345 MX6UL_PAD_SD1_DATA3__USDHC1_DATA3 0x17059
349 pinctrl_usdhc2: usdhc2grp {
351 MX6UL_PAD_NAND_RE_B__USDHC2_CLK 0x10069
352 MX6UL_PAD_NAND_WE_B__USDHC2_CMD 0x17059
353 MX6UL_PAD_NAND_DATA00__USDHC2_DATA0 0x17059
354 MX6UL_PAD_NAND_DATA01__USDHC2_DATA1 0x17059
355 MX6UL_PAD_NAND_DATA02__USDHC2_DATA2 0x17059
356 MX6UL_PAD_NAND_DATA03__USDHC2_DATA3 0x17059
360 pinctrl_wdog: wdoggrp {
362 MX6UL_PAD_LCD_RESET__WDOG1_WDOG_ANY 0x30b0
369 pinctrl-names = "default_snvs";
370 pinctrl-0 = <&pinctrl_hog_2>;
372 pinctrl_hog_2: hoggrp-2 {
374 MX6ULL_PAD_SNVS_TAMPER0__GPIO5_IO00 0x80000000
378 pinctrl_dvfs: dvfsgrp {
380 MX6ULL_PAD_SNVS_TAMPER3__GPIO5_IO03 0x79
384 pinctrl_lcdif_reset: lcdifresetgrp {
386 /* used for lcd reset */
387 MX6ULL_PAD_SNVS_TAMPER9__GPIO5_IO09 0x79
391 pinctrl_spi4: spi4grp {
393 MX6ULL_PAD_BOOT_MODE0__GPIO5_IO10 0x70a1
394 MX6ULL_PAD_BOOT_MODE1__GPIO5_IO11 0x70a1
395 MX6ULL_PAD_SNVS_TAMPER7__GPIO5_IO07 0x70a1
396 MX6ULL_PAD_SNVS_TAMPER8__GPIO5_IO08 0x80000000
400 pinctrl_sai2_hp_det_b: sai2_hp_det_grp {
402 MX6ULL_PAD_SNVS_TAMPER4__GPIO5_IO04 0x17059
410 pinctrl-names = "default";
411 pinctrl-0 = <&pinctrl_lcdif_dat
413 &pinctrl_lcdif_reset>;
414 display = <&display0>;
418 bits-per-pixel = <16>;
422 native-mode = <&timing0>;
424 clock-frequency = <9200000>;
437 pixelclk-active = <0>;
444 pinctrl-names = "default";
445 pinctrl-0 = <&pinctrl_pwm1>;
450 pinctrl-names = "default";
451 pinctrl-0 = <&pinctrl_qspi>;
456 #address-cells = <1>;
458 compatible = "micron,n25q256a";
459 spi-max-frequency = <29000000>;
460 spi-nor,ddr-quad-read-dummy = <6>;
466 pinctrl-names = "default";
467 pinctrl-0 = <&pinctrl_uart1>;
472 pinctrl-names = "default";
473 pinctrl-0 = <&pinctrl_uart2>;
475 /* for DTE mode, add below change */
477 /* pinctrl-0 = <&pinctrl_uart2dte>; */
491 disable-over-current;
504 pinctrl-names = "default";
505 pinctrl-0 = <&pinctrl_usdhc1>;
506 cd-gpios = <&gpio1 19 GPIO_ACTIVE_LOW>;
507 keep-power-in-suspend;
509 vmmc-supply = <®_sd1_vmmc>;
514 pinctrl-names = "default";
515 pinctrl-0 = <&pinctrl_usdhc2>;
518 keep-power-in-suspend;
524 pinctrl-names = "default";
525 pinctrl-0 = <&pinctrl_wdog>;