^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) Device-Tree bindings for hix5hd2 ir IP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) - compatible: Should contain "hisilicon,hix5hd2-ir", or:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) - "hisilicon,hi3796cv300-ir" for Hi3796CV300 IR device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) - reg: Base physical address of the controller and length of memory
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) mapped region.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) - interrupts: interrupt-specifier for the sole interrupt generated by
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) the device. The interrupt specifier format depends on the interrupt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) controller parent.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) - clocks: clock phandle and specifier pair.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) Optional properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) - linux,rc-map-name: see rc.txt file in the same directory.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) - hisilicon,power-syscon: DEPRECATED. Don't use this in new dts files.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) Provide correct clocks instead.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) Example node:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) ir: ir@f8001000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) compatible = "hisilicon,hix5hd2-ir";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) reg = <0xf8001000 0x1000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) interrupts = <0 47 4>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) clocks = <&clock HIX5HD2_IR_CLOCK>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) linux,rc-map-name = "rc-tivo";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) };