Merge tag 'openrisc-for-linus' of git://github.com/openrisc/linux
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / media / mtk-cir.txt
1 Device-Tree bindings for Mediatek consumer IR controller
2 found in Mediatek SoC family
3
4 Required 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
16 Optional properties:
17 - linux,rc-map-name : see rc.txt file in the same directory.
18
19 Example:
20
21 cir: 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 };