2 * Copyright 2014-2016 Toradex AG
3 * Copyright 2012 Freescale Semiconductor, Inc.
4 * Copyright 2011 Linaro Ltd.
6 * This file is dual-licensed: you can use it either under the terms
7 * of the GPL or the X11 license, at your option. Note that this dual
8 * licensing only applies to this file, and not this project as a
11 * a) This file is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * version 2 as published by the Free Software Foundation.
15 * This file is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
22 * b) Permission is hereby granted, free of charge, to any person
23 * obtaining a copy of this software and associated documentation
24 * files (the "Software"), to deal in the Software without
25 * restriction, including without limitation the rights to use,
26 * copy, modify, merge, publish, distribute, sublicense, and/or
27 * sell copies of the Software, and to permit persons to whom the
28 * Software is furnished to do so, subject to the following
31 * The above copyright notice and this permission notice shall be
32 * included in all copies or substantial portions of the Software.
34 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
35 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
36 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
37 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
38 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
39 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
40 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
41 * OTHER DEALINGS IN THE SOFTWARE.
46 #include <dt-bindings/input/input.h>
47 #include <dt-bindings/interrupt-controller/irq.h>
48 #include "imx6dl.dtsi"
49 #include "imx6qdl-colibri.dtsi"
52 model = "Toradex Colibri iMX6DL/S on Colibri Evaluation Board V3";
53 compatible = "toradex,colibri_imx6dl-eval-v3", "toradex,colibri_imx6dl",
56 /* Will be filled by the bootloader */
58 device_type = "memory";
73 stdout-path = "serial0:115200n8";
76 /* Fixed crystal dedicated to mcp251x */
78 compatible = "fixed-clock";
80 clock-frequency = <16000000>;
81 clock-output-names = "clk16m";
85 compatible = "gpio-keys";
86 pinctrl-names = "default";
87 pinctrl-0 = <&pinctrl_gpio_keys>;
91 gpios = <&gpio2 22 GPIO_ACTIVE_HIGH>; /* SODIMM 45 */
92 linux,code = <KEY_WAKEUP>;
93 debounce-interval = <10>;
99 compatible = "fsl,imx-parallel-display";
100 #address-cells = <1>;
102 interface-pix-fmt = "bgr666";
103 pinctrl-names = "default";
104 pinctrl-0 = <&pinctrl_ipu1_lcdif>;
110 lcd_display_in: endpoint {
111 remote-endpoint = <&ipu1_di0_disp0>;
118 lcd_display_out: endpoint {
119 remote-endpoint = <&lcd_panel_in>;
126 * edt,et057090dhu: EDT 5.7" LCD TFT
127 * edt,et070080dh6: EDT 7.0" LCD TFT
129 compatible = "edt,et057090dhu";
130 backlight = <&backlight>;
133 lcd_panel_in: endpoint {
134 remote-endpoint = <&lcd_display_out>;
141 brightness-levels = <0 127 191 223 239 247 251 255>;
142 default-brightness-level = <1>;
150 mcp251x0: mcp251x@0 {
151 compatible = "microchip,mcp2515";
154 interrupt-parent = <&gpio3>;
155 interrupts = <27 0x2>;
156 spi-max-frequency = <10000000>;
166 * Colibri I2C: I2C3_SDA/SCL on SODIMM 194/196 (e.g. RTC on carrier board)
172 * Touchscreen is using SODIMM 28/30, also used for PWM<B>, PWM<C>,
173 * aka pwm2, pwm3. so if you enable touchscreen, disable the pwms
176 compatible = "atmel,maxtouch";
177 pinctrl-names = "default";
178 pinctrl-0 = <&pinctrl_pcap_1>;
180 interrupt-parent = <&gpio1>;
181 interrupts = <9 IRQ_TYPE_EDGE_FALLING>; /* SODIMM 28 */
182 reset-gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>; /* SODIMM 30 */
186 /* M41T0M6 real time clock on carrier board */
188 compatible = "st,m41t0";
194 pinctrl-names = "default";
196 &pinctrl_weim_gpio_1 &pinctrl_weim_gpio_2
197 &pinctrl_weim_gpio_3 &pinctrl_weim_gpio_4
198 &pinctrl_weim_gpio_5 &pinctrl_weim_gpio_6
199 &pinctrl_usbh_oc_1 &pinctrl_usbc_id_1
202 pinctrl_pcap_1: pcap1grp {
204 MX6QDL_PAD_GPIO_9__GPIO1_IO09 0x1b0b0 /* SODIMM 28 */
205 MX6QDL_PAD_SD4_DAT2__GPIO2_IO10 0x1b0b0 /* SODIMM 30 */
209 pinctrl_mxt_ts: mxttsgrp {
211 MX6QDL_PAD_EIM_CS1__GPIO2_IO24 0x130b0 /* SODIMM 107 */
212 MX6QDL_PAD_SD2_DAT1__GPIO1_IO14 0x130b0 /* SODIMM 106 */
218 remote-endpoint = <&lcd_display_in>;
254 vbus-supply = <®_usb_host_vbus>;
270 /* weim memory map: 32MB on CS0, CS1, CS2 and CS3 */
271 ranges = <0 0 0x08000000 0x02000000
272 1 0 0x0a000000 0x02000000
273 2 0 0x0c000000 0x02000000
274 3 0 0x0e000000 0x02000000>;
276 /* SRAM on Colibri nEXT_CS0 */
278 compatible = "cypress,cy7c1019dv33-10zsxi, mtd-ram";
279 reg = <0 0 0x00010000>;
280 #address-cells = <1>;
283 fsl,weim-cs-timing = <0x00010081 0x00000000 0x04000000
284 0x00000000 0x04000040 0x00000000>;
287 /* SRAM on Colibri nEXT_CS1 */
289 compatible = "cypress,cy7c1019dv33-10zsxi, mtd-ram";
290 reg = <1 0 0x00010000>;
291 #address-cells = <1>;
294 fsl,weim-cs-timing = <0x00010081 0x00000000 0x04000000
295 0x00000000 0x04000040 0x00000000>;