exynos-syscon-restart.dtsi 478 B

1234567891011121314151617181920
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Samsung's Exynos SoC syscon reboot/poweroff nodes common definition.
  4. */
  5. &pmu_system_controller {
  6. poweroff: syscon-poweroff {
  7. compatible = "syscon-poweroff";
  8. regmap = <&pmu_system_controller>;
  9. offset = <0x330C>; /* PS_HOLD_CONTROL */
  10. mask = <0x5200>; /* reset value */
  11. };
  12. reboot: syscon-reboot {
  13. compatible = "syscon-reboot";
  14. regmap = <&pmu_system_controller>;
  15. offset = <0x0400>; /* SWRESET */
  16. mask = <0x1>;
  17. };
  18. };