diff options
author | Sudeep Holla <sudeep.holla@arm.com> | 2019-01-25 17:49:53 +0000 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2019-01-29 14:39:46 +0000 |
commit | ef972714b1b25683f250e54039623bf3031fe9e6 (patch) | |
tree | aed5e70cb3f057ee896061ab7ac73d41bbf15b6c /arch/arm64/boot/dts/arm/foundation-v8-gicv2.dtsi | |
parent | bfeffd155283772bbe78c6a05dec7c0128ee500c (diff) |
arm64: dts: juno/fast models: using GIC macros instead of hardcoded values
There are macros that exist to indicate the GIC specific flags and
custom cell values as per the GIC DT bindings. It's used in most of the
places in these DTS files but not all. To maintain consistency, lets
use the macros at all the places.
Since DTC doesn't even warn is any cells are missing, it's very hard to
debug if that's the case. Changing to use macros avoids missing cells/
columns.
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'arch/arm64/boot/dts/arm/foundation-v8-gicv2.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/arm/foundation-v8-gicv2.dtsi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/arm/foundation-v8-gicv2.dtsi b/arch/arm64/boot/dts/arm/foundation-v8-gicv2.dtsi index 851abf34fc80..15fe81738e94 100644 --- a/arch/arm64/boot/dts/arm/foundation-v8-gicv2.dtsi +++ b/arch/arm64/boot/dts/arm/foundation-v8-gicv2.dtsi @@ -14,6 +14,6 @@ <0x0 0x2c002000 0 0x2000>, <0x0 0x2c004000 0 0x2000>, <0x0 0x2c006000 0 0x2000>; - interrupts = <1 9 0xf04>; + interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; }; }; |