ramips: mt7621-dts: make use of 'IRQ_TYPE_LEVEL_HIGH' instead of magic numbers
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Tue, 19 Oct 2021 10:29:15 +0000 (12:29 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Sat, 6 Nov 2021 22:36:32 +0000 (23:36 +0100)
Nodes 'gdma' and 'hsdma' are using magic number '4' in interrupts property.
Use 'IRQ_TYPE_LEVEL_HIGH' instead to align with the rest of the nodes in
the file.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20211019102915.15409-2-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
target/linux/ramips/dts/mt7621.dtsi

index 53e13441e81ac4510ddced609e356e69ad104a77..f4386a8cf87747ed37e25435b42d188da826388e 100644 (file)
                        reset-names = "dma";
 
                        interrupt-parent = <&gic>;
-                       interrupts = <0 13 4>;
+                       interrupts = <0 13 IRQ_TYPE_LEVEL_HIGH>;
 
                        #dma-cells = <1>;
                        #dma-channels = <16>;
                        reset-names = "hsdma";
 
                        interrupt-parent = <&gic>;
-                       interrupts = <0 11 4>;
+                       interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>;
 
                        #dma-cells = <1>;
                        #dma-channels = <1>;