summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts/rk3188-radxarock.dts
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2022-10-19 12:28:04 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2022-10-19 12:36:52 +0200
commit158944ab8cca4429e273189d121fa7149b7dc924 (patch)
treeb3aa8755eca65bd36b49412275602441890fa84e /arch/arm/dts/rk3188-radxarock.dts
parentba407579fa3cc9466ea3277832be4720ecb2db2a (diff)
downloadbarebox-158944ab8cca4429e273189d121fa7149b7dc924.tar.gz
barebox-158944ab8cca4429e273189d121fa7149b7dc924.tar.xz
Treewide: Reference environment partitions by phandle
Where possible reference the environment partitions directly by phandle instead of referencing the physical device and describing the partition by "partname:xxx". This is one step to deprecate the "partname:xxx" binding. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/dts/rk3188-radxarock.dts')
-rw-r--r--arch/arm/dts/rk3188-radxarock.dts6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/dts/rk3188-radxarock.dts b/arch/arm/dts/rk3188-radxarock.dts
index daa75b831f..3546c4a149 100644
--- a/arch/arm/dts/rk3188-radxarock.dts
+++ b/arch/arm/dts/rk3188-radxarock.dts
@@ -20,8 +20,7 @@
environment {
compatible = "barebox,environment";
- device-path = &mmc0, "partname:barebox-environment";
- status = "okay";
+ device-path = &env_mmc0;
};
};
};
@@ -34,7 +33,8 @@
label = "barebox";
reg = <0x0 0x80000>;
};
- partition@80000 {
+
+ env_mmc0: partition@80000 {
label = "barebox-environment";
reg = <0x80000 0x80000>;
};