1# Copyright 2024 NXP
2# SPDX-License-Identifier: Apache-2.0
3
4description: NXP FlexIO LCD controller
5
6compatible: "nxp,mipi-dbi-flexio-lcdif"
7
8include: [mipi-dbi-controller.yaml, base.yaml, pinctrl-device.yaml]
9
10properties:
11  shifters-count:
12    type: int
13    required: true
14    description: |
15      Number of FlexIO shifters needed.
16
17  timers-count:
18    type: int
19    required: true
20    description: |
21      Number of FlexIO timers needed.
22
23  enwr-pin:
24    type: int
25    required: true
26    description: |
27      Pin select for WR(8080 mode), EN(6800 mode).
28
29  rd-pin:
30    type: int
31    description: |
32      Pin select for RD(8080 mode), not used in 6800 mode.
33
34  data-pin-start:
35    type: int
36    required: true
37    description: |
38      Start index of the data pin.
39
40  cs-gpios:
41    type: phandle-array
42    required: true
43    description: |
44      CS Pin
45      GPIO to drive the CS pin.
46
47  rs-gpios:
48    type: phandle-array
49    required: true
50    description: |
51      RS Pin
52      GPIO to drive the RS pin.
53
54  rdwr-gpios:
55    type: phandle-array
56    description: |
57      RDWR Pin
58      GPIO to drive the RDWR pin. This is required for Motorola 68K bus.
59
60  reset-gpios:
61    type: phandle-array
62    description: |
63      Reset GPIO pin.
64