162306a36Sopenharmony_ciDevice-Tree bindings for Mediatek consumer IR controller 262306a36Sopenharmony_cifound in Mediatek SoC family 362306a36Sopenharmony_ci 462306a36Sopenharmony_ciRequired properties: 562306a36Sopenharmony_ci- compatible : Should be 662306a36Sopenharmony_ci "mediatek,mt7623-cir": for MT7623 SoC 762306a36Sopenharmony_ci "mediatek,mt7622-cir": for MT7622 SoC 862306a36Sopenharmony_ci- clocks : list of clock specifiers, corresponding to 962306a36Sopenharmony_ci entries in clock-names property; 1062306a36Sopenharmony_ci- clock-names : should contain 1162306a36Sopenharmony_ci - "clk" entries: for MT7623 SoC 1262306a36Sopenharmony_ci - "clk", "bus" entries: for MT7622 SoC 1362306a36Sopenharmony_ci- interrupts : should contain IR IRQ number; 1462306a36Sopenharmony_ci- reg : should contain IO map address for IR. 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_ciOptional properties: 1762306a36Sopenharmony_ci- linux,rc-map-name : see rc.txt file in the same directory. 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_ciExample: 2062306a36Sopenharmony_ci 2162306a36Sopenharmony_cicir: cir@10013000 { 2262306a36Sopenharmony_ci compatible = "mediatek,mt7623-cir"; 2362306a36Sopenharmony_ci reg = <0 0x10013000 0 0x1000>; 2462306a36Sopenharmony_ci interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_LOW>; 2562306a36Sopenharmony_ci clocks = <&infracfg CLK_INFRA_IRRX>; 2662306a36Sopenharmony_ci clock-names = "clk"; 2762306a36Sopenharmony_ci linux,rc-map-name = "rc-rc6-mce"; 2862306a36Sopenharmony_ci}; 29