2023-05-23 06:53:48 -07:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
|
|
|
|
%YAML 1.2
|
|
|
|
---
|
|
|
|
$id: http://devicetree.org/schemas/clock/amlogic,a1-pll-clkc.yaml#
|
|
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
|
|
|
|
title: Amlogic A1 PLL Clock Control Unit
|
|
|
|
|
|
|
|
maintainers:
|
|
|
|
- Neil Armstrong <neil.armstrong@linaro.org>
|
|
|
|
- Jerome Brunet <jbrunet@baylibre.com>
|
|
|
|
- Jian Hu <jian.hu@jian.hu.com>
|
|
|
|
- Dmitry Rokosov <ddrokosov@sberdevices.ru>
|
|
|
|
|
|
|
|
properties:
|
|
|
|
compatible:
|
|
|
|
const: amlogic,a1-pll-clkc
|
|
|
|
|
|
|
|
'#clock-cells':
|
|
|
|
const: 1
|
|
|
|
|
|
|
|
reg:
|
|
|
|
maxItems: 1
|
|
|
|
|
|
|
|
clocks:
|
|
|
|
items:
|
|
|
|
- description: input fixpll_in
|
|
|
|
- description: input hifipll_in
|
2024-05-15 11:47:25 -07:00
|
|
|
- description: input syspll_in
|
|
|
|
minItems: 2 # syspll_in is optional
|
2023-05-23 06:53:48 -07:00
|
|
|
|
|
|
|
clock-names:
|
|
|
|
items:
|
|
|
|
- const: fixpll_in
|
|
|
|
- const: hifipll_in
|
2024-05-15 11:47:25 -07:00
|
|
|
- const: syspll_in
|
|
|
|
minItems: 2 # syspll_in is optional
|
2023-05-23 06:53:48 -07:00
|
|
|
|
|
|
|
required:
|
|
|
|
- compatible
|
|
|
|
- '#clock-cells'
|
|
|
|
- reg
|
|
|
|
- clocks
|
|
|
|
- clock-names
|
|
|
|
|
|
|
|
additionalProperties: false
|
|
|
|
|
|
|
|
examples:
|
|
|
|
- |
|
2023-05-23 06:53:50 -07:00
|
|
|
#include <dt-bindings/clock/amlogic,a1-peripherals-clkc.h>
|
2023-05-23 06:53:48 -07:00
|
|
|
apb {
|
|
|
|
#address-cells = <2>;
|
|
|
|
#size-cells = <2>;
|
|
|
|
|
|
|
|
clock-controller@7c80 {
|
|
|
|
compatible = "amlogic,a1-pll-clkc";
|
|
|
|
reg = <0 0x7c80 0 0x18c>;
|
|
|
|
#clock-cells = <1>;
|
2023-05-23 06:53:50 -07:00
|
|
|
clocks = <&clkc_periphs CLKID_FIXPLL_IN>,
|
2024-05-15 11:47:25 -07:00
|
|
|
<&clkc_periphs CLKID_HIFIPLL_IN>,
|
|
|
|
<&clkc_periphs CLKID_SYSPLL_IN>;
|
|
|
|
clock-names = "fixpll_in", "hifipll_in", "syspll_in";
|
2023-05-23 06:53:48 -07:00
|
|
|
};
|
|
|
|
};
|