xref: /linux/Documentation/devicetree/bindings/display/solomon,ssd133x.yaml (revision 4b660dbd9ee2059850fd30e0df420ca7a38a1856)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/solomon,ssd133x.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Solomon SSD133x OLED Display Controllers
8
9maintainers:
10  - Javier Martinez Canillas <javierm@redhat.com>
11
12allOf:
13  - $ref: solomon,ssd-common.yaml#
14
15properties:
16  compatible:
17    enum:
18      - solomon,ssd1331
19
20  solomon,width:
21    default: 96
22
23  solomon,height:
24    default: 64
25
26required:
27  - compatible
28  - reg
29
30unevaluatedProperties: false
31
32examples:
33  - |
34    spi {
35        #address-cells = <1>;
36        #size-cells = <0>;
37
38        oled@0 {
39            compatible = "solomon,ssd1331";
40            reg = <0x0>;
41            reset-gpios = <&gpio2 7>;
42            dc-gpios = <&gpio2 8>;
43            spi-max-frequency = <10000000>;
44        };
45    };
46