Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm64: dts: n5x: socdk: 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:

socfpga_n5x_socdk.dts:85.10-114.4: Warning (avoid_unnecessary_addr_size): /soc@0/spi@ff8d2000/flash@0: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Dinh Nguyen
32cdf4c7 41f7adb6

-2
-2
arch/arm64/boot/dts/intel/socfpga_n5x_socdk.dts
··· 83 83 &qspi { 84 84 status = "okay"; 85 85 flash@0 { 86 - #address-cells = <1>; 87 - #size-cells = <1>; 88 86 compatible = "micron,mt25qu02g", "jedec,spi-nor"; 89 87 reg = <0>; 90 88 spi-max-frequency = <100000000>;