The latest development version of this page may be more current than this released 3.7.0 version.

andestech,atcpit100

Vendor: Andes Technology Corporation

Description

This is a representation of the Andes Technology atcpit100 PIT node

Properties

Properties not inherited from the base binding file.

Name

Type

Details

clock-frequency

int

channel clock source

This property is required.

prescaler

int

The prescaler value defines the counter frequency
(clock-frequency/prescaler) in atcpit100 counter driver, the prescaler
value could be in range [1 .. clock-frequency] and 1 means no prescaler
for the PIT clock-frequency.

Defaults to 1 to use the PIT clock-frequency as the counter frequency.

Setting the prescaler value if the system overhead is close to or
larger than a counter tick period, reducing the counter frequency to
avoid imprecise counter value.

For example, andes_v5_ae350 platform takes about 200 ~ 300 PIT
clock cycles for counter interface, setting prescaler value to 600 in
this case.

Default value: 1