12b4883d0SSean WangDevice-Tree bindings for Mediatek consumer IR controller 22b4883d0SSean Wangfound in Mediatek SoC family 32b4883d0SSean Wang 42b4883d0SSean WangRequired properties: 5*ca439a04SSean Wang- compatible : Should be 6*ca439a04SSean Wang "mediatek,mt7623-cir": for MT7623 SoC 7*ca439a04SSean Wang "mediatek,mt7622-cir": for MT7622 SoC 82b4883d0SSean Wang- clocks : list of clock specifiers, corresponding to 92b4883d0SSean Wang entries in clock-names property; 10*ca439a04SSean Wang- clock-names : should contain 11*ca439a04SSean Wang - "clk" entries: for MT7623 SoC 12*ca439a04SSean Wang - "clk", "bus" entries: for MT7622 SoC 132b4883d0SSean Wang- interrupts : should contain IR IRQ number; 142b4883d0SSean Wang- reg : should contain IO map address for IR. 152b4883d0SSean Wang 162b4883d0SSean WangOptional properties: 172b4883d0SSean Wang- linux,rc-map-name : see rc.txt file in the same directory. 182b4883d0SSean Wang 192b4883d0SSean WangExample: 202b4883d0SSean Wang 212b4883d0SSean Wangcir: cir@10013000 { 222b4883d0SSean Wang compatible = "mediatek,mt7623-cir"; 232b4883d0SSean Wang reg = <0 0x10013000 0 0x1000>; 242b4883d0SSean Wang interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_LOW>; 252b4883d0SSean Wang clocks = <&infracfg CLK_INFRA_IRRX>; 262b4883d0SSean Wang clock-names = "clk"; 272b4883d0SSean Wang linux,rc-map-name = "rc-rc6-mce"; 282b4883d0SSean Wang}; 29