Skip to contentSkip to conversation

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

PATCH In review Igor Kononenko 2 participants 2 messages Aug 11, 2020 – Aug 12, 2020 Arm/Aspeed machine support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: aspeed: add strap define `25HZ` of AST2500

Provide a definition for the "25Hz reference clock input mode" strap

---
 include/hw/misc/aspeed_scu.h | 1 +
 1 file changed, 1 insertion(+)
include/hw/misc/aspeed_scu.h +1 -0
index a6739bb846..9cd530afa2 100644
@@ -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)
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Igor Kononenko

Provide a definition for the "25Hz reference clock input mode" strap

Quoted 17 lines
---
 include/hw/misc/aspeed_scu.h | 1 +
 1 file changed, 1 insertion(+)
include/hw/misc/aspeed_scu.h +1 -0
index a6739bb846..9cd530afa2 100644
@@ -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)