aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2024-04-01 16:10:22 +0200
committerDinh Nguyen <[email protected]>2024-05-30 11:20:13 -0500
commit718a2bb5fe7b2d67d887313f16f93cab5c43ab55 (patch)
tree7449f68d7add10581284e853d48bdc04aeaccc1e
parent1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 (diff)
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 <[email protected]> Signed-off-by: Dinh Nguyen <[email protected]>
-rw-r--r--arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
index 26173f0b0051..4eee777ef1a1 100644
--- a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
+++ b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
@@ -180,8 +180,6 @@
&qspi {
status = "okay";
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "micron,mt25qu02g", "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <100000000>;