dts: bindings: clock: Change clock control binding for Renesas RA
Background of this modification is to make clock control driver code provided by Renesas vendor to support for Renesas MCU on Zephyr. Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
This commit is contained in:
parent
516794843d
commit
370bd31d2a
47 changed files with 115 additions and 112 deletions
|
@ -6,6 +6,7 @@ config SOC_SERIES_RA6E1
|
|||
select CPU_CORTEX_M33
|
||||
select CPU_HAS_ARM_MPU
|
||||
select HAS_RENESAS_RA_FSP
|
||||
select CLOCK_CONTROL_RENESAS_RA_CGC if CLOCK_CONTROL
|
||||
select CPU_CORTEX_M_HAS_DWT
|
||||
select CPU_HAS_FPU
|
||||
select ARMV8_M_DSP
|
||||
|
|
|
@ -38,6 +38,7 @@ static int renesas_ra6e1_init(void)
|
|||
uint32_t key;
|
||||
|
||||
extern volatile uint16_t g_protect_counters[];
|
||||
|
||||
for (uint32_t i = 0; i < 4; i++) {
|
||||
g_protect_counters[i] = 0;
|
||||
}
|
||||
|
@ -64,7 +65,6 @@ static int renesas_ra6e1_init(void)
|
|||
|
||||
SystemCoreClock = BSP_MOCO_HZ;
|
||||
g_protect_pfswe_counter = 0;
|
||||
bsp_clock_init();
|
||||
|
||||
irq_unlock(key);
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@ config SOC_SERIES_RA6E2
|
|||
select CPU_CORTEX_M33
|
||||
select CPU_HAS_ARM_MPU
|
||||
select HAS_RENESAS_RA_FSP
|
||||
select CLOCK_CONTROL_RENESAS_RA_CGC if CLOCK_CONTROL
|
||||
select CPU_CORTEX_M_HAS_DWT
|
||||
select CPU_HAS_FPU
|
||||
select ARMV8_M_DSP
|
||||
|
|
|
@ -40,6 +40,7 @@ static int renesas_ra6e2_init(void)
|
|||
key = irq_lock();
|
||||
|
||||
extern volatile uint16_t g_protect_counters[];
|
||||
|
||||
for (uint32_t i = 0; i < 4; i++) {
|
||||
g_protect_counters[i] = 0;
|
||||
}
|
||||
|
@ -64,7 +65,6 @@ static int renesas_ra6e2_init(void)
|
|||
|
||||
SystemCoreClock = BSP_MOCO_HZ;
|
||||
g_protect_pfswe_counter = 0;
|
||||
bsp_clock_init();
|
||||
|
||||
irq_unlock(key);
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@ config SOC_SERIES_RA6M1
|
|||
select CPU_CORTEX_M4
|
||||
select CPU_HAS_ARM_MPU
|
||||
select HAS_RENESAS_RA_FSP
|
||||
select CLOCK_CONTROL_RENESAS_RA_CGC if CLOCK_CONTROL
|
||||
select CPU_CORTEX_M_HAS_DWT
|
||||
select CPU_HAS_FPU
|
||||
select FPU
|
||||
|
|
|
@ -41,7 +41,6 @@ static int renesas_ra6m1_init(void)
|
|||
|
||||
SystemCoreClock = BSP_MOCO_HZ;
|
||||
g_protect_pfswe_counter = 0;
|
||||
bsp_clock_init();
|
||||
|
||||
irq_unlock(key);
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@ config SOC_SERIES_RA6M2
|
|||
select CPU_CORTEX_M4
|
||||
select CPU_HAS_ARM_MPU
|
||||
select HAS_RENESAS_RA_FSP
|
||||
select CLOCK_CONTROL_RENESAS_RA_CGC if CLOCK_CONTROL
|
||||
select CPU_CORTEX_M_HAS_DWT
|
||||
select CPU_HAS_FPU
|
||||
select FPU
|
||||
|
|
|
@ -41,7 +41,6 @@ static int renesas_ra6m2_init(void)
|
|||
|
||||
SystemCoreClock = BSP_MOCO_HZ;
|
||||
g_protect_pfswe_counter = 0;
|
||||
bsp_clock_init();
|
||||
|
||||
irq_unlock(key);
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@ config SOC_SERIES_RA6M3
|
|||
select CPU_CORTEX_M4
|
||||
select CPU_HAS_ARM_MPU
|
||||
select HAS_RENESAS_RA_FSP
|
||||
select CLOCK_CONTROL_RENESAS_RA_CGC if CLOCK_CONTROL
|
||||
select CPU_CORTEX_M_HAS_DWT
|
||||
select CPU_HAS_FPU
|
||||
select FPU
|
||||
|
|
|
@ -41,7 +41,6 @@ static int renesas_ra6m3_init(void)
|
|||
|
||||
SystemCoreClock = BSP_MOCO_HZ;
|
||||
g_protect_pfswe_counter = 0;
|
||||
bsp_clock_init();
|
||||
|
||||
irq_unlock(key);
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@ config SOC_SERIES_RA6M5
|
|||
select CPU_CORTEX_M33
|
||||
select CPU_HAS_ARM_MPU
|
||||
select HAS_RENESAS_RA_FSP
|
||||
select CLOCK_CONTROL_RENESAS_RA_CGC if CLOCK_CONTROL
|
||||
select CPU_CORTEX_M_HAS_DWT
|
||||
select CPU_HAS_FPU
|
||||
select ARMV8_M_DSP
|
||||
|
|
|
@ -40,6 +40,7 @@ static int renesas_ra6m5_init(void)
|
|||
key = irq_lock();
|
||||
|
||||
extern volatile uint16_t g_protect_counters[];
|
||||
|
||||
for (uint32_t i = 0; i < 4; i++) {
|
||||
g_protect_counters[i] = 0;
|
||||
}
|
||||
|
@ -64,7 +65,6 @@ static int renesas_ra6m5_init(void)
|
|||
|
||||
SystemCoreClock = BSP_MOCO_HZ;
|
||||
g_protect_pfswe_counter = 0;
|
||||
bsp_clock_init();
|
||||
|
||||
irq_unlock(key);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue