]> git.kernelconcepts.de Git - meta-kc-bsp.git/blob - recipes-kernel/linux/linux-karo-4.9.11/txbase/mb7-lvds/imx6s-tx6-emmc-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 / imx6s-tx6-emmc-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
46  * are for more than one purpose (usually bound to a SoC) and as such shouldn't
47  * be edited. For end-user products it should be the DTS file(s) that choose
48  * which 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 to the mainline Linux kernel.
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 TX6S Module (eMMC & LVDS)";
67         compatible = "karo,imx6dl-tx6dl", "fsl,imx6dl";
68
69         cpus {
70                 /delete-node/ cpu@1;
71         };
72 };
73
74 /*
75  * Every VOU is multi parted: backlight, device, framebuffer, pwm
76  * Thus all parts have to be enabled before a display can be used on the
77  * specific port.
78  */
79
80 &backlight0 {
81         status = "okay";
82 };
83
84 /*
85  * NVM setup
86  */
87
88 TX_EMMC {
89         status = "okay";
90 };
91
92 /*
93  * Remaining device references in alphabetical order
94  */
95
96 TX_LDB {
97         status = "okay";
98
99         lvds0: lvds-channel@0 {
100                 status = "okay";
101                 /*
102                  * Users should add their custom (U-Boot) timing here,
103                  * therewith overwriting the default/pre-defined timings. For more see:
104                  *
105                  * txbase/{BASEBOARD}-{DISPLAY-IF}/txbase-{BASEBOARD}-{DISPLAY-IF}.dtsi
106                  *
107                  * e.g.:
108                  * txbase/mb7-lvds/txbase-aclavis.dtsi
109                  */
110         };
111
112         lvds1: lvds-channel@1 {
113                 status = "disabled";
114                 /*
115                  * Users should add their custom (U-Boot) timing here,
116                  * therewith overwriting the default/pre-defined timings. For more see:
117                  *
118                  * txbase/{BASEBOARD}-{DISPLAY-IF}/txbase-{BASEBOARD}-{DISPLAY-IF}.dtsi
119                  *
120                  * e.g.:
121                  * txbase/mb7-lvds/txbase-aclavis.dtsi
122                  */
123         };
124 };
125
126 TX_LDB_FB1 {
127         status = "okay";
128 };
129
130 TX_LDB_FB2 {
131         status = "disabled";
132 };