Lines Matching +full:imx28 +full:- +full:saif

1 // SPDX-License-Identifier: GPL-2.0 OR MIT
4 * Copyright 2013-2017 Lothar Waßmann <LW@KARO-electronics.de>
7 /dts-v1/;
8 #include "imx28.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
13 model = "Ka-Ro electronics TX28 module";
14 compatible = "karo,tx28", "fsl,imx28";
34 reg = <0x40000000 0>; /* will be filled in by U-Boot */
38 compatible = "w1-gpio";
43 reg_usb0_vbus: regulator-usb0-vbus {
44 compatible = "regulator-fixed";
45 regulator-name = "usb0_vbus";
46 regulator-min-microvolt = <5000000>;
47 regulator-max-microvolt = <5000000>;
49 enable-active-high;
52 reg_usb1_vbus: regulator-usb1-vbus {
53 compatible = "regulator-fixed";
54 regulator-name = "usb1_vbus";
55 regulator-min-microvolt = <5000000>;
56 regulator-max-microvolt = <5000000>;
58 enable-active-high;
61 reg_2p5v: regulator-2p5v {
62 compatible = "regulator-fixed";
63 regulator-name = "2P5V";
64 regulator-min-microvolt = <2500000>;
65 regulator-max-microvolt = <2500000>;
66 regulator-always-on;
69 reg_3p3v: regulator-3p3v {
70 compatible = "regulator-fixed";
71 regulator-name = "3P3V";
72 regulator-min-microvolt = <3300000>;
73 regulator-max-microvolt = <3300000>;
74 regulator-always-on;
77 reg_can_xcvr: regulator-can-xcvr {
78 compatible = "regulator-fixed";
79 regulator-name = "CAN XCVR";
80 regulator-min-microvolt = <3300000>;
81 regulator-max-microvolt = <3300000>;
83 pinctrl-names = "default";
84 pinctrl-0 = <&tx28_flexcan_xcvr_pins>;
87 reg_lcd: regulator-lcd-power {
88 compatible = "regulator-fixed";
89 regulator-name = "LCD POWER";
90 regulator-min-microvolt = <3300000>;
91 regulator-max-microvolt = <3300000>;
93 enable-active-high;
96 reg_lcd_reset: regulator-lcd-reset {
97 compatible = "regulator-fixed";
98 regulator-name = "LCD RESET";
99 regulator-min-microvolt = <3300000>;
100 regulator-max-microvolt = <3300000>;
102 startup-delay-us = <300000>;
103 enable-active-high;
104 regulator-always-on;
105 regulator-boot-on;
108 mclk: clock-mclk {
109 compatible = "fixed-clock";
110 #clock-cells = <0>;
111 clock-frequency = <26000000>;
115 compatible = "fsl,imx28-tx28-sgtl5000",
116 "fsl,mxs-audio-sgtl5000";
117 model = "imx28-tx28-sgtl5000";
118 saif-controllers = <&saif0 &saif1>;
119 audio-codec = <&sgtl5000>;
123 compatible = "gpio-leds";
128 linux,default-trigger = "heartbeat";
133 compatible = "pwm-backlight";
139 brightness-levels = < 0 1 2 3 4 5 6 7 8 9
150 default-brightness-level = <50>;
153 matrix_keypad: matrix-keypad {
154 compatible = "gpio-matrix-keypad";
155 col-gpios = <
161 row-gpios = <
181 gpio-activelow;
182 wakeup-source;
183 debounce-delay-ms = <100>;
184 col-scan-delay-us = <5000>;
185 linux,no-autorepeat;
189 compatible = "spi-gpio";
190 #address-cells = <1>;
191 #size-cells = <0>;
192 pinctrl-names = "default";
193 pinctrl-0 = <&tx28_spi_gpio_pins>;
195 sck-gpios = <&gpio2 24 GPIO_ACTIVE_HIGH>;
196 mosi-gpios = <&gpio2 25 GPIO_ACTIVE_HIGH>;
197 miso-gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>;
198 num-chipselects = <3>;
199 cs-gpios = <
209 /* 2nd TX-Std UART - (A)UART1 */
211 pinctrl-names = "default";
212 pinctrl-0 = <&auart1_pins_a>;
216 /* 3rd TX-Std UART - (A)UART3 */
218 pinctrl-names = "default";
219 pinctrl-0 = <&auart3_pins_a>;
224 pinctrl-names = "default";
225 pinctrl-0 = <&can0_pins_a>;
226 xceiver-supply = <&reg_can_xcvr>;
231 pinctrl-names = "default";
232 pinctrl-0 = <&can1_pins_a>;
233 xceiver-supply = <&reg_can_xcvr>;
241 /* 1st TX-Std UART - (D)UART */
243 pinctrl-names = "default";
244 pinctrl-0 = <&duart_4pins_a>;
249 pinctrl-0 = <&gpmi_pins_a &gpmi_status_cfg>;
250 nand-on-flash-bbt;
255 pinctrl-names = "default";
256 pinctrl-0 = <&i2c0_pins_a>;
257 clock-frequency = <400000>;
263 #sound-dai-cells = <0>;
264 VDDA-supply = <&reg_2p5v>;
265 VDDIO-supply = <&reg_3p3v>;
272 pinctrl-names = "default";
273 pinctrl-0 = <&tx28_pca9554_pins>;
274 interrupt-parent = <&gpio3>;
276 gpio-controller;
277 #gpio-cells = <2>;
278 interrupt-controller;
279 #interrupt-cells = <2>;
282 polytouch: edt-ft5x06@38 {
283 compatible = "edt,edt-ft5x06";
285 pinctrl-names = "default";
286 pinctrl-0 = <&tx28_edt_ft5x06_pins>;
287 interrupt-parent = <&gpio2>;
289 reset-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
290 wake-gpios = <&gpio4 9 GPIO_ACTIVE_HIGH>;
291 wakeup-source;
297 pinctrl-names = "default";
298 pinctrl-0 = <&tx28_tsc2007_pins>;
299 interrupt-parent = <&gpio3>;
301 pendown-gpio = <&gpio3 20 GPIO_ACTIVE_LOW>;
302 ti,x-plate-ohms = /bits/ 16 <660>;
308 trickle-resistor-ohms = <250>;
309 trickle-diode-disable;
314 pinctrl-names = "default";
315 pinctrl-0 = <&lcdif_24bit_pins_a &lcdif_sync_pins_a &tx28_lcdif_ctrl_pins>;
316 lcd-supply = <&reg_lcd>;
321 bits-per-pixel = <32>;
322 bus-width = <24>;
323 display-timings {
324 native-mode = <&timing5>;
326 clock-frequency = <25175000>;
329 hback-porch = <48>;
330 hsync-len = <96>;
331 hfront-porch = <16>;
332 vback-porch = <33>;
333 vsync-len = <2>;
334 vfront-porch = <10>;
335 hsync-active = <0>;
336 vsync-active = <0>;
337 de-active = <1>;
338 pixelclk-active = <1>;
342 clock-frequency = <25175000>;
345 hback-porch = <114>;
346 hsync-len = <30>;
347 hfront-porch = <16>;
348 vback-porch = <32>;
349 vsync-len = <3>;
350 vfront-porch = <10>;
351 hsync-active = <0>;
352 vsync-active = <0>;
353 de-active = <1>;
354 pixelclk-active = <1>;
358 clock-frequency = <6500000>;
361 hback-porch = <34>;
362 hsync-len = <34>;
363 hfront-porch = <20>;
364 vback-porch = <15>;
365 vsync-len = <3>;
366 vfront-porch = <4>;
367 hsync-active = <0>;
368 vsync-active = <0>;
369 de-active = <1>;
370 pixelclk-active = <1>;
374 clock-frequency = <9000000>;
377 hback-porch = <2>;
378 hsync-len = <41>;
379 hfront-porch = <2>;
380 vback-porch = <2>;
381 vsync-len = <10>;
382 vfront-porch = <2>;
383 hsync-active = <0>;
384 vsync-active = <0>;
385 de-active = <1>;
386 pixelclk-active = <1>;
390 clock-frequency = <33260000>;
393 hback-porch = <88>;
394 hsync-len = <128>;
395 hfront-porch = <40>;
396 vback-porch = <33>;
397 vsync-len = <2>;
398 vfront-porch = <10>;
399 hsync-active = <0>;
400 vsync-active = <0>;
401 de-active = <1>;
402 pixelclk-active = <1>;
406 clock-frequency = <6400000>;
409 hback-porch = <38>;
410 hsync-len = <30>;
411 hfront-porch = <30>;
412 vback-porch = <16>;
413 vsync-len = <3>;
414 vfront-porch = <4>;
415 hsync-active = <0>;
416 vsync-active = <0>;
417 de-active = <1>;
418 pixelclk-active = <1>;
425 fsl,lradc-touchscreen-wires = <4>;
430 phy-mode = "rmii";
431 pinctrl-names = "default", "gpio_mode";
432 pinctrl-0 = <&mac0_pins_a>;
433 pinctrl-1 = <&tx28_mac0_pins_gpio>;
438 phy-mode = "rmii";
439 pinctrl-names = "default";
440 pinctrl-0 = <&mac1_pins_a>;
453 pinctrl-names = "default";
454 pinctrl-0 = <&pwm0_pins_a>;
459 pinctrl-names = "default";
460 pinctrl-0 = <&hog_pins_a>;
464 fsl,pinmux-ids = <
467 fsl,drive-strength = <MXS_DRIVE_4mA>;
469 fsl,pull-up = <MXS_PULL_DISABLE>;
472 tx28_edt_ft5x06_pins: tx28-edt-ft5x06-pins@0 {
474 fsl,pinmux-ids = <
479 fsl,drive-strength = <MXS_DRIVE_4mA>;
481 fsl,pull-up = <MXS_PULL_DISABLE>;
484 tx28_flexcan_xcvr_pins: tx28-flexcan-xcvr-pins@0 {
486 fsl,pinmux-ids = <
489 fsl,drive-strength = <MXS_DRIVE_4mA>;
491 fsl,pull-up = <MXS_PULL_DISABLE>;
494 tx28_lcdif_23bit_pins: tx28-lcdif-23bit@0 {
496 fsl,pinmux-ids = <
497 /* LCD_D00 may be used as Flexcan Transceiver Enable on STK5-V5 */
522 fsl,drive-strength = <MXS_DRIVE_4mA>;
524 fsl,pull-up = <MXS_PULL_DISABLE>;
527 tx28_lcdif_ctrl_pins: tx28-lcdif-ctrl@0 {
529 fsl,pinmux-ids = <
533 fsl,drive-strength = <MXS_DRIVE_4mA>;
535 fsl,pull-up = <MXS_PULL_DISABLE>;
538 tx28_mac0_pins_gpio: tx28-mac0-gpio-pins@0 {
540 fsl,pinmux-ids = <
551 fsl,drive-strength = <MXS_DRIVE_4mA>;
553 fsl,pull-up = <MXS_PULL_DISABLE>;
556 tx28_pca9554_pins: tx28-pca9554-pins@0 {
558 fsl,pinmux-ids = <
561 fsl,drive-strength = <MXS_DRIVE_4mA>;
563 fsl,pull-up = <MXS_PULL_DISABLE>;
566 tx28_spi_gpio_pins: spi-gpiogrp@0 {
568 fsl,pinmux-ids = <
576 fsl,drive-strength = <MXS_DRIVE_8mA>;
578 fsl,pull-up = <MXS_PULL_DISABLE>;
581 tx28_tsc2007_pins: tx28-tsc2007-pins@0 {
583 fsl,pinmux-ids = <
586 fsl,drive-strength = <MXS_DRIVE_4mA>;
588 fsl,pull-up = <MXS_PULL_DISABLE>;
592 tx28_usbphy0_pins: tx28-usbphy0-pins@0 {
594 fsl,pinmux-ids = <
598 fsl,drive-strength = <MXS_DRIVE_12mA>;
600 fsl,pull-up = <MXS_PULL_DISABLE>;
603 tx28_usbphy1_pins: tx28-usbphy1-pins@0 {
605 fsl,pinmux-ids = <
609 fsl,drive-strength = <MXS_DRIVE_12mA>;
611 fsl,pull-up = <MXS_PULL_DISABLE>;
616 pinctrl-names = "default";
617 pinctrl-0 = <&saif0_pins_b>;
622 pinctrl-names = "default";
623 pinctrl-0 = <&saif1_pins_a>;
624 fsl,saif-master = <&saif0>;
629 compatible = "fsl,imx28-mmc";
630 pinctrl-names = "default", "special";
631 pinctrl-0 = <&mmc0_4bit_pins_a
634 bus-width = <4>;
639 compatible = "fsl,imx28-spi";
640 pinctrl-names = "default";
641 pinctrl-0 = <&spi3_pins_a>;
642 clock-frequency = <57600000>;
647 vbus-supply = <&reg_usb0_vbus>;
648 disable-over-current;
655 vbus-supply = <&reg_usb1_vbus>;
656 disable-over-current;
663 pinctrl-names = "default";
664 pinctrl-0 = <&tx28_usbphy0_pins>;
669 pinctrl-names = "default";
670 pinctrl-0 = <&tx28_usbphy1_pins>;