Path: blob/master/Documentation/devicetree/bindings/clock/amlogic,a1-peripherals-clkc.yaml
26308 views
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause1%YAML 1.22---3$id: http://devicetree.org/schemas/clock/amlogic,a1-peripherals-clkc.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Amlogic A1 Peripherals Clock Control Unit78maintainers:9- Neil Armstrong <neil.armstrong@linaro.org>10- Jerome Brunet <jbrunet@baylibre.com>11- Jian Hu <jian.hu@jian.hu.com>12- Dmitry Rokosov <ddrokosov@sberdevices.ru>1314properties:15compatible:16const: amlogic,a1-peripherals-clkc1718'#clock-cells':19const: 12021reg:22maxItems: 12324clocks:25items:26- description: input fixed pll div227- description: input fixed pll div328- description: input fixed pll div529- description: input fixed pll div730- description: input hifi pll31- description: input oscillator (usually at 24MHz)32- description: input sys pll33minItems: 6 # sys_pll is optional3435clock-names:36items:37- const: fclk_div238- const: fclk_div339- const: fclk_div540- const: fclk_div741- const: hifi_pll42- const: xtal43- const: sys_pll44minItems: 6 # sys_pll is optional4546required:47- compatible48- '#clock-cells'49- reg50- clocks51- clock-names5253additionalProperties: false5455examples:56- |57#include <dt-bindings/clock/amlogic,a1-pll-clkc.h>58apb {59#address-cells = <2>;60#size-cells = <2>;6162clock-controller@800 {63compatible = "amlogic,a1-peripherals-clkc";64reg = <0 0x800 0 0x104>;65#clock-cells = <1>;66clocks = <&clkc_pll CLKID_FCLK_DIV2>,67<&clkc_pll CLKID_FCLK_DIV3>,68<&clkc_pll CLKID_FCLK_DIV5>,69<&clkc_pll CLKID_FCLK_DIV7>,70<&clkc_pll CLKID_HIFI_PLL>,71<&xtal>,72<&clkc_pll CLKID_SYS_PLL>;73clock-names = "fclk_div2", "fclk_div3",74"fclk_div5", "fclk_div7",75"hifi_pll", "xtal", "sys_pll";76};77};787980