microchip,sam-d5x-e5x-xosc

Description

SAM_D5x_E5x Crystal Oscillator (XOSC)

8-48 MHz Crystal Oscillators (XOSC).

Properties

Top level properties

These property descriptions apply to “microchip,sam-d5x-e5x-xosc” 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.

xosc-frequency

int

Crystal/External clock frequency for XOSC Controller

xosc-startup-time

int

XOSC start-up time. Select number of OSCULP32K oscillator clock cycles.

Default value: 1

Legal values: 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768

xosc-clock-switch-en

int

Switch back to the external clock or crystal oscillator for clock recovery
0: The clock switch back is disabled.
1: The clock switch back is enabled.

Legal values: 0, 1

xosc-clock-failure-detection-en

int

Clock Failure Detector Enable
0: to disable, 1: to enable

Legal values: 0, 1

xosc-automatic-loop-control-en

int

Oscillator's amplitude automatically adjusted
0: to disable, 1: to enable

Legal values: 0, 1

xosc-low-buffer-gain-en

int

Increase the oscillator's amplitude by a factor of approximately 2.
Use this setting to solve stability issues.
0: to disable, 1: to enable

Legal values: 0, 1

xosc-on-demand-en

int

0: The oscillator is always ON normally.
In standby sleep mode, oscillator will be OFF if there is no peripheral request,
unless run-in-standby-en is 1.
1: In both normal and standby sleep mode, The oscillator is ON,
when a peripheral is requesting the oscillator to be used as a clock source.
The oscillator is OFF if no peripheral is requesting the clock source.
Important: Initializing it with 1, along with clock enabled, can lead to indefinite wait
for the clock to be on, if there is no peripheral request for the clock in the sequence of
clock Initialization. If required, better to turn on the clock using API, instead of
enabling both during startup.

Legal values: 0, 1

xosc-run-in-standby-en

int

0: The XOSCn is OFF in standby sleep mode if no peripheral requests the clock.
1: The XOSCn is always ON in standby sleep mode, unless on-demand-en is 1.
If on-demand-en is 1, the XOSCn will be ON only when a peripheral is requesting
the clock, even if run-in-standby-en is 1.

Legal values: 0, 1

xosc-xtal-en

int

Selects external clock or crystal oscillator
0 - External clock connected on XIN. XOUT can be used as general-purpose I/O.
1 - Crystal connected to XIN/XOUT.

Legal values: 0, 1

xosc-en

int

Oscillator Enable
0: to disable, 1: to enable

Legal values: 0, 1