1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2012 Free Electrons
7 * The CFA-10049 is an expansion board for the CFA-10036 module, thus we
8 * need to include the CFA-10036 DTS.
10 #include "imx28-cfa10036.dts"
13 model = "Crystalfontz CFA-10049 Board";
14 compatible = "crystalfontz,cfa10049", "crystalfontz,cfa10036", "fsl,imx28";
17 compatible = "i2c-mux-gpio";
20 pinctrl-names = "default";
21 pinctrl-0 = <&i2cmux_pins_cfa10049>;
22 mux-gpios = <&gpio1 22 0 &gpio1 23 0>;
31 compatible = "nuvoton,nau7802";
33 nuvoton,vldo = <3000>;
43 compatible = "nuvoton,nau7802";
45 nuvoton,vldo = <3000>;
55 compatible = "nuvoton,nau7802";
57 nuvoton,vldo = <3000>;
67 compatible = "nxp,pca9555";
68 pinctrl-names = "default";
69 pinctrl-0 = <&pca_pins_cfa10049>;
70 interrupt-parent = <&gpio2>;
71 interrupts = <19 0x2>;
75 #interrupt-cells = <2>;
84 usb_pins_cfa10049: usb-10049@0 {
87 MX28_PAD_GPMI_D07__GPIO_0_7
89 fsl,drive-strength = <MXS_DRIVE_4mA>;
90 fsl,voltage = <MXS_VOLTAGE_HIGH>;
91 fsl,pull-up = <MXS_PULL_DISABLE>;
94 i2cmux_pins_cfa10049: i2cmux-10049@0 {
97 MX28_PAD_LCD_D22__GPIO_1_22
98 MX28_PAD_LCD_D23__GPIO_1_23
100 fsl,drive-strength = <MXS_DRIVE_4mA>;
101 fsl,voltage = <MXS_VOLTAGE_HIGH>;
102 fsl,pull-up = <MXS_PULL_DISABLE>;
105 mac0_pins_cfa10049: mac0-10049@0 {
108 MX28_PAD_SSP2_SS2__GPIO_2_21
110 fsl,drive-strength = <MXS_DRIVE_4mA>;
111 fsl,voltage = <MXS_VOLTAGE_HIGH>;
112 fsl,pull-up = <MXS_PULL_DISABLE>;
115 pca_pins_cfa10049: pca-10049@0 {
118 MX28_PAD_SSP2_SS0__GPIO_2_19
120 fsl,drive-strength = <MXS_DRIVE_4mA>;
121 fsl,voltage = <MXS_VOLTAGE_HIGH>;
122 fsl,pull-up = <MXS_PULL_ENABLE>;
125 rotary_pins_cfa10049: rotary-10049@0 {
128 MX28_PAD_I2C0_SCL__GPIO_3_24
129 MX28_PAD_I2C0_SDA__GPIO_3_25
131 fsl,drive-strength = <MXS_DRIVE_4mA>;
132 fsl,voltage = <MXS_VOLTAGE_HIGH>;
133 fsl,pull-up = <MXS_PULL_ENABLE>;
136 rotary_btn_pins_cfa10049: rotary-btn-10049@0 {
139 MX28_PAD_SAIF1_SDATA0__GPIO_3_26
141 fsl,drive-strength = <MXS_DRIVE_4mA>;
142 fsl,voltage = <MXS_VOLTAGE_HIGH>;
143 fsl,pull-up = <MXS_PULL_ENABLE>;
146 spi2_pins_cfa10049: spi2-cfa10049@0 {
149 MX28_PAD_SSP2_SCK__GPIO_2_16
150 MX28_PAD_SSP2_MOSI__GPIO_2_17
151 MX28_PAD_SSP2_MISO__GPIO_2_18
152 MX28_PAD_AUART1_TX__GPIO_3_5
154 fsl,drive-strength = <MXS_DRIVE_8mA>;
155 fsl,voltage = <MXS_VOLTAGE_HIGH>;
156 fsl,pull-up = <MXS_PULL_ENABLE>;
159 spi3_pins_cfa10049: spi3-cfa10049@0 {
162 MX28_PAD_GPMI_RDN__GPIO_0_24
163 MX28_PAD_GPMI_RESETN__GPIO_0_28
164 MX28_PAD_GPMI_CE1N__GPIO_0_17
165 MX28_PAD_GPMI_ALE__GPIO_0_26
166 MX28_PAD_GPMI_CLE__GPIO_0_27
168 fsl,drive-strength = <MXS_DRIVE_8mA>;
169 fsl,voltage = <MXS_VOLTAGE_HIGH>;
170 fsl,pull-up = <MXS_PULL_ENABLE>;
173 lcdif_18bit_pins_cfa10049: lcdif-18bit@0 {
176 MX28_PAD_LCD_D00__LCD_D0
177 MX28_PAD_LCD_D01__LCD_D1
178 MX28_PAD_LCD_D02__LCD_D2
179 MX28_PAD_LCD_D03__LCD_D3
180 MX28_PAD_LCD_D04__LCD_D4
181 MX28_PAD_LCD_D05__LCD_D5
182 MX28_PAD_LCD_D06__LCD_D6
183 MX28_PAD_LCD_D07__LCD_D7
184 MX28_PAD_LCD_D08__LCD_D8
185 MX28_PAD_LCD_D09__LCD_D9
186 MX28_PAD_LCD_D10__LCD_D10
187 MX28_PAD_LCD_D11__LCD_D11
188 MX28_PAD_LCD_D12__LCD_D12
189 MX28_PAD_LCD_D13__LCD_D13
190 MX28_PAD_LCD_D14__LCD_D14
191 MX28_PAD_LCD_D15__LCD_D15
192 MX28_PAD_LCD_D16__LCD_D16
193 MX28_PAD_LCD_D17__LCD_D17
195 fsl,drive-strength = <MXS_DRIVE_4mA>;
196 fsl,voltage = <MXS_VOLTAGE_HIGH>;
197 fsl,pull-up = <MXS_PULL_DISABLE>;
200 lcdif_pins_cfa10049: lcdif-evk@0 {
203 MX28_PAD_LCD_RD_E__LCD_VSYNC
204 MX28_PAD_LCD_WR_RWN__LCD_HSYNC
205 MX28_PAD_LCD_RS__LCD_DOTCLK
206 MX28_PAD_LCD_CS__LCD_ENABLE
208 fsl,drive-strength = <MXS_DRIVE_4mA>;
209 fsl,voltage = <MXS_VOLTAGE_HIGH>;
210 fsl,pull-up = <MXS_PULL_DISABLE>;
213 lcdif_pins_cfa10049_pullup: lcdif-10049-pullup@0 {
216 MX28_PAD_LCD_RESET__GPIO_3_30
218 fsl,drive-strength = <MXS_DRIVE_4mA>;
219 fsl,voltage = <MXS_VOLTAGE_HIGH>;
220 fsl,pull-up = <MXS_PULL_ENABLE>;
223 w1_gpio_pins: w1-gpio@0 {
226 MX28_PAD_LCD_D21__GPIO_1_21
228 fsl,drive-strength = <MXS_DRIVE_8mA>;
229 fsl,voltage = <MXS_VOLTAGE_HIGH>;
230 fsl,pull-up = <MXS_PULL_DISABLE>; /* 0 will enable the keeper */
235 pinctrl-names = "default";
236 pinctrl-0 = <&lcdif_18bit_pins_cfa10049
238 &lcdif_pins_cfa10049_pullup>;
239 display = <&display0>;
243 bits-per-pixel = <32>;
247 native-mode = <&timing0>;
249 clock-frequency = <9216000>;
261 pixelclk-active = <1>;
270 pinctrl-names = "default";
271 pinctrl-0 = <&pwm3_pins_b>;
276 pinctrl-names = "default";
277 pinctrl-0 = <&i2c1_pins_a>;
281 usbphy1: usbphy@8007e000 {
287 fsl,lradc-touchscreen-wires = <4>;
294 vbus-supply = <®_usb1_vbus>;
295 pinctrl-0 = <&usb1_pins_a>;
296 pinctrl-names = "default";
302 compatible = "simple-bus";
303 #address-cells = <1>;
306 reg_usb1_vbus: regulator@0 {
307 compatible = "regulator-fixed";
309 pinctrl-names = "default";
310 pinctrl-0 = <&usb_pins_cfa10049>;
311 regulator-name = "usb1_vbus";
312 regulator-min-microvolt = <5000000>;
313 regulator-max-microvolt = <5000000>;
319 mac0: ethernet@800f0000 {
321 pinctrl-names = "default";
322 pinctrl-0 = <&mac0_pins_a
323 &mac0_pins_cfa10049>;
324 phy-reset-gpios = <&gpio2 21 GPIO_ACTIVE_LOW>;
325 phy-reset-duration = <100>;
331 compatible = "spi-gpio";
332 pinctrl-names = "default";
333 pinctrl-0 = <&spi2_pins_cfa10049>;
335 gpio-sck = <&gpio2 16 0>;
336 gpio-mosi = <&gpio2 17 0>;
337 gpio-miso = <&gpio2 18 0>;
338 cs-gpios = <&gpio3 5 0>;
339 num-chipselects = <1>;
340 #address-cells = <1>;
344 compatible = "himax,hx8357b", "himax,hx8357";
346 spi-max-frequency = <100000>;
349 gpios-reset = <&gpio3 30 0>;
350 im-gpios = <&gpio5 4 0 &gpio5 5 0 &gpio5 6 0>;
355 compatible = "spi-gpio";
356 pinctrl-names = "default";
357 pinctrl-0 = <&spi3_pins_cfa10049>;
359 gpio-sck = <&gpio0 24 0>;
360 gpio-mosi = <&gpio0 28 0>;
361 cs-gpios = <&gpio0 17 0 &gpio0 26 0 &gpio0 27 0>;
362 num-chipselects = <3>;
363 #address-cells = <1>;
367 compatible = "fairchild,74hc595";
371 registers-number = <2>;
372 spi-max-frequency = <100000>;
376 compatible = "fairchild,74hc595";
380 registers-number = <4>;
381 spi-max-frequency = <100000>;
385 compatible = "rohm,dh2228fv";
387 spi-max-frequency = <100000>;
392 compatible = "gpio-keys";
393 pinctrl-names = "default";
394 pinctrl-0 = <&rotary_btn_pins_cfa10049>;
397 label = "rotary_button";
398 gpios = <&gpio3 26 1>;
399 debounce-interval = <10>;
405 compatible = "rotary-encoder";
406 pinctrl-names = "default";
407 pinctrl-0 = <&rotary_pins_cfa10049>;
408 gpios = <&gpio3 24 1>, <&gpio3 25 1>;
409 linux,axis = <1>; /* REL_Y */
410 rotary-encoder,relative-axis;
414 compatible = "pwm-backlight";
415 pwms = <&pwm 3 5000000>;
416 brightness-levels = <0 4 8 16 32 64 128 255>;
417 default-brightness-level = <6>;
422 compatible = "w1-gpio";
423 pinctrl-names = "default";
424 pinctrl-0 = <&w1_gpio_pins>;
426 gpios = <&gpio1 21 0>;