1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/media/amlogic,meson6-ir.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Amlogic Meson IR remote control receiver 8 9maintainers: 10 - Neil Armstrong <neil.armstrong@linaro.org> 11 12allOf: 13 - $ref: rc.yaml# 14 15properties: 16 compatible: 17 oneOf: 18 - enum: 19 - amlogic,meson6-ir 20 - amlogic,meson8b-ir 21 - amlogic,meson-gxbb-ir 22 - amlogic,meson-s4-ir 23 - items: 24 - const: amlogic,meson-gx-ir 25 - const: amlogic,meson-gxbb-ir 26 27 reg: 28 maxItems: 1 29 30 interrupts: 31 maxItems: 1 32 33required: 34 - compatible 35 - reg 36 - interrupts 37 38unevaluatedProperties: false 39 40examples: 41 - | 42 #include <dt-bindings/interrupt-controller/irq.h> 43 #include <dt-bindings/interrupt-controller/arm-gic.h> 44 ir-receiver@c8100480 { 45 compatible = "amlogic,meson6-ir"; 46 reg = <0xc8100480 0x20>; 47 interrupts = <GIC_SPI 15 IRQ_TYPE_EDGE_RISING>; 48 }; 49