From: Markus Niebel Date: Wed, 19 Feb 2025 08:17:39 +0000 (+0100) Subject: ARM: dts: imx6qdl-tqma6: Add partitions subnode to spi-nor X-Git-Tag: v6.15-rc1~159^2~17^2~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c08c7771b90632a53063e71af38ce78bbc97e8a;p=thirdparty%2Flinux.git ARM: dts: imx6qdl-tqma6: Add partitions subnode to spi-nor The bootloader may add MTD partitions in this subnode if present. Add an empty partitions node which the bootloader will fill with configured MTD partitions. Remove #size-cells from MTD node because this is deprecated. Signed-off-by: Markus Niebel Signed-off-by: Alexander Stein Signed-off-by: Shawn Guo --- diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-tqma6.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-tqma6.dtsi index 6eee1a4b0b19f..07492f63a1f80 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6qdl-tqma6.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-tqma6.dtsi @@ -17,10 +17,14 @@ compatible = "jedec,spi-nor"; reg = <0>; spi-max-frequency = <50000000>; - #address-cells = <1>; - #size-cells = <1>; vcc-supply = <&sw4_reg>; m25p,fast-read; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + }; }; };