blob: 5e18087ce11f25410fdff901d398f8d60d6f7133 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001Device-Tree bindings for Mediatek consumer IR controller
2found in Mediatek SoC family
3
4Required properties:
5- compatible : Should be
6 "mediatek,mt7623-cir": for MT7623 SoC
7 "mediatek,mt7622-cir": for MT7622 SoC
8- clocks : list of clock specifiers, corresponding to
9 entries in clock-names property;
10- clock-names : should contain
11 - "clk" entries: for MT7623 SoC
12 - "clk", "bus" entries: for MT7622 SoC
13- interrupts : should contain IR IRQ number;
14- reg : should contain IO map address for IR.
15
16Optional properties:
17- linux,rc-map-name : see rc.txt file in the same directory.
18
19Example:
20
21cir: cir@10013000 {
22 compatible = "mediatek,mt7623-cir";
23 reg = <0 0x10013000 0 0x1000>;
24 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_LOW>;
25 clocks = <&infracfg CLK_INFRA_IRRX>;
26 clock-names = "clk";
27 linux,rc-map-name = "rc-rc6-mce";
28};