]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: marvell: cn9131-db: drop unneeded flash address/size-cells
authorKrzysztof Kozlowski <krzk@kernel.org>
Mon, 1 Apr 2024 14:10:48 +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:

  cn9131-db.dtsi:140.10-163.4: Warning (avoid_unnecessary_addr_size): /cp1/config-space@f4000000/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/cn9131-db.dtsi

index ff8422fae31b543542a379e96b54fd1238ea181e..8f2523786cfb92de96e02fe987e40524b4c946a7 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 */