Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
3e942205
Commit
3e942205
authored
Apr 22, 2021
by
Manish Pandey
Committed by
TrustedFirmware Code Review
Apr 22, 2021
Browse files
Merge "Plat FVP: Fix Generic Timer interrupt types" into integration
parents
a262546f
dfa6c540
Changes
7
Hide whitespace changes
Inline
Side-by-side
fdts/fvp-base-gicv2-psci-aarch32.dts
View file @
3e942205
/*
*
Copyright
(
c
)
2013
-
202
0
,
ARM
Limited
and
Contributors
.
All
rights
reserved
.
*
Copyright
(
c
)
2013
-
202
1
,
ARM
Limited
and
Contributors
.
All
rights
reserved
.
*
*
SPDX
-
License
-
Identifier
:
BSD
-
3
-
Clause
*/
...
...
@@ -12,6 +12,7 @@
#
define
REG_32
#
include
"fvp-defs.dtsi"
#
include
<
dt
-
bindings
/
interrupt
-
controller
/
arm
-
gic
.
h
>
/
memreserve
/
0x80000000
0x00010000
;
...
...
@@ -100,10 +101,14 @@
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_RAW
(
0xff
)
|
IRQ_TYPE_LEVEL_LOW
)>,
<
GIC_PPI
14
(
GIC_CPU_MASK_RAW
(
0xff
)
|
IRQ_TYPE_LEVEL_LOW
)>,
<
GIC_PPI
11
(
GIC_CPU_MASK_RAW
(
0xff
)
|
IRQ_TYPE_LEVEL_LOW
)>,
<
GIC_PPI
10
(
GIC_CPU_MASK_RAW
(
0xff
)
|
IRQ_TYPE_LEVEL_LOW
)>;
clock
-
frequency
=
<
100000000
>;
};
...
...
fdts/fvp-base-gicv2-psci.dts
View file @
3e942205
/*
*
Copyright
(
c
)
2013
-
202
0
,
ARM
Limited
and
Contributors
.
All
rights
reserved
.
*
Copyright
(
c
)
2013
-
202
1
,
ARM
Limited
and
Contributors
.
All
rights
reserved
.
*
*
SPDX
-
License
-
Identifier
:
BSD
-
3
-
Clause
*/
...
...
@@ -11,6 +11,7 @@
#
define
AFF
#
include
"fvp-defs.dtsi"
#
include
<
dt
-
bindings
/
interrupt
-
controller
/
arm
-
gic
.
h
>
/
memreserve
/
0x80000000
0x00010000
;
...
...
@@ -99,10 +100,14 @@
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_RAW
(
0xff
)
|
IRQ_TYPE_LEVEL_LOW
)>,
<
GIC_PPI
14
(
GIC_CPU_MASK_RAW
(
0xff
)
|
IRQ_TYPE_LEVEL_LOW
)>,
<
GIC_PPI
11
(
GIC_CPU_MASK_RAW
(
0xff
)
|
IRQ_TYPE_LEVEL_LOW
)>,
<
GIC_PPI
10
(
GIC_CPU_MASK_RAW
(
0xff
)
|
IRQ_TYPE_LEVEL_LOW
)>;
clock
-
frequency
=
<
100000000
>;
};
...
...
fdts/fvp-base-gicv3-psci-aarch32-common.dtsi
View file @
3e942205
/*
*
Copyright
(
c
)
2016
-
202
0
,
ARM
Limited
and
Contributors
.
All
rights
reserved
.
*
Copyright
(
c
)
2016
-
202
1
,
ARM
Limited
and
Contributors
.
All
rights
reserved
.
*
*
SPDX
-
License
-
Identifier
:
BSD
-
3
-
Clause
*/
#
include
<
dt
-
bindings
/
interrupt
-
controller
/
arm
-
gic
.
h
>
/
memreserve
/
0x80000000
0x00010000
;
/
{
...
...
@@ -100,10 +102,14 @@
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_RAW
(
0xff
)
|
IRQ_TYPE_LEVEL_LOW
)>,
<
GIC_PPI
14
(
GIC_CPU_MASK_RAW
(
0xff
)
|
IRQ_TYPE_LEVEL_LOW
)>,
<
GIC_PPI
11
(
GIC_CPU_MASK_RAW
(
0xff
)
|
IRQ_TYPE_LEVEL_LOW
)>,
<
GIC_PPI
10
(
GIC_CPU_MASK_RAW
(
0xff
)
|
IRQ_TYPE_LEVEL_LOW
)>;
clock
-
frequency
=
<
100000000
>;
};
...
...
fdts/fvp-base-gicv3-psci-common.dtsi
View file @
3e942205
/*
*
Copyright
(
c
)
2017
-
202
0
,
ARM
Limited
and
Contributors
.
All
rights
reserved
.
*
Copyright
(
c
)
2017
-
202
1
,
ARM
Limited
and
Contributors
.
All
rights
reserved
.
*
*
SPDX
-
License
-
Identifier
:
BSD
-
3
-
Clause
*/
#
include
<
services
/
sdei_flags
.
h
>
#
include
<
dt
-
bindings
/
interrupt
-
controller
/
arm
-
gic
.
h
>
#
define
LEVEL
0
#
define
EDGE
2
...
...
@@ -161,10 +162,14 @@
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_RAW
(
0xff
)
|
IRQ_TYPE_LEVEL_LOW
)>,
<
GIC_PPI
14
(
GIC_CPU_MASK_RAW
(
0xff
)
|
IRQ_TYPE_LEVEL_LOW
)>,
<
GIC_PPI
11
(
GIC_CPU_MASK_RAW
(
0xff
)
|
IRQ_TYPE_LEVEL_LOW
)>,
<
GIC_PPI
10
(
GIC_CPU_MASK_RAW
(
0xff
)
|
IRQ_TYPE_LEVEL_LOW
)>;
clock
-
frequency
=
<
100000000
>;
};
...
...
fdts/fvp-foundation-gicv2-psci.dts
View file @
3e942205
/*
*
Copyright
(
c
)
2013
-
202
0
,
ARM
Limited
and
Contributors
.
All
rights
reserved
.
*
Copyright
(
c
)
2013
-
202
1
,
ARM
Limited
and
Contributors
.
All
rights
reserved
.
*
*
SPDX
-
License
-
Identifier
:
BSD
-
3
-
Clause
*/
...
...
@@ -12,6 +12,7 @@
#
define
CLUSTER_COUNT
1
#
include
"fvp-defs.dtsi"
#
include
<
dt
-
bindings
/
interrupt
-
controller
/
arm
-
gic
.
h
>
/
memreserve
/
0x80000000
0x00010000
;
...
...
@@ -100,10 +101,14 @@
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_RAW
(
0xff
)
|
IRQ_TYPE_LEVEL_LOW
)>,
<
GIC_PPI
14
(
GIC_CPU_MASK_RAW
(
0xff
)
|
IRQ_TYPE_LEVEL_LOW
)>,
<
GIC_PPI
11
(
GIC_CPU_MASK_RAW
(
0xff
)
|
IRQ_TYPE_LEVEL_LOW
)>,
<
GIC_PPI
10
(
GIC_CPU_MASK_RAW
(
0xff
)
|
IRQ_TYPE_LEVEL_LOW
)>;
clock
-
frequency
=
<
100000000
>;
};
...
...
fdts/fvp-foundation-gicv3-psci.dts
View file @
3e942205
/*
*
Copyright
(
c
)
2013
-
202
0
,
ARM
Limited
and
Contributors
.
All
rights
reserved
.
*
Copyright
(
c
)
2013
-
202
1
,
ARM
Limited
and
Contributors
.
All
rights
reserved
.
*
*
SPDX
-
License
-
Identifier
:
BSD
-
3
-
Clause
*/
...
...
@@ -12,6 +12,7 @@
#
define
CLUSTER_COUNT
1
#
include
"fvp-defs.dtsi"
#
include
<
dt
-
bindings
/
interrupt
-
controller
/
arm
-
gic
.
h
>
/
memreserve
/
0x80000000
0x00010000
;
...
...
@@ -109,10 +110,14 @@
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_RAW
(
0xff
)
|
IRQ_TYPE_LEVEL_LOW
)>,
<
GIC_PPI
14
(
GIC_CPU_MASK_RAW
(
0xff
)
|
IRQ_TYPE_LEVEL_LOW
)>,
<
GIC_PPI
11
(
GIC_CPU_MASK_RAW
(
0xff
)
|
IRQ_TYPE_LEVEL_LOW
)>,
<
GIC_PPI
10
(
GIC_CPU_MASK_RAW
(
0xff
)
|
IRQ_TYPE_LEVEL_LOW
)>;
clock
-
frequency
=
<
100000000
>;
};
...
...
include/dt-bindings/interrupt-controller/arm-gic.h
View file @
3e942205
...
...
@@ -18,4 +18,9 @@
#define IRQ_TYPE_LEVEL_HIGH 4
#define IRQ_TYPE_LEVEL_LOW 8
/*
* Interrupt specifier cell 2.
*/
#define GIC_CPU_MASK_RAW(x) ((x) << 8)
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment