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