summaryrefslogtreecommitdiffstats
path: root/arch/mips/dts/tplink-mr3020.dts
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/dts/tplink-mr3020.dts')
-rw-r--r--arch/mips/dts/tplink-mr3020.dts19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/mips/dts/tplink-mr3020.dts b/arch/mips/dts/tplink-mr3020.dts
index 1e843ee003..eaae11eddf 100644
--- a/arch/mips/dts/tplink-mr3020.dts
+++ b/arch/mips/dts/tplink-mr3020.dts
@@ -4,4 +4,23 @@
aliases {
spiflash = &spiflash;
};
+
+ chosen {
+ environment@0 {
+ compatible = "barebox,environment";
+ device-path = &spiflash, "partname:barebox-environment";
+ };
+ };
+};
+
+&spiflash {
+ partition@0 {
+ label = "barebox";
+ reg = <0 0x80000>;
+ };
+
+ partition@80000 {
+ label = "barebox-environment";
+ reg = <0x80000 0x10000>;
+ };
};