mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-12 08:51:57 +00:00
Add "clocks" property on u(s)arts nodes on stm32 socs Add a dt clocks binding file and rework clock_control header file include new device tree binding file. include/dt-bindings folder is introduced as dt-bindings placeholder Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
18 lines
363 B
C
18 lines
363 B
C
/*
|
|
* Copyright (c) 2017 Linaro Limited
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
#ifndef __STM32_CLOCK_H
|
|
#define __STM32_CLOCK_H
|
|
|
|
/* clock bus references */
|
|
#define STM32_CLOCK_BUS_AHB1 0
|
|
#define STM32_CLOCK_BUS_AHB2 1
|
|
#define STM32_CLOCK_BUS_APB1 2
|
|
#define STM32_CLOCK_BUS_APB2 3
|
|
#define STM32_CLOCK_BUS_APB1_2 4
|
|
|
|
|
|
#endif /* __STM32_CLOCK_H */
|