xref: /freebsd/sys/contrib/device-tree/Bindings/media/hix5hd2-ir.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotDevice-Tree bindings for hix5hd2 ir IP
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot	- compatible: Should contain "hisilicon,hix5hd2-ir", or:
5*c66ec88fSEmmanuel Vadot		- "hisilicon,hi3796cv300-ir" for Hi3796CV300 IR device.
6*c66ec88fSEmmanuel Vadot	- reg: Base physical address of the controller and length of memory
7*c66ec88fSEmmanuel Vadot	  mapped region.
8*c66ec88fSEmmanuel Vadot	- interrupts: interrupt-specifier for the sole interrupt generated by
9*c66ec88fSEmmanuel Vadot	  the device. The interrupt specifier format depends on the interrupt
10*c66ec88fSEmmanuel Vadot	  controller parent.
11*c66ec88fSEmmanuel Vadot	- clocks: clock phandle and specifier pair.
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel VadotOptional properties:
14*c66ec88fSEmmanuel Vadot	- linux,rc-map-name: see rc.txt file in the same directory.
15*c66ec88fSEmmanuel Vadot	- hisilicon,power-syscon: DEPRECATED. Don't use this in new dts files.
16*c66ec88fSEmmanuel Vadot		Provide correct clocks instead.
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel VadotExample node:
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel Vadot	ir: ir@f8001000 {
21*c66ec88fSEmmanuel Vadot		compatible = "hisilicon,hix5hd2-ir";
22*c66ec88fSEmmanuel Vadot		reg = <0xf8001000 0x1000>;
23*c66ec88fSEmmanuel Vadot		interrupts = <0 47 4>;
24*c66ec88fSEmmanuel Vadot		clocks = <&clock HIX5HD2_IR_CLOCK>;
25*c66ec88fSEmmanuel Vadot		linux,rc-map-name = "rc-tivo";
26*c66ec88fSEmmanuel Vadot	};
27