1 Generic SYSCON mapped register reset driver
3 This is a generic reset driver using syscon to map the reset register.
4 The reset is generally performed with a write to the reset register
5 defined by the register map pointed by syscon reference plus the offset and
6 shifted by the reset specifier/
8 To assert a reset on some device, the equivalent of the following operation is
9 performed, where reset_id is the reset specifier from the device's resets
12 if (BIT(reset_id) & mask)
13 regmap[offset][reset_id] = assert-high;
16 - compatible: should contain "syscon-reset"
17 - #reset-cells: must be 1
18 - regmap: this is phandle to the register map node
19 - offset: offset in the register map for the reboot register (in bytes)
22 - mask: accept only the reset specifiers defined by the mask (32 bit)
23 - assert-high: Bit to write when asserting a reset. Defaults to 1.
25 Default will be little endian mode, 32 bit access only.
30 compatible = "syscon-reset";