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 0x1153 /* MX28_PAD_LCD_D22__GPIO_1_21 */
34 0x1163 /* MX28_PAD_LCD_D22__GPIO_1_22 */
35 0x1173 /* MX28_PAD_LCD_D22__GPIO_1_23 */
36 0x2153 /* MX28_PAD_SSP2_D5__GPIO_2_21 */
37 0x3173 /* MX28_PAD_LCD_RESET__GPIO_3_23 */
39 fsl,drive-strength = <0>;
44 hog_pins_cfa10049_pullup: hog-10049-pullup@0 {
47 0x2133 /* MX28_PAD_SSP2_D3__GPIO_2_19 */
48 0x3183 /* MX28_PAD_I2C0_SCL__GPIO_3_24 */
49 0x3193 /* MX28_PAD_I2C0_SDA__GPIO_3_25 */
50 0x31a3 /* MX28_PAD_SAIF_SDATA0__GPIO_3_26 */
51 0x31e3 /* MX28_PAD_LCD_RESET__GPIO_3_30 */
53 fsl,drive-strength = <0>;
58 spi2_pins_cfa10049: spi2-cfa10049@0 {
61 0x2103 /* MX28_PAD_SSP2_SCK__GPIO_2_16 */
62 0x2113 /* MX28_PAD_SSP2_CMD__GPIO_2_17 */
63 0x2123 /* MX28_PAD_SSP2_D0__GPIO_2_18 */
65 fsl,drive-strength = <1>;
70 spi3_pins_cfa10049: spi3-cfa10049@0 {
73 0x0183 /* MX28_PAD_GPMI_RDN__GPIO_0_24 */
74 0x01c3 /* MX28_PAD_GPMI_RESETN__GPIO_0_28 */
75 0x0113 /* MX28_PAD_GPMI_CE1N__GPIO_0_17 */
76 0x01a3 /* MX28_PAD_GPMI_ALE__GPIO_0_26 */
77 0x01b3 /* MX28_PAD_GPMI_CLE__GPIO_0_27 */
79 fsl,drive-strength = <1>;
84 lcdif_18bit_pins_cfa10049: lcdif-18bit@0 {
87 0x1000 /* MX28_PAD_LCD_D00__LCD_D0 */
88 0x1010 /* MX28_PAD_LCD_D01__LCD_D1 */
89 0x1020 /* MX28_PAD_LCD_D02__LCD_D2 */
90 0x1030 /* MX28_PAD_LCD_D03__LCD_D3 */
91 0x1040 /* MX28_PAD_LCD_D04__LCD_D4 */
92 0x1050 /* MX28_PAD_LCD_D05__LCD_D5 */
93 0x1060 /* MX28_PAD_LCD_D06__LCD_D6 */
94 0x1070 /* MX28_PAD_LCD_D07__LCD_D7 */
95 0x1080 /* MX28_PAD_LCD_D08__LCD_D8 */
96 0x1090 /* MX28_PAD_LCD_D09__LCD_D9 */
97 0x10a0 /* MX28_PAD_LCD_D10__LCD_D10 */
98 0x10b0 /* MX28_PAD_LCD_D11__LCD_D11 */
99 0x10c0 /* MX28_PAD_LCD_D12__LCD_D12 */
100 0x10d0 /* MX28_PAD_LCD_D13__LCD_D13 */
101 0x10e0 /* MX28_PAD_LCD_D14__LCD_D14 */
102 0x10f0 /* MX28_PAD_LCD_D15__LCD_D15 */
103 0x1100 /* MX28_PAD_LCD_D16__LCD_D16 */
104 0x1110 /* MX28_PAD_LCD_D17__LCD_D17 */
106 fsl,drive-strength = <0>;
111 lcdif_pins_cfa10049: lcdif-evk@0 {
114 0x1181 /* MX28_PAD_LCD_RD_E__LCD_VSYNC */
115 0x1191 /* MX28_PAD_LCD_WR_RWN__LCD_HSYNC */
116 0x11a1 /* MX28_PAD_LCD_RS__LCD_DOTCLK */
117 0x11b1 /* MX28_PAD_LCD_CS__LCD_ENABLE */
119 fsl,drive-strength = <0>;
126 pinctrl-names = "default";
127 pinctrl-0 = <&lcdif_18bit_pins_cfa10049
128 &lcdif_pins_cfa10049>;
135 pinctrl-names = "default", "default";
136 pinctrl-1 = <&pwm3_pins_b>;
141 pinctrl-names = "default";
142 pinctrl-0 = <&i2c1_pins_a>;
147 compatible = "i2c-mux-gpio";
148 #address-cells = <1>;
150 mux-gpios = <&gpio1 22 0 &gpio1 23 0>;
151 i2c-parent = <&i2c1>;
167 #address-cells = <1>;
170 pca9555: pca9555@20 {
171 compatible = "nxp,pca9555";
172 interrupt-parent = <&gpio2>;
173 interrupts = <19 0x2>;
176 interrupt-controller;
177 #interrupt-cells = <2>;
183 usbphy1: usbphy@8007e000 {
191 vbus-supply = <®_usb1_vbus>;
192 pinctrl-0 = <&usbphy1_pins_a>;
193 pinctrl-names = "default";
199 compatible = "simple-bus";
201 reg_usb1_vbus: usb1_vbus {
202 compatible = "regulator-fixed";
203 regulator-name = "usb1_vbus";
204 regulator-min-microvolt = <5000000>;
205 regulator-max-microvolt = <5000000>;
211 mac0: ethernet@800f0000 {
213 pinctrl-names = "default";
214 pinctrl-0 = <&mac0_pins_a>;
215 phy-reset-gpios = <&gpio2 21 0>;
216 phy-reset-duration = <100>;
222 compatible = "spi-gpio";
223 pinctrl-names = "default";
224 pinctrl-0 = <&spi2_pins_cfa10049>;
226 gpio-sck = <&gpio2 16 0>;
227 gpio-mosi = <&gpio2 17 0>;
228 gpio-miso = <&gpio2 18 0>;
229 cs-gpios = <&gpio3 23 0>;
230 num-chipselects = <1>;
231 #address-cells = <1>;
235 compatible = "himax,hx8357b", "himax,hx8357";
237 spi-max-frequency = <100000>;
240 gpios-reset = <&gpio3 30 0>;
241 im-gpios = <&gpio5 4 0 &gpio5 5 0 &gpio5 6 0>;
246 compatible = "spi-gpio";
247 pinctrl-names = "default";
248 pinctrl-0 = <&spi3_pins_cfa10049>;
250 gpio-sck = <&gpio0 24 0>;
251 gpio-mosi = <&gpio0 28 0>;
252 cs-gpios = <&gpio0 17 0 &gpio0 26 0 &gpio0 27 0>;
253 num-chipselects = <3>;
254 #address-cells = <1>;
258 compatible = "fairchild,74hc595";
262 registers-number = <2>;
263 spi-max-frequency = <100000>;
267 compatible = "fairchild,74hc595";
271 registers-number = <4>;
272 spi-max-frequency = <100000>;
276 compatible = "rohm,dh2228fv";
278 spi-max-frequency = <100000>;
283 compatible = "gpio-keys";
284 #address-cells = <1>;
288 label = "rotary_button";
289 gpios = <&gpio3 26 1>;
290 debounce-interval = <10>;
296 compatible = "rotary-encoder";
297 gpios = <&gpio3 24 1>, <&gpio3 25 1>;
298 linux,axis = <1>; /* REL_Y */
299 rotary-encoder,relative-axis;
303 compatible = "pwm-backlight";
304 pwms = <&pwm 3 5000000>;
305 brightness-levels = <0 4 8 16 32 64 128 255>;
306 default-brightness-level = <6>;