1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2013 Crystalfontz America, Inc.
8 * The CFA-10055 is an expansion board for the CFA-10036 module and
9 * CFA-10037, thus we need to include the CFA-10037 DTS.
11 #include "imx28-cfa10037.dts"
14 model = "Crystalfontz CFA-10055 Board";
15 compatible = "crystalfontz,cfa10055", "crystalfontz,cfa10037", "crystalfontz,cfa10036", "fsl,imx28";
20 spi2_pins_cfa10055: spi2-cfa10055@0 {
23 MX28_PAD_SSP2_SCK__GPIO_2_16
24 MX28_PAD_SSP2_MOSI__GPIO_2_17
25 MX28_PAD_SSP2_MISO__GPIO_2_18
26 MX28_PAD_AUART1_TX__GPIO_3_5
28 fsl,drive-strength = <MXS_DRIVE_8mA>;
29 fsl,voltage = <MXS_VOLTAGE_HIGH>;
30 fsl,pull-up = <MXS_PULL_ENABLE>;
33 lcdif_18bit_pins_cfa10055: lcdif-18bit@0 {
36 MX28_PAD_LCD_D00__LCD_D0
37 MX28_PAD_LCD_D01__LCD_D1
38 MX28_PAD_LCD_D02__LCD_D2
39 MX28_PAD_LCD_D03__LCD_D3
40 MX28_PAD_LCD_D04__LCD_D4
41 MX28_PAD_LCD_D05__LCD_D5
42 MX28_PAD_LCD_D06__LCD_D6
43 MX28_PAD_LCD_D07__LCD_D7
44 MX28_PAD_LCD_D08__LCD_D8
45 MX28_PAD_LCD_D09__LCD_D9
46 MX28_PAD_LCD_D10__LCD_D10
47 MX28_PAD_LCD_D11__LCD_D11
48 MX28_PAD_LCD_D12__LCD_D12
49 MX28_PAD_LCD_D13__LCD_D13
50 MX28_PAD_LCD_D14__LCD_D14
51 MX28_PAD_LCD_D15__LCD_D15
52 MX28_PAD_LCD_D16__LCD_D16
53 MX28_PAD_LCD_D17__LCD_D17
55 fsl,drive-strength = <MXS_DRIVE_4mA>;
56 fsl,voltage = <MXS_VOLTAGE_HIGH>;
57 fsl,pull-up = <MXS_PULL_DISABLE>;
60 lcdif_pins_cfa10055: lcdif-evk@0 {
63 MX28_PAD_LCD_RD_E__LCD_VSYNC
64 MX28_PAD_LCD_WR_RWN__LCD_HSYNC
65 MX28_PAD_LCD_RS__LCD_DOTCLK
66 MX28_PAD_LCD_CS__LCD_ENABLE
68 fsl,drive-strength = <MXS_DRIVE_4mA>;
69 fsl,voltage = <MXS_VOLTAGE_HIGH>;
70 fsl,pull-up = <MXS_PULL_DISABLE>;
73 lcdif_pins_cfa10055_pullup: lcdif-10055-pullup@0 {
76 MX28_PAD_LCD_RESET__GPIO_3_30
78 fsl,drive-strength = <MXS_DRIVE_4mA>;
79 fsl,voltage = <MXS_VOLTAGE_HIGH>;
80 fsl,pull-up = <MXS_PULL_ENABLE>;
85 pinctrl-names = "default";
86 pinctrl-0 = <&lcdif_18bit_pins_cfa10055
88 &lcdif_pins_cfa10055_pullup>;
89 display = <&display0>;
93 bits-per-pixel = <32>;
97 native-mode = <&timing0>;
99 clock-frequency = <9216000>;
111 pixelclk-active = <1>;
120 fsl,lradc-touchscreen-wires = <4>;
125 pinctrl-names = "default";
126 pinctrl-0 = <&pwm3_pins_b>;
133 compatible = "spi-gpio";
134 pinctrl-names = "default";
135 pinctrl-0 = <&spi2_pins_cfa10055>;
137 gpio-sck = <&gpio2 16 0>;
138 gpio-mosi = <&gpio2 17 0>;
139 gpio-miso = <&gpio2 18 0>;
140 cs-gpios = <&gpio3 5 0>;
141 num-chipselects = <1>;
142 #address-cells = <1>;
146 compatible = "himax,hx8357b", "himax,hx8357";
148 spi-max-frequency = <100000>;
151 gpios-reset = <&gpio3 30 0>;
156 compatible = "pwm-backlight";
157 pwms = <&pwm 3 5000000>;
158 brightness-levels = <0 4 8 16 32 64 128 255>;
159 default-brightness-level = <6>;