summaryrefslogtreecommitdiff
path: root/zephyr/test/system_shim/boards/native_posix.overlay
blob: 0bcda0f5130879a51978eb58aed271adec2a5eb6 (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
/* Copyright 2020 The ChromiumOS Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#include <board-overlays/native_posix.dts>

/ {
	chosen {
		cros-ec,bbram = &bbram;
	};

	bbram: test-bbram-dev {
		compatible = "zephyr,bbram-emul";
		size = <64>;
	};

	named-bbram-regions {
		compatible = "named-bbram-regions";
		pd0 {
			offset = <0x00>;
			size = <0x01>;
		};
		pd1 {
			offset = <0x01>;
			size = <0x02>;
		};
		try_slot {
			offset = <0x03>;
			size = <0x04>;
		};
		pd2 {
			offset = <0x07>;
			size = <0x05>;
		};
		scratchpad {
			offset = <0x0c>;
			size = <0x04>;
		};
		saved-reset-flags {
			offset = <0x10>;
			size = <0x04>;
		};
	};
};