Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+32
+32
arch/arm/boot/dts/openbmc-flash-layout.dtsi
··· 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 + };