xref: /freebsd/sys/contrib/device-tree/Bindings/input/touchscreen/technologic,ts4800-ts.yaml (revision 69ed3df4f588860308677cda76cbcce1f19a54c9)
1*69ed3df4SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*69ed3df4SEmmanuel Vadot%YAML 1.2
3*69ed3df4SEmmanuel Vadot---
4*69ed3df4SEmmanuel Vadot$id: http://devicetree.org/schemas/input/touchscreen/technologic,ts4800-ts.yaml#
5*69ed3df4SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*69ed3df4SEmmanuel Vadot
7*69ed3df4SEmmanuel Vadottitle: TS-4800 Touchscreen
8*69ed3df4SEmmanuel Vadot
9*69ed3df4SEmmanuel Vadotmaintainers:
10*69ed3df4SEmmanuel Vadot  - Eduard Bostina <egbostina@gmail.com>
11*69ed3df4SEmmanuel Vadot
12*69ed3df4SEmmanuel Vadotproperties:
13*69ed3df4SEmmanuel Vadot  compatible:
14*69ed3df4SEmmanuel Vadot    const: technologic,ts4800-ts
15*69ed3df4SEmmanuel Vadot
16*69ed3df4SEmmanuel Vadot  reg:
17*69ed3df4SEmmanuel Vadot    maxItems: 1
18*69ed3df4SEmmanuel Vadot
19*69ed3df4SEmmanuel Vadot  syscon:
20*69ed3df4SEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle-array
21*69ed3df4SEmmanuel Vadot    items:
22*69ed3df4SEmmanuel Vadot      - items:
23*69ed3df4SEmmanuel Vadot          - description: Phandle to the FPGA's syscon
24*69ed3df4SEmmanuel Vadot          - description: Offset to the touchscreen register
25*69ed3df4SEmmanuel Vadot          - description: Offset to the touchscreen enable bit
26*69ed3df4SEmmanuel Vadot    description: Phandle / integers array that points to the syscon node which
27*69ed3df4SEmmanuel Vadot      describes the FPGA's syscon registers.
28*69ed3df4SEmmanuel Vadot
29*69ed3df4SEmmanuel Vadotrequired:
30*69ed3df4SEmmanuel Vadot  - compatible
31*69ed3df4SEmmanuel Vadot  - reg
32*69ed3df4SEmmanuel Vadot  - syscon
33*69ed3df4SEmmanuel Vadot
34*69ed3df4SEmmanuel VadotadditionalProperties: false
35*69ed3df4SEmmanuel Vadot
36*69ed3df4SEmmanuel Vadotexamples:
37*69ed3df4SEmmanuel Vadot  - |
38*69ed3df4SEmmanuel Vadot    touchscreen@1000 {
39*69ed3df4SEmmanuel Vadot        compatible = "technologic,ts4800-ts";
40*69ed3df4SEmmanuel Vadot        reg = <0x1000 0x100>;
41*69ed3df4SEmmanuel Vadot        syscon = <&fpga_syscon 0x20 3>;
42*69ed3df4SEmmanuel Vadot    };
43