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
19properties:
20  compatible:
21    const: nec,nl8048hl11
22
23  label: true
24  port: true
25  reg: true
26  reset-gpios: true
27
28  spi-max-frequency:
29    maximum: 10000000
30
31required:
32  - compatible
33  - reg
34  - reset-gpios
35  - port
36
37additionalProperties: false
38
39examples:
40  - |
41    #include <dt-bindings/gpio/gpio.h>
42
43    spi0 {
44      #address-cells = <1>;
45      #size-cells = <0>;
46
47      lcd_panel: panel@0 {
48        compatible = "nec,nl8048hl11";
49        reg = <0>;
50        spi-max-frequency = <10000000>;
51
52        reset-gpios = <&gpio7 7 GPIO_ACTIVE_LOW>;
53
54        port {
55          lcd_in: endpoint {
56            remote-endpoint = <&dpi_out>;
57          };
58        };
59      };
60    };
61
62...
63