0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/media/st,stm32-cec.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: STMicroelectronics STM32 CEC bindings
0008
0009 maintainers:
0010 - Yannick Fertre <yannick.fertre@foss.st.com>
0011
0012 properties:
0013 compatible:
0014 const: st,stm32-cec
0015
0016 reg:
0017 maxItems: 1
0018
0019 interrupts:
0020 maxItems: 1
0021
0022 clocks:
0023 items:
0024 - description: Module Clock
0025 - description: Bus Clock
0026
0027 clock-names:
0028 items:
0029 - const: cec
0030 - const: hdmi-cec
0031
0032 required:
0033 - compatible
0034 - reg
0035 - interrupts
0036 - clocks
0037 - clock-names
0038
0039 additionalProperties: false
0040
0041 examples:
0042 - |
0043 #include <dt-bindings/interrupt-controller/arm-gic.h>
0044 #include <dt-bindings/clock/stm32mp1-clks.h>
0045 cec: cec@40006c00 {
0046 compatible = "st,stm32-cec";
0047 reg = <0x40006c00 0x400>;
0048 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
0049 clocks = <&rcc CEC_K>, <&clk_lse>;
0050 clock-names = "cec", "hdmi-cec";
0051 };
0052
0053 ...