summaryrefslogtreecommitdiff
path: root/zephyr/include/cros/binman.dtsi
blob: 82bb801e6cf339ba8efcb39112ad35d0b320b4ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/* Copyright 2021 The Chromium OS Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

/dts-v1/;

/ {
	#address-cells = <1>;
	#size-cells = <1>;
	binman {
		filename = "zephyr.bin";
		pad-byte = <0x1d>;
		wp-ro {
			compatible = "cros-ec,flash-layout";
			type = "section";
			offset = <0x0>;
			size = <0x40000>;
			read-only;
			ec-ro {
				type = "section";
				ro-fw {
					type = "blob";
					filename = "zephyr_ro.bin";
				};
				fmap {
				};
				ro-frid {
					type = "text";
					size = <32>;
					text-label = "version";
				};
			};
		};
		ec-rw {
			compatible = "cros-ec,flash-layout";
			type = "section";
			offset = <0x40000>;
			size = <0x40000>;
			rw-fw {
				type = "blob";
				filename = "zephyr_rw.bin";
			};
			rw-fwid {
				type = "text";
				size = <32>;
				text-label = "version";
			};
		};
	};
};