]> git.ipfire.org Git - thirdparty/linux.git/commit
arm64: dts: freescale: tqma8xx: Add partitions subnode to spi-nor
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Tue, 23 Apr 2024 11:31:51 +0000 (13:31 +0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 3 Jun 2024 01:11:08 +0000 (09:11 +0800)
commit9536dfd70e05ab7d622f19dcdd9fd35368e2ba2f
tree1c62551ddff4fa6fe2f6e44e3d8179ca04712acc
parent60153af6b517116b9d9a468dace522d09c0537ad
arm64: dts: freescale: tqma8xx: 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/tqma8xx.dtsi