Skip to content

Commit 34f5746

Browse files
krzkgclement
authored andcommitted
arm64: dts: marvell: turris-mox: 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: 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>
1 parent 04483d1 commit 34f5746

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,6 @@
216216
assigned-clock-rates = <20000000>;
217217

218218
flash@0 {
219-
#address-cells = <1>;
220-
#size-cells = <1>;
221219
compatible = "jedec,spi-nor";
222220
reg = <0>;
223221
spi-max-frequency = <20000000>;

0 commit comments

Comments
 (0)