]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: fsl-ls1028a: add fsl,ls1028-reset for syscon
authorFrank Li <Frank.Li@nxp.com>
Mon, 29 Jul 2024 18:59:27 +0000 (14:59 -0400)
committerShawn Guo <shawnguo@kernel.org>
Tue, 13 Aug 2024 07:26:50 +0000 (15:26 +0800)
Add platform specific compatiable string 'fsl,ls1028-reset' for syscon and
move reboot node under reset syscon node to fix below warning.

syscon@1e60000: compatible: 'anyOf' conditional failed, one must be fixed:
        ['syscon'] is too short
        'syscon' is not one of ['al,alpine-sysfabric-service', ...

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi

index 24e86abe88ea10b50fab90706ad863515e9f01cd..701f0b2a3e579f7ee55433bb00eb2b677fad84a0 100644 (file)
                };
        };
 
-       reboot {
-               compatible = "syscon-reboot";
-               regmap = <&rst>;
-               offset = <0>;
-               mask = <0x02>;
-       };
-
        timer {
                compatible = "arm,armv8-timer";
                interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) |
                        };
                };
 
-               rst: syscon@1e60000 {
-                       compatible = "syscon";
+               syscon@1e60000 {
+                       compatible = "fsl,ls1028a-reset", "syscon", "simple-mfd";
                        reg = <0x0 0x1e60000 0x0 0x10000>;
                        little-endian;
+
+                       reboot {
+                               compatible = "syscon-reboot";
+                               offset = <0>;
+                               mask = <0x02>;
+                       };
                };
 
                sfp: efuse@1e80000 {