mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
Add a 128M layout for the BMC flash chip we didn't boot from. Including this allows the user to write to each partition on the alternate spi chip. This dtsi follows the existing standard of using the same layout as non alt version and prepending `alt` to each partition's name. [arj: Update subject, elide test demonstration] Signed-off-by: Marc Olberding <molberding@nvidia.com> Link: https://patch.msgid.link/20260120-alt-128-v4-1-0e5c491a532c@nvidia.com Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
33 lines
537 B
Plaintext
33 lines
537 B
Plaintext
// SPDX-License-Identifier: GPL-2.0+
|
|
|
|
partitions {
|
|
compatible = "fixed-partitions";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
u-boot@0 {
|
|
reg = <0x0 0xe0000>; // 896KB
|
|
label = "alt-u-boot";
|
|
};
|
|
|
|
u-boot-env@e0000 {
|
|
reg = <0xe0000 0x20000>; // 128KB
|
|
label = "alt-u-boot-env";
|
|
};
|
|
|
|
kernel@100000 {
|
|
reg = <0x100000 0x900000>; // 9MB
|
|
label = "alt-kernel";
|
|
};
|
|
|
|
rofs@a00000 {
|
|
reg = <0xa00000 0x5600000>; // 86MB
|
|
label = "alt-rofs";
|
|
};
|
|
|
|
rwfs@6000000 {
|
|
reg = <0x6000000 0x2000000>; // 32MB
|
|
label = "alt-rwfs";
|
|
};
|
|
};
|