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

arm64: dts: stratix10: 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_stratix10_socdk.dts:182.10-211.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
718a2bb5 1613e604

-2
-2
arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
··· 180 180 &qspi { 181 181 status = "okay"; 182 182 flash@0 { 183 - #address-cells = <1>; 184 - #size-cells = <1>; 185 183 compatible = "micron,mt25qu02g", "jedec,spi-nor"; 186 184 reg = <0>; 187 185 spi-max-frequency = <100000000>;