mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 23:15:24 +07:00
6ba29e916e
The ARMv8 Foundation model sports a command line parameter to use a GICv3 emulation instead of the default GICv2 interrupt controller. Add a new .dts file which reuses most of the definitions of the existing model while just adding the required properties for the GICv3 node. This allows the public Foundation model to run with a GICv3. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
31 lines
601 B
Plaintext
31 lines
601 B
Plaintext
/*
|
|
* ARM Ltd.
|
|
*
|
|
* ARMv8 Foundation model DTS (GICv3 configuration)
|
|
*/
|
|
|
|
#include "foundation-v8.dtsi"
|
|
|
|
/ {
|
|
gic: interrupt-controller@2f000000 {
|
|
compatible = "arm,gic-v3";
|
|
#interrupt-cells = <3>;
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
ranges;
|
|
interrupt-controller;
|
|
reg = <0x0 0x2f000000 0x0 0x10000>,
|
|
<0x0 0x2f100000 0x0 0x200000>,
|
|
<0x0 0x2c000000 0x0 0x2000>,
|
|
<0x0 0x2c010000 0x0 0x2000>,
|
|
<0x0 0x2c02f000 0x0 0x2000>;
|
|
interrupts = <1 9 4>;
|
|
|
|
its: its@2f020000 {
|
|
compatible = "arm,gic-v3-its";
|
|
msi-controller;
|
|
reg = <0x0 0x2f020000 0x0 0x20000>;
|
|
};
|
|
};
|
|
};
|