From: Krzysztof Kozlowski Date: Mon, 1 Apr 2024 14:10:48 +0000 (+0200) Subject: arm64: dts: marvell: cn9131-db: drop unneeded flash address/size-cells X-Git-Tag: v6.10-rc1~239^2~3^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5d83c23bc77b8ed49bea7850a1b7fe36e5686328;p=thirdparty%2Fkernel%2Flinux.git arm64: dts: marvell: cn9131-db: drop unneeded flash address/size-cells 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 Reviewed-by: Andrew Lunn Signed-off-by: Gregory CLEMENT --- diff --git a/arch/arm64/boot/dts/marvell/cn9131-db.dtsi b/arch/arm64/boot/dts/marvell/cn9131-db.dtsi index ff8422fae31b5..8f2523786cfb9 100644 --- a/arch/arm64/boot/dts/marvell/cn9131-db.dtsi +++ b/arch/arm64/boot/dts/marvell/cn9131-db.dtsi @@ -138,8 +138,6 @@ 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 */