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