blob: e23dea8344f818508ffdab858a81a9147a23278e [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001Generic SYSCON mapped register reset driver
2
3This is a generic reset driver using syscon to map the reset register.
4The reset is generally performed with a write to the reset register
5defined by the register map pointed by syscon reference plus the offset
6with the value and mask defined in the reboot node.
7
8Required properties:
9- compatible: should contain "syscon-reboot"
10- regmap: this is phandle to the register map node
11- offset: offset in the register map for the reboot register (in bytes)
12- value: the reset value written to the reboot register (32 bit access)
13
14Optional properties:
15- mask: update only the register bits defined by the mask (32 bit)
16
17Legacy usage:
18If a node doesn't contain a value property but contains a mask property, the
19mask property is used as the value.
20
21Default will be little endian mode, 32 bit access only.
22
23Examples:
24
25 reboot {
26 compatible = "syscon-reboot";
27 regmap = <&regmapnode>;
28 offset = <0x0>;
29 mask = <0x1>;
30 };