1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/panel/auo,a030jtn01.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: AUO A030JTN01 3.0" (320x480 pixels) 24-bit TFT LCD panel
8
9description: |
10  Delta RGB 8-bit panel found in some Retrogame handhelds
11
12maintainers:
13  - Paul Cercueil <paul@crapouillou.net>
14  - Christophe Branchereau <cbranchereau@gmail.com>
15
16allOf:
17  - $ref: panel-common.yaml#
18  - $ref: /schemas/spi/spi-peripheral-props.yaml#
19
20properties:
21  compatible:
22    const: auo,a030jtn01
23
24  reg:
25    maxItems: 1
26
27required:
28  - compatible
29  - reg
30  - power-supply
31  - reset-gpios
32
33unevaluatedProperties: false
34
35examples:
36  - |
37    #include <dt-bindings/gpio/gpio.h>
38
39    spi {
40        #address-cells = <1>;
41        #size-cells = <0>;
42
43        panel@0 {
44            compatible = "auo,a030jtn01";
45            reg = <0>;
46
47            spi-max-frequency = <10000000>;
48
49            reset-gpios = <&gpe 4 GPIO_ACTIVE_LOW>;
50            power-supply = <&lcd_power>;
51
52            backlight = <&backlight>;
53
54            port {
55                panel_input: endpoint {
56                    remote-endpoint = <&panel_output>;
57                };
58            };
59        };
60    };
61