arm: kirkwood: convert db-88f6281/db-88f6282 to the Device Tree
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 15 May 2013 13:37:01 +0000 (15:37 +0200)
committerJason Cooper <jason@lakedaemon.net>
Mon, 27 May 2013 16:02:13 +0000 (16:02 +0000)
commit0d0632f523fa040b307688ae421a1debf79af2d7
tree70acd8920e5ba356890dcad0e81dafd679419f64
parent259e234608dbc6c6a673efb5d58a1c036eb9b47a
arm: kirkwood: convert db-88f6281/db-88f6282 to the Device Tree

This commit converts the Marvell DB-88F6281/DB-88F6282 board to the
Device Tree. In fact, the code was supporting two different boards:
one with the 6281 SoC variant, and one with the 6282 SoC variant. The
difference between the two being that the 6281 has one PCIe interface,
and the 6282 has two PCIe interfaces.

In order to handle that with the Device Tree, we create a
'kirkwood-db.dtsi' file that contains the definitions common to both
boards, and 'kirkwood-db-88f6281.dts' and 'kirkwood-db-88f6282.dts'
for the definitions specific to each board. This is similar to what is
done for the QNAP TS219 Kirkwood platform.

We have kept one single Kconfig option, just like it was before.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/kirkwood-db-88f6281.dts [new file with mode: 0644]
arch/arm/boot/dts/kirkwood-db-88f6282.dts [new file with mode: 0644]
arch/arm/boot/dts/kirkwood-db.dtsi [new file with mode: 0644]
arch/arm/mach-kirkwood/Kconfig
arch/arm/mach-kirkwood/Makefile
arch/arm/mach-kirkwood/board-db88f628x-bp.c [new file with mode: 0644]
arch/arm/mach-kirkwood/board-dt.c
arch/arm/mach-kirkwood/common.h
arch/arm/mach-kirkwood/db88f6281-bp-setup.c [deleted file]