xref: /freebsd/sys/contrib/device-tree/Bindings/display/sitronix,st7567.yaml (revision 833e5d42ab135b0238e61c5b3c19b8619677cbfa)
1*833e5d42SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*833e5d42SEmmanuel Vadot%YAML 1.2
3*833e5d42SEmmanuel Vadot---
4*833e5d42SEmmanuel Vadot$id: http://devicetree.org/schemas/display/sitronix,st7567.yaml#
5*833e5d42SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*833e5d42SEmmanuel Vadot
7*833e5d42SEmmanuel Vadottitle: Sitronix ST7567 Display Controller
8*833e5d42SEmmanuel Vadot
9*833e5d42SEmmanuel Vadotmaintainers:
10*833e5d42SEmmanuel Vadot  - Javier Martinez Canillas <javierm@redhat.com>
11*833e5d42SEmmanuel Vadot
12*833e5d42SEmmanuel Vadotdescription:
13*833e5d42SEmmanuel Vadot  Sitronix ST7567 is a driver and controller for monochrome
14*833e5d42SEmmanuel Vadot  dot matrix LCD panels.
15*833e5d42SEmmanuel Vadot
16*833e5d42SEmmanuel VadotallOf:
17*833e5d42SEmmanuel Vadot  - $ref: panel/panel-common.yaml#
18*833e5d42SEmmanuel Vadot
19*833e5d42SEmmanuel Vadotproperties:
20*833e5d42SEmmanuel Vadot  compatible:
21*833e5d42SEmmanuel Vadot    const: sitronix,st7567
22*833e5d42SEmmanuel Vadot
23*833e5d42SEmmanuel Vadot  reg:
24*833e5d42SEmmanuel Vadot    maxItems: 1
25*833e5d42SEmmanuel Vadot
26*833e5d42SEmmanuel Vadot  width-mm: true
27*833e5d42SEmmanuel Vadot  height-mm: true
28*833e5d42SEmmanuel Vadot  panel-timing: true
29*833e5d42SEmmanuel Vadot
30*833e5d42SEmmanuel Vadotrequired:
31*833e5d42SEmmanuel Vadot  - compatible
32*833e5d42SEmmanuel Vadot  - reg
33*833e5d42SEmmanuel Vadot  - width-mm
34*833e5d42SEmmanuel Vadot  - height-mm
35*833e5d42SEmmanuel Vadot  - panel-timing
36*833e5d42SEmmanuel Vadot
37*833e5d42SEmmanuel VadotadditionalProperties: false
38*833e5d42SEmmanuel Vadot
39*833e5d42SEmmanuel Vadotexamples:
40*833e5d42SEmmanuel Vadot  - |
41*833e5d42SEmmanuel Vadot    i2c {
42*833e5d42SEmmanuel Vadot        #address-cells = <1>;
43*833e5d42SEmmanuel Vadot        #size-cells = <0>;
44*833e5d42SEmmanuel Vadot
45*833e5d42SEmmanuel Vadot        display@3f {
46*833e5d42SEmmanuel Vadot            compatible = "sitronix,st7567";
47*833e5d42SEmmanuel Vadot            reg = <0x3f>;
48*833e5d42SEmmanuel Vadot            width-mm = <37>;
49*833e5d42SEmmanuel Vadot            height-mm = <27>;
50*833e5d42SEmmanuel Vadot
51*833e5d42SEmmanuel Vadot            panel-timing {
52*833e5d42SEmmanuel Vadot                hactive = <128>;
53*833e5d42SEmmanuel Vadot                vactive = <64>;
54*833e5d42SEmmanuel Vadot                hback-porch = <0>;
55*833e5d42SEmmanuel Vadot                vback-porch = <0>;
56*833e5d42SEmmanuel Vadot                clock-frequency = <0>;
57*833e5d42SEmmanuel Vadot                hfront-porch = <0>;
58*833e5d42SEmmanuel Vadot                hsync-len = <0>;
59*833e5d42SEmmanuel Vadot                vfront-porch = <0>;
60*833e5d42SEmmanuel Vadot                vsync-len = <0>;
61*833e5d42SEmmanuel Vadot            };
62*833e5d42SEmmanuel Vadot          };
63*833e5d42SEmmanuel Vadot     };
64