1# SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/panel/rocktech,jh057n00900.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Rocktech JH057N00900 5.5" 720x1440 TFT LCD panel
8
9maintainers:
10  - Ondrej Jirman <megi@xff.cz>
11  - Guido Gŭnther <agx@sigxcpu.org>
12
13description:
14  Rocktech JH057N00900 is a 720x1440 TFT LCD panel
15  connected using a MIPI-DSI video interface.
16
17allOf:
18  - $ref: panel-common.yaml#
19
20properties:
21  compatible:
22    enum:
23      # Anberic RG353V-V2 5.0" 640x480 TFT LCD panel
24      - anbernic,rg353v-panel-v2
25      # Rocktech JH057N00900 5.5" 720x1440 TFT LCD panel
26      - rocktech,jh057n00900
27      # Xingbangda XBD599 5.99" 720x1440 TFT LCD panel
28      - xingbangda,xbd599
29
30  port: true
31  reg:
32    maxItems: 1
33    description: DSI virtual channel
34
35  vcc-supply:
36    description: Panel power supply
37
38  iovcc-supply:
39    description: I/O voltage supply
40
41  reset-gpios: true
42
43  backlight: true
44
45required:
46  - compatible
47  - reg
48  - vcc-supply
49  - iovcc-supply
50  - reset-gpios
51
52additionalProperties: false
53
54examples:
55  - |
56    #include <dt-bindings/gpio/gpio.h>
57
58    dsi {
59        #address-cells = <1>;
60        #size-cells = <0>;
61        panel@0 {
62            compatible = "rocktech,jh057n00900";
63            reg = <0>;
64            vcc-supply = <&reg_2v8_p>;
65            iovcc-supply = <&reg_1v8_p>;
66            reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>;
67            backlight = <&backlight>;
68        };
69    };
70
71...
72