[PATCH 3/4] arm: mvebu: armada-388-gp.dts: Fix dtc warnings

Stefan Roese sr at denx.de
Mon Aug 10 10:16:55 CEST 2020


Fix these dtc warnings:
Warning (reg_format)
Warning (avoid_default_addr_size)

Signed-off-by: Stefan Roese <sr at denx.de>
Cc: Chris Packham <judge.packham at gmail.com>
---
 arch/arm/dts/armada-388-gp.dts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/dts/armada-388-gp.dts b/arch/arm/dts/armada-388-gp.dts
index d5ad2fd7e2..d59aa5f232 100644
--- a/arch/arm/dts/armada-388-gp.dts
+++ b/arch/arm/dts/armada-388-gp.dts
@@ -72,6 +72,8 @@
 				pinctrl-0 = <&spi0_pins>;
 				status = "okay";
 				u-boot,dm-pre-reloc;
+				#address-cells = <1>;
+				#size-cells = <0>;
 
 				spi-flash at 0 {
 					u-boot,dm-pre-reloc;
-- 
2.28.0



More information about the U-Boot mailing list