xref: /freebsd/sys/contrib/device-tree/Bindings/media/mtk-cir.txt (revision b077aed33b7b6aefca7b17ddb250cf521f938613)
1Device-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};
29