Skip to content

Commit 5d83c23

Browse files
krzkgclement
authored andcommitted
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 <krzk@kernel.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
1 parent 270bd4c commit 5d83c23

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

arch/arm64/boot/dts/marvell/cn9131-db.dtsi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,6 @@
138138
reg = <0x700680 0x50>;
139139

140140
flash@0 {
141-
#address-cells = <0x1>;
142-
#size-cells = <0x1>;
143141
compatible = "jedec,spi-nor";
144142
reg = <0x0>;
145143
/* On-board MUX does not allow higher frequencies */

0 commit comments

Comments
 (0)