[PATCH -next] ARM: dts: k3-j7200-common-proc-board-u-boot.dtsi: Fix dtc warnings

Vignesh Raghavendra vigneshr at ti.com
Mon Jun 14 10:42:39 CEST 2021


Fix following dtc warning by explicitly setting up #size-cells
and #address-cells when overriding node in -u-boot.dtsi

arch/arm/dts/k3-j7200-common-proc-board.dtb: Warning (reg_format):
/bus at 100000/bus at 28380000/mcu-navss/ringacc at 2b800000:reg: property has
invalid length (80 bytes) (#address-cells == 2, #size-cells == 1)

Signed-off-by: Vignesh Raghavendra <vigneshr at ti.com>
---
 arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi b/arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi
index 41ce9fcb59..786cc48050 100644
--- a/arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi
+++ b/arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi
@@ -43,6 +43,8 @@
 
 	mcu-navss{
 		u-boot,dm-spl;
+		#address-cells = <2>;
+		#size-cells = <2>;
 
 		ringacc at 2b800000 {
 			reg =	<0x0 0x2b800000 0x0 0x400000>,
-- 
2.32.0



More information about the U-Boot mailing list