sunxi-ir.txt 922 B

12345678910111213141516171819202122232425262728
  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: see rc.txt file in the same directory.
  11. - resets : phandle + reset specifier pair
  12. - clock-frequency : IR Receiver clock frequency, in Hertz. Defaults to 8 MHz
  13. if missing.
  14. Example:
  15. ir0: ir@1c21800 {
  16. compatible = "allwinner,sun4i-a10-ir";
  17. clocks = <&apb0_gates 6>, <&ir0_clk>;
  18. clock-names = "apb", "ir";
  19. clock-frequency = <3000000>;
  20. resets = <&apb0_rst 1>;
  21. interrupts = <0 5 1>;
  22. reg = <0x01C21800 0x40>;
  23. linux,rc-map-name = "rc-rc6-mce";
  24. };