]> git.ipfire.org Git - thirdparty/linux.git/commit
ARM: ixp4xx: Add device tree boot support
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 27 Jan 2019 13:08:36 +0000 (14:08 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 23 Apr 2019 14:02:15 +0000 (16:02 +0200)
commit9540724ca29d54b65aaea120072166ebc2d5f4a1
treee65284e2e52bb78d60e0b9a7dfeb0c8d02d5908c
parent50d2c8d29106a6309b97d7ca75b48f2c42850d1f
ARM: ixp4xx: Add device tree boot support

This adds a minimal support for booting IXP4xx systems
from device tree.

We have to add hacks to the QMGR, NPE and notably also
ethernet and watchdog drivers so that they don't crash
the platform: these drivers are unconditionally starting
to grab regions of statically remapped IO space with no
concern of the device model or other platforms.

We will go in and properly fix these drivers as we go
along but for now this hack gets us to a place where we
can start working on proper device tree support for these
platforms.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-ixp4xx/Kconfig
arch/arm/mach-ixp4xx/Makefile
arch/arm/mach-ixp4xx/ixp4xx-of.c [new file with mode: 0644]
arch/arm/mach-ixp4xx/ixp4xx_npe.c
arch/arm/mach-ixp4xx/ixp4xx_qmgr.c
drivers/net/ethernet/xscale/ixp4xx_eth.c
drivers/watchdog/ixp4xx_wdt.c