diff options
Diffstat (limited to 'zephyr/test/system_shim/boards/native_posix.overlay')
-rw-r--r-- | zephyr/test/system_shim/boards/native_posix.overlay | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/zephyr/test/system_shim/boards/native_posix.overlay b/zephyr/test/system_shim/boards/native_posix.overlay new file mode 100644 index 0000000000..0bcda0f513 --- /dev/null +++ b/zephyr/test/system_shim/boards/native_posix.overlay @@ -0,0 +1,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>; + }; + }; +}; |