2 * Copyright 2015 Lothar Waßmann <LW@KARO-electronics.de>
4 * This file is dual-licensed: you can use it either under the terms
5 * of the GPL or the X11 license, at your option. Note that this dual
6 * licensing only applies to this file, and not this project as a
9 * a) This file is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * version 2 as published by the Free Software Foundation.
13 * This file is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
20 * b) Permission is hereby granted, free of charge, to any person
21 * obtaining a copy of this software and associated documentation
22 * files (the "Software"), to deal in the Software without
23 * restriction, including without limitation the rights to use,
24 * copy, modify, merge, publish, distribute, sublicense, and/or
25 * sell copies of the Software, and to permit persons to whom the
26 * Software is furnished to do so, subject to the following
29 * The above copyright notice and this permission notice shall be
30 * included in all copies or substantial portions of the Software.
32 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
33 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
34 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
35 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
36 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
37 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
38 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
39 * OTHER DEALINGS IN THE SOFTWARE.
43 #include "imx6ul.dtsi"
44 #include "imx6ul-tx6ul.dtsi"
47 model = "Ka-Ro electronics TXUL-0010 Module on TXUL Mainboard";
48 compatible = "karo,imx6ul-tx6ul", "fsl,imx6ul";
51 lcdif-24bit-pins-a = &pinctrl_disp0_3;
53 /delete-property/ mmc1;
61 xceiver-supply = <®_3v3>;
65 xceiver-supply = <®_3v3>;
73 pinctrl-0 = <&pinctrl_enet1 &pinctrl_etnphy0_rst>;
78 pinctrl-names = "default";
79 pinctrl-0 = <&pinctrl_enet2 &pinctrl_enet2_mdio &pinctrl_etnphy1_rst>;
81 phy-reset-gpios = <&gpio4 28 GPIO_ACTIVE_LOW>;
82 phy-supply = <®_3v3_etn>;
83 phy-handle = <&etnphy1>;
90 etnphy0: ethernet-phy@0 {
91 compatible = "ethernet-phy-ieee802.3-c22";
93 pinctrl-names = "default";
94 pinctrl-0 = <&pinctrl_etnphy0_int>;
95 interrupt-parent = <&gpio5>;
96 interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
97 interrupts-extended = <&gpio5 5 IRQ_TYPE_EDGE_FALLING>;
101 etnphy1: ethernet-phy@2 {
102 compatible = "ethernet-phy-ieee802.3-c22";
104 pinctrl-names = "default";
105 pinctrl-0 = <&pinctrl_etnphy1_int>;
106 interrupt-parent = <&gpio4>;
107 interrupts = <27 IRQ_TYPE_EDGE_FALLING>;
108 interrupts-extended = <&gpio4 27 IRQ_TYPE_EDGE_FALLING>;
119 /delete-node/ codec@a;
120 /delete-node/ touchscreen@48;
123 compatible = "microchip,mcp7940x";
133 pinctrl-0 = <&pinctrl_disp0_3>;
141 pinctrl-0 = <&pinctrl_usdhc1>;
143 /delete-property/ cd-gpios;
148 pinctrl-0 = <&pinctrl_uart1>;
149 /delete-property/ uart-has-rtscts;
153 pinctrl-0 = <&pinctrl_uart2>;
154 /delete-property/ uart-has-rtscts;
159 pinctrl-names = "default";
160 pinctrl-0 = <&pinctrl_uart3>;
165 pinctrl-names = "default";
166 pinctrl-0 = <&pinctrl_uart4>;
171 pinctrl-names = "default";
172 pinctrl-0 = <&pinctrl_uart5>;
177 pinctrl-names = "default";
178 pinctrl-0 = <&pinctrl_uart6>;
183 pinctrl-names = "default";
184 pinctrl-0 = <&pinctrl_uart7>;
189 pinctrl-names = "default";
190 pinctrl-0 = <&pinctrl_uart8>;
191 status = "disabled"; /* conflicts with LCDIF */
197 MX6UL_PAD_CSI_DATA01__GPIO4_IO22 0x0b0b0 /* WLAN_RESET */
201 pinctrl_disp0_3: disp0grp-3 {
203 MX6UL_PAD_LCD_CLK__LCDIF_CLK 0x10 /* LSCLK */
204 MX6UL_PAD_LCD_ENABLE__LCDIF_ENABLE 0x10 /* OE_ACD */
205 MX6UL_PAD_LCD_HSYNC__LCDIF_HSYNC 0x10 /* HSYNC */
206 MX6UL_PAD_LCD_VSYNC__LCDIF_VSYNC 0x10 /* VSYNC */
207 MX6UL_PAD_LCD_DATA02__LCDIF_DATA02 0x10
208 MX6UL_PAD_LCD_DATA03__LCDIF_DATA03 0x10
209 MX6UL_PAD_LCD_DATA04__LCDIF_DATA04 0x10
210 MX6UL_PAD_LCD_DATA05__LCDIF_DATA05 0x10
211 MX6UL_PAD_LCD_DATA06__LCDIF_DATA06 0x10
212 MX6UL_PAD_LCD_DATA07__LCDIF_DATA07 0x10
213 /* LCD_DATA08..09 not wired */
214 MX6UL_PAD_LCD_DATA10__LCDIF_DATA10 0x10
215 MX6UL_PAD_LCD_DATA11__LCDIF_DATA11 0x10
216 MX6UL_PAD_LCD_DATA12__LCDIF_DATA12 0x10
217 MX6UL_PAD_LCD_DATA13__LCDIF_DATA13 0x10
218 MX6UL_PAD_LCD_DATA14__LCDIF_DATA14 0x10
219 MX6UL_PAD_LCD_DATA15__LCDIF_DATA15 0x10
220 /* LCD_DATA16..17 not wired */
221 MX6UL_PAD_LCD_DATA18__LCDIF_DATA18 0x10
222 MX6UL_PAD_LCD_DATA19__LCDIF_DATA19 0x10
223 MX6UL_PAD_LCD_DATA20__LCDIF_DATA20 0x10
224 MX6UL_PAD_LCD_DATA21__LCDIF_DATA21 0x10
225 MX6UL_PAD_LCD_DATA22__LCDIF_DATA22 0x10
226 MX6UL_PAD_LCD_DATA23__LCDIF_DATA23 0x10
230 pinctrl_enet2_mdio: enet2-mdiogrp {
232 MX6UL_PAD_GPIO1_IO07__ENET2_MDC 0x0b0b0
233 MX6UL_PAD_GPIO1_IO06__ENET2_MDIO 0x1b0b0
237 pinctrl_uart3: uart3grp {
239 MX6UL_PAD_UART3_TX_DATA__UART3_DCE_TX 0x0b0b0
240 MX6UL_PAD_UART3_RX_DATA__UART3_DCE_RX 0x0b0b0
244 pinctrl_uart4: uart4grp {
246 MX6UL_PAD_UART4_TX_DATA__UART4_DCE_TX 0x0b0b0
247 MX6UL_PAD_UART4_RX_DATA__UART4_DCE_RX 0x0b0b0
251 pinctrl_uart6: uart6grp {
253 MX6UL_PAD_CSI_MCLK__UART6_DCE_TX 0x0b0b0
254 MX6UL_PAD_CSI_PIXCLK__UART6_DCE_RX 0x0b0b0
258 pinctrl_uart7: uart7grp {
260 MX6UL_PAD_LCD_DATA16__UART7_DCE_TX 0x0b0b0
261 MX6UL_PAD_LCD_DATA17__UART7_DCE_RX 0x0b0b0
265 pinctrl_uart8: uart8grp {
267 MX6UL_PAD_LCD_DATA20__UART8_DCE_TX 0x0b0b0
268 MX6UL_PAD_LCD_DATA21__UART8_DCE_RX 0x0b0b0