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