Lines Matching +full:imx28 +full:- +full:i2c
1 // SPDX-License-Identifier: GPL-2.0-or-later
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";
18 #address-cells = <1>;
19 #size-cells = <0>;
20 pinctrl-names = "default";
21 pinctrl-0 = <&i2cmux_pins_cfa10049>;
22 mux-gpios = <&gpio1 22 0 &gpio1 23 0>;
23 i2c-parent = <&i2c1>;
25 i2c@0 {
26 #address-cells = <1>;
27 #size-cells = <0>;
37 i2c@1 {
38 #address-cells = <1>;
39 #size-cells = <0>;
49 i2c@2 {
50 #address-cells = <1>;
51 #size-cells = <0>;
61 i2c@3 {
63 #address-cells = <1>;
64 #size-cells = <0>;
68 pinctrl-names = "default";
69 pinctrl-0 = <&pca_pins_cfa10049>;
70 interrupt-parent = <&gpio2>;
72 gpio-controller;
73 #gpio-cells = <2>;
74 interrupt-controller;
75 #interrupt-cells = <2>;
84 usb_pins_cfa10049: usb-10049@0 {
86 fsl,pinmux-ids = <
89 fsl,drive-strength = <MXS_DRIVE_4mA>;
91 fsl,pull-up = <MXS_PULL_DISABLE>;
94 i2cmux_pins_cfa10049: i2cmux-10049@0 {
96 fsl,pinmux-ids = <
100 fsl,drive-strength = <MXS_DRIVE_4mA>;
102 fsl,pull-up = <MXS_PULL_DISABLE>;
105 mac0_pins_cfa10049: mac0-10049@0 {
107 fsl,pinmux-ids = <
110 fsl,drive-strength = <MXS_DRIVE_4mA>;
112 fsl,pull-up = <MXS_PULL_DISABLE>;
115 pca_pins_cfa10049: pca-10049@0 {
117 fsl,pinmux-ids = <
120 fsl,drive-strength = <MXS_DRIVE_4mA>;
122 fsl,pull-up = <MXS_PULL_ENABLE>;
125 rotary_pins_cfa10049: rotary-10049@0 {
127 fsl,pinmux-ids = <
131 fsl,drive-strength = <MXS_DRIVE_4mA>;
133 fsl,pull-up = <MXS_PULL_ENABLE>;
136 rotary_btn_pins_cfa10049: rotary-btn-10049@0 {
138 fsl,pinmux-ids = <
141 fsl,drive-strength = <MXS_DRIVE_4mA>;
143 fsl,pull-up = <MXS_PULL_ENABLE>;
146 spi2_pins_cfa10049: spi2-cfa10049@0 {
148 fsl,pinmux-ids = <
154 fsl,drive-strength = <MXS_DRIVE_8mA>;
156 fsl,pull-up = <MXS_PULL_ENABLE>;
159 spi3_pins_cfa10049: spi3-cfa10049@0 {
161 fsl,pinmux-ids = <
168 fsl,drive-strength = <MXS_DRIVE_8mA>;
170 fsl,pull-up = <MXS_PULL_ENABLE>;
173 lcdif_18bit_pins_cfa10049: lcdif-18bit@0 {
175 fsl,pinmux-ids = <
195 fsl,drive-strength = <MXS_DRIVE_4mA>;
197 fsl,pull-up = <MXS_PULL_DISABLE>;
200 lcdif_pins_cfa10049: lcdif-evk@0 {
202 fsl,pinmux-ids = <
208 fsl,drive-strength = <MXS_DRIVE_4mA>;
210 fsl,pull-up = <MXS_PULL_DISABLE>;
213 lcdif_pins_cfa10049_pullup: lcdif-10049-pullup@0 {
215 fsl,pinmux-ids = <
218 fsl,drive-strength = <MXS_DRIVE_4mA>;
220 fsl,pull-up = <MXS_PULL_ENABLE>;
223 w1_gpio_pins: w1-gpio@0 {
225 fsl,pinmux-ids = <
228 fsl,drive-strength = <MXS_DRIVE_8mA>;
230 fsl,pull-up = <MXS_PULL_DISABLE>; /* 0 will enable the keeper */
235 pinctrl-names = "default";
236 pinctrl-0 = <&lcdif_18bit_pins_cfa10049
243 bits-per-pixel = <32>;
244 bus-width = <18>;
246 display-timings {
247 native-mode = <&timing0>;
249 clock-frequency = <9216000>;
252 hback-porch = <2>;
253 hfront-porch = <2>;
254 vback-porch = <2>;
255 vfront-porch = <2>;
256 hsync-len = <15>;
257 vsync-len = <15>;
258 hsync-active = <0>;
259 vsync-active = <0>;
260 de-active = <1>;
261 pixelclk-active = <1>;
270 pinctrl-names = "default";
271 pinctrl-0 = <&pwm3_pins_b>;
275 i2c1: i2c@8005a000 {
276 pinctrl-names = "default";
277 pinctrl-0 = <&i2c1_pins_a>;
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>;
304 #size-cells = <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>;
320 phy-mode = "rmii";
321 pinctrl-names = "default";
322 pinctrl-0 = <&mac0_pins_a
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>;
341 #size-cells = <0>;
346 spi-max-frequency = <100000>;
347 spi-cpol;
348 spi-cpha;
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>;
364 #size-cells = <0>;
368 gpio-controller;
369 #gpio-cells = <2>;
371 registers-number = <2>;
372 spi-max-frequency = <100000>;
377 gpio-controller;
378 #gpio-cells = <2>;
380 registers-number = <4>;
381 spi-max-frequency = <100000>;
387 spi-max-frequency = <100000>;
392 compatible = "gpio-keys";
393 pinctrl-names = "default";
394 pinctrl-0 = <&rotary_btn_pins_cfa10049>;
399 debounce-interval = <10>;
405 compatible = "rotary-encoder";
406 pinctrl-names = "default";
407 pinctrl-0 = <&rotary_pins_cfa10049>;
410 rotary-encoder,relative-axis;
414 compatible = "pwm-backlight";
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>;