summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2020-11-12 13:22:30 +0300
committerSascha Hauer <s.hauer@pengutronix.de>2020-11-13 08:10:24 +0100
commit7b9a1b4e5c694cbd4537d243e8fc37f0eeae5108 (patch)
treed38198b9278a1de7c06d11d74481bfa261d5b03b
parenteddc39999729c1fa65a32596d8a6a85330cff7b3 (diff)
downloadbarebox-7b9a1b4e5c694cbd4537d243e8fc37f0eeae5108.tar.gz
barebox-7b9a1b4e5c694cbd4537d243e8fc37f0eeae5108.tar.xz
ARM: dts: imx6qdl: pfla02: Use upstream som_flash node
Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/dts/imx6qdl-phytec-pfla02.dtsi52
1 files changed, 25 insertions, 27 deletions
diff --git a/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi b/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi
index cb5ca0aba2..a1379c295f 100644
--- a/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi
+++ b/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi
@@ -21,7 +21,7 @@
environment-spinor {
compatible = "barebox,environment";
- device-path = &flash, "partname:barebox-environment";
+ device-path = &som_flash, "partname:barebox-environment";
status = "disabled";
};
@@ -53,32 +53,30 @@
/delete-node/ &{/memory@10000000};
-&ecspi3 {
- flash: flash@0 {
- partitions {
- compatible = "fixed-partitions";
- #address-cells = <1>;
- #size-cells = <1>;
-
- partition@0 {
- label = "barebox";
- reg = <0x0 0x100000>;
- };
-
- partition@100000 {
- label = "barebox-environment";
- reg = <0x100000 0x20000>;
- };
-
- partition@120000 {
- label = "oftree";
- reg = <0x120000 0x20000>;
- };
-
- partition@140000 {
- label = "kernel";
- reg = <0x140000 0x0>;
- };
+&som_flash {
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition@0 {
+ label = "barebox";
+ reg = <0x0 0x100000>;
+ };
+
+ partition@100000 {
+ label = "barebox-environment";
+ reg = <0x100000 0x20000>;
+ };
+
+ partition@120000 {
+ label = "oftree";
+ reg = <0x120000 0x20000>;
+ };
+
+ partition@140000 {
+ label = "kernel";
+ reg = <0x140000 0x0>;
};
};
};