[PATCH 3/6] arm64: dts: phycore-imx8mm: fix nor mtd partitions

Cem Tenruh c.tenruh at phytec.de
Fri Jun 16 02:50:08 PDT 2023


From: Yannic Moog <y.moog at phytec.de>

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 at phytec.de>
Signed-off-by: Cem Tenruh <c.tenruh at phytec.de>
---
 arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi
index 2dd179ec923d..cc87cc565cc9 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 @@ &flexspi {
 	status = "okay";
 
 	som_flash: flash at 0 {
+		#address-cells = <1>;
+		#size-cells = <1>;
 		compatible = "jedec,spi-nor";
 		reg = <0>;
 		spi-max-frequency = <80000000>;
-- 
2.25.1




More information about the linux-arm-kernel mailing list