1 # SPDX-License-Identifier: GPL-2.0-only OR BSD 2 %YAML 1.2 3 --- 4 $id: http://devicetree.org/schemas/media/media 5 $schema: http://devicetree.org/meta-schemas/co 6 7 title: MediaTek Consumer Infrared Receiver on- 8 9 maintainers: 10 - Sean Wang <sean.wang@mediatek.com> 11 12 allOf: 13 - $ref: rc.yaml# 14 15 properties: 16 compatible: 17 enum: 18 - mediatek,mt7622-cir 19 - mediatek,mt7623-cir 20 21 reg: 22 maxItems: 1 23 24 interrupts: 25 maxItems: 1 26 27 clocks: 28 maxItems: 2 29 30 clock-names: 31 items: 32 - const: clk 33 - const: bus 34 35 required: 36 - reg 37 - interrupts 38 - clocks 39 - clock-names 40 41 unevaluatedProperties: false 42 43 examples: 44 - | 45 #include <dt-bindings/clock/mt2701-clk.h> 46 #include <dt-bindings/interrupt-controller 47 48 ir@10013000 { 49 compatible = "mediatek,mt7623-cir"; 50 reg = <0x10013000 0x1000>; 51 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVE 52 clocks = <&infracfg CLK_INFRA_IRRX>, < 53 clock-names = "clk", "bus"; 54 linux,rc-map-name = "rc-rc6-mce"; 55 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.