2 * Copyright 2013 Crystalfontz America, Inc.
5 * The code contained herein is licensed under the GNU General Public
6 * License. You may obtain a copy of the GNU General Public License
7 * Version 2 or later at the following locations:
9 * http://www.opensource.org/licenses/gpl-license.html
10 * http://www.gnu.org/copyleft/gpl.html
14 * The CFA-10055 is an expansion board for the CFA-10036 module and
15 * CFA-10037, thus we need to include the CFA-10037 DTS.
17 /include/ "imx28-cfa10037.dts"
20 model = "Crystalfontz CFA-10055 Board";
21 compatible = "crystalfontz,cfa10055", "crystalfontz,cfa10037", "crystalfontz,cfa10036", "fsl,imx28";
26 pinctrl-names = "default", "default";
27 pinctrl-1 = <&hog_pins_cfa10055
28 &hog_pins_cfa10055_pullup>;
30 hog_pins_cfa10055: hog-10055@0 {
33 0x3053 /* MX28_PAD_AUART1_TX__GPIO_3_5 */
35 fsl,drive-strength = <0>;
40 hog_pins_cfa10055_pullup: hog-10055-pullup@0 {
43 0x31e3 /* MX28_PAD_LCD_RESET__GPIO_3_30 */
45 fsl,drive-strength = <0>;
50 spi2_pins_cfa10055: spi2-cfa10055@0 {
53 0x2103 /* MX28_PAD_SSP2_SCK__GPIO_2_16 */
54 0x2113 /* MX28_PAD_SSP2_CMD__GPIO_2_17 */
55 0x2123 /* MX28_PAD_SSP2_D0__GPIO_2_18 */
57 fsl,drive-strength = <1>;
62 lcdif_18bit_pins_cfa10055: lcdif-18bit@0 {
65 0x1000 /* MX28_PAD_LCD_D00__LCD_D0 */
66 0x1010 /* MX28_PAD_LCD_D01__LCD_D1 */
67 0x1020 /* MX28_PAD_LCD_D02__LCD_D2 */
68 0x1030 /* MX28_PAD_LCD_D03__LCD_D3 */
69 0x1040 /* MX28_PAD_LCD_D04__LCD_D4 */
70 0x1050 /* MX28_PAD_LCD_D05__LCD_D5 */
71 0x1060 /* MX28_PAD_LCD_D06__LCD_D6 */
72 0x1070 /* MX28_PAD_LCD_D07__LCD_D7 */
73 0x1080 /* MX28_PAD_LCD_D08__LCD_D8 */
74 0x1090 /* MX28_PAD_LCD_D09__LCD_D9 */
75 0x10a0 /* MX28_PAD_LCD_D10__LCD_D10 */
76 0x10b0 /* MX28_PAD_LCD_D11__LCD_D11 */
77 0x10c0 /* MX28_PAD_LCD_D12__LCD_D12 */
78 0x10d0 /* MX28_PAD_LCD_D13__LCD_D13 */
79 0x10e0 /* MX28_PAD_LCD_D14__LCD_D14 */
80 0x10f0 /* MX28_PAD_LCD_D15__LCD_D15 */
81 0x1100 /* MX28_PAD_LCD_D16__LCD_D16 */
82 0x1110 /* MX28_PAD_LCD_D17__LCD_D17 */
84 fsl,drive-strength = <0>;
89 lcdif_pins_cfa10055: lcdif-evk@0 {
92 0x1181 /* MX28_PAD_LCD_RD_E__LCD_VSYNC */
93 0x1191 /* MX28_PAD_LCD_WR_RWN__LCD_HSYNC */
94 0x11a1 /* MX28_PAD_LCD_RS__LCD_DOTCLK */
95 0x11b1 /* MX28_PAD_LCD_CS__LCD_ENABLE */
97 fsl,drive-strength = <0>;
104 pinctrl-names = "default";
105 pinctrl-0 = <&lcdif_18bit_pins_cfa10055
106 &lcdif_pins_cfa10055>;
107 display = <&display>;
111 bits-per-pixel = <32>;
115 native-mode = <&timing0>;
117 clock-frequency = <9216000>;
129 pixelclk-active = <1>;
138 fsl,lradc-touchscreen-wires = <4>;
143 pinctrl-names = "default";
144 pinctrl-0 = <&pwm3_pins_b>;
151 compatible = "spi-gpio";
152 pinctrl-names = "default";
153 pinctrl-0 = <&spi2_pins_cfa10055>;
155 gpio-sck = <&gpio2 16 0>;
156 gpio-mosi = <&gpio2 17 0>;
157 gpio-miso = <&gpio2 18 0>;
158 cs-gpios = <&gpio3 5 0>;
159 num-chipselects = <1>;
160 #address-cells = <1>;
164 compatible = "himax,hx8357b", "himax,hx8357";
166 spi-max-frequency = <100000>;
169 gpios-reset = <&gpio3 30 0>;
174 compatible = "pwm-backlight";
175 pwms = <&pwm 3 5000000>;
176 brightness-levels = <0 4 8 16 32 64 128 255>;
177 default-brightness-level = <6>;