imx6_snvs(4)

imx6_snvs4

Device driver for the nxp i.mx6 on-chip realtime clock

Usage

To compile this driver into the kernel, place the following line in your kernel configuration file:

device imx6_snvs

Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):

imx6_snvs_load="YES"

Overview

The imx6_snvs driver provides support for the i.MX6 on-chip realtime clock. It provides the time of day with a resolution of approximately 30 microseconds.

‘SNVS’ stands for Secure Non-Volatile Storage, and refers to the subsystem within the chip that (optionally) remains powered by a battery when the rest of the system is powered down. The on-chip realtime clock is part of that subsystem. Other features of the SNVS subsystem are related to security, tamper monitoring, and power control; the imx6_snvs driver does not currently support those features.

Many i.MX6 systems do not use a battery to provide power to the SNVS due to its relatively high power draw. In such systems, this driver is able to provide a very accurate time following a reboot, but cannot provide time at all if the power is cycled. If the system provides an i2c or other type of alternate realtime clock with lower resolution, there is value in configuring both clock drivers. Doing so allows SNVS to provide accurate time after a reboot, while the external clock provides approximate time after power cycling.

Releases

9 releases since FreeBSD 14.0-RELEASE; the text changed 1 time.

  1. 14.0–14.4
  2. 14.5–16.0

History

The imx6_snvs driver first appeared in FreeBSD 12.0.

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.