]> git.kernelconcepts.de Git - meta-kc-bsp.git/blob - recipes-kernel/linux/linux-karo-4.9.11/txbase/mb7-lvds/imx6dl-tx6-nand-mb7-lvds.dts
linux-karo: Add initial version of linux-karo 4.9.11 based on NXP kernel tree
[meta-kc-bsp.git] / recipes-kernel / linux / linux-karo-4.9.11 / txbase / mb7-lvds / imx6dl-tx6-nand-mb7-lvds.dts
1 /*
2  * Copyright 2016 Lothar Waßmann <LW@KARO-electronics.de>
3  * Copyright 2016 Oliver Wendt <OW@KARO-electronics.de>
4  * Copyright 2016 Michael Vyskocil <MV@KARO-electronics.de>
5  *
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
9  * whole.
10  *
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.
14  *
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.
19  *
20  * Or, alternatively,
21  *
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
29  *     conditions:
30  *
31  *     The above copyright notice and this permission notice shall be
32  *     included in all copies or substantial portions of the Software.
33  *
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.
42  */
43
44 /*
45  * Please be reminded that in general DTSI file(s) are include files that are
46  * for more than one purpose (usually bound to a SoC) and as such shouldn't be
47  * edited. For end-user products it should be the DTS file(s) that choose which
48  * devices and pins are active and setup.
49  *
50  * The setup of DT files for Ka-Ro TX COM Modules under Yocto follow a
51  * different, non-standard, implementation, which can make it necessary.
52  */
53
54 /*
55  * Please see the imx6*-tx6-gpio.h && imx6*-tx6.dtsi in "linux-karo-x.y.ab/tx6"
56  * for the definitions like TX_NAND or TX_EMMC, etc.
57  */
58  
59 /dts-v1/;
60
61 #include "imx6dl.dtsi"
62 #include "imx6qdl-tx6.dtsi"
63 #include "txbase-mb7-lvds.dtsi"
64
65 / {
66         model = "Ka-Ro electronics TX6U Module (NAND & LVDS)";
67         compatible = "karo,imx6dl-tx6dl", "fsl,imx6dl";
68 };
69
70 /*
71  * Every VOU is multi parted: backlight, device, framebuffer, pwm
72  * Thus all parts have to be enabled before a display can be used on the
73  * specific port.
74  */
75
76 &backlight0 {
77         status = "okay";
78 };
79
80 /*
81  * NVM setup
82  */
83
84 TX_NAND {
85         status = "okay";
86 };
87
88 /*
89  * Remaining device references in alphabetical order
90  */
91
92 TX_LDB {
93         status = "okay";
94
95         lvds0: lvds-channel@0 {
96                 status = "okay";
97                 /*
98                  * Users should add their custom timing here, therewith
99                  * overwriting the default/pre-defined timings. For more see:
100                  *
101                  * txbase/{BASEBOARD}-{DISPLAY-IF}/txbase-{BASEBOARD}-{DISPLAY-IF}.dtsi
102                  *
103                  * e.g.:
104                  * txbase/mb7-lvds/txbase-aclavis.dtsi
105                  */
106         };
107
108         lvds1: lvds-channel@1 {
109                 status = "disabled";
110                 /*
111                  * Users should add their custom timing here, therewith
112                  * overwriting the default/pre-defined timings. For more see:
113                  *
114                  * txbase/{BASEBOARD}-{DISPLAY-IF}/txbase-{BASEBOARD}-{DISPLAY-IF}.dtsi
115                  *
116                  * e.g.:
117                  * txbase/mb7-lvds/txbase-aclavis.dtsi
118                  */
119         };
120 };
121
122 TX_LDB_FB1 {
123         status = "okay";
124 };
125
126 TX_LDB_FB2 {
127         status = "disabled";
128 };