aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/hal/ports/SAMA/SAMA5D2x/sama_registry.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/os/hal/ports/SAMA/SAMA5D2x/sama_registry.h b/os/hal/ports/SAMA/SAMA5D2x/sama_registry.h
index 24d10ed48..d7735ba0d 100644
--- a/os/hal/ports/SAMA/SAMA5D2x/sama_registry.h
+++ b/os/hal/ports/SAMA/SAMA5D2x/sama_registry.h
@@ -74,7 +74,12 @@
#define PIOC_BASE 0xFC038080U
#endif
-#define SAMA_HAS_PIOD FALSE
+#define SAMA_HAS_PIOD TRUE
+#if SAMA_HAL_IS_SECURE
+#define PIOD_BASE 0xFC0390C0U
+#else
+#define PIOD_BASE 0xFC0380C0U
+#endif
/** @} */
#endif /* SAMA_REGISTRY_H */