ARM: dts: imx6: drop gpmi-nand address and size cells
authorMarco Felsch <m.felsch@pengutronix.de>
Wed, 14 Aug 2019 07:55:58 +0000 (09:55 +0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 19 Aug 2019 12:01:26 +0000 (14:01 +0200)
commit580ea2c2ae07d7c576fe289a6d22a6c3515f9f81
tree20e8aa5761537cafa33259a173d5251ccc04830c
parent291b983846d5fc455e128d285eb070d62b44d029
ARM: dts: imx6: drop gpmi-nand address and size cells

Since commit fe2585e9c29a ("doc: dt: mtd: support partitions in a
special 'partitions' subnode") and commit 5cfdedb7b9a0 ("mtd: ofpart:
move ofpart partitions to a dedicated dt node") the partitioning should
be within a partitions sub-node.

Baseboard device trees following that scheme will get a dtc warning due
to the predefined #address-cells and #size-cells properties:

arch/arm/boot/dts/imx6qdl.dtsi:171.26-189.5: Warning (avoid_unnecessary_addr_size): /soc/gpmi-nand@112000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property

I found no upstream imx6 baseboard using the old partitioning scheme, so
we can drop the two properties to avoid such warnings.

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl.dtsi