blob: 1811a067c72cc8b21267298ec4892dd136ebf7bd [file] [log] [blame]
Alexander Bersenev22f44242014-06-08 15:08:09 -03001Device-Tree bindings for SUNXI IR controller found in sunXi SoC family
2
3Required properties:
Hans de Goedea4bca4c2014-11-20 12:10:47 -03004- compatible : "allwinner,sun4i-a10-ir" or "allwinner,sun5i-a13-ir"
Alexander Bersenev22f44242014-06-08 15:08:09 -03005- 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
11Optional properties:
12- linux,rc-map-name : Remote control map name.
Hans de Goede44f8af62014-11-20 11:59:04 -030013- resets : phandle + reset specifier pair
Alexander Bersenev22f44242014-06-08 15:08:09 -030014
15Example:
16
17ir0: ir@01c21800 {
18 compatible = "allwinner,sun4i-a10-ir";
19 clocks = <&apb0_gates 6>, <&ir0_clk>;
20 clock-names = "apb", "ir";
Hans de Goede44f8af62014-11-20 11:59:04 -030021 resets = <&apb0_rst 1>;
Alexander Bersenev22f44242014-06-08 15:08:09 -030022 interrupts = <0 5 1>;
23 reg = <0x01C21800 0x40>;
24 linux,rc-map-name = "rc-rc6-mce";
25};