2017-07-25 22:04:15 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2017 Linaro Limited
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
2018-09-15 01:43:44 +08:00
|
|
|
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_STM32_CLOCK_H_
|
|
|
|
#define ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_STM32_CLOCK_H_
|
2017-07-25 22:04:15 +08:00
|
|
|
|
|
|
|
/* 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
|
2018-02-05 14:31:07 +08:00
|
|
|
#define STM32_CLOCK_BUS_IOP 5
|
2019-04-01 19:24:18 +08:00
|
|
|
#define STM32_CLOCK_BUS_AHB3 6
|
|
|
|
#define STM32_CLOCK_BUS_AHB4 7
|
|
|
|
#define STM32_CLOCK_BUS_AHB5 8
|
|
|
|
#define STM32_CLOCK_BUS_AHB6 9
|
|
|
|
#define STM32_CLOCK_BUS_APB3 10
|
|
|
|
#define STM32_CLOCK_BUS_APB4 11
|
|
|
|
#define STM32_CLOCK_BUS_APB5 12
|
|
|
|
#define STM32_CLOCK_BUS_AXI 13
|
|
|
|
#define STM32_CLOCK_BUS_MLAHB 14
|
2017-07-25 22:04:15 +08:00
|
|
|
|
2018-09-15 01:43:44 +08:00
|
|
|
#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_STM32_CLOCK_H_ */
|