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 pinctrl-names = "default", "default";
26 pinctrl-1 = <&hog_pins_cfa10049
27 &hog_pins_cfa10049_pullup>;
29 hog_pins_cfa10049: hog-10049@0 {
32 0x0073 /* MX28_PAD_GPMI_D7__GPIO_0_7 */
33 0x1163 /* MX28_PAD_LCD_D22__GPIO_1_22 */
34 0x1173 /* MX28_PAD_LCD_D22__GPIO_1_23 */
35 0x2153 /* MX28_PAD_SSP2_D5__GPIO_2_21 */
36 0x3173 /* MX28_PAD_LCD_RESET__GPIO_3_23 */
38 fsl,drive-strength = <0>;
43 hog_pins_cfa10049_pullup: hog-10049-pullup@0 {
46 0x2133 /* MX28_PAD_SSP2_D3__GPIO_2_19 */
47 0x3183 /* MX28_PAD_I2C0_SCL__GPIO_3_24 */
48 0x3193 /* MX28_PAD_I2C0_SDA__GPIO_3_25 */
49 0x31a3 /* MX28_PAD_SAIF_SDATA0__GPIO_3_26 */
50 0x31e3 /* MX28_PAD_LCD_RESET__GPIO_3_30 */
52 fsl,drive-strength = <0>;
57 spi2_pins_cfa10049: spi2-cfa10049@0 {
60 0x2103 /* MX28_PAD_SSP2_SCK__GPIO_2_16 */
61 0x2113 /* MX28_PAD_SSP2_CMD__GPIO_2_17 */
62 0x2123 /* MX28_PAD_SSP2_D0__GPIO_2_18 */
64 fsl,drive-strength = <1>;
69 spi3_pins_cfa10049: spi3-cfa10049@0 {
72 0x0183 /* MX28_PAD_GPMI_RDN__GPIO_0_24 */
73 0x01c3 /* MX28_PAD_GPMI_RESETN__GPIO_0_28 */
74 0x0113 /* MX28_PAD_GPMI_CE1N__GPIO_0_17 */
75 0x01a3 /* MX28_PAD_GPMI_ALE__GPIO_0_26 */
76 0x01b3 /* MX28_PAD_GPMI_CLE__GPIO_0_27 */
78 fsl,drive-strength = <1>;
83 lcdif_18bit_pins_cfa10049: lcdif-18bit@0 {
86 0x1000 /* MX28_PAD_LCD_D00__LCD_D0 */
87 0x1010 /* MX28_PAD_LCD_D01__LCD_D1 */
88 0x1020 /* MX28_PAD_LCD_D02__LCD_D2 */
89 0x1030 /* MX28_PAD_LCD_D03__LCD_D3 */
90 0x1040 /* MX28_PAD_LCD_D04__LCD_D4 */
91 0x1050 /* MX28_PAD_LCD_D05__LCD_D5 */
92 0x1060 /* MX28_PAD_LCD_D06__LCD_D6 */
93 0x1070 /* MX28_PAD_LCD_D07__LCD_D7 */
94 0x1080 /* MX28_PAD_LCD_D08__LCD_D8 */
95 0x1090 /* MX28_PAD_LCD_D09__LCD_D9 */
96 0x10a0 /* MX28_PAD_LCD_D10__LCD_D10 */
97 0x10b0 /* MX28_PAD_LCD_D11__LCD_D11 */
98 0x10c0 /* MX28_PAD_LCD_D12__LCD_D12 */
99 0x10d0 /* MX28_PAD_LCD_D13__LCD_D13 */
100 0x10e0 /* MX28_PAD_LCD_D14__LCD_D14 */
101 0x10f0 /* MX28_PAD_LCD_D15__LCD_D15 */
102 0x1100 /* MX28_PAD_LCD_D16__LCD_D16 */
103 0x1110 /* MX28_PAD_LCD_D17__LCD_D17 */
105 fsl,drive-strength = <0>;
110 lcdif_pins_cfa10049: lcdif-evk@0 {
113 0x1181 /* MX28_PAD_LCD_RD_E__LCD_VSYNC */
114 0x1191 /* MX28_PAD_LCD_WR_RWN__LCD_HSYNC */
115 0x11a1 /* MX28_PAD_LCD_RS__LCD_DOTCLK */
116 0x11b1 /* MX28_PAD_LCD_CS__LCD_ENABLE */
118 fsl,drive-strength = <0>;
123 w1_gpio_pins: w1-gpio@0 {
126 0x1153 /* MX28_PAD_LCD_D21__GPIO_1_21 */
128 fsl,drive-strength = <1>;
130 fsl,pull-up = <0>; /* 0 will enable the keeper */
135 pinctrl-names = "default";
136 pinctrl-0 = <&lcdif_18bit_pins_cfa10049
137 &lcdif_pins_cfa10049>;
138 display = <&display>;
142 bits-per-pixel = <32>;
146 native-mode = <&timing0>;
148 clock-frequency = <9216000>;
160 pixelclk-active = <1>;
169 pinctrl-names = "default", "default";
170 pinctrl-1 = <&pwm3_pins_b>;
175 pinctrl-names = "default";
176 pinctrl-0 = <&i2c1_pins_a>;
181 compatible = "i2c-mux-gpio";
182 #address-cells = <1>;
184 mux-gpios = <&gpio1 22 0 &gpio1 23 0>;
185 i2c-parent = <&i2c1>;
201 #address-cells = <1>;
204 pca9555: pca9555@20 {
205 compatible = "nxp,pca9555";
206 interrupt-parent = <&gpio2>;
207 interrupts = <19 0x2>;
210 interrupt-controller;
211 #interrupt-cells = <2>;
217 usbphy1: usbphy@8007e000 {
223 fsl,lradc-touchscreen-wires = <4>;
230 vbus-supply = <®_usb1_vbus>;
231 pinctrl-0 = <&usbphy1_pins_a>;
232 pinctrl-names = "default";
238 compatible = "simple-bus";
240 reg_usb1_vbus: usb1_vbus {
241 compatible = "regulator-fixed";
242 regulator-name = "usb1_vbus";
243 regulator-min-microvolt = <5000000>;
244 regulator-max-microvolt = <5000000>;
250 mac0: ethernet@800f0000 {
252 pinctrl-names = "default";
253 pinctrl-0 = <&mac0_pins_a>;
254 phy-reset-gpios = <&gpio2 21 0>;
255 phy-reset-duration = <100>;
261 compatible = "spi-gpio";
262 pinctrl-names = "default";
263 pinctrl-0 = <&spi2_pins_cfa10049>;
265 gpio-sck = <&gpio2 16 0>;
266 gpio-mosi = <&gpio2 17 0>;
267 gpio-miso = <&gpio2 18 0>;
268 cs-gpios = <&gpio3 23 0>;
269 num-chipselects = <1>;
270 #address-cells = <1>;
274 compatible = "himax,hx8357b", "himax,hx8357";
276 spi-max-frequency = <100000>;
279 gpios-reset = <&gpio3 30 0>;
280 im-gpios = <&gpio5 4 0 &gpio5 5 0 &gpio5 6 0>;
285 compatible = "spi-gpio";
286 pinctrl-names = "default";
287 pinctrl-0 = <&spi3_pins_cfa10049>;
289 gpio-sck = <&gpio0 24 0>;
290 gpio-mosi = <&gpio0 28 0>;
291 cs-gpios = <&gpio0 17 0 &gpio0 26 0 &gpio0 27 0>;
292 num-chipselects = <3>;
293 #address-cells = <1>;
297 compatible = "fairchild,74hc595";
301 registers-number = <2>;
302 spi-max-frequency = <100000>;
306 compatible = "fairchild,74hc595";
310 registers-number = <4>;
311 spi-max-frequency = <100000>;
315 compatible = "rohm,dh2228fv";
317 spi-max-frequency = <100000>;
322 compatible = "gpio-keys";
323 #address-cells = <1>;
327 label = "rotary_button";
328 gpios = <&gpio3 26 1>;
329 debounce-interval = <10>;
335 compatible = "rotary-encoder";
336 gpios = <&gpio3 24 1>, <&gpio3 25 1>;
337 linux,axis = <1>; /* REL_Y */
338 rotary-encoder,relative-axis;
342 compatible = "pwm-backlight";
343 pwms = <&pwm 3 5000000>;
344 brightness-levels = <0 4 8 16 32 64 128 255>;
345 default-brightness-level = <6>;
350 compatible = "w1-gpio";
351 pinctrl-names = "default";
352 pinctrl-0 = <&w1_gpio_pins>;
354 gpios = <&gpio1 21 0>;