summaryrefslogtreecommitdiff
path: root/include/dt-bindings/mailbox/tegra186-hsp.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-08-05 14:09:15 -0400
committerTom Rini <trini@konsulko.com>2016-08-05 20:55:30 -0400
commit7edb17670cdca0ee5de8b8eb61753ad6b7fc33e6 (patch)
tree33e0817d373a2db9fa3d91d8904cd6f8bbf807fa /include/dt-bindings/mailbox/tegra186-hsp.h
parenta60d94b204412732409e70cb15236bd96d4da7d9 (diff)
parentcb0ff4ccc039435bef627883ade3e3911805cec5 (diff)
Merge branch 'master' of git://git.denx.de/u-boot-tegra
Diffstat (limited to 'include/dt-bindings/mailbox/tegra186-hsp.h')
-rw-r--r--include/dt-bindings/mailbox/tegra186-hsp.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/dt-bindings/mailbox/tegra186-hsp.h b/include/dt-bindings/mailbox/tegra186-hsp.h
new file mode 100644
index 0000000000..b4864325d7
--- /dev/null
+++ b/include/dt-bindings/mailbox/tegra186-hsp.h
@@ -0,0 +1,19 @@
+/*
+ * This header provides constants for binding nvidia,tegra186-hsp.
+ *
+ * The number with HSP_DB_MASTER prefix indicates the bit that is
+ * associated with a master ID in the doorbell registers.
+ */
+
+#ifndef _DT_BINDINGS_MAILBOX_TEGRA186_HSP_H
+#define _DT_BINDINGS_MAILBOX_TEGRA186_HSP_H
+
+#define HSP_MBOX_TYPE_DB 0x0
+#define HSP_MBOX_TYPE_SM 0x1
+#define HSP_MBOX_TYPE_SS 0x2
+#define HSP_MBOX_TYPE_AS 0x3
+
+#define HSP_DB_MASTER_CCPLEX 17
+#define HSP_DB_MASTER_BPMP 19
+
+#endif