Skip to content

Commit

Permalink
rdn2: fix refclk clock speed
Browse files Browse the repository at this point in the history
The refclk clock speed is incorrectly set to 100MHz for RD-N2 platform
configs 0, 1 and 2. It should be 125MHz instead of 100MHz. Fix this
accordingly.

Signed-off-by: Thomas Abraham <[email protected]>
Change-Id: I357feb55142f7ab332646aafbfef553cd40c7e1e
  • Loading branch information
Thomas Abraham committed Jan 28, 2024
1 parent d12b417 commit e083ee6
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions product/neoverse-rd/rdn2/include/clock_soc.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Arm SCP/MCP Software
* Copyright (c) 2020-2022, Arm Limited and Contributors. All rights reserved.
* Copyright (c) 2020-2024, Arm Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
Expand All @@ -12,11 +12,7 @@

#include <fwk_macros.h>

#if (PLATFORM_VARIANT == 3)
# define CLOCK_RATE_REFCLK (125UL * FWK_MHZ)
#else
# define CLOCK_RATE_REFCLK (100UL * FWK_MHZ)
#endif
#define CLOCK_RATE_REFCLK (125UL * FWK_MHZ)

#define CLOCK_RATE_SYSPLLCLK (2000UL * FWK_MHZ)

Expand Down

0 comments on commit e083ee6

Please sign in to comment.