summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYannic Moog <y.moog@phytec.de>2023-06-16 12:50:08 +0300
committerShawn Guo <shawnguo@kernel.org>2023-07-18 04:52:29 +0300
commit3d8f8cebde5af72e59ca1eb26e474ff2576798d3 (patch)
tree5457a1f1ab0302a5c11bc1caebe854fda034a2c9
parent867b8557899e43b982af10c7c2c5407402431b1a (diff)
downloadlinux-3d8f8cebde5af72e59ca1eb26e474ff2576798d3.tar.xz
arm64: dts: phycore-imx8mm: fix nor mtd partitions
Add #address-cells and #size-cells properties to som_flash. This enables correct parsing of added SPI NOR mtd partition child nodes that are set in the bootloader. Signed-off-by: Yannic Moog <y.moog@phytec.de> Signed-off-by: Cem Tenruh <c.tenruh@phytec.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r--arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi
index 92616bc4f71f..abe551efb5b2 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi
@@ -102,6 +102,8 @@
status = "okay";
som_flash: flash@0 {
+ #address-cells = <1>;
+ #size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <80000000>;