arm64: dts: exynos: Use human-friendly symbols for timer interrupt flags
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 13 May 2016 13:44:26 +0000 (15:44 +0200)
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>
Wed, 10 Aug 2016 09:09:46 +0000 (11:09 +0200)
Replace hex flags with human-readable symbols from arm-gic.h header
which makes it easier to recognize what is configured.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
arch/arm64/boot/dts/exynos/exynos7.dtsi

index ca663dfe51891f11e4cd2964048c3590a6e330fe..8d7ce97c0ddbb67461e24f1bebacd8fb9d3acc40 100644 (file)
@@ -10,6 +10,7 @@
  */
 
 #include <dt-bindings/clock/exynos7-clk.h>
+#include <dt-bindings/interrupt-controller/arm-gic.h>
 
 / {
        compatible = "samsung,exynos7";
 
                timer {
                        compatible = "arm,armv8-timer";
-                       interrupts = <1 13 0xff01>,
-                                    <1 14 0xff01>,
-                                    <1 11 0xff01>,
-                                    <1 10 0xff01>;
+                       interrupts = <GIC_PPI 13
+                                       (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_EDGE_RISING)>,
+                                    <GIC_PPI 14
+                                       (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_EDGE_RISING)>,
+                                    <GIC_PPI 11
+                                       (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_EDGE_RISING)>,
+                                    <GIC_PPI 10
+                                       (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_EDGE_RISING)>;
                };
 
                pmu_system_controller: system-controller@105c0000 {
This page took 0.038482 seconds and 5 git commands to generate.