summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/intel-ixp43x-gateworks-gw2358.dts
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2021-05-11 09:44:58 +0200
committerLinus Walleij <linus.walleij@linaro.org>2021-05-12 01:04:23 +0200
commit3babb604a8545a2551772c656cbebd6f40321861 (patch)
tree292df00c0fa9cf2515a03acfb4f8110a8644c124 /arch/arm/boot/dts/intel-ixp43x-gateworks-gw2358.dts
parent152b7a599674d27f26bec1a4fdbac63564d0fc93 (diff)
downloadlwn-3babb604a8545a2551772c656cbebd6f40321861.tar.gz
lwn-3babb604a8545a2551772c656cbebd6f40321861.zip
ARM: dts: ixp4xx: Create a proper expansion bus
The IXP4xx expansion bus is 24 bits (256 MB) that is memory mapped between 0x50000000-0x5fffffff usin a set of chip selects. The size of the windows is 16 or 32MB defined by the boot loader system configuration at runtime. Create a rudimentary simple-bus and move the flash memories to the expansion bus, inside the SoC. Cc: Zoltan HERPAI <wigyori@uid0.hu> Cc: Raylynn Knight <rayknight@me.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/intel-ixp43x-gateworks-gw2358.dts')
-rw-r--r--arch/arm/boot/dts/intel-ixp43x-gateworks-gw2358.dts32
1 files changed, 17 insertions, 15 deletions
diff --git a/arch/arm/boot/dts/intel-ixp43x-gateworks-gw2358.dts b/arch/arm/boot/dts/intel-ixp43x-gateworks-gw2358.dts
index 130a245a77e6..581ff18a2310 100644
--- a/arch/arm/boot/dts/intel-ixp43x-gateworks-gw2358.dts
+++ b/arch/arm/boot/dts/intel-ixp43x-gateworks-gw2358.dts
@@ -76,23 +76,25 @@
};
};
- flash@50000000 {
- compatible = "intel,ixp4xx-flash", "cfi-flash";
- bank-width = <2>;
- /*
- * 32 MB of Flash in 0x20000 byte blocks
- * mapped in at 0x50000000
- */
- reg = <0x50000000 0x2000000>;
-
- partitions {
- compatible = "redboot-fis";
- /* Eraseblock at 0x1fe0000 */
- fis-index-block = <0xff>;
+ soc {
+ bus@50000000 {
+ flash@0 {
+ compatible = "intel,ixp4xx-flash", "cfi-flash";
+ bank-width = <2>;
+ /*
+ * 32 MB of Flash in 0x20000 byte blocks
+ * mapped in at CS0.
+ */
+ reg = <0x00000000 0x2000000>;
+
+ partitions {
+ compatible = "redboot-fis";
+ /* Eraseblock at 0x1fe0000 */
+ fis-index-block = <0xff>;
+ };
+ };
};
- };
- soc {
pci@c0000000 {
status = "ok";