Skip to content

Commit 9e392c5

Browse files
juickarkartben
authored andcommitted
include: dt-bindings: clock: Add stm32mp13 clock
Add STM32MP13 dt bindings for the clock definition Signed-off-by: Julien Racki <[email protected]>
1 parent 5ee120f commit 9e392c5

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/*
2+
* Copyright (c) 2025 STMicroelectronics
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_STM32MP13_CLOCK_H_
7+
#define ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_STM32MP13_CLOCK_H_
8+
9+
#include "stm32_common_clocks.h"
10+
11+
/** Bus clocks */
12+
#define STM32_CLOCK_BUS_APB1 0x700
13+
#define STM32_CLOCK_BUS_APB2 0x708
14+
#define STM32_CLOCK_BUS_APB3 0x710
15+
#define STM32_CLOCK_BUS_APB4 0x728
16+
#define STM32_CLOCK_BUS_APB5 0x740
17+
#define STM32_CLOCK_BUS_APB6 0x748
18+
#define STM32_CLOCK_BUS_AHB2 0x750
19+
#define STM32_CLOCK_BUS_AHB4 0x768
20+
#define STM32_CLOCK_BUS_AHB5 0x778
21+
#define STM32_CLOCK_BUS_AHB6 0x780
22+
23+
#define STM32_PERIPH_BUS_MIN STM32_CLOCK_BUS_APB1
24+
#define STM32_PERIPH_BUS_MAX STM32_CLOCK_BUS_AHB6
25+
26+
#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_STM32MP13_CLOCK_H_ */

0 commit comments

Comments
 (0)