MIPS: SEAD3: Probe parallel flash via DT
Probe the system parallel flash using device tree rather than platform code, in order to reduce the amount of the latter. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Cc: Rob Herring <robh+dt@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: linux-mips@linux-mips.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/14053/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:

committed by
Ralf Baechle

parent
63c8d90ca9
commit
3aefc6554a
@@ -69,6 +69,30 @@
|
||||
has-transaction-translator;
|
||||
};
|
||||
|
||||
flash@1c000000 {
|
||||
compatible = "intel,28f128j3", "cfi-flash";
|
||||
reg = <0x1c000000 0x2000000>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
bank-width = <4>;
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
user-fs@0 {
|
||||
label = "User FS";
|
||||
reg = <0x0 0x1fc0000>;
|
||||
};
|
||||
|
||||
board-config@3e0000 {
|
||||
label = "Board Config";
|
||||
reg = <0x1fc0000 0x40000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
/* UART connected to FTDI & miniUSB socket */
|
||||
uart0: uart@1f000900 {
|
||||
compatible = "ns16550a";
|
||||
|
Reference in New Issue
Block a user