diff mbox series

arm: aspeed: add strap define `25HZ` of AST2500

Message ID 20200811203502.20382-1-i.kononenko@yadro.com
State New
Headers show
Series arm: aspeed: add strap define `25HZ` of AST2500 | expand

Commit Message

i.kononenko Aug. 11, 2020, 8:35 p.m. UTC
Provide a definition for the "25Hz reference clock input mode" strap

Signed-off-by: Igor Kononenko <i.kononenko@yadro.com>
---
 include/hw/misc/aspeed_scu.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Cédric Le Goater Aug. 12, 2020, 6:42 a.m. UTC | #1
On 8/11/20 10:35 PM, Igor Kononenko wrote:
> Provide a definition for the "25Hz reference clock input mode" strap
> 
> Signed-off-by: Igor Kononenko <i.kononenko@yadro.com>

Reviewed-by: Cédric Le Goater <clg@kaod.org>

> ---
>  include/hw/misc/aspeed_scu.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/hw/misc/aspeed_scu.h b/include/hw/misc/aspeed_scu.h
> index a6739bb846..9cd530afa2 100644
> --- a/include/hw/misc/aspeed_scu.h
> +++ b/include/hw/misc/aspeed_scu.h
> @@ -286,6 +286,7 @@ uint32_t aspeed_scu_get_apb_freq(AspeedSCUState *s);
>  #define SCU_AST2500_HW_STRAP_ESPI_FLASH_ENABLE     (0x1 << 26)
>  #define SCU_AST2500_HW_STRAP_ESPI_ENABLE           (0x1 << 25)
>  #define SCU_AST2500_HW_STRAP_DDR4_ENABLE           (0x1 << 24)
> +#define SCU_AST2500_HW_STRAP_25HZ_CLOCK_MODE       (0x1 << 23)
>  
>  #define SCU_AST2500_HW_STRAP_ACPI_ENABLE           (0x1 << 19)
>  #define SCU_AST2500_HW_STRAP_USBCKI_FREQ           (0x1 << 18)
>
diff mbox series

Patch

diff --git a/include/hw/misc/aspeed_scu.h b/include/hw/misc/aspeed_scu.h
index a6739bb846..9cd530afa2 100644
--- a/include/hw/misc/aspeed_scu.h
+++ b/include/hw/misc/aspeed_scu.h
@@ -286,6 +286,7 @@  uint32_t aspeed_scu_get_apb_freq(AspeedSCUState *s);
 #define SCU_AST2500_HW_STRAP_ESPI_FLASH_ENABLE     (0x1 << 26)
 #define SCU_AST2500_HW_STRAP_ESPI_ENABLE           (0x1 << 25)
 #define SCU_AST2500_HW_STRAP_DDR4_ENABLE           (0x1 << 24)
+#define SCU_AST2500_HW_STRAP_25HZ_CLOCK_MODE       (0x1 << 23)
 
 #define SCU_AST2500_HW_STRAP_ACPI_ENABLE           (0x1 << 19)
 #define SCU_AST2500_HW_STRAP_USBCKI_FREQ           (0x1 << 18)