0001 Device-Tree bindings for Mediatek consumer IR controller
0002 found in Mediatek SoC family
0003
0004 Required properties:
0005 - compatible : Should be
0006 "mediatek,mt7623-cir": for MT7623 SoC
0007 "mediatek,mt7622-cir": for MT7622 SoC
0008 - clocks : list of clock specifiers, corresponding to
0009 entries in clock-names property;
0010 - clock-names : should contain
0011 - "clk" entries: for MT7623 SoC
0012 - "clk", "bus" entries: for MT7622 SoC
0013 - interrupts : should contain IR IRQ number;
0014 - reg : should contain IO map address for IR.
0015
0016 Optional properties:
0017 - linux,rc-map-name : see rc.txt file in the same directory.
0018
0019 Example:
0020
0021 cir: cir@10013000 {
0022 compatible = "mediatek,mt7623-cir";
0023 reg = <0 0x10013000 0 0x1000>;
0024 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_LOW>;
0025 clocks = <&infracfg CLK_INFRA_IRRX>;
0026 clock-names = "clk";
0027 linux,rc-map-name = "rc-rc6-mce";
0028 };