summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/versatile-ab.dts
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2016-01-26 10:55:32 +0100
committerLinus Walleij <linus.walleij@linaro.org>2016-04-04 10:33:16 +0200
commit7bb73fd719805dc40616d0c0dcd1d2d1e17b9b23 (patch)
treec6decbe721e7befb66e3b0398a5d8ebe9fe9bbd3 /arch/arm/boot/dts/versatile-ab.dts
parent81fc3eb2b3c253b9aa5f55b6af5246a6c431dbf4 (diff)
downloadlwn-7bb73fd719805dc40616d0c0dcd1d2d1e17b9b23.tar.gz
lwn-7bb73fd719805dc40616d0c0dcd1d2d1e17b9b23.zip
ARM: versatile: move flash registration to the device tree
This moves the boardfile definition of the flash memory in the Versatile board into the device tree. The flash was already defined with the property "arm,versatile-flash" which was not handled by the kernel: instead define it as compatible also with "cfi-flash" so it detects properly, and delete the corresponding boardfile code so we get a smooth transition. The old compatible string "arm,versatile-flash" is reused to indicate to the MTD physmap subsystem that this flash requires special VPP handling. (See separate patch.) Cc: Grant Likely <grant.likely@linaro.org> Cc: Rob Herring <robh@kernel.org> Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/versatile-ab.dts')
-rw-r--r--arch/arm/boot/dts/versatile-ab.dts5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/versatile-ab.dts b/arch/arm/boot/dts/versatile-ab.dts
index d23320af5ea7..409e069b3a84 100644
--- a/arch/arm/boot/dts/versatile-ab.dts
+++ b/arch/arm/boot/dts/versatile-ab.dts
@@ -119,8 +119,9 @@
};
flash@34000000 {
- compatible = "arm,versatile-flash";
- reg = <0x34000000 0x4000000>;
+ /* 64 MiB NOR flash in non-interleaved chips */
+ compatible = "arm,versatile-flash", "cfi-flash";
+ reg = <0x34000000 0x04000000>;
bank-width = <4>;
};