xref: /freebsd/sys/contrib/device-tree/Bindings/clock/marvell,berlin2-clk.yaml (revision 833e5d42ab135b0238e61c5b3c19b8619677cbfa)
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/marvell,berlin2-clk.yaml#
5*833e5d42SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*833e5d42SEmmanuel Vadot
7*833e5d42SEmmanuel Vadottitle: Marvell Berlin Clock Controller
8*833e5d42SEmmanuel Vadot
9*833e5d42SEmmanuel Vadotmaintainers:
10*833e5d42SEmmanuel Vadot  - Jisheng Zhang <jszhang@kernel.org>
11*833e5d42SEmmanuel Vadot
12*833e5d42SEmmanuel Vadotdescription:
13*833e5d42SEmmanuel Vadot  Clock related registers are spread among the chip control registers. Berlin
14*833e5d42SEmmanuel Vadot  clock node should be a sub-node of the chip controller node. Marvell Berlin2
15*833e5d42SEmmanuel Vadot  (BG2, BG2CD, BG2Q) SoCs share the same IP for PLLs and clocks, with some minor
16*833e5d42SEmmanuel Vadot  differences in features and register layout.
17*833e5d42SEmmanuel Vadot
18*833e5d42SEmmanuel Vadotproperties:
19*833e5d42SEmmanuel Vadot  compatible:
20*833e5d42SEmmanuel Vadot    enum:
21*833e5d42SEmmanuel Vadot      - marvell,berlin2-clk
22*833e5d42SEmmanuel Vadot      - marvell,berlin2q-clk
23*833e5d42SEmmanuel Vadot
24*833e5d42SEmmanuel Vadot  '#clock-cells':
25*833e5d42SEmmanuel Vadot    const: 1
26*833e5d42SEmmanuel Vadot
27*833e5d42SEmmanuel Vadot  clocks:
28*833e5d42SEmmanuel Vadot    maxItems: 1
29*833e5d42SEmmanuel Vadot
30*833e5d42SEmmanuel Vadot  clock-names:
31*833e5d42SEmmanuel Vadot    items:
32*833e5d42SEmmanuel Vadot      - enum:
33*833e5d42SEmmanuel Vadot          - refclk
34*833e5d42SEmmanuel Vadot          - video_ext0
35*833e5d42SEmmanuel Vadot
36*833e5d42SEmmanuel Vadotrequired:
37*833e5d42SEmmanuel Vadot  - compatible
38*833e5d42SEmmanuel Vadot  - '#clock-cells'
39*833e5d42SEmmanuel Vadot  - clocks
40*833e5d42SEmmanuel Vadot  - clock-names
41*833e5d42SEmmanuel Vadot
42*833e5d42SEmmanuel VadotadditionalProperties: false
43*833e5d42SEmmanuel Vadot
44*833e5d42SEmmanuel Vadotexamples:
45*833e5d42SEmmanuel Vadot  - |
46*833e5d42SEmmanuel Vadot    clock-controller {
47*833e5d42SEmmanuel Vadot        compatible = "marvell,berlin2q-clk";
48*833e5d42SEmmanuel Vadot        #clock-cells = <1>;
49*833e5d42SEmmanuel Vadot        clocks = <&refclk>;
50*833e5d42SEmmanuel Vadot        clock-names = "refclk";
51*833e5d42SEmmanuel Vadot    };
52