syscon-reboot.txt 742 B

123456789101112131415161718192021222324
  1. Generic SYSCON mapped register reset driver
  2. This is a generic reset driver using syscon to map the reset register.
  3. The reset is generally performed with a write to the reset register
  4. defined by the register map pointed by syscon reference plus the offset
  5. with the mask defined in the reboot node.
  6. Required properties:
  7. - compatible: should contain "syscon-reboot"
  8. - regmap: this is phandle to the register map node
  9. - offset: offset in the register map for the reboot register (in bytes)
  10. - mask: the reset value written to the reboot register (32 bit access)
  11. Default will be little endian mode, 32 bit access only.
  12. Examples:
  13. reboot {
  14. compatible = "syscon-reboot";
  15. regmap = <&regmapnode>;
  16. offset = <0x0>;
  17. mask = <0x1>;
  18. };