arm64: dts: freescale: tqma8mqnl: Add partitions subnode to spi-nor
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Tue, 23 Apr 2024 11:31:48 +0000 (13:31 +0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 3 Jun 2024 01:11:08 +0000 (09:11 +0800)
commit7de82949255c02cd534e35477cc158e0ffcaa7e5
tree7b924c8f18052248fc1188e9a6293fcc1bb450fa
parent23929910e1383134c19ff0d845cb5ff2321515f3
arm64: dts: freescale: tqma8mqnl: 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>
arch/arm64/boot/dts/freescale/imx8mn-tqma8mqnl.dtsi