microchip,sam-d5x-e5x-gclkgen

Description

SAM_D5x_E5x Generic clock generator

The Generic Clock controller (GCLK) features 12 Generic Clock Generators [11:0] that can
provide a wide range of clock frequencies.

Properties

Top level properties

These property descriptions apply to “microchip,sam-d5x-e5x-gclkgen” nodes themselves. This page also describes child node properties in the following sections.

Properties not inherited from the base binding file.

(None)

Child node properties

Name

Type

Details

subsystem

int

Clock subsystem

This property is required.

gclkgen-div-factor

int

Represent a division value for the corresponding Generator. The actual division factor is
dependent on the state of div-select (gclk1 0 - 65535, others 0 - 255)

gclkgen-run-in-standby-en

int

Keep the Generator running in Standby as long as it is configured to output to a dedicated
GCLK_IOn pin. If output is not configured to a pin, this field has no effect and the
generator will only be running if a peripheral requires the clock.
0: to disable, 1: to enable

Legal values: 0, 1

gclkgen-div-select

string

The Generator clock frequency equals the clock source frequency divided by div-factor
DIV_FACTOR_POWER: The Generator clock frequency equals the clock source frequency divided
by 2^(N+1), where N is the div-factor

Default value: div-factor

Legal values: 'div-factor', 'div-factor-power'

gclkgen-pin-output-en

int

Generator clock output to the corresponding pin, if that pin is not configured as input
source.
0: to disable, 1: to enable

Legal values: 0, 1

gclkgen-pin-output-off-val

string

Output value of the corresponding pin, when the Generator is turned off or the output-en is
false, as long as the pin is not source.

Default value: low

Legal values: 'low', 'high'

gclkgen-duty-50-50-en

int

Improve the duty cycle of the Generator output to 50/50 for odd division factors
0: to disable, 1: to enable

Legal values: 0, 1

gclkgen-en

int

Enable gclk generator
0: to disable, 1: to enable

Legal values: 0, 1

gclkgen-src

string

Generator source clock selection

Default value: xosc0

Legal values: 'xosc0', 'xosc1', 'gclk-pin', 'gclk1', 'osculp32k', 'xosc32k', 'dfll', 'fdpll0', 'fdpll1'

gclkgen-pin-src-freq

int

External input clock frequency of the pin, when used as source. (0 - 200000000)