]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: dts: imx6qdl-tqma6: Add partitions subnode to spi-nor
authorMarkus Niebel <Markus.Niebel@ew.tq-group.com>
Wed, 19 Feb 2025 08:17:39 +0000 (09:17 +0100)
committerShawn Guo <shawnguo@kernel.org>
Tue, 11 Mar 2025 01:51:15 +0000 (09:51 +0800)
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 <Markus.Niebel@ew.tq-group.com>
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/nxp/imx/imx6qdl-tqma6.dtsi

index 6eee1a4b0b19fc9b57c1d065f9a01f0af2f2b849..07492f63a1f801e1166346049074a5d019fa6219 100644 (file)
                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>;
+               };
        };
 };