mtk-cir.txt 858 B

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