arm/versatile: Add device tree support
authorGrant Likely <grant.likely@secretlab.ca>
Tue, 26 Jul 2011 09:19:06 +0000 (03:19 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 28 Jul 2011 07:32:04 +0000 (01:32 -0600)
commit3ba7222ac992d24d09ccd0b55940b54849eef752
tree278ee248319b6a71cb72fafa36fa90ff1c641cfe
parent7e71330169d8056536b299290544980bccc6b300
arm/versatile: Add device tree support

For testing the dt work, define a dt-enabled versatile platform.

This patch adds a new versatile platform for when using the device
tree.  Add platform and amba devices are discovered and registered by
parsing the device tree.  Clocks and initial io mappings are still
configured statically.

This patch still depends on some static platform_data for a few devices
which is passed via the auxdata structure to of_platform_populate(),
but it is a viable starting point until the drivers can get all
configuration data out of the device tree.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Documentation/devicetree/bindings/arm/arm-boards [new file with mode: 0644]
Documentation/devicetree/bindings/i2c/arm-versatile.txt [new file with mode: 0644]
Documentation/devicetree/bindings/mtd/arm-versatile.txt [new file with mode: 0644]
Documentation/devicetree/bindings/net/smsc-lan91c111.txt [new file with mode: 0644]
arch/arm/boot/dts/versatile-ab.dts [new file with mode: 0644]
arch/arm/boot/dts/versatile-pb.dts [new file with mode: 0644]
arch/arm/mach-versatile/Kconfig
arch/arm/mach-versatile/Makefile
arch/arm/mach-versatile/core.c
arch/arm/mach-versatile/core.h
arch/arm/mach-versatile/versatile_dt.c [new file with mode: 0644]