2 * Device Tree overlay for Adafruit PiTFT 2.8" resistive touch screen
10 compatible = "brcm,bcm2835";
36 pitft_pins: pitft_pins {
38 brcm,function = <0 1>; /* in out */
39 brcm,pull = <2 0>; /* pullup none */
47 /* needed to avoid dtc warning */
52 compatible = "ilitek,ili9340", "multi-inno,mi0283qt";
54 pinctrl-names = "default";
55 pinctrl-0 = <&pitft_pins>;
57 spi-max-frequency = <32000000>;
62 dc-gpios = <&gpio 25 0>;
67 compatible = "st,stmpe610";
70 spi-max-frequency = <500000>;
71 irq-gpio = <&gpio 24 0x2>; /* IRQF_TRIGGER_FALLING */
72 interrupts = <24 2>; /* high-to-low edge triggered */
73 interrupt-parent = <&gpio>;
77 compatible = "st,stmpe-ts";
83 st,touch-det-delay = <4>;
89 stmpe_gpio: stmpe_gpio {
91 compatible = "st,stmpe-gpio";
93 * only GPIO2 is wired/available
94 * and it is wired to the backlight
96 st,norequest-mask = <0x7b>;
103 target-path = "/soc";
106 compatible = "gpio-backlight";
107 gpios = <&stmpe_gpio 2 0>;
114 speed = <&pitft>,"spi-max-frequency:0";
115 rotate = <&pitft>,"rotate:0";
116 fps = <&pitft>,"fps:0";
117 debug = <&pitft>,"debug:0";
118 drm = <&pitft>,"compatible=multi-inno,mi0283qt";