2 * Copyright 2012 Free Electrons
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 or later at the following locations:
8 * http://www.opensource.org/licenses/gpl-license.html
9 * http://www.gnu.org/copyleft/gpl.html
13 * The CFA-10049 is an expansion board for the CFA-10036 module, thus we
14 * need to include the CFA-10036 DTS.
16 #include "imx28-cfa10036.dts"
19 model = "Crystalfontz CFA-10049 Board";
20 compatible = "crystalfontz,cfa10049", "crystalfontz,cfa10036", "fsl,imx28";
25 usb_pins_cfa10049: usb-10049@0 {
28 MX28_PAD_GPMI_D07__GPIO_0_7
30 fsl,drive-strength = <MXS_DRIVE_4mA>;
31 fsl,voltage = <MXS_VOLTAGE_HIGH>;
32 fsl,pull-up = <MXS_PULL_DISABLE>;
35 i2cmux_pins_cfa10049: i2cmux-10049@0 {
38 MX28_PAD_LCD_D22__GPIO_1_22
39 MX28_PAD_LCD_D23__GPIO_1_23
41 fsl,drive-strength = <MXS_DRIVE_4mA>;
42 fsl,voltage = <MXS_VOLTAGE_HIGH>;
43 fsl,pull-up = <MXS_PULL_DISABLE>;
46 mac0_pins_cfa10049: mac0-10049@0 {
49 MX28_PAD_SSP2_SS2__GPIO_2_21
51 fsl,drive-strength = <MXS_DRIVE_4mA>;
52 fsl,voltage = <MXS_VOLTAGE_HIGH>;
53 fsl,pull-up = <MXS_PULL_DISABLE>;
56 pca_pins_cfa10049: pca-10049@0 {
59 MX28_PAD_SSP2_SS0__GPIO_2_19
61 fsl,drive-strength = <MXS_DRIVE_4mA>;
62 fsl,voltage = <MXS_VOLTAGE_HIGH>;
63 fsl,pull-up = <MXS_PULL_ENABLE>;
66 rotary_pins_cfa10049: rotary-10049@0 {
69 MX28_PAD_I2C0_SCL__GPIO_3_24
70 MX28_PAD_I2C0_SDA__GPIO_3_25
72 fsl,drive-strength = <MXS_DRIVE_4mA>;
73 fsl,voltage = <MXS_VOLTAGE_HIGH>;
74 fsl,pull-up = <MXS_PULL_ENABLE>;
77 rotary_btn_pins_cfa10049: rotary-btn-10049@0 {
80 MX28_PAD_SAIF1_SDATA0__GPIO_3_26
82 fsl,drive-strength = <MXS_DRIVE_4mA>;
83 fsl,voltage = <MXS_VOLTAGE_HIGH>;
84 fsl,pull-up = <MXS_PULL_ENABLE>;
87 spi2_pins_cfa10049: spi2-cfa10049@0 {
90 MX28_PAD_SSP2_SCK__GPIO_2_16
91 MX28_PAD_SSP2_MOSI__GPIO_2_17
92 MX28_PAD_SSP2_MISO__GPIO_2_18
93 MX28_PAD_AUART1_TX__GPIO_3_5
95 fsl,drive-strength = <MXS_DRIVE_8mA>;
96 fsl,voltage = <MXS_VOLTAGE_HIGH>;
97 fsl,pull-up = <MXS_PULL_ENABLE>;
100 spi3_pins_cfa10049: spi3-cfa10049@0 {
103 MX28_PAD_GPMI_RDN__GPIO_0_24
104 MX28_PAD_GPMI_RESETN__GPIO_0_28
105 MX28_PAD_GPMI_CE1N__GPIO_0_17
106 MX28_PAD_GPMI_ALE__GPIO_0_26
107 MX28_PAD_GPMI_CLE__GPIO_0_27
109 fsl,drive-strength = <MXS_DRIVE_8mA>;
110 fsl,voltage = <MXS_VOLTAGE_HIGH>;
111 fsl,pull-up = <MXS_PULL_ENABLE>;
114 lcdif_18bit_pins_cfa10049: lcdif-18bit@0 {
117 MX28_PAD_LCD_D00__LCD_D0
118 MX28_PAD_LCD_D01__LCD_D1
119 MX28_PAD_LCD_D02__LCD_D2
120 MX28_PAD_LCD_D03__LCD_D3
121 MX28_PAD_LCD_D04__LCD_D4
122 MX28_PAD_LCD_D05__LCD_D5
123 MX28_PAD_LCD_D06__LCD_D6
124 MX28_PAD_LCD_D07__LCD_D7
125 MX28_PAD_LCD_D08__LCD_D8
126 MX28_PAD_LCD_D09__LCD_D9
127 MX28_PAD_LCD_D10__LCD_D10
128 MX28_PAD_LCD_D11__LCD_D11
129 MX28_PAD_LCD_D12__LCD_D12
130 MX28_PAD_LCD_D13__LCD_D13
131 MX28_PAD_LCD_D14__LCD_D14
132 MX28_PAD_LCD_D15__LCD_D15
133 MX28_PAD_LCD_D16__LCD_D16
134 MX28_PAD_LCD_D17__LCD_D17
136 fsl,drive-strength = <MXS_DRIVE_4mA>;
137 fsl,voltage = <MXS_VOLTAGE_HIGH>;
138 fsl,pull-up = <MXS_PULL_DISABLE>;
141 lcdif_pins_cfa10049: lcdif-evk@0 {
144 MX28_PAD_LCD_RD_E__LCD_VSYNC
145 MX28_PAD_LCD_WR_RWN__LCD_HSYNC
146 MX28_PAD_LCD_RS__LCD_DOTCLK
147 MX28_PAD_LCD_CS__LCD_ENABLE
149 fsl,drive-strength = <MXS_DRIVE_4mA>;
150 fsl,voltage = <MXS_VOLTAGE_HIGH>;
151 fsl,pull-up = <MXS_PULL_DISABLE>;
154 lcdif_pins_cfa10049_pullup: lcdif-10049-pullup@0 {
157 MX28_PAD_LCD_RESET__GPIO_3_30
159 fsl,drive-strength = <MXS_DRIVE_4mA>;
160 fsl,voltage = <MXS_VOLTAGE_HIGH>;
161 fsl,pull-up = <MXS_PULL_ENABLE>;
164 w1_gpio_pins: w1-gpio@0 {
167 MX28_PAD_LCD_D21__GPIO_1_21
169 fsl,drive-strength = <MXS_DRIVE_8mA>;
170 fsl,voltage = <MXS_VOLTAGE_HIGH>;
171 fsl,pull-up = <MXS_PULL_DISABLE>; /* 0 will enable the keeper */
176 pinctrl-names = "default";
177 pinctrl-0 = <&lcdif_18bit_pins_cfa10049
179 &lcdif_pins_cfa10049_pullup>;
180 display = <&display0>;
184 bits-per-pixel = <32>;
188 native-mode = <&timing0>;
190 clock-frequency = <9216000>;
202 pixelclk-active = <1>;
211 pinctrl-names = "default";
212 pinctrl-0 = <&pwm3_pins_b>;
217 pinctrl-names = "default";
218 pinctrl-0 = <&i2c1_pins_a>;
223 compatible = "i2c-mux-gpio";
224 #address-cells = <1>;
226 pinctrl-names = "default";
227 pinctrl-0 = <&i2cmux_pins_cfa10049>;
228 mux-gpios = <&gpio1 22 0 &gpio1 23 0>;
229 i2c-parent = <&i2c1>;
232 #address-cells = <1>;
237 compatible = "nuvoton,nau7802";
239 nuvoton,vldo = <3000>;
244 #address-cells = <1>;
249 compatible = "nuvoton,nau7802";
251 nuvoton,vldo = <3000>;
256 #address-cells = <1>;
261 compatible = "nuvoton,nau7802";
263 nuvoton,vldo = <3000>;
269 #address-cells = <1>;
272 pca9555: pca9555@20 {
273 compatible = "nxp,pca9555";
274 pinctrl-names = "default";
275 pinctrl-0 = <&pca_pins_cfa10049>;
276 interrupt-parent = <&gpio2>;
277 interrupts = <19 0x2>;
280 interrupt-controller;
281 #interrupt-cells = <2>;
287 usbphy1: usbphy@8007e000 {
293 fsl,lradc-touchscreen-wires = <4>;
300 vbus-supply = <®_usb1_vbus>;
301 pinctrl-0 = <&usb1_pins_a>;
302 pinctrl-names = "default";
308 compatible = "simple-bus";
309 #address-cells = <1>;
312 reg_usb1_vbus: regulator@0 {
313 compatible = "regulator-fixed";
315 pinctrl-names = "default";
316 pinctrl-0 = <&usb_pins_cfa10049>;
317 regulator-name = "usb1_vbus";
318 regulator-min-microvolt = <5000000>;
319 regulator-max-microvolt = <5000000>;
325 mac0: ethernet@800f0000 {
327 pinctrl-names = "default";
328 pinctrl-0 = <&mac0_pins_a
329 &mac0_pins_cfa10049>;
330 phy-reset-gpios = <&gpio2 21 0>;
331 phy-reset-duration = <100>;
337 compatible = "spi-gpio";
338 pinctrl-names = "default";
339 pinctrl-0 = <&spi2_pins_cfa10049>;
341 gpio-sck = <&gpio2 16 0>;
342 gpio-mosi = <&gpio2 17 0>;
343 gpio-miso = <&gpio2 18 0>;
344 cs-gpios = <&gpio3 5 0>;
345 num-chipselects = <1>;
346 #address-cells = <1>;
350 compatible = "himax,hx8357b", "himax,hx8357";
352 spi-max-frequency = <100000>;
355 gpios-reset = <&gpio3 30 0>;
356 im-gpios = <&gpio5 4 0 &gpio5 5 0 &gpio5 6 0>;
361 compatible = "spi-gpio";
362 pinctrl-names = "default";
363 pinctrl-0 = <&spi3_pins_cfa10049>;
365 gpio-sck = <&gpio0 24 0>;
366 gpio-mosi = <&gpio0 28 0>;
367 cs-gpios = <&gpio0 17 0 &gpio0 26 0 &gpio0 27 0>;
368 num-chipselects = <3>;
369 #address-cells = <1>;
373 compatible = "fairchild,74hc595";
377 registers-number = <2>;
378 spi-max-frequency = <100000>;
382 compatible = "fairchild,74hc595";
386 registers-number = <4>;
387 spi-max-frequency = <100000>;
391 compatible = "rohm,dh2228fv";
393 spi-max-frequency = <100000>;
398 compatible = "gpio-keys";
399 pinctrl-names = "default";
400 pinctrl-0 = <&rotary_btn_pins_cfa10049>;
401 #address-cells = <1>;
405 label = "rotary_button";
406 gpios = <&gpio3 26 1>;
407 debounce-interval = <10>;
413 compatible = "rotary-encoder";
414 pinctrl-names = "default";
415 pinctrl-0 = <&rotary_pins_cfa10049>;
416 gpios = <&gpio3 24 1>, <&gpio3 25 1>;
417 linux,axis = <1>; /* REL_Y */
418 rotary-encoder,relative-axis;
422 compatible = "pwm-backlight";
423 pwms = <&pwm 3 5000000>;
424 brightness-levels = <0 4 8 16 32 64 128 255>;
425 default-brightness-level = <6>;
430 compatible = "w1-gpio";
431 pinctrl-names = "default";
432 pinctrl-0 = <&w1_gpio_pins>;
434 gpios = <&gpio1 21 0>;