Skip to content

Commit a35791d

Browse files
author
Tanguy Raufflet
committed
dt-bindings: stm32mp2_clock.h: add clock for i2c peripherals
Add clock bindings for I2C peripherals for the STM32MP2 series. Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
1 parent ca2f0ff commit a35791d

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

include/zephyr/dt-bindings/clock/stm32mp2_clock.h

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,17 @@
5050
#define STM32_CLOCK_PERIPH_UART8 0x798
5151
#define STM32_CLOCK_PERIPH_UART9 0x79C
5252

53+
/* I2C Peripheral */
54+
#define STM32_CLOCK_PERIPH_I2C1 0x7A0
55+
#define STM32_CLOCK_PERIPH_I2C2 0x7A8
56+
#define STM32_CLOCK_PERIPH_I2C3 0x7AC
57+
#define STM32_CLOCK_PERIPH_I2C4 0x7B0
58+
#define STM32_CLOCK_PERIPH_I2C5 0x7B4
59+
#define STM32_CLOCK_PERIPH_I2C6 0x7B8
60+
#define STM32_CLOCK_PERIPH_I2C7 0x7BC
61+
#define STM32_CLOCK_PERIPH_I2C8 0x7C0
62+
5363
#define STM32_CLOCK_PERIPH_MIN STM32_CLOCK_PERIPH_GPIOA
54-
#define STM32_CLOCK_PERIPH_MAX STM32_CLOCK_PERIPH_UART9
64+
#define STM32_CLOCK_PERIPH_MAX STM32_CLOCK_PERIPH_I2C8
5565

5666
#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_STM32MP2_CLOCK_H_ */

0 commit comments

Comments
 (0)