xref: /linux/arch/arm64/boot/dts/amd/elba-flash-parts.dtsi (revision 631ec374839895f8830eb07e0615b778d1908faf)
1// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2/*
3 * Copyright 2020-2023 Advanced Micro Devices, Inc.
4 */
5
6&flash0 {
7	partitions {
8		compatible = "fixed-partitions";
9		#address-cells = <1>;
10		#size-cells = <1>;
11		partition@0 {
12			label = "rsvd";
13			reg = <0x0 0x10000>;
14			read-only;
15		};
16
17		partition@10000 {
18			label = "flash";
19			reg = <0x10000 0xfff0000>;
20		};
21
22		partition@f0000 {
23			label = "golduenv";
24			reg = <0xf0000 0x10000>;
25		};
26
27		partition@100000 {
28			label = "boot0";
29			reg = <0x100000 0x80000>;
30		};
31
32		partition@180000 {
33			label = "golduboot";
34			reg = <0x180000 0x200000>;
35		};
36
37		partition@380000 {
38			label = "brdcfg0";
39			reg = <0x380000 0x10000>;
40		};
41
42		partition@390000 {
43			label = "brdcfg1";
44			reg = <0x390000 0x10000>;
45		};
46
47		partition@400000 {
48			label = "goldfw";
49			reg = <0x400000 0x3c00000>;
50		};
51
52		partition@4010000 {
53			label = "fwmap";
54			reg = <0x4010000 0x20000>;
55		};
56
57		partition@4030000 {
58			label = "fwsel";
59			reg = <0x4030000 0x20000>;
60		};
61
62		partition@4090000 {
63			label = "bootlog";
64			reg = <0x4090000 0x20000>;
65		};
66
67		partition@40b0000 {
68			label = "panicbuf";
69			reg = <0x40b0000 0x20000>;
70		};
71
72		partition@40d0000 {
73			label = "uservars";
74			reg = <0x40d0000 0x20000>;
75		};
76
77		partition@4200000 {
78			label = "uboota";
79			reg = <0x4200000 0x400000>;
80		};
81
82		partition@4600000 {
83			label = "ubootb";
84			reg = <0x4600000 0x400000>;
85		};
86
87		partition@4a00000 {
88			label = "mainfwa";
89			reg = <0x4a00000 0x1000000>;
90		};
91
92		partition@5a00000 {
93			label = "mainfwb";
94			reg = <0x5a00000 0x1000000>;
95		};
96
97		partition@6a00000 {
98			label = "diaguboot";
99			reg = <0x6a00000 0x400000>;
100		};
101
102		partition@6e00000 {
103			label = "spare";
104			reg = <0x6e00000 0x1200000>;
105		};
106
107		partition@8000000 {
108			label = "diagfw";
109			reg = <0x8000000 0x7fe0000>;
110		};
111
112		partition@ffe0000 {
113			label = "ubootenv";
114			reg = <0xffe0000 0x10000>;
115		};
116	};
117};
118