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