]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/imx6dl-tx6dl-comtft.dts
KARO: cleanup after merge of Freescale 3.10.17 stuff
[karo-tx-linux.git] / arch / arm / boot / dts / imx6dl-tx6dl-comtft.dts
1 /*
2  * Copyright 2014 Lothar Waßmann <LW@KARO-electronics.de>
3  *
4  * The code contained herein is licensed under the GNU General Public
5  * License. You may obtain a copy of the GNU General Public License
6  * Version 2 at the following locations:
7  *
8  * http://www.opensource.org/licenses/gpl-license.html
9  * http://www.gnu.org/copyleft/gpl.html
10  */
11
12 /dts-v1/;
13 #include "imx6dl.dtsi"
14 #include "imx6qdl-tx6.dtsi"
15
16 / {
17         model = "Ka-Ro electronics TX6DL Module on CoMpact TFT";
18         compatible = "karo,imx6dl-tx6dl", "fsl,imx6dl";
19
20         aliases {
21                 display = &display;
22                 mxcfb0 = &display;
23         };
24
25         backlight: backlight {
26                 compatible = "pwm-backlight";
27                 pwms = <&pwm2 0 500000>;
28                 power-supply = <&reg_3v3>;
29                 /*
30                  * a poor man's way to create a 1:1 relationship between
31                  * the PWM value and the actual duty cycle
32                  */
33                 brightness-levels = < 0  1  2  3  4  5  6  7  8  9
34                                      10 11 12 13 14 15 16 17 18 19
35                                      20 21 22 23 24 25 26 27 28 29
36                                      30 31 32 33 34 35 36 37 38 39
37                                      40 41 42 43 44 45 46 47 48 49
38                                      50 51 52 53 54 55 56 57 58 59
39                                      60 61 62 63 64 65 66 67 68 69
40                                      70 71 72 73 74 75 76 77 78 79
41                                      80 81 82 83 84 85 86 87 88 89
42                                      90 91 92 93 94 95 96 97 98 99
43                                     100>;
44                 default-brightness-level = <50>;
45         };
46
47         display: fb@2 {
48                 compatible = "fsl,mxc_sdc_fb";
49                 disp_dev = "lcd";
50                 interface_pix_fmt = "RGB24";
51                 mode_str ="ET0500";
52                 default_bpp = <32>;
53                 int_clk = <1>;
54                 late_init = <0>;
55                 status = "okay";
56         };
57
58         lcd@0 {
59                 compatible = "fsl,lcd";
60                 ipu_id = <0>;
61                 disp_id = <0>;
62                 default_ifmt = "RGB24";
63                 pinctrl-names = "default";
64                 pinctrl-0 = <&pinctrl_disp0_2>;
65                 status = "okay";
66         };
67 };
68
69 &can1 {
70         status = "disabled";
71 };
72
73 &can2 {
74         xceiver-supply = <&reg_3v3>;
75 };
76
77 &kpp {
78         status = "disabled";
79 };
80
81 &reg_can_xcvr {
82         status = "disabled";
83 };
84
85 &reg_lcd0_pwr {
86         status = "okay";
87 };
88
89 &reg_lcd1_pwr {
90         status = "okay";
91 };
92
93 &touchscreen {
94         status = "disabled";
95 };