sunxi-ir.txt 783 B

12345678910111213141516171819202122232425
  1. Device-Tree bindings for SUNXI IR controller found in sunXi SoC family
  2. Required properties:
  3. - compatible : "allwinner,sun4i-a10-ir" or "allwinner,sun5i-a13-ir"
  4. - clocks : list of clock specifiers, corresponding to
  5. entries in clock-names property;
  6. - clock-names : should contain "apb" and "ir" entries;
  7. - interrupts : should contain IR IRQ number;
  8. - reg : should contain IO map address for IR.
  9. Optional properties:
  10. - linux,rc-map-name : Remote control map name.
  11. - resets : phandle + reset specifier pair
  12. Example:
  13. ir0: ir@01c21800 {
  14. compatible = "allwinner,sun4i-a10-ir";
  15. clocks = <&apb0_gates 6>, <&ir0_clk>;
  16. clock-names = "apb", "ir";
  17. resets = <&apb0_rst 1>;
  18. interrupts = <0 5 1>;
  19. reg = <0x01C21800 0x40>;
  20. linux,rc-map-name = "rc-rc6-mce";
  21. };