Add support for the Raspberry Pi 2. As the chip is based on the bcm2835 in
authorandrew <andrew@FreeBSD.org>
Wed, 25 Mar 2015 10:59:42 +0000 (10:59 +0000)
committerandrew <andrew@FreeBSD.org>
Wed, 25 Mar 2015 10:59:42 +0000 (10:59 +0000)
commit4fca026f47d0d09ee8a8aeac3a7007fe8f6089f2
tree3d312dfebbf684c945c9cf613a47810afd78503e
parent93d27a42d472bcc7167b4379658b59c3d66fc7a7
Add support for the Raspberry Pi 2. As the chip is based on the bcm2835 in
the Raspberry Pi B we support most of the devices are already supported,
however the base address has changed.

A few items are not working, or missing. The main ones are:
 * DMA doesn't work in the sdhci driver.
 * Enabling vchiq halts the boot, may be interrupt related.
 * There is no U-Boot port yet so the DTB is embedded in the kernel.

The last point will make it difficult to boot FreeBSD, however there is
support for the Raspberry Pi 2 in the U-Boot git repo. As I have not tested
this it is left as an open task to create a port to build.

X-MFC: When the above issues are fixed
Sponsored by: ABT Systems Ltd
sys/arm/broadcom/bcm2835/bcm2835_intr.c
sys/arm/broadcom/bcm2835/bcm2835_machdep.c
sys/arm/broadcom/bcm2835/bcm2835_sdhci.c
sys/arm/broadcom/bcm2835/bcm2836.c [new file with mode: 0644]
sys/arm/broadcom/bcm2835/bcm2836.h [new file with mode: 0644]
sys/arm/broadcom/bcm2835/files.bcm2836 [new file with mode: 0644]
sys/arm/broadcom/bcm2835/std.bcm2836 [new file with mode: 0644]
sys/arm/conf/RPI2 [new file with mode: 0644]