Skip to contentSkip to conversation

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

PATCH In review Vignesh Raghavendra 3 participants 4 messages Jun 14, 2021 – Jun 24, 2021 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: k3-j7200-common-proc-board-u-boot.dtsi: Fix dtc warnings

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@100000/bus@28380000/mcu-navss/ringacc@2b800000:reg: property has invalid length (80 bytes) (#address-cells == 2, #size-cells == 1)

---
 arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi +2 -0
index 41ce9fcb59..786cc48050 100644
@@ -43,6 +43,8 @@
 
 	mcu-navss{
 		u-boot,dm-spl;
+		#address-cells = <2>;
+		#size-cells = <2>;
 
 		ringacc@2b800000 {
 			reg =	<0x0 0x2b800000 0x0 0x400000>,
Signature · 1 line
2.32.0
#1 lore raw

+Tom

Quoted 8 lines · Vignesh Raghavendra

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@100000/bus@28380000/mcu-navss/ringacc@2b800000:reg: property has invalid length (80 bytes) (#address-cells == 2, #size-cells == 1)

Tom,
If you don't mind, can you pull the patch to next directly? This fixed the DT
warning on j7200 builds.

Thanks and regards,
Lokesh

Quoted 18 lines
---
 arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi +2 -0
index 41ce9fcb59..786cc48050 100644
@@ -43,6 +43,8 @@
 
 	mcu-navss{
 		u-boot,dm-spl;
+		#address-cells = <2>;
+		#size-cells = <2>;
 
 		ringacc@2b800000 {
 			reg =	<0x0 0x2b800000 0x0 0x400000>,
#2 lore raw
Quoted 10 lines · Lokesh Vutla

+Tom

Quoted 7 lines · Vignesh Raghavendra

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@100000/bus@28380000/mcu-navss/ringacc@2b800000:reg: property has invalid length (80 bytes) (#address-cells == 2, #size-cells == 1)

Quoted 5 lines
Quoted 1 line

Tom,
If you don't mind, can you pull the patch to next directly? This fixed the DT
warning on j7200 builds.

OK, will do.

Signature · 1 line
Tom
#3 lore raw
In reply to Vignesh Raghavendra
Quoted 8 lines · Vignesh Raghavendra

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@100000/bus@28380000/mcu-navss/ringacc@2b800000:reg: property has invalid length (80 bytes) (#address-cells == 2, #size-cells == 1)

Applied to u-boot/next, thanks!

Signature · 1 line
Tom