]> git.ipfire.org Git - thirdparty/u-boot.git/blob - Bindings/media/cec/st,stm32-cec.yaml
Squashed 'dts/upstream/' content from commit aaba2d45dc2a
[thirdparty/u-boot.git] / Bindings / media / cec / st,stm32-cec.yaml
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/st,stm32-cec.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: STMicroelectronics STM32 CEC
8
9 maintainers:
10 - Yannick Fertre <yannick.fertre@foss.st.com>
11
12 properties:
13 compatible:
14 const: st,stm32-cec
15
16 reg:
17 maxItems: 1
18
19 interrupts:
20 maxItems: 1
21
22 clocks:
23 items:
24 - description: Module Clock
25 - description: Bus Clock
26
27 clock-names:
28 items:
29 - const: cec
30 - const: hdmi-cec
31
32 required:
33 - compatible
34 - reg
35 - interrupts
36 - clocks
37 - clock-names
38
39 additionalProperties: false
40
41 examples:
42 - |
43 #include <dt-bindings/interrupt-controller/arm-gic.h>
44 #include <dt-bindings/clock/stm32mp1-clks.h>
45 cec: cec@40006c00 {
46 compatible = "st,stm32-cec";
47 reg = <0x40006c00 0x400>;
48 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
49 clocks = <&rcc CEC_K>, <&clk_lse>;
50 clock-names = "cec", "hdmi-cec";
51 };
52
53 ...