]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: agilex: socdk: drop unneeded flash address/size-cells
authorKrzysztof Kozlowski <krzk@kernel.org>
Mon, 1 Apr 2024 14:10:24 +0000 (16:10 +0200)
committerDinh Nguyen <dinguyen@kernel.org>
Thu, 30 May 2024 16:20:13 +0000 (11:20 -0500)
Flash node uses single "partition" node to describe partitions, so
remove deprecated address/size-cells properties to also fix dtc W=1
warnings:

  socfpga_agilex_socdk.dts:108.10-137.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>
arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts

index ad99aefeb185a1b9a37b6186e9e46fe8897c496c..b31cfa6b802d9f5f9fae1866c9cd290b66825678 100644 (file)
 &qspi {
        status = "okay";
        flash@0 {
-               #address-cells = <1>;
-               #size-cells = <1>;
                compatible = "micron,mt25qu02g", "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <100000000>;