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