summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/input/touchscreen/raspberrypi,firmware-ts.txt
blob: 2a1af240ccc33c0f58678d21cb9d212a3b757d22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Raspberry Pi firmware based 7" touchscreen
=====================================

Required properties:
 - compatible: "raspberrypi,firmware-ts"

Optional properties:
 - firmware: Reference to RPi's firmware device node
 - touchscreen-size-x: See touchscreen.txt
 - touchscreen-size-y: See touchscreen.txt
 - touchscreen-inverted-x: See touchscreen.txt
 - touchscreen-inverted-y: See touchscreen.txt
 - touchscreen-swapped-x-y: See touchscreen.txt

Example:

firmware: firmware-rpi {
	compatible = "raspberrypi,bcm2835-firmware";
	mboxes = <&mailbox>;

	ts: touchscreen {
		compatible = "raspberrypi,firmware-ts";
		touchscreen-size-x = <800>;
		touchscreen-size-y = <480>;
	};
};