1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/panel/nec,nl8048hl11.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: NEC NL8048HL11 4.1" WVGA TFT LCD panel
8
9description:
10  The NEC NL8048HL11 is a 4.1" WVGA TFT LCD panel with a 24-bit RGB parallel
11  data interface and an SPI control interface.
12
13maintainers:
14  - Laurent Pinchart <laurent.pinchart@ideasonboard.com>
15
16allOf:
17  - $ref: panel-common.yaml#
18  - $ref: /schemas/spi/spi-peripheral-props.yaml#
19
20properties:
21  compatible:
22    const: nec,nl8048hl11
23
24  label: true
25  port: true
26  reg: true
27  reset-gpios: true
28
29  spi-max-frequency:
30    maximum: 10000000
31
32required:
33  - compatible
34  - reg
35  - reset-gpios
36  - port
37
38unevaluatedProperties: false
39
40examples:
41  - |
42    #include <dt-bindings/gpio/gpio.h>
43
44    spi {
45      #address-cells = <1>;
46      #size-cells = <0>;
47
48      lcd_panel: panel@0 {
49        compatible = "nec,nl8048hl11";
50        reg = <0>;
51        spi-max-frequency = <10000000>;
52
53        reset-gpios = <&gpio7 7 GPIO_ACTIVE_LOW>;
54
55        port {
56          lcd_in: endpoint {
57            remote-endpoint = <&dpi_out>;
58          };
59        };
60      };
61    };
62
63...
64