]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit92392898be783ae4ffd8220810fe0f7506c8280f
tree278ee248319b6a71cb72fafa36fa90ff1c641cfe
parent613f2d1bb9e42642e604ea593f376b20270f5898
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]