summaryrefslogtreecommitdiffstats
path: root/sys/arm/at91/at91var.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2014-01-15 19:53:36 +0000
committerimp <imp@FreeBSD.org>2014-01-15 19:53:36 +0000
commit868757e5acb94dcbe381a221550b055d2fa83549 (patch)
tree42f4d5351e25c75b1d7ccbe048f4eecddda6b6bb /sys/arm/at91/at91var.h
parent74fda9ff765e7aa6d1f1c7e9c5daa76a6d8b7020 (diff)
downloadFreeBSD-src-868757e5acb94dcbe381a221550b055d2fa83549.zip
FreeBSD-src-868757e5acb94dcbe381a221550b055d2fa83549.tar.gz
Add data so we can convert a PIO unit number into a base address.
Diffstat (limited to 'sys/arm/at91/at91var.h')
-rw-r--r--sys/arm/at91/at91var.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/sys/arm/at91/at91var.h b/sys/arm/at91/at91var.h
index b149465..240eb74 100644
--- a/sys/arm/at91/at91var.h
+++ b/sys/arm/at91/at91var.h
@@ -107,11 +107,13 @@ typedef void (*cpu_reset_t)(void);
typedef void (*clk_init_t)(void);
struct at91_soc_data {
- DELAY_t soc_delay;
- cpu_reset_t soc_reset;
- clk_init_t soc_clock_init;
- const int *soc_irq_prio;
- const struct cpu_devs *soc_children;
+ DELAY_t soc_delay; /* SoC specific delay function */
+ cpu_reset_t soc_reset; /* SoC specific reset function */
+ clk_init_t soc_clock_init; /* SoC specific clock init function */
+ const int *soc_irq_prio; /* SoC specific IRQ priorities */
+ const struct cpu_devs *soc_children; /* SoC specific children list */
+ const uint32_t *soc_pio_base; /* SoC specific PIO base registers */
+ size_t soc_pio_count; /* Count of PIO units (not pins) in SoC */
};
struct at91_soc_info {
OpenPOWER on IntegriCloud