board: ge: bx50v3: add i2c eeprom bootcount storage
[oweals/u-boot.git] / arch / arm / dts / imx6q-bx50v3-uboot.dtsi
1 // SPDX-License-Identifier: GPL-2.0+ OR X11
2 /*
3  * Copyright 2019 Collabora Ltd
4  * Copyright 2019 General Electric Company
5  */
6
7 / {
8         bootcount {
9                 compatible = "u-boot,bootcount-i2c-eeprom";
10                 i2c-eeprom = <&bootcount>;
11         };
12
13         wdt-reboot {
14                 compatible = "wdt-reboot";
15                 wdt = <&wdog1>;
16         };
17 };
18
19 &eeprom {
20         partitions {
21                 compatible = "fixed-partitions";
22
23                 vpd {
24                         offset = <0>;
25                         size = <1022>;
26                 };
27
28                 bootcount: bootcount {
29                         offset = <1022>;
30                         size = <2>;
31                 };
32         };
33 };