arm64: dts: marvell: turris-mox: drop unneeded flash address/size-cells
authorKrzysztof Kozlowski <krzk@kernel.org>
Tue, 2 Apr 2024 18:32:39 +0000 (20:32 +0200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Sun, 5 May 2024 16:03:31 +0000 (18:03 +0200)
Flash node uses single "partition" node to describe partitions, so
remove deprecated address/size-cells properties to also fix dtc W=1
warnings:

  armada-3720-turris-mox.dts:218.10-255.4: Warning (avoid_unnecessary_addr_size): /soc/internal-regs@d0000000/spi@10600/flash@0: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Marek BehĂșn <kabel@kernel.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts

index f1a9f223435919f05bcfaea45f73321aec313be9..54453b0a91f9697f563f5a59f229f3491b608327 100644 (file)
        assigned-clock-rates = <20000000>;
 
        flash@0 {
-               #address-cells = <1>;
-               #size-cells = <1>;
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <20000000>;