board: ge: bx50v3, imx53ppd: add eeprom partitions
authorRobert Beckett <bob.beckett@collabora.com>
Fri, 31 Jan 2020 13:07:53 +0000 (15:07 +0200)
committerStefano Babic <sbabic@denx.de>
Sun, 9 Feb 2020 20:47:20 +0000 (21:47 +0100)
Add eeprom partitions to device tree.

Signed-off-by: Robert Beckett <bob.beckett@collabora.com>
arch/arm/dts/imx53-ppd-uboot.dtsi
arch/arm/dts/imx53-ppd.dts
arch/arm/dts/imx6q-bx50v3-uboot.dtsi
arch/arm/dts/imx6q-bx50v3.dtsi

index 88dd7e29393c381914e98739e0cac8aa7e277c32..99d409db3595f4a1b09fa4bde85bc8524b812332 100644 (file)
                wdt = <&wdog1>;
        };
 };
+
+&eeprom {
+       partitions {
+               compatible = "fixed-partitions";
+
+               vpd {
+                       offset = <0>;
+                       size = <1022>;
+               };
+
+               bootcount {
+                       offset = <1022>;
+                       size = <2>;
+               };
+       };
+};
index ae98361f9abefe716eeedee2f2d1cddf29878921..016a859e3fb400cdbda325c6d84e65f6193913b3 100644 (file)
@@ -43,7 +43,6 @@
 /dts-v1/;
 
 #include "imx53.dtsi"
-#include "imx53-ppd-uboot.dtsi"
 #include <dt-bindings/input/input.h>
 
 / {
                >;
        };
 };
+
+#include "imx53-ppd-uboot.dtsi"
index 88dd7e29393c381914e98739e0cac8aa7e277c32..99d409db3595f4a1b09fa4bde85bc8524b812332 100644 (file)
                wdt = <&wdog1>;
        };
 };
+
+&eeprom {
+       partitions {
+               compatible = "fixed-partitions";
+
+               vpd {
+                       offset = <0>;
+                       size = <1022>;
+               };
+
+               bootcount {
+                       offset = <1022>;
+                       size = <2>;
+               };
+       };
+};
index bb8f562307966115973e7966216454df0d998362..19829613c04a073b2a2764c8ecb7a976378bdfb3 100644 (file)
@@ -42,7 +42,6 @@
  */
 
 #include "imx6q-ba16.dtsi"
-#include "imx6q-bx50v3-uboot.dtsi"
 
 / {
        mclk: clock-mclk {
                #interrupt-cells = <1>;
        };
 };
+
+#include "imx6q-bx50v3-uboot.dtsi"