mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-08-07 13:09:33 -04:00
30 lines
770 B
C
30 lines
770 B
C
/* $NetBSD: bcm_amba.h,v 1.1 2012/07/26 06:21:57 skrll Exp $ */
|
|
|
|
#ifndef _ARM_BROADCOM_BCM_AMBA_H_
|
|
#define _ARM_BROADCOM_BCM_AMBA_H_
|
|
|
|
/* Broadcom AMBA AXI Peripheral Bus */
|
|
|
|
struct amba_attach_args {
|
|
const char *aaa_name; /* name */
|
|
bus_space_tag_t aaa_iot; /* Bus tag */
|
|
bus_addr_t aaa_addr; /* Address */
|
|
bus_size_t aaa_size; /* Size of peripheral address space */
|
|
int aaa_intr; /* IRQ number */
|
|
bus_dma_tag_t aaa_dmat; /* DMA channel */
|
|
};
|
|
|
|
struct ambadev_locators {
|
|
const char *ad_name;
|
|
bus_addr_t ad_addr;
|
|
bus_size_t ad_size;
|
|
int ad_instance;
|
|
int ad_intr;
|
|
};
|
|
|
|
extern struct bus_space bcm2835_bs_tag;
|
|
extern struct arm32_bus_dma_tag bcm2835_bus_dma_tag;
|
|
// extern const struct ambadev_locators *md_ambadev_locs;
|
|
|
|
#endif /* _ARM_BROADCOM_BCM_AMBA_H_ */
|