diff options
author | Sven Peter <sven@kernel.org> | 2025-06-10 22:19:24 +0300 |
---|---|---|
committer | Sven Peter <sven@kernel.org> | 2025-06-13 17:32:07 +0300 |
commit | 811a909978bf59caa25359e0aca4e30500dcff26 (patch) | |
tree | ba7f875551b5b7ddf81920566efe7f01cf29acab | |
parent | ac1daa91e9370e3b88ef7826a73d62a4d09e2717 (diff) | |
download | linux-811a909978bf59caa25359e0aca4e30500dcff26.tar.xz |
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: 3febe9de5ca5 ("arm64: dts: apple: Add SPI NOR nvram partition to all devices")
Reviewed-by: Janne Grunau <j@jannau.net>
Link: https://lore.kernel.org/r/20250610-apple-dts-warnings-v1-1-70b53e8108a0@kernel.org
Signed-off-by: Sven Peter <sven@kernel.org>
-rw-r--r-- | arch/arm64/boot/dts/apple/spi1-nvram.dtsi | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/apple/spi1-nvram.dtsi b/arch/arm64/boot/dts/apple/spi1-nvram.dtsi index 3df2fd3993b5..9740fbf200f0 100644 --- a/arch/arm64/boot/dts/apple/spi1-nvram.dtsi +++ b/arch/arm64/boot/dts/apple/spi1-nvram.dtsi @@ -20,8 +20,6 @@ compatible = "jedec,spi-nor"; reg = <0x0>; spi-max-frequency = <25000000>; - #address-cells = <1>; - #size-cells = <1>; partitions { compatible = "fixed-partitions"; |