xref: /linux/Documentation/devicetree/bindings/media/hix5hd2-ir.txt (revision 8dd06ef34b6e2f41b29fbf5fc1663780f2524285)
11a3920e8SGuoxiong YanDevice-Tree bindings for hix5hd2 ir IP
21a3920e8SGuoxiong Yan
31a3920e8SGuoxiong YanRequired properties:
4*61cd2d5cSShawn Guo	- compatible: Should contain "hisilicon,hix5hd2-ir", or:
5*61cd2d5cSShawn Guo		- "hisilicon,hi3796cv300-ir" for Hi3796CV300 IR device.
61a3920e8SGuoxiong Yan	- reg: Base physical address of the controller and length of memory
71a3920e8SGuoxiong Yan	  mapped region.
81a3920e8SGuoxiong Yan	- interrupts: interrupt-specifier for the sole interrupt generated by
91a3920e8SGuoxiong Yan	  the device. The interrupt specifier format depends on the interrupt
101a3920e8SGuoxiong Yan	  controller parent.
111a3920e8SGuoxiong Yan	- clocks: clock phandle and specifier pair.
121a3920e8SGuoxiong Yan
131a3920e8SGuoxiong YanOptional properties:
14330d432bSSean Wang	- linux,rc-map-name: see rc.txt file in the same directory.
15414e72c7SRuqiang Ju	- hisilicon,power-syscon: DEPRECATED. Don't use this in new dts files.
16414e72c7SRuqiang Ju		Provide correct clocks instead.
171a3920e8SGuoxiong Yan
181a3920e8SGuoxiong YanExample node:
191a3920e8SGuoxiong Yan
201a3920e8SGuoxiong Yan	ir: ir@f8001000 {
211a3920e8SGuoxiong Yan		compatible = "hisilicon,hix5hd2-ir";
221a3920e8SGuoxiong Yan		reg = <0xf8001000 0x1000>;
231a3920e8SGuoxiong Yan		interrupts = <0 47 4>;
24414e72c7SRuqiang Ju		clocks = <&clock HIX5HD2_IR_CLOCK>;
251a3920e8SGuoxiong Yan		linux,rc-map-name = "rc-tivo";
261a3920e8SGuoxiong Yan	};
27