• Home
  • Raw
  • Download

Lines Matching +full:imx28 +full:- +full:spi

3  * Copyright 2013-2017 Lothar Waßmann <LW@KARO-electronics.de>
5 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "imx28.dtsi"
45 #include <dt-bindings/gpio/gpio.h>
46 #include <dt-bindings/interrupt-controller/irq.h>
49 model = "Ka-Ro electronics TX28 module";
50 compatible = "karo,tx28", "fsl,imx28";
69 reg = <0x40000000 0>; /* will be filled in by U-Boot */
73 compatible = "w1-gpio";
78 reg_usb0_vbus: regulator-usb0-vbus {
79 compatible = "regulator-fixed";
80 regulator-name = "usb0_vbus";
81 regulator-min-microvolt = <5000000>;
82 regulator-max-microvolt = <5000000>;
84 enable-active-high;
87 reg_usb1_vbus: regulator-usb1-vbus {
88 compatible = "regulator-fixed";
89 regulator-name = "usb1_vbus";
90 regulator-min-microvolt = <5000000>;
91 regulator-max-microvolt = <5000000>;
93 enable-active-high;
96 reg_2p5v: regulator-2p5v {
97 compatible = "regulator-fixed";
98 regulator-name = "2P5V";
99 regulator-min-microvolt = <2500000>;
100 regulator-max-microvolt = <2500000>;
101 regulator-always-on;
104 reg_3p3v: regulator-3p3v {
105 compatible = "regulator-fixed";
106 regulator-name = "3P3V";
107 regulator-min-microvolt = <3300000>;
108 regulator-max-microvolt = <3300000>;
109 regulator-always-on;
112 reg_can_xcvr: regulator-can-xcvr {
113 compatible = "regulator-fixed";
114 regulator-name = "CAN XCVR";
115 regulator-min-microvolt = <3300000>;
116 regulator-max-microvolt = <3300000>;
118 pinctrl-names = "default";
119 pinctrl-0 = <&tx28_flexcan_xcvr_pins>;
122 reg_lcd: regulator-lcd-power {
123 compatible = "regulator-fixed";
124 regulator-name = "LCD POWER";
125 regulator-min-microvolt = <3300000>;
126 regulator-max-microvolt = <3300000>;
128 enable-active-high;
131 reg_lcd_reset: regulator-lcd-reset {
132 compatible = "regulator-fixed";
133 regulator-name = "LCD RESET";
134 regulator-min-microvolt = <3300000>;
135 regulator-max-microvolt = <3300000>;
137 startup-delay-us = <300000>;
138 enable-active-high;
139 regulator-always-on;
140 regulator-boot-on;
143 mclk: clock-mclk {
144 compatible = "fixed-clock";
145 #clock-cells = <0>;
146 clock-frequency = <26000000>;
150 compatible = "fsl,imx28-tx28-sgtl5000",
151 "fsl,mxs-audio-sgtl5000";
152 model = "imx28-tx28-sgtl5000";
153 saif-controllers = <&saif0 &saif1>;
154 audio-codec = <&sgtl5000>;
158 compatible = "gpio-leds";
163 linux,default-trigger = "heartbeat";
168 compatible = "pwm-backlight";
174 brightness-levels = < 0 1 2 3 4 5 6 7 8 9
185 default-brightness-level = <50>;
188 matrix_keypad: matrix-keypad {
189 compatible = "gpio-matrix-keypad";
190 col-gpios = <
196 row-gpios = <
216 gpio-activelow;
217 wakeup-source;
218 debounce-delay-ms = <100>;
219 col-scan-delay-us = <5000>;
220 linux,no-autorepeat;
223 spi_gpio: spi-gpio {
224 compatible = "spi-gpio";
225 #address-cells = <1>;
226 #size-cells = <0>;
227 pinctrl-names = "default";
228 pinctrl-0 = <&tx28_spi_gpio_pins>;
230 gpio-sck = <&gpio2 24 GPIO_ACTIVE_HIGH>;
231 gpio-mosi = <&gpio2 25 GPIO_ACTIVE_HIGH>;
232 gpio-miso = <&gpio2 26 GPIO_ACTIVE_HIGH>;
233 num-chipselects = <3>;
234 cs-gpios = <
239 /* enable this and disable ssp3 below, if you need full duplex SPI transfer */
242 spi@0 {
245 spi-max-frequency = <57600000>;
248 spi@1 {
251 spi-max-frequency = <57600000>;
254 spi@2 {
257 spi-max-frequency = <57600000>;
262 /* 2nd TX-Std UART - (A)UART1 */
264 pinctrl-names = "default";
265 pinctrl-0 = <&auart1_pins_a>;
269 /* 3rd TX-Std UART - (A)UART3 */
271 pinctrl-names = "default";
272 pinctrl-0 = <&auart3_pins_a>;
277 pinctrl-names = "default";
278 pinctrl-0 = <&can0_pins_a>;
279 xceiver-supply = <&reg_can_xcvr>;
284 pinctrl-names = "default";
285 pinctrl-0 = <&can1_pins_a>;
286 xceiver-supply = <&reg_can_xcvr>;
294 /* 1st TX-Std UART - (D)UART */
296 pinctrl-names = "default";
297 pinctrl-0 = <&duart_4pins_a>;
302 pinctrl-0 = <&gpmi_pins_a &gpmi_status_cfg>;
303 nand-on-flash-bbt;
308 pinctrl-names = "default";
309 pinctrl-0 = <&i2c0_pins_a>;
310 clock-frequency = <400000>;
316 VDDA-supply = <&reg_2p5v>;
317 VDDIO-supply = <&reg_3p3v>;
324 pinctrl-names = "default";
325 pinctrl-0 = <&tx28_pca9554_pins>;
326 interrupt-parent = <&gpio3>;
328 gpio-controller;
329 #gpio-cells = <2>;
330 interrupt-controller;
331 #interrupt-cells = <2>;
334 polytouch: edt-ft5x06@38 {
335 compatible = "edt,edt-ft5x06";
337 pinctrl-names = "default";
338 pinctrl-0 = <&tx28_edt_ft5x06_pins>;
339 interrupt-parent = <&gpio2>;
341 reset-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
342 wake-gpios = <&gpio4 9 GPIO_ACTIVE_HIGH>;
343 wakeup-source;
349 pinctrl-names = "default";
350 pinctrl-0 = <&tx28_tsc2007_pins>;
351 interrupt-parent = <&gpio3>;
353 pendown-gpio = <&gpio3 20 GPIO_ACTIVE_LOW>;
354 ti,x-plate-ohms = /bits/ 16 <660>;
360 trickle-resistor-ohms = <250>;
361 trickle-diode-disable;
366 pinctrl-names = "default";
367 pinctrl-0 = <&lcdif_24bit_pins_a &lcdif_sync_pins_a &tx28_lcdif_ctrl_pins>;
368 lcd-supply = <&reg_lcd>;
373 bits-per-pixel = <32>;
374 bus-width = <24>;
375 display-timings {
376 native-mode = <&timing5>;
378 panel-name = "VGA";
379 clock-frequency = <25175000>;
382 hback-porch = <48>;
383 hsync-len = <96>;
384 hfront-porch = <16>;
385 vback-porch = <33>;
386 vsync-len = <2>;
387 vfront-porch = <10>;
388 hsync-active = <0>;
389 vsync-active = <0>;
390 de-active = <1>;
391 pixelclk-active = <1>;
395 panel-name = "ETV570";
396 clock-frequency = <25175000>;
399 hback-porch = <114>;
400 hsync-len = <30>;
401 hfront-porch = <16>;
402 vback-porch = <32>;
403 vsync-len = <3>;
404 vfront-porch = <10>;
405 hsync-active = <0>;
406 vsync-active = <0>;
407 de-active = <1>;
408 pixelclk-active = <1>;
412 panel-name = "ET0350";
413 clock-frequency = <6500000>;
416 hback-porch = <34>;
417 hsync-len = <34>;
418 hfront-porch = <20>;
419 vback-porch = <15>;
420 vsync-len = <3>;
421 vfront-porch = <4>;
422 hsync-active = <0>;
423 vsync-active = <0>;
424 de-active = <1>;
425 pixelclk-active = <1>;
429 panel-name = "ET0430";
430 clock-frequency = <9000000>;
433 hback-porch = <2>;
434 hsync-len = <41>;
435 hfront-porch = <2>;
436 vback-porch = <2>;
437 vsync-len = <10>;
438 vfront-porch = <2>;
439 hsync-active = <0>;
440 vsync-active = <0>;
441 de-active = <1>;
442 pixelclk-active = <1>;
446 panel-name = "ET0500", "ET0700";
447 clock-frequency = <33260000>;
450 hback-porch = <88>;
451 hsync-len = <128>;
452 hfront-porch = <40>;
453 vback-porch = <33>;
454 vsync-len = <2>;
455 vfront-porch = <10>;
456 hsync-active = <0>;
457 vsync-active = <0>;
458 de-active = <1>;
459 pixelclk-active = <1>;
463 panel-name = "ETQ570";
464 clock-frequency = <6400000>;
467 hback-porch = <38>;
468 hsync-len = <30>;
469 hfront-porch = <30>;
470 vback-porch = <16>;
471 vsync-len = <3>;
472 vfront-porch = <4>;
473 hsync-active = <0>;
474 vsync-active = <0>;
475 de-active = <1>;
476 pixelclk-active = <1>;
483 fsl,lradc-touchscreen-wires = <4>;
488 phy-mode = "rmii";
489 pinctrl-names = "default", "gpio_mode";
490 pinctrl-0 = <&mac0_pins_a>;
491 pinctrl-1 = <&tx28_mac0_pins_gpio>;
496 phy-mode = "rmii";
497 pinctrl-names = "default";
498 pinctrl-0 = <&mac1_pins_a>;
511 pinctrl-names = "default";
512 pinctrl-0 = <&pwm0_pins_a>;
517 pinctrl-names = "default";
518 pinctrl-0 = <&hog_pins_a>;
522 fsl,pinmux-ids = <
525 fsl,drive-strength = <MXS_DRIVE_4mA>;
527 fsl,pull-up = <MXS_PULL_DISABLE>;
530 tx28_edt_ft5x06_pins: tx28-edt-ft5x06-pins@0 {
532 fsl,pinmux-ids = <
537 fsl,drive-strength = <MXS_DRIVE_4mA>;
539 fsl,pull-up = <MXS_PULL_DISABLE>;
542 tx28_flexcan_xcvr_pins: tx28-flexcan-xcvr-pins@0 {
544 fsl,pinmux-ids = <
547 fsl,drive-strength = <MXS_DRIVE_4mA>;
549 fsl,pull-up = <MXS_PULL_DISABLE>;
552 tx28_lcdif_23bit_pins: tx28-lcdif-23bit@0 {
554 fsl,pinmux-ids = <
555 /* LCD_D00 may be used as Flexcan Transceiver Enable on STK5-V5 */
580 fsl,drive-strength = <MXS_DRIVE_4mA>;
582 fsl,pull-up = <MXS_PULL_DISABLE>;
585 tx28_lcdif_ctrl_pins: tx28-lcdif-ctrl@0 {
587 fsl,pinmux-ids = <
591 fsl,drive-strength = <MXS_DRIVE_4mA>;
593 fsl,pull-up = <MXS_PULL_DISABLE>;
596 tx28_mac0_pins_gpio: tx28-mac0-gpio-pins@0 {
598 fsl,pinmux-ids = <
609 fsl,drive-strength = <MXS_DRIVE_4mA>;
611 fsl,pull-up = <MXS_PULL_DISABLE>;
614 tx28_pca9554_pins: tx28-pca9554-pins@0 {
616 fsl,pinmux-ids = <
619 fsl,drive-strength = <MXS_DRIVE_4mA>;
621 fsl,pull-up = <MXS_PULL_DISABLE>;
624 tx28_spi_gpio_pins: spi-gpiogrp@0 {
626 fsl,pinmux-ids = <
634 fsl,drive-strength = <MXS_DRIVE_8mA>;
636 fsl,pull-up = <MXS_PULL_DISABLE>;
639 tx28_tsc2007_pins: tx28-tsc2007-pins@0 {
641 fsl,pinmux-ids = <
644 fsl,drive-strength = <MXS_DRIVE_4mA>;
646 fsl,pull-up = <MXS_PULL_DISABLE>;
650 tx28_usbphy0_pins: tx28-usbphy0-pins@0 {
652 fsl,pinmux-ids = <
656 fsl,drive-strength = <MXS_DRIVE_12mA>;
658 fsl,pull-up = <MXS_PULL_DISABLE>;
661 tx28_usbphy1_pins: tx28-usbphy1-pins@0 {
663 fsl,pinmux-ids = <
667 fsl,drive-strength = <MXS_DRIVE_12mA>;
669 fsl,pull-up = <MXS_PULL_DISABLE>;
674 pinctrl-names = "default";
675 pinctrl-0 = <&saif0_pins_b>;
676 fsl,saif-master;
681 pinctrl-names = "default";
682 pinctrl-0 = <&saif1_pins_a>;
687 compatible = "fsl,imx28-mmc";
688 pinctrl-names = "default", "special";
689 pinctrl-0 = <&mmc0_4bit_pins_a
692 bus-width = <4>;
697 compatible = "fsl,imx28-spi";
698 pinctrl-names = "default";
699 pinctrl-0 = <&spi3_pins_a>;
700 clock-frequency = <57600000>;
703 spi@0 {
706 spi-max-frequency = <57600000>;
709 spi@1 {
712 spi-max-frequency = <57600000>;
715 spi@2 {
718 spi-max-frequency = <57600000>;
723 vbus-supply = <&reg_usb0_vbus>;
724 disable-over-current;
730 vbus-supply = <&reg_usb1_vbus>;
731 disable-over-current;
737 pinctrl-names = "default";
738 pinctrl-0 = <&tx28_usbphy0_pins>;
744 pinctrl-names = "default";
745 pinctrl-0 = <&tx28_usbphy1_pins>;