]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
arm64: dts: Added syscon-reboot node for FSL's LS2080A SoC
authorJ. German Rivera <German.Rivera@freescale.com>
Fri, 4 Dec 2015 22:56:04 +0000 (16:56 -0600)
committerOlof Johansson <olof@lixom.net>
Tue, 22 Dec 2015 18:53:36 +0000 (10:53 -0800)
Added sys-reboot node to the FSL's LS2080A SoC DT to leverage
the ARM-generic reboot mechanism for this SoC. This mechanism
is enabled through CONFIG_POWER_RESET_SYSCON.

Signed-off-by: J. German Rivera <German.Rivera@freescale.com>
Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi

index e81cd48d6245eace97978c58057a022d105d990d..65ac35f12fc4d78e87f52a56eb8c9192458bddbb 100644 (file)
                };
        };
 
+       rstcr: syscon@1e60000 {
+               compatible = "fsl,ls2080a-rstcr", "syscon";
+               reg = <0x0 0x1e60000 0x0 0x4>;
+       };
+
+       reboot {
+               compatible ="syscon-reboot";
+               regmap = <&rstcr>;
+               offset = <0x0>;
+               mask = <0x2>;
+       };
+
        timer {
                compatible = "arm,armv8-timer";
                interrupts = <1 13 0x8>, /* Physical Secure PPI, active-low */