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)
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
34  port:
35    $ref: /schemas/graph.yaml#/properties/port
36
37required:
38  - compatible
39  - reg
40  - interrupts
41  - clocks
42  - clock-names
43
44additionalProperties: false
45
46examples:
47  - |
48    #include <dt-bindings/clock/ingenic,jz4770-cgu.h>
49    ipu@13080000 {
50      compatible = "ingenic,jz4770-ipu", "ingenic,jz4760-ipu";
51      reg = <0x13080000 0x800>;
52
53      interrupt-parent = <&intc>;
54      interrupts = <29>;
55
56      clocks = <&cgu JZ4770_CLK_IPU>;
57      clock-names = "ipu";
58
59      port {
60        ipu_ep: endpoint {
61          remote-endpoint = <&lcdc_ep>;
62        };
63      };
64    };
65