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";
23 compatible = "i2c-mux-gpio";
26 pinctrl-names = "default";
27 pinctrl-0 = <&i2cmux_pins_cfa10049>;
28 mux-gpios = <&gpio1 22 0 &gpio1 23 0>;
37 compatible = "nuvoton,nau7802";
39 nuvoton,vldo = <3000>;
49 compatible = "nuvoton,nau7802";
51 nuvoton,vldo = <3000>;
61 compatible = "nuvoton,nau7802";
63 nuvoton,vldo = <3000>;
73 compatible = "nxp,pca9555";
74 pinctrl-names = "default";
75 pinctrl-0 = <&pca_pins_cfa10049>;
76 interrupt-parent = <&gpio2>;
77 interrupts = <19 0x2>;
81 #interrupt-cells = <2>;
90 usb_pins_cfa10049: usb-10049@0 {
93 MX28_PAD_GPMI_D07__GPIO_0_7
95 fsl,drive-strength = <MXS_DRIVE_4mA>;
96 fsl,voltage = <MXS_VOLTAGE_HIGH>;
97 fsl,pull-up = <MXS_PULL_DISABLE>;
100 i2cmux_pins_cfa10049: i2cmux-10049@0 {
103 MX28_PAD_LCD_D22__GPIO_1_22
104 MX28_PAD_LCD_D23__GPIO_1_23
106 fsl,drive-strength = <MXS_DRIVE_4mA>;
107 fsl,voltage = <MXS_VOLTAGE_HIGH>;
108 fsl,pull-up = <MXS_PULL_DISABLE>;
111 mac0_pins_cfa10049: mac0-10049@0 {
114 MX28_PAD_SSP2_SS2__GPIO_2_21
116 fsl,drive-strength = <MXS_DRIVE_4mA>;
117 fsl,voltage = <MXS_VOLTAGE_HIGH>;
118 fsl,pull-up = <MXS_PULL_DISABLE>;
121 pca_pins_cfa10049: pca-10049@0 {
124 MX28_PAD_SSP2_SS0__GPIO_2_19
126 fsl,drive-strength = <MXS_DRIVE_4mA>;
127 fsl,voltage = <MXS_VOLTAGE_HIGH>;
128 fsl,pull-up = <MXS_PULL_ENABLE>;
131 rotary_pins_cfa10049: rotary-10049@0 {
134 MX28_PAD_I2C0_SCL__GPIO_3_24
135 MX28_PAD_I2C0_SDA__GPIO_3_25
137 fsl,drive-strength = <MXS_DRIVE_4mA>;
138 fsl,voltage = <MXS_VOLTAGE_HIGH>;
139 fsl,pull-up = <MXS_PULL_ENABLE>;
142 rotary_btn_pins_cfa10049: rotary-btn-10049@0 {
145 MX28_PAD_SAIF1_SDATA0__GPIO_3_26
147 fsl,drive-strength = <MXS_DRIVE_4mA>;
148 fsl,voltage = <MXS_VOLTAGE_HIGH>;
149 fsl,pull-up = <MXS_PULL_ENABLE>;
152 spi2_pins_cfa10049: spi2-cfa10049@0 {
155 MX28_PAD_SSP2_SCK__GPIO_2_16
156 MX28_PAD_SSP2_MOSI__GPIO_2_17
157 MX28_PAD_SSP2_MISO__GPIO_2_18
158 MX28_PAD_AUART1_TX__GPIO_3_5
160 fsl,drive-strength = <MXS_DRIVE_8mA>;
161 fsl,voltage = <MXS_VOLTAGE_HIGH>;
162 fsl,pull-up = <MXS_PULL_ENABLE>;
165 spi3_pins_cfa10049: spi3-cfa10049@0 {
168 MX28_PAD_GPMI_RDN__GPIO_0_24
169 MX28_PAD_GPMI_RESETN__GPIO_0_28
170 MX28_PAD_GPMI_CE1N__GPIO_0_17
171 MX28_PAD_GPMI_ALE__GPIO_0_26
172 MX28_PAD_GPMI_CLE__GPIO_0_27
174 fsl,drive-strength = <MXS_DRIVE_8mA>;
175 fsl,voltage = <MXS_VOLTAGE_HIGH>;
176 fsl,pull-up = <MXS_PULL_ENABLE>;
179 lcdif_18bit_pins_cfa10049: lcdif-18bit@0 {
182 MX28_PAD_LCD_D00__LCD_D0
183 MX28_PAD_LCD_D01__LCD_D1
184 MX28_PAD_LCD_D02__LCD_D2
185 MX28_PAD_LCD_D03__LCD_D3
186 MX28_PAD_LCD_D04__LCD_D4
187 MX28_PAD_LCD_D05__LCD_D5
188 MX28_PAD_LCD_D06__LCD_D6
189 MX28_PAD_LCD_D07__LCD_D7
190 MX28_PAD_LCD_D08__LCD_D8
191 MX28_PAD_LCD_D09__LCD_D9
192 MX28_PAD_LCD_D10__LCD_D10
193 MX28_PAD_LCD_D11__LCD_D11
194 MX28_PAD_LCD_D12__LCD_D12
195 MX28_PAD_LCD_D13__LCD_D13
196 MX28_PAD_LCD_D14__LCD_D14
197 MX28_PAD_LCD_D15__LCD_D15
198 MX28_PAD_LCD_D16__LCD_D16
199 MX28_PAD_LCD_D17__LCD_D17
201 fsl,drive-strength = <MXS_DRIVE_4mA>;
202 fsl,voltage = <MXS_VOLTAGE_HIGH>;
203 fsl,pull-up = <MXS_PULL_DISABLE>;
206 lcdif_pins_cfa10049: lcdif-evk@0 {
209 MX28_PAD_LCD_RD_E__LCD_VSYNC
210 MX28_PAD_LCD_WR_RWN__LCD_HSYNC
211 MX28_PAD_LCD_RS__LCD_DOTCLK
212 MX28_PAD_LCD_CS__LCD_ENABLE
214 fsl,drive-strength = <MXS_DRIVE_4mA>;
215 fsl,voltage = <MXS_VOLTAGE_HIGH>;
216 fsl,pull-up = <MXS_PULL_DISABLE>;
219 lcdif_pins_cfa10049_pullup: lcdif-10049-pullup@0 {
222 MX28_PAD_LCD_RESET__GPIO_3_30
224 fsl,drive-strength = <MXS_DRIVE_4mA>;
225 fsl,voltage = <MXS_VOLTAGE_HIGH>;
226 fsl,pull-up = <MXS_PULL_ENABLE>;
229 w1_gpio_pins: w1-gpio@0 {
232 MX28_PAD_LCD_D21__GPIO_1_21
234 fsl,drive-strength = <MXS_DRIVE_8mA>;
235 fsl,voltage = <MXS_VOLTAGE_HIGH>;
236 fsl,pull-up = <MXS_PULL_DISABLE>; /* 0 will enable the keeper */
241 pinctrl-names = "default";
242 pinctrl-0 = <&lcdif_18bit_pins_cfa10049
244 &lcdif_pins_cfa10049_pullup>;
245 display = <&display0>;
249 bits-per-pixel = <32>;
253 native-mode = <&timing0>;
255 clock-frequency = <9216000>;
267 pixelclk-active = <1>;
276 pinctrl-names = "default";
277 pinctrl-0 = <&pwm3_pins_b>;
282 pinctrl-names = "default";
283 pinctrl-0 = <&i2c1_pins_a>;
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 GPIO_ACTIVE_LOW>;
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>;
403 label = "rotary_button";
404 gpios = <&gpio3 26 1>;
405 debounce-interval = <10>;
411 compatible = "rotary-encoder";
412 pinctrl-names = "default";
413 pinctrl-0 = <&rotary_pins_cfa10049>;
414 gpios = <&gpio3 24 1>, <&gpio3 25 1>;
415 linux,axis = <1>; /* REL_Y */
416 rotary-encoder,relative-axis;
420 compatible = "pwm-backlight";
421 pwms = <&pwm 3 5000000>;
422 brightness-levels = <0 4 8 16 32 64 128 255>;
423 default-brightness-level = <6>;
428 compatible = "w1-gpio";
429 pinctrl-names = "default";
430 pinctrl-0 = <&w1_gpio_pins>;
432 gpios = <&gpio1 21 0>;