aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Stein <alexander.stein@ew.tq-group.com>2024-04-23 13:31:51 +0200
committerShawn Guo <shawnguo@kernel.org>2024-06-03 09:11:08 +0800
commit9536dfd70e05ab7d622f19dcdd9fd35368e2ba2f (patch)
tree1c62551ddff4fa6fe2f6e44e3d8179ca04712acc
parentarm64: dts: freescale: tqma8mq: Add partitions subnode to spi-nor (diff)
downloadlinux-9536dfd70e05ab7d622f19dcdd9fd35368e2ba2f.tar.gz
linux-9536dfd70e05ab7d622f19dcdd9fd35368e2ba2f.zip
arm64: dts: freescale: tqma8xx: Add partitions subnode to spi-nor
The bootloader adds MTD partitions in this subnode if present, or in the spi-nor node itself otherwise. Setting #size-cells in MTD nodes itself is deprecated by mtd.yaml. Fix all this by adding an empty partitions node which the bootloader will fill with configured MTD partitions. Remove the deprecated properties as well. Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r--arch/arm64/boot/dts/freescale/tqma8xx.dtsi8
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/freescale/tqma8xx.dtsi b/arch/arm64/boot/dts/freescale/tqma8xx.dtsi
index d98469a7c47c..366912bf3d5e 100644
--- a/arch/arm64/boot/dts/freescale/tqma8xx.dtsi
+++ b/arch/arm64/boot/dts/freescale/tqma8xx.dtsi
@@ -61,12 +61,16 @@
flash0: flash@0 {
reg = <0>;
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
spi-max-frequency = <66000000>;
spi-tx-bus-width = <1>;
spi-rx-bus-width = <4>;
+
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ };
};
};