Skip to content

Commit 811a909

Browse files
committed
arm64: dts: apple: Drop {address,size}-cells from SPI NOR
Fix the following warning by dropping #{address,size}-cells from the SPI NOR node which only has a single child node without reg property: spi1-nvram.dtsi:19.10-38.4: Warning (avoid_unnecessary_addr_size): /soc/spi@235104000/flash@0: unnecessary #address-cells/#size-cells without "ranges", "dma-ranges" or child "reg" property Fixes: 3febe9d ("arm64: dts: apple: Add SPI NOR nvram partition to all devices") Reviewed-by: Janne Grunau <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sven Peter <[email protected]>
1 parent ac1daa9 commit 811a909

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

arch/arm64/boot/dts/apple/spi1-nvram.dtsi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
compatible = "jedec,spi-nor";
2121
reg = <0x0>;
2222
spi-max-frequency = <25000000>;
23-
#address-cells = <1>;
24-
#size-cells = <1>;
2523

2624
partitions {
2725
compatible = "fixed-partitions";

0 commit comments

Comments
 (0)