2 * Copyright 2015 Technexion Ltd.
4 * Author: Wig Cheng <wig.cheng@technexion.com>
5 * Richard Hu <richard.hu@technexion.com>
6 * Tapani Utriainen <tapani@technexion.com>
8 * This file is dual-licensed: you can use it either under the terms
9 * of the GPL or the X11 license, at your option. Note that this dual
10 * licensing only applies to this file, and not this project as a
13 * a) This file is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU General Public License
15 * version 2 as published by the Free Software Foundation.
17 * This file is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
24 * b) Permission is hereby granted, free of charge, to any person
25 * obtaining a copy of this software and associated documentation
26 * files (the "Software"), to deal in the Software without
27 * restriction, including without limitation the rights to use,
28 * copy, modify, merge, publish, distribute, sublicense, and/or
29 * sell copies of the Software, and to permit persons to whom the
30 * Software is furnished to do so, subject to the following
33 * The above copyright notice and this permission notice shall be
34 * included in all copies or substantial portions of the Software.
36 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
37 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
38 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
39 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
40 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
41 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
42 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
43 * OTHER DEALINGS IN THE SOFTWARE.
48 #include "imx6ul.dtsi"
51 model = "Technexion Pico i.MX6UL Board";
52 compatible = "technexion,imx6ul-pico-hobbit", "fsl,imx6ul";
55 reg = <0x80000000 0x10000000>;
63 compatible = "pwm-backlight";
64 pwms = <&pwm3 0 5000000>;
65 brightness-levels = <0 4 8 16 32 64 128 255>;
66 default-brightness-level = <6>;
70 reg_2p5v: regulator-2p5v {
71 compatible = "regulator-fixed";
72 regulator-name = "2P5V";
73 regulator-min-microvolt = <2500000>;
74 regulator-max-microvolt = <2500000>;
77 reg_3p3v: regulator-3p3v {
78 compatible = "regulator-fixed";
79 regulator-name = "3P3V";
80 regulator-min-microvolt = <3300000>;
81 regulator-max-microvolt = <3300000>;
84 reg_sd1_vmmc: regulator-sd1-vmmc {
85 compatible = "regulator-fixed";
86 regulator-name = "VSD_3V3";
87 regulator-min-microvolt = <3300000>;
88 regulator-max-microvolt = <3300000>;
89 gpio = <&gpio1 9 GPIO_ACTIVE_HIGH>;
93 reg_usb_otg_vbus: regulator-usb-otg-vbus {
94 compatible = "regulator-fixed";
95 pinctrl-names = "default";
96 pinctrl-0 = <&pinctrl_usb_otg1>;
97 regulator-name = "usb_otg_vbus";
98 regulator-min-microvolt = <5000000>;
99 regulator-max-microvolt = <5000000>;
103 reg_brcm: regulator-brcm {
104 compatible = "regulator-fixed";
106 gpio = <&gpio4 8 GPIO_ACTIVE_HIGH>;
107 pinctrl-names = "default";
108 pinctrl-0 = <&pinctrl_brcm_reg>;
109 regulator-name = "brcm_reg";
110 regulator-min-microvolt = <3300000>;
111 regulator-max-microvolt = <3300000>;
112 startup-delay-us = <200000>;
116 compatible = "fsl,imx-audio-sgtl5000";
117 model = "imx6ul-sgtl5000";
119 audio-codec = <&codec>;
121 "LINE_IN", "Line In Jack",
122 "MIC_IN", "Mic Jack",
123 "Mic Jack", "Mic Bias",
124 "Headphone Jack", "HP_OUT";
127 sys_mclk: clock-sys-mclk {
128 compatible = "fixed-clock";
130 clock-frequency = <24576000>;
134 compatible = "gpio-leds";
138 gpios = <&gpio1 29 GPIO_ACTIVE_LOW>;
144 pinctrl-names = "default";
145 pinctrl-0 = <&pinctrl_flexcan1>;
150 pinctrl-names = "default";
151 pinctrl-0 = <&pinctrl_flexcan2>;
156 assigned-clocks = <&clks IMX6UL_CLK_PLL4_AUDIO_DIV>;
157 assigned-clock-rates = <786432000>;
161 pinctrl-names = "default";
162 pinctrl-0 = <&pinctrl_enet2>;
164 phy-handle = <ðphy1>;
166 phy-reset-gpios = <&gpio1 28 GPIO_ACTIVE_LOW>;
167 phy-reset-duration = <1>;
170 #address-cells = <1>;
173 ethphy1: ethernet-phy@1 {
174 compatible = "ethernet-phy-ieee802.3-c22";
177 interrupt-parent = <&gpio5>;
178 interrupts = <6 IRQ_TYPE_LEVEL_LOW 0>;
184 clock-frequency = <100000>;
185 pinctrl-names = "default";
186 pinctrl-0 = <&pinctrl_i2c1>;
190 compatible = "fsl,pfuze3000";
196 regulator-min-microvolt = <700000>;
197 regulator-max-microvolt = <1475000>;
200 regulator-ramp-delay = <6250>;
205 regulator-min-microvolt = <900000>;
206 regulator-max-microvolt = <1650000>;
221 clock_frequency = <100000>;
222 pinctrl-names = "default";
223 pinctrl-0 = <&pinctrl_i2c2>;
228 compatible = "fsl,sgtl5000";
229 clocks = <&sys_mclk>;
230 VDDA-supply = <®_2p5v>;
231 VDDIO-supply = <®_3p3v>;
236 clock_frequency = <100000>;
237 pinctrl-names = "default";
238 pinctrl-0 = <&pinctrl_i2c3>;
243 pinctrl-names = "default";
244 pinctrl-0 = <&pinctrl_lcdif_dat &pinctrl_lcdif_ctrl>;
245 display = <&display0>;
249 bits-per-pixel = <32>;
253 native-mode = <&timing0>;
256 clock-frequency = <33200000>;
259 hfront-porch = <210>;
268 pixelclk-active = <0>;
275 pinctrl-names = "default";
276 pinctrl-0 = <&pinctrl_pwm3>;
281 pinctrl-names = "default";
282 pinctrl-0 = <&pinctrl_pwm7>;
287 pinctrl-names = "default";
288 pinctrl-0 = <&pinctrl_pwm8>;
293 pinctrl-names = "default";
294 pinctrl-0 = <&pinctrl_sai1>;
299 pinctrl-names = "default";
300 pinctrl-0 = <&pinctrl_uart3>;
306 pinctrl-names = "default";
307 pinctrl-0 = <&pinctrl_uart6>;
312 vbus-supply = <®_usb_otg_vbus>;
313 pinctrl-names = "default";
314 pinctrl-0 = <&pinctrl_usb_otg1_id>;
316 disable-over-current;
322 disable-over-current;
327 pinctrl-names = "default";
328 pinctrl-0 = <&pinctrl_usdhc1>;
332 keep-power-in-suspend;
336 &usdhc2 { /* Wifi SDIO */
337 pinctrl-names = "default";
338 pinctrl-0 = <&pinctrl_usdhc2>;
341 keep-power-in-suspend;
343 vmmc-supply = <®_brcm>;
348 pinctrl-names = "default";
349 pinctrl-0 = <&pinctrl_wdog>;
350 fsl,ext-reset-output;
354 pinctrl_brcm_reg: brcmreggrp {
356 MX6UL_PAD_NAND_DATA06__GPIO4_IO08 0x10b0 /* WL_REG_ON */
357 MX6UL_PAD_NAND_DATA04__GPIO4_IO06 0x10b0 /* WL_HOST_WAKE */
361 pinctrl_enet2: enet2grp {
363 MX6UL_PAD_ENET1_TX_DATA1__ENET2_MDIO 0x1b0b0
364 MX6UL_PAD_ENET1_TX_EN__ENET2_MDC 0x1b0b0
365 MX6UL_PAD_ENET2_RX_EN__ENET2_RX_EN 0x1b0b0
366 MX6UL_PAD_ENET2_RX_ER__ENET2_RX_ER 0x1b0b0
367 MX6UL_PAD_ENET2_RX_DATA0__ENET2_RDATA00 0x1b0b0
368 MX6UL_PAD_ENET2_RX_DATA1__ENET2_RDATA01 0x1b0b0
369 MX6UL_PAD_ENET2_TX_EN__ENET2_TX_EN 0x1b0b0
370 MX6UL_PAD_ENET2_TX_DATA0__ENET2_TDATA00 0x1b0b0
371 MX6UL_PAD_ENET2_TX_DATA1__ENET2_TDATA01 0x1b0b0
372 MX6UL_PAD_ENET2_TX_CLK__ENET2_REF_CLK2 0x4001b031
373 MX6UL_PAD_SNVS_TAMPER6__GPIO5_IO06 0x800
374 MX6UL_PAD_UART4_TX_DATA__GPIO1_IO28 0x79
378 pinctrl_flexcan1: flexcan1grp {
380 MX6UL_PAD_ENET1_RX_DATA0__FLEXCAN1_TX 0x1b020
381 MX6UL_PAD_ENET1_RX_DATA1__FLEXCAN1_RX 0x1b020
385 pinctrl_flexcan2: flexcan2grp {
387 MX6UL_PAD_ENET1_TX_DATA0__FLEXCAN2_RX 0x1b020
388 MX6UL_PAD_ENET1_RX_EN__FLEXCAN2_TX 0x1b020
392 pinctrl_i2c1: i2c1grp {
394 MX6UL_PAD_GPIO1_IO02__I2C1_SCL 0x4001b8b0
395 MX6UL_PAD_GPIO1_IO03__I2C1_SDA 0x4001b8b0
399 pinctrl_i2c2: i2c2grp {
401 MX6UL_PAD_UART5_TX_DATA__I2C2_SCL 0x4001b8b0
402 MX6UL_PAD_UART5_RX_DATA__I2C2_SDA 0x4001b8b0
406 pinctrl_i2c3: i2c3grp {
408 MX6UL_PAD_UART1_TX_DATA__I2C3_SCL 0x4001b8b0
409 MX6UL_PAD_UART1_RX_DATA__I2C3_SDA 0x4001b8b0
413 pinctrl_lcdif_dat: lcdifdatgrp {
415 MX6UL_PAD_LCD_DATA00__LCDIF_DATA00 0x79
416 MX6UL_PAD_LCD_DATA01__LCDIF_DATA01 0x79
417 MX6UL_PAD_LCD_DATA02__LCDIF_DATA02 0x79
418 MX6UL_PAD_LCD_DATA03__LCDIF_DATA03 0x79
419 MX6UL_PAD_LCD_DATA04__LCDIF_DATA04 0x79
420 MX6UL_PAD_LCD_DATA05__LCDIF_DATA05 0x79
421 MX6UL_PAD_LCD_DATA06__LCDIF_DATA06 0x79
422 MX6UL_PAD_LCD_DATA07__LCDIF_DATA07 0x79
423 MX6UL_PAD_LCD_DATA08__LCDIF_DATA08 0x79
424 MX6UL_PAD_LCD_DATA09__LCDIF_DATA09 0x79
425 MX6UL_PAD_LCD_DATA10__LCDIF_DATA10 0x79
426 MX6UL_PAD_LCD_DATA11__LCDIF_DATA11 0x79
427 MX6UL_PAD_LCD_DATA12__LCDIF_DATA12 0x79
428 MX6UL_PAD_LCD_DATA13__LCDIF_DATA13 0x79
429 MX6UL_PAD_LCD_DATA14__LCDIF_DATA14 0x79
430 MX6UL_PAD_LCD_DATA15__LCDIF_DATA15 0x79
431 MX6UL_PAD_LCD_DATA16__LCDIF_DATA16 0x79
432 MX6UL_PAD_LCD_DATA17__LCDIF_DATA17 0x79
433 MX6UL_PAD_LCD_DATA18__LCDIF_DATA18 0x79
434 MX6UL_PAD_LCD_DATA19__LCDIF_DATA19 0x79
435 MX6UL_PAD_LCD_DATA20__LCDIF_DATA20 0x79
436 MX6UL_PAD_LCD_DATA21__LCDIF_DATA21 0x79
437 MX6UL_PAD_LCD_DATA22__LCDIF_DATA22 0x79
438 MX6UL_PAD_LCD_DATA23__LCDIF_DATA23 0x79
442 pinctrl_lcdif_ctrl: lcdifctrlgrp {
444 MX6UL_PAD_LCD_CLK__LCDIF_CLK 0x79
445 MX6UL_PAD_LCD_ENABLE__LCDIF_ENABLE 0x79
446 MX6UL_PAD_LCD_HSYNC__LCDIF_HSYNC 0x79
447 MX6UL_PAD_LCD_VSYNC__LCDIF_VSYNC 0x79
449 MX6UL_PAD_SNVS_TAMPER9__GPIO5_IO09 0x79
453 pinctrl_pwm3: pwm3grp {
455 MX6UL_PAD_NAND_ALE__PWM3_OUT 0x110b0
459 pinctrl_pwm7: pwm7grp {
461 MX6UL_PAD_ENET1_TX_CLK__PWM7_OUT 0x110b0
465 pinctrl_pwm8: pwm8grp {
467 MX6UL_PAD_ENET1_RX_ER__PWM8_OUT 0x110b0
471 pinctrl_sai1: sai1grp {
473 MX6UL_PAD_CSI_DATA04__SAI1_TX_SYNC 0x1b0b0
474 MX6UL_PAD_CSI_DATA05__SAI1_TX_BCLK 0x1b0b0
475 MX6UL_PAD_CSI_DATA06__SAI1_RX_DATA 0x110b0
476 MX6UL_PAD_CSI_DATA07__SAI1_TX_DATA 0x1f0b8
480 pinctrl_uart3: uart3grp {
482 MX6UL_PAD_UART3_TX_DATA__UART3_DCE_TX 0x1b0b0
483 MX6UL_PAD_UART3_RX_DATA__UART3_DCE_RX 0x1b0b0
484 MX6UL_PAD_UART3_RTS_B__UART3_DCE_RTS 0x1b0b0
485 MX6UL_PAD_UART3_CTS_B__UART3_DCE_CTS 0x1b0b0
489 pinctrl_uart5: uart5grp {
491 MX6UL_PAD_GPIO1_IO04__UART5_DCE_TX 0x1b0b1
492 MX6UL_PAD_GPIO1_IO05__UART5_DCE_RX 0x1b0b1
493 MX6UL_PAD_GPIO1_IO08__UART5_DCE_RTS 0x1b0b1
494 MX6UL_PAD_GPIO1_IO09__UART5_DCE_CTS 0x1b0b1
498 pinctrl_uart6: uart6grp {
500 MX6UL_PAD_CSI_MCLK__UART6_DCE_TX 0x1b0b1
501 MX6UL_PAD_CSI_PIXCLK__UART6_DCE_RX 0x1b0b1
505 pinctrl_usb_otg1: usbotg1grp {
507 MX6UL_PAD_GPIO1_IO06__GPIO1_IO06 0x10b0
511 pinctrl_usb_otg1_id: usbotg1idgrp {
513 MX6UL_PAD_GPIO1_IO00__ANATOP_OTG1_ID 0x17059
517 pinctrl_usdhc1: usdhc1grp {
519 MX6UL_PAD_SD1_CMD__USDHC1_CMD 0x17059
520 MX6UL_PAD_SD1_CLK__USDHC1_CLK 0x10071
521 MX6UL_PAD_SD1_DATA0__USDHC1_DATA0 0x17059
522 MX6UL_PAD_SD1_DATA1__USDHC1_DATA1 0x17059
523 MX6UL_PAD_SD1_DATA2__USDHC1_DATA2 0x17059
524 MX6UL_PAD_SD1_DATA3__USDHC1_DATA3 0x17059
525 MX6UL_PAD_UART1_RTS_B__USDHC1_CD_B 0x03029
526 MX6UL_PAD_NAND_READY_B__USDHC1_DATA4 0x17059
527 MX6UL_PAD_NAND_CE0_B__USDHC1_DATA5 0x17059
528 MX6UL_PAD_NAND_CE1_B__USDHC1_DATA6 0x17059
529 MX6UL_PAD_NAND_CLE__USDHC1_DATA7 0x17059
533 pinctrl_usdhc2: usdhc2grp {
535 MX6UL_PAD_NAND_WE_B__USDHC2_CMD 0x17059
536 MX6UL_PAD_NAND_RE_B__USDHC2_CLK 0x10059
537 MX6UL_PAD_NAND_DATA00__USDHC2_DATA0 0x17059
538 MX6UL_PAD_NAND_DATA01__USDHC2_DATA1 0x17059
539 MX6UL_PAD_NAND_DATA02__USDHC2_DATA2 0x17059
540 MX6UL_PAD_NAND_DATA03__USDHC2_DATA3 0x17059
544 pinctrl_wdog: wdoggrp {
546 MX6UL_PAD_LCD_RESET__WDOG1_WDOG_ANY 0x30b0