ipm: Add support for stm31mp1 Soc
Add the mailbox support for stm32mp15 SoC relied on IPCC peripheral. Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
This commit is contained in:
parent
725a3c9a15
commit
d9add0a65a
3 changed files with 22 additions and 0 deletions
|
@ -209,6 +209,17 @@
|
|||
status = "disabled";
|
||||
label = "UART_8";
|
||||
};
|
||||
|
||||
mailbox: mailbox@4c001000 {
|
||||
compatible = "st,stm32-ipcc-mailbox";
|
||||
reg = <0x4c001000 0x400>;
|
||||
clocks = <&rcc STM32_CLOCK_BUS_AHB3 0x00001000>;
|
||||
interrupts = <103 0>, <104 0>;
|
||||
interrupt-names = "rxo", "txf";
|
||||
status = "disabled";
|
||||
label = "MAILBOX_0";
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -40,4 +40,11 @@ config GPIO_STM32_PORTK
|
|||
|
||||
endif # GPIO_STM32
|
||||
|
||||
if IPM
|
||||
|
||||
config IPM_STM32_IPCC
|
||||
default y
|
||||
|
||||
endif # IPM
|
||||
|
||||
endif # SOC_SERIES_STM32MP1X
|
||||
|
|
|
@ -46,6 +46,10 @@
|
|||
#include <stm32mp1xx_ll_usart.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_IPM_STM32_IPCC
|
||||
#include <stm32mp1xx_ll_ipcc.h>
|
||||
#endif
|
||||
|
||||
#endif /* !_ASMLANGUAGE */
|
||||
|
||||
#endif /* _STM32MP1SOC_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue