xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/media/mtk-cir.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunDevice-Tree bindings for Mediatek consumer IR controller
2*4882a593Smuzhiyunfound in Mediatek SoC family
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunRequired properties:
5*4882a593Smuzhiyun- compatible	    : Should be
6*4882a593Smuzhiyun			"mediatek,mt7623-cir": for MT7623 SoC
7*4882a593Smuzhiyun			"mediatek,mt7622-cir": for MT7622 SoC
8*4882a593Smuzhiyun- clocks	    : list of clock specifiers, corresponding to
9*4882a593Smuzhiyun		      entries in clock-names property;
10*4882a593Smuzhiyun- clock-names	    : should contain
11*4882a593Smuzhiyun			- "clk" entries: for MT7623 SoC
12*4882a593Smuzhiyun			- "clk", "bus" entries: for MT7622 SoC
13*4882a593Smuzhiyun- interrupts	    : should contain IR IRQ number;
14*4882a593Smuzhiyun- reg		    : should contain IO map address for IR.
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunOptional properties:
17*4882a593Smuzhiyun- linux,rc-map-name : see rc.txt file in the same directory.
18*4882a593Smuzhiyun
19*4882a593SmuzhiyunExample:
20*4882a593Smuzhiyun
21*4882a593Smuzhiyuncir: cir@10013000 {
22*4882a593Smuzhiyun	compatible = "mediatek,mt7623-cir";
23*4882a593Smuzhiyun	reg = <0 0x10013000 0 0x1000>;
24*4882a593Smuzhiyun	interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_LOW>;
25*4882a593Smuzhiyun	clocks = <&infracfg CLK_INFRA_IRRX>;
26*4882a593Smuzhiyun	clock-names = "clk";
27*4882a593Smuzhiyun	linux,rc-map-name = "rc-rc6-mce";
28*4882a593Smuzhiyun};
29