diff --git a/drivers/clock_control/clock_control_mcux_syscon.c b/drivers/clock_control/clock_control_mcux_syscon.c index 1ee608c9947..ece36a87978 100644 --- a/drivers/clock_control/clock_control_mcux_syscon.c +++ b/drivers/clock_control/clock_control_mcux_syscon.c @@ -98,6 +98,8 @@ static int mcux_lpc_syscon_clock_control_get_subsys_rate( #else *rate = CLOCK_GetFlexCommClkFreq(14); #endif + case MCUX_HS_SPI1_CLK: + *rate = CLOCK_GetFlexCommClkFreq(16); break; #endif diff --git a/include/zephyr/dt-bindings/clock/mcux_lpc_syscon_clock.h b/include/zephyr/dt-bindings/clock/mcux_lpc_syscon_clock.h index 6bd1d6de7d7..06f6fe325a3 100644 --- a/include/zephyr/dt-bindings/clock/mcux_lpc_syscon_clock.h +++ b/include/zephyr/dt-bindings/clock/mcux_lpc_syscon_clock.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020-22, NXP + * Copyright 2020-2022, NXP * * SPDX-License-Identifier: Apache-2.0 */ @@ -23,6 +23,7 @@ #define MCUX_FLEXCOMM13_CLK 13 #define MCUX_HS_SPI_CLK 14 #define MCUX_PMIC_I2C_CLK 15 +#define MCUX_HS_SPI1_CLK 16 #define MCUX_USDHC1_CLK 20 #define MCUX_USDHC2_CLK 21