[rpi01] bcm2708: Add BCM2708/BCM2835

Family: BCM2708
Model: BCM2835

Signed-off-by: popcornmix <popcornmix@gmail.com>
Signed-off-by: Dom Cobley <dc4@broadcom.com>
Signed-off-by: Simon Arlott <sa.me.uk>

bcm2708: Fix UART code in mach/uncompress.h
bcm2708: fix mach/debug-macro.S so that early printk works

Note that you need to boot the compressed kernel (zImage) so that the
UART is configured at boot, or your kernel will hang when it tries to
access the UART.

Signed-off-by: Chris Boot <bootc@bootc.net>

bcm2835: Add interrupt controller to device tree

Signed-off-by: Chris Boot <bootc@bootc.net>
Signed-off-by: Simon Arlott <sa.me.uk>

bcm2835: Add UART0 and UART1

Add the AMBA PL011 serial console device.
Also add the 16550-like UART1 (but disabled as we don't need it).

bcm2835: Add frame buffer display

Signed-off-by: popcornmix <popcornmix@gmail.com>
Signed-off-by: Dom Cobley <dc4@broadcom.com>
Signed-off-by: Simon Arlott <sa.me.uk>
[rpi02] bcm2708_wdog: Add watchdog

Variable timeout watchdog (1 to 16 seconds).

This is required to be able to reboot (using a 150us timeout).

Signed-off-by: Simon Arlott <sa.me.uk>
[rpi02] bcm-mbox: Add Broadcom VideoCore mailbox driver

Quite an interesting interface... with a very small message size

Signed-off-by: Simon Arlott <sa.me.uk>
[rpi02] bcm2708_fb: Add support for frame buffer display

Signed-off-by: popcornmix <popcornmix@gmail.com>

reorganise to use device tree

Signed-off-by: Simon Arlott <sa.me.uk>
[rpi02] video: Add Raspberry Pi logo

Signed-off-by: popcornmix <popcornmix@gmail.com>

Use logo_rpi_clut224 instead of overwriting logo_linux_clut224

Signed-off-by: Simon Arlott <sa.me.uk>
[rpi02] bcm-bell: Add Broadcom VideoCore doorbell driver

Signed-off-by: Simon Arlott <sa.me.uk>
[rpi02] bcm-vc-power: Add Broadcom VideoCore power driver

Signed-off-by: Simon Arlott <sa.me.uk>
[rpi02] pinctrl-bcm2708: Add pinctrl/pinmux support

TODO: pinconf support

Signed-off-by: Simon Arlott <sa.me.uk>

Rewrite including GPIO chip device

Signed-off-by: Chris Boot <bootc@bootc.net>
[rpi02] spi-bcm2708: SPI driver for bcm2708

This is an SPI driver for the BCM2708 platform including the BCM2835 as
used in the Raspberry Pi.

Thanks to csoutreach / A Robinson for his driver which I used as an
inspiration. You can find his version here:

http://piface.openlx.org.uk/raspberry-pi-spi-kernel-driver-available-for

Signed-off-by: Chris Boot <bootc@bootc.net>
[rpi02] i2c-bcm2708: BCM2708 I2C driver

Signed-off-by: Chris Boot <bootc@bootc.net>
[rpi02] list: add list_last_entry

Signed-off-by: Simon Arlott <sa.me.uk>
[rpi02] bcm2708_dma: Add Broadcom BCM2708 DMA engine driver

Supports MEMCPY, MEMSET, INTERRUPT, SLAVE, SG, CYCLIC, INTERLEAVE

The hardware can also do simple INTERLEAVE backwards in either
direction.

Signed-off-by: Simon Arlott <sa.me.uk>
[rpi02] sdhci: don't use unlikely()

If CONFIG_MMC_SDHCI_IO_ACCESSORS is Y then it's actually
quite likely (but not guaranteed) that the host will use
these ops on every access.

Signed-off-by: Simon Arlott <sa.me.uk>
[rpi02] sdhci-of-bcm2708: initial implementation supporting PIO mode only

Signed-off-by: Simon Arlott <sa.me.uk>
[rpi03] amba-pl011: Don't send a character during startup

This causes a corrupted character to be sent and
there's no explanation for why it is required.

If it worked correctly it would send an extra 0x00
which isn't appropriate either.

Signed-off-by: Simon Arlott <sa.me.uk>