microchip,sam-d5x-e5x-gclkperiph

Description

SAM_D5x_E5x Generic clock peripheral

Peripheral channel gclk clock configuration. The outputs from the Generators are used as sources
for the Peripheral Channels, which provide the Generic Clock (GCLK_PERIPH) to the peripheral
modules.

Properties

Top level properties

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

Properties not inherited from the base binding file.

Name

Type

Details

#clock-cells

int

The subsystem cell is to identify a clock controller sub-system.

The subsystem can be referred from include\zephyr\dt-bindings\clock\mchp_sam_d5x_e5x_clock.h,
under the GCLKPERIPH_TYPE section of ids.
All clock control API use this value to specify the clock on which the API operates.
Since subsystem is opaque to the user, it can be accessed from the devicetree node and used.

Constant value: 1

Child node properties

Name

Type

Details

subsystem

int

Clock subsystem

This property is required.

gclkperiph-src

string

Generator to be used as the source of a peripheral clock

Default value: gclk0

Legal values: 'gclk0', 'gclk1', 'gclk2', 'gclk3', 'gclk4', 'gclk5', 'gclk6', 'gclk7', 'gclk8', 'gclk9', 'gclk10', 'gclk11'

gclkperiph-en

int

Enable a peripheral channel
0: to disable, 1: to enable

Legal values: 0, 1

Specifier cell names

  • clock cells: subsystem