arm/raspberrypi: include definitions of BCM2836 SMP mailboxes.

This commit is contained in:
Rohini Kulkarni
2016-09-03 02:26:10 +02:00
committed by Pavel Pisa
parent 6e6a77a690
commit bf62c39021

View File

@@ -346,6 +346,32 @@
/** @} */
/**
* @name Raspberry Pi 2 Mailbox Register Defines
*
* @{
*/
#define BCM2836_MAILBOX_0_WRITE_SET_BASE 0x40000080
#define BCM2836_MAILBOX_1_WRITE_SET_BASE 0x40000084
#define BCM2836_MAILBOX_2_WRITE_SET_BASE 0x40000088
#define BCM2836_MAILBOX_3_WRITE_SET_BASE 0x4000008C
#define BCM2836_MAILBOX_0_READ_CLEAR_BASE 0x400000C0
#define BCM2836_MAILBOX_1_READ_CLEAR_BASE 0x400000C4
#define BCM2836_MAILBOX_2_READ_CLEAR_BASE 0x400000C8
#define BCM2836_MAILBOX_3_READ_CLEAR_BASE 0x400000CC
/** @} */
/**
* @name Raspberry Pi 2 Interrupt Register Defines
*
* @{
*/
#define BCM2836_MAILBOX_IRQ_CTRL_BASE 0x40000050
#define BCM2836_IRQ_SOURCE_REG_BASE 0x40000060
/** @} */
#endif /* LIBBSP_ARM_RASPBERRYPI_RASPBERRYPI_H */