diff options
author | Joel Stanley <joel@jms.id.au> | 2017-12-10 20:12:14 -0500 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2017-12-20 22:33:19 -0500 |
commit | 529022738c8e56d733cd16aa14517c55b41e174b (patch) | |
tree | 9450865af536bd4cfa85b2a21552ab400eaadc1c | |
parent | eb323ad0ef1ed45e237dca3eb9585df2a327e766 (diff) |
ARM: dts: Add OpenBMC flash layout
This is a layout used by OpenBMC systems. It describes the fixed flash
layout of a 32MB mtd device.
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Joel Stanley <joel@jms.id.au>
-rw-r--r-- | arch/arm/boot/dts/openbmc-flash-layout.dtsi | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/openbmc-flash-layout.dtsi b/arch/arm/boot/dts/openbmc-flash-layout.dtsi new file mode 100644 index 000000000000..6c26524e93e1 --- /dev/null +++ b/arch/arm/boot/dts/openbmc-flash-layout.dtsi | |||
@@ -0,0 +1,32 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0+ | ||
2 | |||
3 | partitions { | ||
4 | compatible = "fixed-partitions"; | ||
5 | #address-cells = <1>; | ||
6 | #size-cells = <1>; | ||
7 | |||
8 | u-boot@0 { | ||
9 | reg = <0x0 0x60000>; | ||
10 | label = "u-boot"; | ||
11 | }; | ||
12 | |||
13 | u-boot-env@60000 { | ||
14 | reg = <0x60000 0x20000>; | ||
15 | label = "u-boot-env"; | ||
16 | }; | ||
17 | |||
18 | kernel@80000 { | ||
19 | reg = <0x80000 0x440000>; | ||
20 | label = "kernel"; | ||
21 | }; | ||
22 | |||
23 | rofs@c0000 { | ||
24 | reg = <0x4c0000 0x1740000>; | ||
25 | label = "rofs"; | ||
26 | }; | ||
27 | |||
28 | rwfs@1c00000 { | ||
29 | reg = <0x1c00000 0x400000>; | ||
30 | label = "rwfs"; | ||
31 | }; | ||
32 | }; | ||