arm64: dts: agilex/stratix10/n5x: fix dtbs_check for rstmgr
authorDinh Nguyen <dinguyen@kernel.org>
Sun, 25 Jun 2023 20:12:40 +0000 (15:12 -0500)
committerDinh Nguyen <dinguyen@kernel.org>
Mon, 10 Jul 2023 00:45:09 +0000 (19:45 -0500)
The bindings expect "altr,rst-mgr" as a fallback in the rstmgr
compatible:

rstmgr@ffd11000: compatible: 'oneOf' conditional failed, one must be fixed:
        ['altr,stratix10-rst-mgr'] is too short
        'altr,rst-mgr' was expected

Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
arch/arm64/boot/dts/intel/socfpga_agilex.dtsi

index 34e65a9..fc047ae 100644 (file)
                };
 
                rst: rstmgr@ffd11000 {
-                       #reset-cells = <1>;
-                       compatible = "altr,stratix10-rst-mgr";
+                       compatible = "altr,stratix10-rst-mgr", "altr,rst-mgr";
                        reg = <0xffd11000 0x100>;
+                       #reset-cells = <1>;
                };
 
                smmu: iommu@fa000000 {