xref: /freebsd/sys/contrib/device-tree/Bindings/media/cec/nvidia,tegra114-cec.yaml (revision 1719886f6d08408b834d270c59ffcfd821c8f63a)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/media/cec/nvidia,tegra114-cec.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: NVIDIA Tegra HDMI CEC
8
9maintainers:
10  - Hans Verkuil <hverkuil-cisco@xs4all.nl>
11
12allOf:
13  - $ref: cec-common.yaml#
14
15properties:
16  compatible:
17    enum:
18      - nvidia,tegra114-cec
19      - nvidia,tegra124-cec
20      - nvidia,tegra210-cec
21
22  clocks:
23    maxItems: 1
24
25  clock-names:
26    items:
27      - const: cec
28
29  interrupts:
30    maxItems: 1
31
32  reg:
33    maxItems: 1
34
35required:
36  - compatible
37  - clocks
38  - clock-names
39  - hdmi-phandle
40  - interrupts
41  - reg
42
43unevaluatedProperties: false
44
45examples:
46  - |
47    #include <dt-bindings/clock/tegra124-car.h>
48    #include <dt-bindings/interrupt-controller/arm-gic.h>
49
50    cec@70015000 {
51        compatible = "nvidia,tegra124-cec";
52        reg = <0x70015000 0x00001000>;
53        interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
54        clocks = <&tegra_car TEGRA124_CLK_CEC>;
55        clock-names = "cec";
56        status = "disabled";
57        hdmi-phandle = <&hdmi>;
58    };
59