Reset reason for Toradex Apalis T30 (Linux)

Is there a way of determining the reset reason for the Apalis T30 in Linux. I’m not referring to one thats “entered” in manually, but what the hardware thinks.

On other architectures, we have hardware that can determine if the CPU reset because of watchdog, power on reset, voltage detect, …


At least in U-Boot we just recently added this. I do not recall whether or not this can also easily be retrieved from within Linux.