diff options
author | John Wang <wangzhiqiang.bj@bytedance.com> | 2020-09-29 14:39:54 +0800 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2020-10-28 16:34:18 +1030 |
commit | e81059a5e4d8a4227b58a2bc7a5041d545a587a3 (patch) | |
tree | 84944bc4f20e2fd86ea55d9a3987980ac22745a7 /arch/arm/boot/dts/openbmc-flash-layout-64.dtsi | |
parent | 9e1cc9679776f5b9e42481d392b1550753ebd084 (diff) |
ARM: dts: Add 64MiB OpenBMC flash layout
This is an alternate layout used by OpenBMC systems
The division of space is as follows:
u-boot + env: 0.5MB
kernel/FIT: 5MB
rofs: 42.5MB
rwfs: 16MB
Signed-off-by: John Wang <wangzhiqiang.bj@bytedance.com>
Link: https://lore.kernel.org/r/20200929063955.1206-1-wangzhiqiang.bj@bytedance.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'arch/arm/boot/dts/openbmc-flash-layout-64.dtsi')
-rw-r--r-- | arch/arm/boot/dts/openbmc-flash-layout-64.dtsi | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/openbmc-flash-layout-64.dtsi b/arch/arm/boot/dts/openbmc-flash-layout-64.dtsi new file mode 100644 index 000000000000..c8e0409d889e --- /dev/null +++ b/arch/arm/boot/dts/openbmc-flash-layout-64.dtsi @@ -0,0 +1,35 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2020 Bytedance. + */ + +partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + u-boot@0 { + reg = <0x0 0x60000>; // 384KB + label = "u-boot"; + }; + + u-boot-env@e0000 { + reg = <0x60000 0x20000>; // 128KB + label = "u-boot-env"; + }; + + kernel@100000 { + reg = <0x80000 0x500000>; // 5MB + label = "kernel"; + }; + + rofs@a00000 { + reg = <0x580000 0x2a80000>; // 42.5MB + label = "rofs"; + }; + + rwfs@6000000 { + reg = <0x3000000 0x1000000>; // 16MB + label = "rwfs"; + }; +}; |