Add eeprom partitions to device tree.
Signed-off-by: Robert Beckett <bob.beckett@collabora.com>
wdt = <&wdog1>;
};
};
+
+&eeprom {
+ partitions {
+ compatible = "fixed-partitions";
+
+ vpd {
+ offset = <0>;
+ size = <1022>;
+ };
+
+ bootcount {
+ offset = <1022>;
+ size = <2>;
+ };
+ };
+};
/dts-v1/;
#include "imx53.dtsi"
-#include "imx53-ppd-uboot.dtsi"
#include <dt-bindings/input/input.h>
/ {
>;
};
};
+
+#include "imx53-ppd-uboot.dtsi"
wdt = <&wdog1>;
};
};
+
+&eeprom {
+ partitions {
+ compatible = "fixed-partitions";
+
+ vpd {
+ offset = <0>;
+ size = <1022>;
+ };
+
+ bootcount {
+ offset = <1022>;
+ size = <2>;
+ };
+ };
+};
*/
#include "imx6q-ba16.dtsi"
-#include "imx6q-bx50v3-uboot.dtsi"
/ {
mclk: clock-mclk {
#interrupt-cells = <1>;
};
};
+
+#include "imx6q-bx50v3-uboot.dtsi"