[PATCH 04/10] arm/raspberrypi: include definitions of BCM2836 SMP mailboxes.

pisa at cmp.felk.cvut.cz pisa at cmp.felk.cvut.cz
Sat Sep 3 12:31:20 UTC 2016


From: Rohini Kulkarni <krohini1593 at gmail.com>

---
 .../libbsp/arm/raspberrypi/include/raspberrypi.h   | 26 ++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/c/src/lib/libbsp/arm/raspberrypi/include/raspberrypi.h b/c/src/lib/libbsp/arm/raspberrypi/include/raspberrypi.h
index 911b86b..4cedc4c 100644
--- a/c/src/lib/libbsp/arm/raspberrypi/include/raspberrypi.h
+++ b/c/src/lib/libbsp/arm/raspberrypi/include/raspberrypi.h
@@ -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 */
-- 
1.9.1




More information about the devel mailing list