]> asedeno.scripts.mit.edu Git - linux.git/blob - Documentation/devicetree/bindings/media/sunxi-ir.txt
Merge tag 'v5.3-rc4' into patchwork
[linux.git] / Documentation / devicetree / bindings / media / sunxi-ir.txt
1 Device-Tree bindings for SUNXI IR controller found in sunXi SoC family
2
3 Required properties:
4 - compatible        :
5         "allwinner,sun4i-a10-ir"
6         "allwinner,sun5i-a13-ir"
7         "allwinner,sun6i-a31-ir"
8         "allwinner,sun50i-a64-ir", "allwinner,sun6i-a31-ir"
9         "allwinner,sun50i-h6-ir", "allwinner,sun6i-a31-ir"
10 - clocks            : list of clock specifiers, corresponding to
11                       entries in clock-names property;
12 - clock-names       : should contain "apb" and "ir" entries;
13 - interrupts        : should contain IR IRQ number;
14 - reg               : should contain IO map address for IR.
15
16 Required properties since A31:
17 - resets            : phandle + reset specifier pair
18
19 Optional properties:
20 - linux,rc-map-name: see rc.txt file in the same directory.
21 - clock-frequency  : IR Receiver clock frequency, in Hertz. Defaults to 8 MHz
22                      if missing.
23
24 Example:
25
26 ir0: ir@1c21800 {
27         compatible = "allwinner,sun4i-a10-ir";
28         clocks = <&apb0_gates 6>, <&ir0_clk>;
29         clock-names = "apb", "ir";
30         clock-frequency = <3000000>;
31         resets = <&apb0_rst 1>;
32         interrupts = <0 5 1>;
33         reg = <0x01C21800 0x40>;
34         linux,rc-map-name = "rc-rc6-mce";
35 };