blob: e2ee7776732112c35c285d8c03681375c0290c82 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/faraday,tve200.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Faraday TV Encoder TVE200
8
9maintainers:
10 - Linus Walleij <linus.walleij@linaro.org>
11
12properties:
13 compatible:
14 oneOf:
15 - const: faraday,tve200
16 - items:
17 - const: cortina,gemini-tvc
18 - const: faraday,tve200
19
20 reg:
21 maxItems: 1
22
23 interrupts:
24 minItems: 1
25
26 clock-names:
27 items:
28 - const: PCLK
29 - const: TVE
30
31 clocks:
32 minItems: 2
33
34 resets:
35 minItems: 1
36
37 port:
38 $ref: /schemas/graph.yaml#/properties/port
39
40required:
41 - compatible
42 - reg
43 - interrupts
44 - clock-names
45 - clocks
46
47additionalProperties: false
48
49examples:
50 - |
51 #include <dt-bindings/clock/cortina,gemini-clock.h>
52 #include <dt-bindings/interrupt-controller/irq.h>
53 #include <dt-bindings/reset/cortina,gemini-reset.h>
54 display-controller@6a000000 {
55 compatible = "faraday,tve200";
56 reg = <0x6a000000 0x1000>;
57 interrupts = <13 IRQ_TYPE_EDGE_RISING>;
58 resets = <&syscon GEMINI_RESET_TVC>;
59 clocks = <&syscon GEMINI_CLK_GATE_TVC>,
60 <&syscon GEMINI_CLK_TVC>;
61 clock-names = "PCLK", "TVE";
62
63 port {
64 display_out: endpoint {
65 remote-endpoint = <&panel_in>;
66 };
67 };
68 };