The ndfc node of eiger.dts has no reg property, U-Boot fills it in at
runtime.  The new IBM NDFC binding makes it required, so dtbs_check
now reports

  ndfc@1,0 (ibm,ndfc): 'reg' is a required property

Add a zeroed placeholder, as the nor_flash@0,0 node in the same file
already does.

Tested with dt-validate on eiger.dtb.

Assisted-by: LLM
Signed-off-by: Rosen Penev <[email protected]>
---
 v2: fix default reg
 arch/powerpc/boot/dts/eiger.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/boot/dts/eiger.dts b/arch/powerpc/boot/dts/eiger.dts
index dc4d74c523ec..33ce507e71d4 100644
--- a/arch/powerpc/boot/dts/eiger.dts
+++ b/arch/powerpc/boot/dts/eiger.dts
@@ -196,7 +196,7 @@ partition@3fa0000 {
 
                                ndfc@1,0 {
                                        compatible = "ibm,ndfc";
-                                       /* reg property is supplied by U-boot */
+                                       reg = <0x00000001 0x00000000 
0x00000000>; /* Filled in by U-Boot */
                                        ccr = <0x00003000>;
                                        bank-settings = <0x80002222>;
                                        #address-cells = <1>;
-- 
2.55.0


Reply via email to