1*c66ec88fSEmmanuel VadotDevice-Tree bindings for Mediatek consumer IR controller 2*c66ec88fSEmmanuel Vadotfound in Mediatek SoC family 3*c66ec88fSEmmanuel Vadot 4*c66ec88fSEmmanuel VadotRequired properties: 5*c66ec88fSEmmanuel Vadot- compatible : Should be 6*c66ec88fSEmmanuel Vadot "mediatek,mt7623-cir": for MT7623 SoC 7*c66ec88fSEmmanuel Vadot "mediatek,mt7622-cir": for MT7622 SoC 8*c66ec88fSEmmanuel Vadot- clocks : list of clock specifiers, corresponding to 9*c66ec88fSEmmanuel Vadot entries in clock-names property; 10*c66ec88fSEmmanuel Vadot- clock-names : should contain 11*c66ec88fSEmmanuel Vadot - "clk" entries: for MT7623 SoC 12*c66ec88fSEmmanuel Vadot - "clk", "bus" entries: for MT7622 SoC 13*c66ec88fSEmmanuel Vadot- interrupts : should contain IR IRQ number; 14*c66ec88fSEmmanuel Vadot- reg : should contain IO map address for IR. 15*c66ec88fSEmmanuel Vadot 16*c66ec88fSEmmanuel VadotOptional properties: 17*c66ec88fSEmmanuel Vadot- linux,rc-map-name : see rc.txt file in the same directory. 18*c66ec88fSEmmanuel Vadot 19*c66ec88fSEmmanuel VadotExample: 20*c66ec88fSEmmanuel Vadot 21*c66ec88fSEmmanuel Vadotcir: cir@10013000 { 22*c66ec88fSEmmanuel Vadot compatible = "mediatek,mt7623-cir"; 23*c66ec88fSEmmanuel Vadot reg = <0 0x10013000 0 0x1000>; 24*c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_LOW>; 25*c66ec88fSEmmanuel Vadot clocks = <&infracfg CLK_INFRA_IRRX>; 26*c66ec88fSEmmanuel Vadot clock-names = "clk"; 27*c66ec88fSEmmanuel Vadot linux,rc-map-name = "rc-rc6-mce"; 28*c66ec88fSEmmanuel Vadot}; 29