1*833e5d42SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*833e5d42SEmmanuel Vadot%YAML 1.2 3*833e5d42SEmmanuel Vadot--- 4*833e5d42SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/alphascale,asm9260-clock-controller.yaml# 5*833e5d42SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*833e5d42SEmmanuel Vadot 7*833e5d42SEmmanuel Vadottitle: Alphascale Clock Controller 8*833e5d42SEmmanuel Vadot 9*833e5d42SEmmanuel Vadotmaintainers: 10*833e5d42SEmmanuel Vadot - Oleksij Rempel <linux@rempel-privat.de> 11*833e5d42SEmmanuel Vadot 12*833e5d42SEmmanuel Vadotdescription: | 13*833e5d42SEmmanuel Vadot The ACC (Alphascale Clock Controller) is responsible for choosing proper 14*833e5d42SEmmanuel Vadot clock source, setting dividers and clock gates. 15*833e5d42SEmmanuel Vadot 16*833e5d42SEmmanuel Vadot Simple one-cell clock specifier format is used, where the only cell is used 17*833e5d42SEmmanuel Vadot as an index of the clock inside the provider. 18*833e5d42SEmmanuel Vadot It is encouraged to use dt-binding for clock index definitions. SoC specific 19*833e5d42SEmmanuel Vadot dt-binding should be included to the device tree descriptor. For example 20*833e5d42SEmmanuel Vadot Alphascale ASM9260: 21*833e5d42SEmmanuel Vadot 22*833e5d42SEmmanuel Vadot #include <dt-bindings/clock/alphascale,asm9260.h> 23*833e5d42SEmmanuel Vadot 24*833e5d42SEmmanuel Vadot This binding contains two types of clock providers: 25*833e5d42SEmmanuel Vadot 26*833e5d42SEmmanuel Vadot _AHB_ - AHB gate; 27*833e5d42SEmmanuel Vadot _SYS_ - adjustable clock source. Not all peripheral have _SYS_ clock provider. 28*833e5d42SEmmanuel Vadot 29*833e5d42SEmmanuel Vadot All clock specific details can be found in the SoC documentation. 30*833e5d42SEmmanuel Vadot 31*833e5d42SEmmanuel Vadotproperties: 32*833e5d42SEmmanuel Vadot compatible: 33*833e5d42SEmmanuel Vadot const: alphascale,asm9260-clock-controller 34*833e5d42SEmmanuel Vadot 35*833e5d42SEmmanuel Vadot reg: 36*833e5d42SEmmanuel Vadot maxItems: 1 37*833e5d42SEmmanuel Vadot 38*833e5d42SEmmanuel Vadot '#clock-cells': 39*833e5d42SEmmanuel Vadot const: 1 40*833e5d42SEmmanuel Vadot 41*833e5d42SEmmanuel Vadot clocks: 42*833e5d42SEmmanuel Vadot maxItems: 1 43*833e5d42SEmmanuel Vadot 44*833e5d42SEmmanuel Vadotrequired: 45*833e5d42SEmmanuel Vadot - compatible 46*833e5d42SEmmanuel Vadot - reg 47*833e5d42SEmmanuel Vadot - '#clock-cells' 48*833e5d42SEmmanuel Vadot 49*833e5d42SEmmanuel VadotadditionalProperties: false 50