dts: Rename compatible arm,arm-timer to arm,armv8-timer

The compatible for the ARMv8 timer should have been arm,armv8-timer and
not arm,arm-timer.  The dts binding file name was correct, just the
compatible was wrong.  Rename dts, binding, and associated code to use
arm,armv8-timer.

Fixes #31946

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2021-02-03 18:53:44 -06:00 committed by Anas Nashif
parent 4d4a636555
commit 3fff3852fa
5 changed files with 7 additions and 7 deletions

View file

@ -63,7 +63,7 @@
};
timer {
compatible = "arm,arm-timer";
compatible = "arm,armv8-timer";
interrupts = <GIC_PPI 0x0d IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY
GIC_PPI 0x0e IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY
GIC_PPI 0x0b IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;

View file

@ -21,8 +21,8 @@
};
};
arch_timer: timer {
compatible = "arm,arm-timer";
timer {
compatible = "arm,armv8-timer";
interrupt-parent = <&gic>;
interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL
IRQ_DEFAULT_PRIORITY>,

View file

@ -29,8 +29,8 @@
};
};
arch_timer: timer {
compatible = "arm,arm-timer";
timer {
compatible = "arm,armv8-timer";
interrupt-parent = <&gic>;
interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL
IRQ_DEFAULT_PRIORITY>,

View file

@ -1,7 +1,7 @@
description: >
per-core ARM architected timer
compatible: "arm,arm-timer"
compatible: "arm,armv8-timer"
include: base.yaml

View file

@ -11,7 +11,7 @@
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <zephyr/types.h>
#define ARM_TIMER_NODE DT_INST(0, arm_arm_timer)
#define ARM_TIMER_NODE DT_INST(0, arm_armv8_timer)
#define ARM_TIMER_SECURE_IRQ DT_IRQ_BY_IDX(ARM_TIMER_NODE, 0, irq)
#define ARM_TIMER_NON_SECURE_IRQ DT_IRQ_BY_IDX(ARM_TIMER_NODE, 1, irq)