xref: /OK3568_Linux_fs/kernel/arch/arm/boot/dts/imx6q-tx6q-1020-comtft.dts (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun/*
2*4882a593Smuzhiyun * Copyright 2014-2017 Lothar Waßmann <LW@KARO-electronics.de>
3*4882a593Smuzhiyun *
4*4882a593Smuzhiyun * This file is dual-licensed: you can use it either under the terms
5*4882a593Smuzhiyun * of the GPL or the X11 license, at your option. Note that this dual
6*4882a593Smuzhiyun * licensing only applies to this file, and not this project as a
7*4882a593Smuzhiyun * whole.
8*4882a593Smuzhiyun *
9*4882a593Smuzhiyun *  a) This file is free software; you can redistribute it and/or
10*4882a593Smuzhiyun *     modify it under the terms of the GNU General Public License
11*4882a593Smuzhiyun *     version 2 as published by the Free Software Foundation.
12*4882a593Smuzhiyun *
13*4882a593Smuzhiyun *     This file is distributed in the hope that it will be useful,
14*4882a593Smuzhiyun *     but WITHOUT ANY WARRANTY; without even the implied warranty of
15*4882a593Smuzhiyun *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16*4882a593Smuzhiyun *     GNU General Public License for more details.
17*4882a593Smuzhiyun *
18*4882a593Smuzhiyun * Or, alternatively,
19*4882a593Smuzhiyun *
20*4882a593Smuzhiyun *  b) Permission is hereby granted, free of charge, to any person
21*4882a593Smuzhiyun *     obtaining a copy of this software and associated documentation
22*4882a593Smuzhiyun *     files (the "Software"), to deal in the Software without
23*4882a593Smuzhiyun *     restriction, including without limitation the rights to use,
24*4882a593Smuzhiyun *     copy, modify, merge, publish, distribute, sublicense, and/or
25*4882a593Smuzhiyun *     sell copies of the Software, and to permit persons to whom the
26*4882a593Smuzhiyun *     Software is furnished to do so, subject to the following
27*4882a593Smuzhiyun *     conditions:
28*4882a593Smuzhiyun *
29*4882a593Smuzhiyun *     The above copyright notice and this permission notice shall be
30*4882a593Smuzhiyun *     included in all copies or substantial portions of the Software.
31*4882a593Smuzhiyun *
32*4882a593Smuzhiyun *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
33*4882a593Smuzhiyun *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
34*4882a593Smuzhiyun *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
35*4882a593Smuzhiyun *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
36*4882a593Smuzhiyun *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
37*4882a593Smuzhiyun *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
38*4882a593Smuzhiyun *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
39*4882a593Smuzhiyun *     OTHER DEALINGS IN THE SOFTWARE.
40*4882a593Smuzhiyun */
41*4882a593Smuzhiyun
42*4882a593Smuzhiyun/dts-v1/;
43*4882a593Smuzhiyun#include "imx6q.dtsi"
44*4882a593Smuzhiyun#include "imx6qdl-tx6.dtsi"
45*4882a593Smuzhiyun#include "imx6qdl-tx6-lcd.dtsi"
46*4882a593Smuzhiyun
47*4882a593Smuzhiyun/ {
48*4882a593Smuzhiyun	model = "Ka-Ro electronics TX6Q-1020 Module on CoMpact TFT";
49*4882a593Smuzhiyun	compatible = "karo,imx6q-tx6q", "fsl,imx6q";
50*4882a593Smuzhiyun};
51*4882a593Smuzhiyun
52*4882a593Smuzhiyun&backlight {
53*4882a593Smuzhiyun	pwms = <&pwm2 0 500000 0>;
54*4882a593Smuzhiyun	/delete-property/ turn-on-delay-ms;
55*4882a593Smuzhiyun};
56*4882a593Smuzhiyun
57*4882a593Smuzhiyun&can1 {
58*4882a593Smuzhiyun	status = "disabled";
59*4882a593Smuzhiyun};
60*4882a593Smuzhiyun
61*4882a593Smuzhiyun&can2 {
62*4882a593Smuzhiyun	xceiver-supply = <&reg_3v3>;
63*4882a593Smuzhiyun};
64*4882a593Smuzhiyun
65*4882a593Smuzhiyun&ds1339 {
66*4882a593Smuzhiyun	status = "disabled";
67*4882a593Smuzhiyun};
68*4882a593Smuzhiyun
69*4882a593Smuzhiyun&gpmi {
70*4882a593Smuzhiyun	status = "disabled";
71*4882a593Smuzhiyun};
72*4882a593Smuzhiyun
73*4882a593Smuzhiyun&kpp {
74*4882a593Smuzhiyun	status = "disabled";
75*4882a593Smuzhiyun};
76*4882a593Smuzhiyun
77*4882a593Smuzhiyun&lcd_panel {
78*4882a593Smuzhiyun	compatible = "edt,etm0700g0edh6";
79*4882a593Smuzhiyun};
80*4882a593Smuzhiyun
81*4882a593Smuzhiyun&reg_can_xcvr {
82*4882a593Smuzhiyun	status = "disabled";
83*4882a593Smuzhiyun};
84*4882a593Smuzhiyun
85*4882a593Smuzhiyun&touchscreen {
86*4882a593Smuzhiyun	status = "disabled";
87*4882a593Smuzhiyun};
88*4882a593Smuzhiyun
89*4882a593Smuzhiyun&usdhc4 {
90*4882a593Smuzhiyun	pinctrl-names = "default";
91*4882a593Smuzhiyun	pinctrl-0 = <&pinctrl_usdhc4>;
92*4882a593Smuzhiyun	bus-width = <4>;
93*4882a593Smuzhiyun	no-1-8-v;
94*4882a593Smuzhiyun	fsl,wp-controller;
95*4882a593Smuzhiyun	status = "okay";
96*4882a593Smuzhiyun};
97*4882a593Smuzhiyun
98*4882a593Smuzhiyun&iomuxc {
99*4882a593Smuzhiyun	pinctrl_usdhc4: usdhc4grp {
100*4882a593Smuzhiyun		fsl,pins = <
101*4882a593Smuzhiyun			MX6QDL_PAD_SD4_CMD__SD4_CMD		0x070b1
102*4882a593Smuzhiyun			MX6QDL_PAD_SD4_CLK__SD4_CLK		0x070b1
103*4882a593Smuzhiyun			MX6QDL_PAD_SD4_DAT0__SD4_DATA0		0x070b1
104*4882a593Smuzhiyun			MX6QDL_PAD_SD4_DAT1__SD4_DATA1		0x070b1
105*4882a593Smuzhiyun			MX6QDL_PAD_SD4_DAT2__SD4_DATA2		0x070b1
106*4882a593Smuzhiyun			MX6QDL_PAD_SD4_DAT3__SD4_DATA3		0x070b1
107*4882a593Smuzhiyun			MX6QDL_PAD_NANDF_ALE__SD4_RESET		0x0b0b1
108*4882a593Smuzhiyun		>;
109*4882a593Smuzhiyun	};
110*4882a593Smuzhiyun};
111