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 spi2_pins_cfa10055: spi2-cfa10055@0 {
29 0x2103 /* MX28_PAD_SSP2_SCK__GPIO_2_16 */
30 0x2113 /* MX28_PAD_SSP2_CMD__GPIO_2_17 */
31 0x2123 /* MX28_PAD_SSP2_D0__GPIO_2_18 */
32 0x3053 /* MX28_PAD_AUART1_TX__GPIO_3_5 */
34 fsl,drive-strength = <1>;
39 lcdif_18bit_pins_cfa10055: lcdif-18bit@0 {
42 0x1000 /* MX28_PAD_LCD_D00__LCD_D0 */
43 0x1010 /* MX28_PAD_LCD_D01__LCD_D1 */
44 0x1020 /* MX28_PAD_LCD_D02__LCD_D2 */
45 0x1030 /* MX28_PAD_LCD_D03__LCD_D3 */
46 0x1040 /* MX28_PAD_LCD_D04__LCD_D4 */
47 0x1050 /* MX28_PAD_LCD_D05__LCD_D5 */
48 0x1060 /* MX28_PAD_LCD_D06__LCD_D6 */
49 0x1070 /* MX28_PAD_LCD_D07__LCD_D7 */
50 0x1080 /* MX28_PAD_LCD_D08__LCD_D8 */
51 0x1090 /* MX28_PAD_LCD_D09__LCD_D9 */
52 0x10a0 /* MX28_PAD_LCD_D10__LCD_D10 */
53 0x10b0 /* MX28_PAD_LCD_D11__LCD_D11 */
54 0x10c0 /* MX28_PAD_LCD_D12__LCD_D12 */
55 0x10d0 /* MX28_PAD_LCD_D13__LCD_D13 */
56 0x10e0 /* MX28_PAD_LCD_D14__LCD_D14 */
57 0x10f0 /* MX28_PAD_LCD_D15__LCD_D15 */
58 0x1100 /* MX28_PAD_LCD_D16__LCD_D16 */
59 0x1110 /* MX28_PAD_LCD_D17__LCD_D17 */
61 fsl,drive-strength = <0>;
66 lcdif_pins_cfa10055: lcdif-evk@0 {
69 0x1181 /* MX28_PAD_LCD_RD_E__LCD_VSYNC */
70 0x1191 /* MX28_PAD_LCD_WR_RWN__LCD_HSYNC */
71 0x11a1 /* MX28_PAD_LCD_RS__LCD_DOTCLK */
72 0x11b1 /* MX28_PAD_LCD_CS__LCD_ENABLE */
74 fsl,drive-strength = <0>;
79 lcdif_pins_cfa10055_pullup: lcdif-10055-pullup@0 {
82 0x31e3 /* MX28_PAD_LCD_RESET__GPIO_3_30 */
84 fsl,drive-strength = <0>;
91 pinctrl-names = "default";
92 pinctrl-0 = <&lcdif_18bit_pins_cfa10055
94 &lcdif_pins_cfa10055_pullup>;
99 bits-per-pixel = <32>;
103 native-mode = <&timing0>;
105 clock-frequency = <9216000>;
117 pixelclk-active = <1>;
126 fsl,lradc-touchscreen-wires = <4>;
131 pinctrl-names = "default";
132 pinctrl-0 = <&pwm3_pins_b>;
139 compatible = "spi-gpio";
140 pinctrl-names = "default";
141 pinctrl-0 = <&spi2_pins_cfa10055>;
143 gpio-sck = <&gpio2 16 0>;
144 gpio-mosi = <&gpio2 17 0>;
145 gpio-miso = <&gpio2 18 0>;
146 cs-gpios = <&gpio3 5 0>;
147 num-chipselects = <1>;
148 #address-cells = <1>;
152 compatible = "himax,hx8357b", "himax,hx8357";
154 spi-max-frequency = <100000>;
157 gpios-reset = <&gpio3 30 0>;
162 compatible = "pwm-backlight";
163 pwms = <&pwm 3 5000000>;
164 brightness-levels = <0 4 8 16 32 64 128 255>;
165 default-brightness-level = <6>;