u-boot/arch/arm/dts/imx6q-bx50v3-uboot.dtsi
Michal Simek f692b479f0 i2c: eeprom: Use reg property instead of offset and size
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>
2020-08-20 09:49:20 +02:00

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>;
};
};
};