18c2ecf20Sopenharmony_ciDevice-Tree bindings for Mediatek consumer IR controller 28c2ecf20Sopenharmony_cifound in Mediatek SoC family 38c2ecf20Sopenharmony_ci 48c2ecf20Sopenharmony_ciRequired properties: 58c2ecf20Sopenharmony_ci- compatible : Should be 68c2ecf20Sopenharmony_ci "mediatek,mt7623-cir": for MT7623 SoC 78c2ecf20Sopenharmony_ci "mediatek,mt7622-cir": for MT7622 SoC 88c2ecf20Sopenharmony_ci- clocks : list of clock specifiers, corresponding to 98c2ecf20Sopenharmony_ci entries in clock-names property; 108c2ecf20Sopenharmony_ci- clock-names : should contain 118c2ecf20Sopenharmony_ci - "clk" entries: for MT7623 SoC 128c2ecf20Sopenharmony_ci - "clk", "bus" entries: for MT7622 SoC 138c2ecf20Sopenharmony_ci- interrupts : should contain IR IRQ number; 148c2ecf20Sopenharmony_ci- reg : should contain IO map address for IR. 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ciOptional properties: 178c2ecf20Sopenharmony_ci- linux,rc-map-name : see rc.txt file in the same directory. 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ciExample: 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_cicir: cir@10013000 { 228c2ecf20Sopenharmony_ci compatible = "mediatek,mt7623-cir"; 238c2ecf20Sopenharmony_ci reg = <0 0x10013000 0 0x1000>; 248c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_LOW>; 258c2ecf20Sopenharmony_ci clocks = <&infracfg CLK_INFRA_IRRX>; 268c2ecf20Sopenharmony_ci clock-names = "clk"; 278c2ecf20Sopenharmony_ci linux,rc-map-name = "rc-rc6-mce"; 288c2ecf20Sopenharmony_ci}; 29