1 /* 1 /* 2 * Copyright 2015 Lothar Waßmann <LW@KARO-elec 2 * Copyright 2015 Lothar Waßmann <LW@KARO-electronics.de> 3 * 3 * 4 * This file is dual-licensed: you can use it 4 * This file is dual-licensed: you can use it either under the terms 5 * of the GPL or the X11 license, at your opti 5 * of the GPL or the X11 license, at your option. Note that this dual 6 * licensing only applies to this file, and no 6 * licensing only applies to this file, and not this project as a 7 * whole. 7 * whole. 8 * 8 * 9 * a) This file is free software; you can red 9 * a) This file is free software; you can redistribute it and/or 10 * modify it under the terms of the GNU Ge 10 * modify it under the terms of the GNU General Public License 11 * version 2 as published by the Free Soft 11 * version 2 as published by the Free Software Foundation. 12 * 12 * 13 * This file is distributed in the hope th 13 * This file is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTIC 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 * GNU General Public License for more det 16 * GNU General Public License for more details. 17 * 17 * 18 * Or, alternatively, 18 * Or, alternatively, 19 * 19 * 20 * b) Permission is hereby granted, free of c 20 * b) Permission is hereby granted, free of charge, to any person 21 * obtaining a copy of this software and a 21 * obtaining a copy of this software and associated documentation 22 * files (the "Software"), to deal in the 22 * files (the "Software"), to deal in the Software without 23 * restriction, including without limitati 23 * restriction, including without limitation the rights to use, 24 * copy, modify, merge, publish, distribut 24 * copy, modify, merge, publish, distribute, sublicense, and/or 25 * sell copies of the Software, and to per 25 * sell copies of the Software, and to permit persons to whom the 26 * Software is furnished to do so, subject 26 * Software is furnished to do so, subject to the following 27 * conditions: 27 * conditions: 28 * 28 * 29 * The above copyright notice and this per 29 * The above copyright notice and this permission notice shall be 30 * included in all copies or substantial p 30 * included in all copies or substantial portions of the Software. 31 * 31 * 32 * THE SOFTWARE IS PROVIDED "AS IS", WITHO 32 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 33 * EXPRESS OR IMPLIED, INCLUDING BUT NOT L 33 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 34 * OF MERCHANTABILITY, FITNESS FOR A PARTI 34 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 35 * NONINFRINGEMENT. IN NO EVENT SHALL THE 35 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 36 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGE 36 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 37 * WHETHER IN AN ACTION OF CONTRACT, TORT 37 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 38 * FROM, OUT OF OR IN CONNECTION WITH THE 38 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 39 * OTHER DEALINGS IN THE SOFTWARE. 39 * OTHER DEALINGS IN THE SOFTWARE. 40 */ 40 */ 41 41 42 /dts-v1/; 42 /dts-v1/; 43 #include "imx6ul.dtsi" 43 #include "imx6ul.dtsi" 44 #include "imx6ul-tx6ul.dtsi" 44 #include "imx6ul-tx6ul.dtsi" 45 45 46 / { 46 / { 47 model = "Ka-Ro electronics TXUL-0010 M 47 model = "Ka-Ro electronics TXUL-0010 Module on TXUL Mainboard"; 48 compatible = "karo,imx6ul-tx6ul", "fsl 48 compatible = "karo,imx6ul-tx6ul", "fsl,imx6ul"; 49 49 50 aliases { 50 aliases { 51 lcdif-24bit-pins-a = &pinctrl_ 51 lcdif-24bit-pins-a = &pinctrl_disp0_3; 52 mmc0 = &usdhc1; 52 mmc0 = &usdhc1; 53 /delete-property/ mmc1; 53 /delete-property/ mmc1; 54 serial2 = &uart3; 54 serial2 = &uart3; 55 serial4 = &uart5; 55 serial4 = &uart5; 56 }; 56 }; 57 /delete-node/ sound; 57 /delete-node/ sound; 58 }; 58 }; 59 59 60 &can1 { 60 &can1 { 61 xceiver-supply = <®_3v3>; 61 xceiver-supply = <®_3v3>; 62 }; 62 }; 63 63 64 &can2 { 64 &can2 { 65 xceiver-supply = <®_3v3>; 65 xceiver-supply = <®_3v3>; 66 }; 66 }; 67 67 68 &ds1339 { 68 &ds1339 { 69 status = "disabled"; 69 status = "disabled"; 70 }; 70 }; 71 71 72 &fec1 { 72 &fec1 { 73 pinctrl-0 = <&pinctrl_enet1 &pinctrl_e 73 pinctrl-0 = <&pinctrl_enet1 &pinctrl_etnphy0_rst>; 74 /delete-node/ mdio; 74 /delete-node/ mdio; 75 }; 75 }; 76 76 77 &fec2 { 77 &fec2 { 78 pinctrl-names = "default"; 78 pinctrl-names = "default"; 79 pinctrl-0 = <&pinctrl_enet2 &pinctrl_e 79 pinctrl-0 = <&pinctrl_enet2 &pinctrl_enet2_mdio &pinctrl_etnphy1_rst>; 80 phy-mode = "rmii"; 80 phy-mode = "rmii"; 81 phy-reset-gpios = <&gpio4 28 GPIO_ACTI 81 phy-reset-gpios = <&gpio4 28 GPIO_ACTIVE_LOW>; 82 phy-supply = <®_3v3_etn>; 82 phy-supply = <®_3v3_etn>; 83 phy-handle = <&etnphy1>; 83 phy-handle = <&etnphy1>; 84 status = "okay"; 84 status = "okay"; 85 85 86 mdio { 86 mdio { 87 #address-cells = <1>; 87 #address-cells = <1>; 88 #size-cells = <0>; 88 #size-cells = <0>; 89 89 90 etnphy0: ethernet-phy@0 { 90 etnphy0: ethernet-phy@0 { 91 compatible = "ethernet 91 compatible = "ethernet-phy-ieee802.3-c22"; 92 reg = <0>; 92 reg = <0>; 93 pinctrl-names = "defau 93 pinctrl-names = "default"; 94 pinctrl-0 = <&pinctrl_ 94 pinctrl-0 = <&pinctrl_etnphy0_int>; 95 interrupt-parent = <&g 95 interrupt-parent = <&gpio5>; 96 interrupts = <5 IRQ_TY 96 interrupts = <5 IRQ_TYPE_EDGE_FALLING>; 97 interrupts-extended = 97 interrupts-extended = <&gpio5 5 IRQ_TYPE_EDGE_FALLING>; 98 status = "okay"; 98 status = "okay"; 99 }; 99 }; 100 100 101 etnphy1: ethernet-phy@2 { 101 etnphy1: ethernet-phy@2 { 102 compatible = "ethernet 102 compatible = "ethernet-phy-ieee802.3-c22"; 103 reg = <2>; 103 reg = <2>; 104 pinctrl-names = "defau 104 pinctrl-names = "default"; 105 pinctrl-0 = <&pinctrl_ 105 pinctrl-0 = <&pinctrl_etnphy1_int>; 106 interrupt-parent = <&g 106 interrupt-parent = <&gpio4>; 107 interrupts = <27 IRQ_T 107 interrupts = <27 IRQ_TYPE_EDGE_FALLING>; 108 interrupts-extended = 108 interrupts-extended = <&gpio4 27 IRQ_TYPE_EDGE_FALLING>; 109 status = "okay"; 109 status = "okay"; 110 }; 110 }; 111 }; 111 }; 112 }; 112 }; 113 113 114 &i2c_gpio { 114 &i2c_gpio { 115 status = "disabled"; 115 status = "disabled"; 116 }; 116 }; 117 117 118 &i2c2 { 118 &i2c2 { 119 /delete-node/ codec@a; 119 /delete-node/ codec@a; 120 /delete-node/ touchscreen@48; 120 /delete-node/ touchscreen@48; 121 121 122 rtc: rtc@6f { 122 rtc: rtc@6f { 123 compatible = "microchip,mcp794 123 compatible = "microchip,mcp7940x"; 124 reg = <0x6f>; 124 reg = <0x6f>; 125 }; 125 }; 126 }; 126 }; 127 127 128 &kpp { 128 &kpp { 129 status = "disabled"; 129 status = "disabled"; 130 }; 130 }; 131 131 132 &lcdif { 132 &lcdif { 133 pinctrl-0 = <&pinctrl_disp0_3>; 133 pinctrl-0 = <&pinctrl_disp0_3>; 134 }; 134 }; 135 135 136 ®_usbotg_vbus { 136 ®_usbotg_vbus { 137 status = "disabled"; 137 status = "disabled"; 138 }; 138 }; 139 139 140 &usdhc1 { 140 &usdhc1 { 141 pinctrl-0 = <&pinctrl_usdhc1>; 141 pinctrl-0 = <&pinctrl_usdhc1>; 142 non-removable; 142 non-removable; 143 /delete-property/ cd-gpios; 143 /delete-property/ cd-gpios; 144 cap-sdio-irq; 144 cap-sdio-irq; 145 }; 145 }; 146 146 147 &uart1 { 147 &uart1 { 148 pinctrl-0 = <&pinctrl_uart1>; 148 pinctrl-0 = <&pinctrl_uart1>; 149 /delete-property/ uart-has-rtscts; 149 /delete-property/ uart-has-rtscts; 150 }; 150 }; 151 151 152 &uart2 { 152 &uart2 { 153 pinctrl-0 = <&pinctrl_uart2>; 153 pinctrl-0 = <&pinctrl_uart2>; 154 /delete-property/ uart-has-rtscts; 154 /delete-property/ uart-has-rtscts; 155 status = "okay"; 155 status = "okay"; 156 }; 156 }; 157 157 158 &uart3 { 158 &uart3 { 159 pinctrl-names = "default"; 159 pinctrl-names = "default"; 160 pinctrl-0 = <&pinctrl_uart3>; 160 pinctrl-0 = <&pinctrl_uart3>; 161 status = "okay"; 161 status = "okay"; 162 }; 162 }; 163 163 164 &uart4 { 164 &uart4 { 165 pinctrl-names = "default"; 165 pinctrl-names = "default"; 166 pinctrl-0 = <&pinctrl_uart4>; 166 pinctrl-0 = <&pinctrl_uart4>; 167 status = "okay"; 167 status = "okay"; 168 }; 168 }; 169 169 170 &uart5 { 170 &uart5 { 171 pinctrl-names = "default"; 171 pinctrl-names = "default"; 172 pinctrl-0 = <&pinctrl_uart5>; 172 pinctrl-0 = <&pinctrl_uart5>; 173 status = "okay"; 173 status = "okay"; 174 }; 174 }; 175 175 176 &uart6 { 176 &uart6 { 177 pinctrl-names = "default"; 177 pinctrl-names = "default"; 178 pinctrl-0 = <&pinctrl_uart6>; 178 pinctrl-0 = <&pinctrl_uart6>; 179 status = "okay"; 179 status = "okay"; 180 }; 180 }; 181 181 182 &uart7 { 182 &uart7 { 183 pinctrl-names = "default"; 183 pinctrl-names = "default"; 184 pinctrl-0 = <&pinctrl_uart7>; 184 pinctrl-0 = <&pinctrl_uart7>; 185 status = "okay"; 185 status = "okay"; 186 }; 186 }; 187 187 188 &uart8 { 188 &uart8 { 189 pinctrl-names = "default"; 189 pinctrl-names = "default"; 190 pinctrl-0 = <&pinctrl_uart8>; 190 pinctrl-0 = <&pinctrl_uart8>; 191 status = "disabled"; /* conflicts with 191 status = "disabled"; /* conflicts with LCDIF */ 192 }; 192 }; 193 193 194 &iomuxc { 194 &iomuxc { 195 hoggrp { 195 hoggrp { 196 fsl,pins = < 196 fsl,pins = < 197 MX6UL_PAD_CSI_DATA01__ 197 MX6UL_PAD_CSI_DATA01__GPIO4_IO22 0x0b0b0 /* WLAN_RESET */ 198 >; 198 >; 199 }; 199 }; 200 200 201 pinctrl_disp0_3: disp0-3-grp { 201 pinctrl_disp0_3: disp0-3-grp { 202 fsl,pins = < 202 fsl,pins = < 203 MX6UL_PAD_LCD_CLK__LCD 203 MX6UL_PAD_LCD_CLK__LCDIF_CLK 0x10 /* LSCLK */ 204 MX6UL_PAD_LCD_ENABLE__ 204 MX6UL_PAD_LCD_ENABLE__LCDIF_ENABLE 0x10 /* OE_ACD */ 205 MX6UL_PAD_LCD_HSYNC__L 205 MX6UL_PAD_LCD_HSYNC__LCDIF_HSYNC 0x10 /* HSYNC */ 206 MX6UL_PAD_LCD_VSYNC__L 206 MX6UL_PAD_LCD_VSYNC__LCDIF_VSYNC 0x10 /* VSYNC */ 207 MX6UL_PAD_LCD_DATA02__ 207 MX6UL_PAD_LCD_DATA02__LCDIF_DATA02 0x10 208 MX6UL_PAD_LCD_DATA03__ 208 MX6UL_PAD_LCD_DATA03__LCDIF_DATA03 0x10 209 MX6UL_PAD_LCD_DATA04__ 209 MX6UL_PAD_LCD_DATA04__LCDIF_DATA04 0x10 210 MX6UL_PAD_LCD_DATA05__ 210 MX6UL_PAD_LCD_DATA05__LCDIF_DATA05 0x10 211 MX6UL_PAD_LCD_DATA06__ 211 MX6UL_PAD_LCD_DATA06__LCDIF_DATA06 0x10 212 MX6UL_PAD_LCD_DATA07__ 212 MX6UL_PAD_LCD_DATA07__LCDIF_DATA07 0x10 213 /* LCD_DATA08..09 not 213 /* LCD_DATA08..09 not wired */ 214 MX6UL_PAD_LCD_DATA10__ 214 MX6UL_PAD_LCD_DATA10__LCDIF_DATA10 0x10 215 MX6UL_PAD_LCD_DATA11__ 215 MX6UL_PAD_LCD_DATA11__LCDIF_DATA11 0x10 216 MX6UL_PAD_LCD_DATA12__ 216 MX6UL_PAD_LCD_DATA12__LCDIF_DATA12 0x10 217 MX6UL_PAD_LCD_DATA13__ 217 MX6UL_PAD_LCD_DATA13__LCDIF_DATA13 0x10 218 MX6UL_PAD_LCD_DATA14__ 218 MX6UL_PAD_LCD_DATA14__LCDIF_DATA14 0x10 219 MX6UL_PAD_LCD_DATA15__ 219 MX6UL_PAD_LCD_DATA15__LCDIF_DATA15 0x10 220 /* LCD_DATA16..17 not 220 /* LCD_DATA16..17 not wired */ 221 MX6UL_PAD_LCD_DATA18__ 221 MX6UL_PAD_LCD_DATA18__LCDIF_DATA18 0x10 222 MX6UL_PAD_LCD_DATA19__ 222 MX6UL_PAD_LCD_DATA19__LCDIF_DATA19 0x10 223 MX6UL_PAD_LCD_DATA20__ 223 MX6UL_PAD_LCD_DATA20__LCDIF_DATA20 0x10 224 MX6UL_PAD_LCD_DATA21__ 224 MX6UL_PAD_LCD_DATA21__LCDIF_DATA21 0x10 225 MX6UL_PAD_LCD_DATA22__ 225 MX6UL_PAD_LCD_DATA22__LCDIF_DATA22 0x10 226 MX6UL_PAD_LCD_DATA23__ 226 MX6UL_PAD_LCD_DATA23__LCDIF_DATA23 0x10 227 >; 227 >; 228 }; 228 }; 229 229 230 pinctrl_enet2_mdio: enet2-mdiogrp { 230 pinctrl_enet2_mdio: enet2-mdiogrp { 231 fsl,pins = < 231 fsl,pins = < 232 MX6UL_PAD_GPIO1_IO07__ 232 MX6UL_PAD_GPIO1_IO07__ENET2_MDC 0x0b0b0 233 MX6UL_PAD_GPIO1_IO06__ 233 MX6UL_PAD_GPIO1_IO06__ENET2_MDIO 0x1b0b0 234 >; 234 >; 235 }; 235 }; 236 236 237 pinctrl_uart3: uart3grp { 237 pinctrl_uart3: uart3grp { 238 fsl,pins = < 238 fsl,pins = < 239 MX6UL_PAD_UART3_TX_DAT 239 MX6UL_PAD_UART3_TX_DATA__UART3_DCE_TX 0x0b0b0 240 MX6UL_PAD_UART3_RX_DAT 240 MX6UL_PAD_UART3_RX_DATA__UART3_DCE_RX 0x0b0b0 241 >; 241 >; 242 }; 242 }; 243 243 244 pinctrl_uart4: uart4grp { 244 pinctrl_uart4: uart4grp { 245 fsl,pins = < 245 fsl,pins = < 246 MX6UL_PAD_UART4_TX_DAT 246 MX6UL_PAD_UART4_TX_DATA__UART4_DCE_TX 0x0b0b0 247 MX6UL_PAD_UART4_RX_DAT 247 MX6UL_PAD_UART4_RX_DATA__UART4_DCE_RX 0x0b0b0 248 >; 248 >; 249 }; 249 }; 250 250 251 pinctrl_uart6: uart6grp { 251 pinctrl_uart6: uart6grp { 252 fsl,pins = < 252 fsl,pins = < 253 MX6UL_PAD_CSI_MCLK__UA 253 MX6UL_PAD_CSI_MCLK__UART6_DCE_TX 0x0b0b0 254 MX6UL_PAD_CSI_PIXCLK__ 254 MX6UL_PAD_CSI_PIXCLK__UART6_DCE_RX 0x0b0b0 255 >; 255 >; 256 }; 256 }; 257 257 258 pinctrl_uart7: uart7grp { 258 pinctrl_uart7: uart7grp { 259 fsl,pins = < 259 fsl,pins = < 260 MX6UL_PAD_LCD_DATA16__ 260 MX6UL_PAD_LCD_DATA16__UART7_DCE_TX 0x0b0b0 261 MX6UL_PAD_LCD_DATA17__ 261 MX6UL_PAD_LCD_DATA17__UART7_DCE_RX 0x0b0b0 262 >; 262 >; 263 }; 263 }; 264 264 265 pinctrl_uart8: uart8grp { 265 pinctrl_uart8: uart8grp { 266 fsl,pins = < 266 fsl,pins = < 267 MX6UL_PAD_LCD_DATA20__ 267 MX6UL_PAD_LCD_DATA20__UART8_DCE_TX 0x0b0b0 268 MX6UL_PAD_LCD_DATA21__ 268 MX6UL_PAD_LCD_DATA21__UART8_DCE_RX 0x0b0b0 269 >; 269 >; 270 }; 270 }; 271 }; 271 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.