aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2024-04-01 16:10:23 +0200
committerDinh Nguyen <dinguyen@kernel.org>2024-05-30 11:20:13 -0500
commit7f787253bca4fedfa97bfa087b8d3ae0105559de (patch)
treecc56f67a2898b656907f0554202cd4fab62ebb1d
parentarm64: dts: stratix10: socdk: drop unneeded flash address/size-cells (diff)
downloadwireguard-linux-7f787253bca4fedfa97bfa087b8d3ae0105559de.tar.xz
wireguard-linux-7f787253bca4fedfa97bfa087b8d3ae0105559de.zip
arm64: dts: stratix10: socdk_nand: 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_nand.dts:171.10-200.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>
-rw-r--r--arch/arm64/boot/dts/altera/socfpga_stratix10_socdk_nand.dts2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk_nand.dts b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk_nand.dts
index 81d0e914a77c..7c53cb9621e5 100644
--- a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk_nand.dts
+++ b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk_nand.dts
@@ -169,8 +169,6 @@
&qspi {
status = "okay";
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "micron,mt25qu02g", "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <100000000>;