[PATCH V4 1/5] ARM: add infra-structure for BCM2835 and Raspberry Pi

Arnd Bergmann arnd at arndb.de
Fri Sep 14 03:50:43 EDT 2012


On Friday 14 September 2012, Stephen Warren wrote:
> From: Simon Arlott <simon at fire.lp0.eu>
> 
> The BCM2835 is an ARM SoC from Broadcom. This patch adds very basic
> support for this SoC.
> 
> http://www.broadcom.com/products/BCM2835
> http://www.raspberrypi.org/wp-content/uploads/2012/02/BCM2835-ARM-Peripherals.pd

Just looked at that document. Funny how they actually put details about
the kernel implementation (the static mapping address) into a hardware
manual.

> Note that the documentation in the latter .pdf assumes the MMU setup
> that's used on the "VideoCore" companion processor, and does not document
> physical peripheral addresses. Subtract 0x5e000000 to obtain the physical
> addresses.

This had escaped me so far. I think we should put this into the device tree
so that the representation of devices in the .dts file matches the one in
the manual, like this

	vc-bus {
		compatible = "simple-bus";
		#address-cells = <1>;
		#size-cells = <1>;
		ranges = <0x20000000 0x7e000000 0x02000000>;

		other devices {

		};
	};


	Arnd




More information about the linux-arm-kernel mailing list