Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003  * Samsung's Exynos SoC syscon reboot/poweroff nodes common definition.
0004  */
0005 
0006 &pmu_system_controller {
0007         poweroff: syscon-poweroff {
0008                 compatible = "syscon-poweroff";
0009                 regmap = <&pmu_system_controller>;
0010                 offset = <0x330C>; /* PS_HOLD_CONTROL */
0011                 mask = <0x5200>; /* reset value */
0012         };
0013 
0014         reboot: syscon-reboot {
0015                 compatible = "syscon-reboot";
0016                 regmap = <&pmu_system_controller>;
0017                 offset = <0x0400>; /* SWRESET */
0018                 mask = <0x1>;
0019         };
0020 };