xref: /freebsd/sys/contrib/device-tree/Bindings/display/ingenic,ipu.yaml (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/ingenic,ipu.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Ingenic SoCs Image Processing Unit (IPU) devicetree bindings
8
9maintainers:
10  - Paul Cercueil <paul@crapouillou.net>
11
12properties:
13  compatible:
14    oneOf:
15      - enum:
16          - ingenic,jz4725b-ipu
17          - ingenic,jz4760-ipu
18      - items:
19          - const: ingenic,jz4770-ipu
20          - const: ingenic,jz4760-ipu
21
22  reg:
23    maxItems: 1
24
25  interrupts:
26    maxItems: 1
27
28  clocks:
29    maxItems: 1
30
31  clock-names:
32    const: ipu
33
34patternProperties:
35  "^ports?$":
36    description: OF graph bindings (specified in bindings/graph.txt).
37
38required:
39  - compatible
40  - reg
41  - interrupts
42  - clocks
43  - clock-names
44
45additionalProperties: false
46
47examples:
48  - |
49    #include <dt-bindings/clock/jz4770-cgu.h>
50    ipu@13080000 {
51      compatible = "ingenic,jz4770-ipu", "ingenic,jz4760-ipu";
52      reg = <0x13080000 0x800>;
53
54      interrupt-parent = <&intc>;
55      interrupts = <29>;
56
57      clocks = <&cgu JZ4770_CLK_IPU>;
58      clock-names = "ipu";
59
60      port {
61        ipu_ep: endpoint {
62          remote-endpoint = <&lcdc_ep>;
63        };
64      };
65    };
66