mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-07-28 13:53:44 +09:00
![Robert Beckett](/assets/img/avatar_default.png)
Add eeprom partitions to device tree. Signed-off-by: Robert Beckett <bob.beckett@collabora.com>
29 lines
370 B
Plaintext
29 lines
370 B
Plaintext
// SPDX-License-Identifier: GPL-2.0+ OR X11
|
|
/*
|
|
* Copyright 2019 Collabora Ltd
|
|
* Copyright 2019 General Electric Company
|
|
*/
|
|
|
|
/ {
|
|
wdt-reboot {
|
|
compatible = "wdt-reboot";
|
|
wdt = <&wdog1>;
|
|
};
|
|
};
|
|
|
|
&eeprom {
|
|
partitions {
|
|
compatible = "fixed-partitions";
|
|
|
|
vpd {
|
|
offset = <0>;
|
|
size = <1022>;
|
|
};
|
|
|
|
bootcount {
|
|
offset = <1022>;
|
|
size = <2>;
|
|
};
|
|
};
|
|
};
|