arm64: dts: marvell: cn9130-db: drop unneeded flash address/size-cells
authorKrzysztof Kozlowski <krzk@kernel.org>
Mon, 1 Apr 2024 14:10:47 +0000 (16:10 +0200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Tue, 2 Apr 2024 12:40:22 +0000 (14:40 +0200)
Flash node uses single "partition" node to describe partitions, so
remove deprecated address/size-cells properties to also fix dtc W=1
warnings:

  cn9130-db.dtsi:313.10-336.4: Warning (avoid_unnecessary_addr_size): /cp0/config-space@f2000000/spi@700680/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>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm64/boot/dts/marvell/cn9130-db.dtsi

index 6eb6a175de38d550633f75d05093f1486d4ac20f..01d6645ddba7be42b0958368d51a636d1ac6cc0a 100644 (file)
        reg = <0x700680 0x50>;
 
        flash@0 {
-               #address-cells = <0x1>;
-               #size-cells = <0x1>;
                compatible = "jedec,spi-nor";
                reg = <0x0>;
                /* On-board MUX does not allow higher frequencies */