blob: 91648c569b1e5aba640f760f9b78d36dd873ac08 [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:
Sean Wang330d4322017-01-13 05:35:37 -020012- linux,rc-map-name: see rc.txt file in the same directory.
Hans de Goede44f8af62014-11-20 11:59:04 -030013- resets : phandle + reset specifier pair
Alexander Bersenev22f44242014-06-08 15:08:09 -030014
15Example:
16
Marco Franchi48c926c2017-11-08 14:27:48 -020017ir0: ir@1c21800 {
Alexander Bersenev22f44242014-06-08 15:08:09 -030018 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};