1cb7aa33aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2cb7aa33aSEmmanuel Vadot%YAML 1.2 3cb7aa33aSEmmanuel Vadot--- 4cb7aa33aSEmmanuel Vadot$id: http://devicetree.org/schemas/media/cec/st,stm32-cec.yaml# 5cb7aa33aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6cb7aa33aSEmmanuel Vadot 7cb7aa33aSEmmanuel Vadottitle: STMicroelectronics STM32 CEC 8cb7aa33aSEmmanuel Vadot 9cb7aa33aSEmmanuel Vadotmaintainers: 10cb7aa33aSEmmanuel Vadot - Yannick Fertre <yannick.fertre@foss.st.com> 11cb7aa33aSEmmanuel Vadot 12cb7aa33aSEmmanuel Vadotproperties: 13cb7aa33aSEmmanuel Vadot compatible: 14cb7aa33aSEmmanuel Vadot const: st,stm32-cec 15cb7aa33aSEmmanuel Vadot 16cb7aa33aSEmmanuel Vadot reg: 17cb7aa33aSEmmanuel Vadot maxItems: 1 18cb7aa33aSEmmanuel Vadot 19cb7aa33aSEmmanuel Vadot interrupts: 20cb7aa33aSEmmanuel Vadot maxItems: 1 21cb7aa33aSEmmanuel Vadot 22cb7aa33aSEmmanuel Vadot clocks: 23cb7aa33aSEmmanuel Vadot items: 24cb7aa33aSEmmanuel Vadot - description: Module Clock 25cb7aa33aSEmmanuel Vadot - description: Bus Clock 26cb7aa33aSEmmanuel Vadot 27cb7aa33aSEmmanuel Vadot clock-names: 28cb7aa33aSEmmanuel Vadot items: 29cb7aa33aSEmmanuel Vadot - const: cec 30cb7aa33aSEmmanuel Vadot - const: hdmi-cec 31cb7aa33aSEmmanuel Vadot 32*7d0873ebSEmmanuel Vadot access-controllers: 33*7d0873ebSEmmanuel Vadot minItems: 1 34*7d0873ebSEmmanuel Vadot maxItems: 2 35*7d0873ebSEmmanuel Vadot 36cb7aa33aSEmmanuel Vadotrequired: 37cb7aa33aSEmmanuel Vadot - compatible 38cb7aa33aSEmmanuel Vadot - reg 39cb7aa33aSEmmanuel Vadot - interrupts 40cb7aa33aSEmmanuel Vadot - clocks 41cb7aa33aSEmmanuel Vadot - clock-names 42cb7aa33aSEmmanuel Vadot 43cb7aa33aSEmmanuel VadotadditionalProperties: false 44cb7aa33aSEmmanuel Vadot 45cb7aa33aSEmmanuel Vadotexamples: 46cb7aa33aSEmmanuel Vadot - | 47cb7aa33aSEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 48cb7aa33aSEmmanuel Vadot #include <dt-bindings/clock/stm32mp1-clks.h> 49cb7aa33aSEmmanuel Vadot cec: cec@40006c00 { 50cb7aa33aSEmmanuel Vadot compatible = "st,stm32-cec"; 51cb7aa33aSEmmanuel Vadot reg = <0x40006c00 0x400>; 52cb7aa33aSEmmanuel Vadot interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>; 53cb7aa33aSEmmanuel Vadot clocks = <&rcc CEC_K>, <&clk_lse>; 54cb7aa33aSEmmanuel Vadot clock-names = "cec", "hdmi-cec"; 55cb7aa33aSEmmanuel Vadot }; 56cb7aa33aSEmmanuel Vadot 57cb7aa33aSEmmanuel Vadot... 58