mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-06 21:24:29 +00:00
f692b479f0
Remove adhoc dt binding for fixed-partition definition for i2c eeprom. fixed-partition are using reg property instead of offset/size pair. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Simon Glass <sjg@chromium.org>
37 lines
540 B
Text
37 lines
540 B
Text
// SPDX-License-Identifier: GPL-2.0+ OR X11
|
|
/*
|
|
* Copyright 2019 Collabora Ltd
|
|
* Copyright 2019 General Electric Company
|
|
*/
|
|
|
|
/ {
|
|
bootcount {
|
|
compatible = "u-boot,bootcount-i2c-eeprom";
|
|
i2c-eeprom = <&bootcount>;
|
|
};
|
|
|
|
wdt-reboot {
|
|
compatible = "wdt-reboot";
|
|
wdt = <&wdog1>;
|
|
};
|
|
|
|
panel-lvds0 {
|
|
compatible = "simple-panel";
|
|
};
|
|
};
|
|
|
|
&eeprom {
|
|
partitions {
|
|
compatible = "fixed-partitions";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
vpd@0 {
|
|
reg = <0 1022>;
|
|
};
|
|
|
|
bootcount: bootcount {
|
|
reg = <1022 2>;
|
|
};
|
|
};
|
|
};
|