xref: /freebsd-src/sys/contrib/device-tree/Bindings/input/touchscreen/raspberrypi,firmware-ts.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotRaspberry Pi firmware based 7" touchscreen
2*c66ec88fSEmmanuel Vadot=====================================
3*c66ec88fSEmmanuel Vadot
4*c66ec88fSEmmanuel VadotRequired properties:
5*c66ec88fSEmmanuel Vadot - compatible: "raspberrypi,firmware-ts"
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel VadotOptional properties:
8*c66ec88fSEmmanuel Vadot - firmware: Reference to RPi's firmware device node
9*c66ec88fSEmmanuel Vadot - touchscreen-size-x: See touchscreen.txt
10*c66ec88fSEmmanuel Vadot - touchscreen-size-y: See touchscreen.txt
11*c66ec88fSEmmanuel Vadot - touchscreen-inverted-x: See touchscreen.txt
12*c66ec88fSEmmanuel Vadot - touchscreen-inverted-y: See touchscreen.txt
13*c66ec88fSEmmanuel Vadot - touchscreen-swapped-x-y: See touchscreen.txt
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel VadotExample:
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel Vadotfirmware: firmware-rpi {
18*c66ec88fSEmmanuel Vadot	compatible = "raspberrypi,bcm2835-firmware";
19*c66ec88fSEmmanuel Vadot	mboxes = <&mailbox>;
20*c66ec88fSEmmanuel Vadot
21*c66ec88fSEmmanuel Vadot	ts: touchscreen {
22*c66ec88fSEmmanuel Vadot		compatible = "raspberrypi,firmware-ts";
23*c66ec88fSEmmanuel Vadot		touchscreen-size-x = <800>;
24*c66ec88fSEmmanuel Vadot		touchscreen-size-y = <480>;
25*c66ec88fSEmmanuel Vadot	};
26*c66ec88fSEmmanuel Vadot};
27