atmel,sam-tc¶
Vendor: Atmel Corporation
Description¶
Atmel SAM Timer Counter (TC) node
Properties¶
Properties not inherited from the base binding file.
Name |
Type |
Details |
---|---|---|
|
|
peripheral ID
This property is required. |
|
|
Timer / Counter channel to use, channel 0 is the default.
Valid range: 0 - 2
|
|
|
Clock source selection as defined by TCCLKS bit-field of TC_CMR
register. Consult the datasheet for the details.
|
|
|
If set to true the `clk` property is ignored. Instead the TC module is
driven directly via MCLK. Only supported on sam4e, same70, same70b,
samv71, samv71b SoC series.
|
|
|
Alternate value of the CMR (Channel Mode Register) register.
If specified this value will be written to the register during driver
instance initialization instead of the default. It can be used to
configure the timer / counter in the custom mode. Together with other
properties like channel-num, pinctrl-0 this allows e.g. to configure
the driver to count events generated on the TIOA, TIOB signal connected
to the external pin.
|
|
|
PIO pin configuration for Timer Counter signals. We expect that
the phandles will reference pinctrl nodes. These nodes will
have a nodelabel that matches the Atmel SoC HAL defines and
be of the form p<port><pin><periph>_<inst>_<signal>.
For example the TC0 on SAME7x would be
pinctrl-0 = <&pa0b_tc0_tioa0 &pa1b_tc0_tiob0>;
|
Deprecated properties not inherited from the base binding file.
(None)
Properties inherited from the base binding file, which defines common properties that may be set on many nodes. Not all of these may apply to the “atmel,sam-tc” compatible.
Name |
Type |
Details |
---|---|---|
|
|
register space
This property is required. See Important properties for more information. |
|
|
interrupts for device
This property is required. See Important properties for more information. |
|
|
Human readable string describing the device (used as device_get_binding() argument)
This property is required. See Important properties for more information. |
|
|
indicates the operational status of a device
Legal values: See Important properties for more information. |
|
|
compatible strings
This property is required. See Important properties for more information. |
|
|
name of each register space
|
|
|
extended interrupt specifier for device
|
|
|
name of each interrupt
|
|
|
phandle to interrupt controller node
|
|
|
Clock gate information
|
|
|
name of each clock
|
|
|
number of address cells in reg property
|
|
|
number of size cells in reg property
|
|
|
DMA channels specifiers
|
|
|
Provided names of DMA channel specifiers
|
|
|
IO channels specifiers
|
|
|
Provided names of IO channel specifiers
|
|
|
Property to identify that a device can be used as wake up source.
When this property is provided a specific flag is set into the
device that tells the system that the device is capable of
wake up the system.
Wake up capable devices are disabled (interruptions will not wake up
the system) by default but they can be enabled at runtime if necessary.
|