summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorRobert Beckett <bob.beckett@collabora.com>2020-01-31 15:07:53 +0200
committerStefano Babic <sbabic@denx.de>2020-02-09 21:47:20 +0100
commitb64088c5c2d161a8732f04076195a48d8bbf25e7 (patch)
treedaccab3fed0eeea710259b164c84d45af69be1af /arch/arm
parent821c982e359a383c8b95106e135da9fd98f16d2b (diff)
board: ge: bx50v3, imx53ppd: add eeprom partitions
Add eeprom partitions to device tree. Signed-off-by: Robert Beckett <bob.beckett@collabora.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/dts/imx53-ppd-uboot.dtsi16
-rw-r--r--arch/arm/dts/imx53-ppd.dts3
-rw-r--r--arch/arm/dts/imx6q-bx50v3-uboot.dtsi16
-rw-r--r--arch/arm/dts/imx6q-bx50v3.dtsi3
4 files changed, 36 insertions, 2 deletions
diff --git a/arch/arm/dts/imx53-ppd-uboot.dtsi b/arch/arm/dts/imx53-ppd-uboot.dtsi
index 88dd7e2939..99d409db35 100644
--- a/arch/arm/dts/imx53-ppd-uboot.dtsi
+++ b/arch/arm/dts/imx53-ppd-uboot.dtsi
@@ -10,3 +10,19 @@
wdt = <&wdog1>;
};
};
+
+&eeprom {
+ partitions {
+ compatible = "fixed-partitions";
+
+ vpd {
+ offset = <0>;
+ size = <1022>;
+ };
+
+ bootcount {
+ offset = <1022>;
+ size = <2>;
+ };
+ };
+};
diff --git a/arch/arm/dts/imx53-ppd.dts b/arch/arm/dts/imx53-ppd.dts
index ae98361f9a..016a859e3f 100644
--- a/arch/arm/dts/imx53-ppd.dts
+++ b/arch/arm/dts/imx53-ppd.dts
@@ -43,7 +43,6 @@
/dts-v1/;
#include "imx53.dtsi"
-#include "imx53-ppd-uboot.dtsi"
#include <dt-bindings/input/input.h>
/ {
@@ -1084,3 +1083,5 @@
>;
};
};
+
+#include "imx53-ppd-uboot.dtsi"
diff --git a/arch/arm/dts/imx6q-bx50v3-uboot.dtsi b/arch/arm/dts/imx6q-bx50v3-uboot.dtsi
index 88dd7e2939..99d409db35 100644
--- a/arch/arm/dts/imx6q-bx50v3-uboot.dtsi
+++ b/arch/arm/dts/imx6q-bx50v3-uboot.dtsi
@@ -10,3 +10,19 @@
wdt = <&wdog1>;
};
};
+
+&eeprom {
+ partitions {
+ compatible = "fixed-partitions";
+
+ vpd {
+ offset = <0>;
+ size = <1022>;
+ };
+
+ bootcount {
+ offset = <1022>;
+ size = <2>;
+ };
+ };
+};
diff --git a/arch/arm/dts/imx6q-bx50v3.dtsi b/arch/arm/dts/imx6q-bx50v3.dtsi
index bb8f562307..19829613c0 100644
--- a/arch/arm/dts/imx6q-bx50v3.dtsi
+++ b/arch/arm/dts/imx6q-bx50v3.dtsi
@@ -42,7 +42,6 @@
*/
#include "imx6q-ba16.dtsi"
-#include "imx6q-bx50v3-uboot.dtsi"
/ {
mclk: clock-mclk {
@@ -379,3 +378,5 @@
#interrupt-cells = <1>;
};
};
+
+#include "imx6q-bx50v3-uboot.dtsi"