summaryrefslogtreecommitdiff
path: root/zephyr/boards/riscv/it8xxx2/it82202ax-512.dts
blob: 0995127bdbe2e6c66fc93cad1171b8ad1f9c2490 (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
/* Copyright 2023 The ChromiumOS Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

/dts-v1/;

#include <ite/it82xx2.dtsi>
#include <ite/it82202ax-512.dtsi>
#include "it8xxx2.dts"

/ {
	/* it82xx2/512 has 512KB of flash. */
	binman {
		wp-ro {
			offset = <0x0>;
			size = <0x40000>;
		};
		ec-rw {
			offset = <0x40000>;
			size = <0x40000>;
			rw-fw {
				rw-fwid {
					/* Fix the location of the FWID to the
					 * last 32 bytes of the flash. This
					 * ensures the RW entries in the FMAP
					 * stored in the RO section of flash
					 * are always correct.
					 */
					offset = <(0x40000 - 32)>;
				};
			};
		};
		pad-after = <0>;
	};
};