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
8849298c
Commit
8849298c
authored
Jan 07, 2020
by
Manish Pandey
Committed by
TrustedFirmware Code Review
Jan 07, 2020
Browse files
Merge "A5DS: Correct system freq, Cache Writeback Granule" into integration
parents
eafdc558
786890ca
Changes
2
Hide whitespace changes
Inline
Side-by-side
fdts/a5ds.dts
View file @
8849298c
/*
*
Copyright
(
c
)
2019
,
Arm
Limited
.
All
rights
reserved
.
*
Copyright
(
c
)
2019
-
2020
,
Arm
Limited
.
All
rights
reserved
.
*
*
SPDX
-
License
-
Identifier
:
BSD
-
3
-
Clause
*/
...
...
@@ -64,10 +64,17 @@
arm
,
tag
-
latency
=
<
1
1
1
>;
};
refclk
1
00
m
hz
:
refclk
1
00
m
hz
{
refclk
75
00
k
hz
:
refclk
75
00
k
hz
{
compatible
=
"fixed-clock"
;
#
clock
-
cells
=
<
0
>;
clock
-
frequency
=
<
100000000
>;
clock
-
frequency
=
<
7500000
>;
clock
-
output
-
names
=
"apb_pclk"
;
};
refclk24mhz
:
refclk24mhz
{
compatible
=
"fixed-clock"
;
#
clock
-
cells
=
<
0
>;
clock
-
frequency
=
<
24000000
>;
clock
-
output
-
names
=
"apb_pclk"
;
};
...
...
@@ -82,7 +89,7 @@
rtc
@
1
a220000
{
compatible
=
"arm,pl031"
,
"arm,primecell"
;
reg
=
<
0x1a220000
0x1000
>;
clocks
=
<&
refclk
100
mhz
>;
clocks
=
<&
refclk
24
mhz
>;
interrupts
=
<
0
6
0xf04
>;
clock
-
names
=
"apb_pclk"
;
};
...
...
@@ -102,7 +109,7 @@
reg
=
<
0x1a200000
0x1000
>;
interrupt
-
parent
=
<&
gic
>;
interrupts
=
<
0
8
0xf04
>;
clocks
=
<&
refclk
1
00
m
hz
>;
clocks
=
<&
refclk
75
00
k
hz
>;
clock
-
names
=
"apb_pclk"
;
};
...
...
@@ -111,7 +118,7 @@
reg
=
<
0x1a210000
0x1000
>;
interrupt
-
parent
=
<&
gic
>;
interrupts
=
<
0
9
0xf04
>;
clocks
=
<&
refclk
1
00
m
hz
>;
clocks
=
<&
refclk
75
00
k
hz
>;
clock
-
names
=
"apb_pclk"
;
};
...
...
plat/arm/board/a5ds/include/platform_def.h
View file @
8849298c
/*
* Copyright (c) 2019, Arm Limited. All rights reserved.
* Copyright (c) 2019
-2020
, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
...
...
@@ -47,7 +47,7 @@
#define A5_PERIPHERALS_BASE 0x1c000000
#define A5_PERIPHERALS_SIZE 0x10000
#define ARM_CACHE_WRITEBACK_SHIFT
6
#define ARM_CACHE_WRITEBACK_SHIFT
5
#define ARM_IRQ_SEC_PHY_TIMER 29
...
...
@@ -162,7 +162,7 @@
ARM_BL_REGIONS)
/* Memory mapped Generic timer interfaces */
#define A5DS_TIMER_BASE_FREQUENCY UL(
240
00000)
#define A5DS_TIMER_BASE_FREQUENCY UL(
75
00000)
#define ARM_CONSOLE_BAUDRATE 115200
...
...
@@ -310,15 +310,15 @@
* PL011 related constants
*/
#define PLAT_ARM_BOOT_UART_BASE 0x1A200000
#define PLAT_ARM_BOOT_UART_CLK_IN_HZ
240
00000
#define PLAT_ARM_BOOT_UART_CLK_IN_HZ
UL(75
00000
)
#define PLAT_ARM_RUN_UART_BASE 0x1A210000
#define PLAT_ARM_RUN_UART_CLK_IN_HZ
240
00000
#define PLAT_ARM_RUN_UART_CLK_IN_HZ
UL(75
00000
)
#define PLAT_ARM_CRASH_UART_BASE PLAT_ARM_RUN_UART_BASE
#define PLAT_ARM_CRASH_UART_CLK_IN_HZ PLAT_ARM_RUN_UART_CLK_IN_HZ
#define A5DS_TIMER_BASE_FREQUENCY UL(
240
00000)
#define A5DS_TIMER_BASE_FREQUENCY UL(
75
00000)
/* System timer related constants */
#define PLAT_ARM_NSTIMER_FRAME_ID 1
...
...
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