Robert Beckett | 1801153 | 2019-11-12 19:15:19 +0000 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR X11 |
| 2 | /* |
| 3 | * Copyright 2019 Collabora Ltd |
| 4 | * Copyright 2019 General Electric Company |
| 5 | */ |
| 6 | |
| 7 | / { |
Robert Beckett | f8945bc | 2020-01-31 15:07:55 +0200 | [diff] [blame^] | 8 | bootcount { |
| 9 | compatible = "u-boot,bootcount-i2c-eeprom"; |
| 10 | i2c-eeprom = <&bootcount>; |
| 11 | }; |
| 12 | |
Robert Beckett | 1801153 | 2019-11-12 19:15:19 +0000 | [diff] [blame] | 13 | wdt-reboot { |
| 14 | compatible = "wdt-reboot"; |
| 15 | wdt = <&wdog1>; |
| 16 | }; |
| 17 | }; |
Robert Beckett | 7655c34 | 2020-01-31 15:07:53 +0200 | [diff] [blame] | 18 | |
| 19 | &eeprom { |
| 20 | partitions { |
| 21 | compatible = "fixed-partitions"; |
| 22 | |
| 23 | vpd { |
| 24 | offset = <0>; |
| 25 | size = <1022>; |
| 26 | }; |
| 27 | |
Robert Beckett | f8945bc | 2020-01-31 15:07:55 +0200 | [diff] [blame^] | 28 | bootcount: bootcount { |
Robert Beckett | 7655c34 | 2020-01-31 15:07:53 +0200 | [diff] [blame] | 29 | offset = <1022>; |
| 30 | size = <2>; |
| 31 | }; |
| 32 | }; |
| 33 | }; |