f2791ed731
Replace the "simple-bus" simplification by the proper bus for IXP4xx memory or device expansion. Use chip-select addressing with two address cells on all the flashes mounted on the IXP4xx devices. This includes all flash chips. Change the unit-name from @50000000 to @c4000000 as the DTS validation screams. The registers for controlling the bus are at c4000000 but the actual memory windows and ranges are at 50000000. Well it is just syntax, we can live with it. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
81 lines
1.5 KiB
Plaintext
81 lines
1.5 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* Copyright (C) 2021 Corentin Labbe <clabbe@baylibre.com>
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "intel-ixp42x.dtsi"
|
|
|
|
/ {
|
|
model = "Welltech EPBX100";
|
|
compatible = "welltech,epbx100", "intel,ixp42x";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
memory@0 {
|
|
/* 64 MB SDRAM */
|
|
device_type = "memory";
|
|
reg = <0x00000000 0x4000000>;
|
|
};
|
|
|
|
chosen {
|
|
bootargs = "console=ttyS0,115200n8 root=/dev/ram0 initrd=0x00800000,9M";
|
|
stdout-path = "uart0:115200n8";
|
|
};
|
|
|
|
aliases {
|
|
serial0 = &uart0;
|
|
};
|
|
|
|
soc {
|
|
bus@c4000000 {
|
|
flash@0,0 {
|
|
compatible = "intel,ixp4xx-flash", "cfi-flash";
|
|
bank-width = <2>;
|
|
/*
|
|
* 16 MB of Flash
|
|
*/
|
|
reg = <0 0x00000000 0x1000000>;
|
|
|
|
partitions {
|
|
compatible = "fixed-partitions";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
partition@0 {
|
|
label = "RedBoot";
|
|
reg = <0x00000000 0x00080000>;
|
|
read-only;
|
|
};
|
|
partition@80000 {
|
|
label = "zImage";
|
|
reg = <0x00080000 0x00100000>;
|
|
read-only;
|
|
};
|
|
partition@180000 {
|
|
label = "ramdisk";
|
|
reg = <0x00180000 0x00300000>;
|
|
read-only;
|
|
};
|
|
partition@480000 {
|
|
label = "User";
|
|
reg = <0x00480000 0x00b60000>;
|
|
read-only;
|
|
};
|
|
partition@fe0000 {
|
|
label = "FIS directory";
|
|
reg = <0x00fe0000 0x001f000>;
|
|
read-only;
|
|
};
|
|
partition@fff000 {
|
|
label = "RedBoot config";
|
|
reg = <0x00fff000 0x0001000>;
|
|
read-only;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|