xref: /openbmc/linux/Documentation/devicetree/bindings/clock/allwinner,sun7i-a20-gmac-clk.yaml (revision dd3cb467ebb5659d6552999d6f16a616653f9933)
1f95cad74SMaxime Ripard# SPDX-License-Identifier: GPL-2.0
2f95cad74SMaxime Ripard%YAML 1.2
3f95cad74SMaxime Ripard---
4f95cad74SMaxime Ripard$id: http://devicetree.org/schemas/clock/allwinner,sun7i-a20-gmac-clk.yaml#
5f95cad74SMaxime Ripard$schema: http://devicetree.org/meta-schemas/core.yaml#
6f95cad74SMaxime Ripard
7*dd3cb467SAndrew Lunntitle: Allwinner A20 GMAC TX Clock
8f95cad74SMaxime Ripard
9f95cad74SMaxime Ripardmaintainers:
10f95cad74SMaxime Ripard  - Chen-Yu Tsai <wens@csie.org>
11f95cad74SMaxime Ripard  - Maxime Ripard <mripard@kernel.org>
12f95cad74SMaxime Ripard
13f95cad74SMaxime Ripardproperties:
14f95cad74SMaxime Ripard  "#clock-cells":
15f95cad74SMaxime Ripard    const: 0
16f95cad74SMaxime Ripard
17f95cad74SMaxime Ripard  compatible:
18f95cad74SMaxime Ripard    const: allwinner,sun7i-a20-gmac-clk
19f95cad74SMaxime Ripard
20f95cad74SMaxime Ripard  reg:
21f95cad74SMaxime Ripard    maxItems: 1
22f95cad74SMaxime Ripard
23f95cad74SMaxime Ripard  clocks:
24f95cad74SMaxime Ripard    maxItems: 2
25f95cad74SMaxime Ripard    description: >
26f95cad74SMaxime Ripard      The parent clocks shall be fixed rate dummy clocks at 25 MHz and
27f95cad74SMaxime Ripard      125 MHz, respectively.
28f95cad74SMaxime Ripard
29f95cad74SMaxime Ripard  clock-output-names:
30f95cad74SMaxime Ripard    maxItems: 1
31f95cad74SMaxime Ripard
32f95cad74SMaxime Ripardrequired:
33f95cad74SMaxime Ripard  - "#clock-cells"
34f95cad74SMaxime Ripard  - compatible
35f95cad74SMaxime Ripard  - reg
36f95cad74SMaxime Ripard  - clocks
37f95cad74SMaxime Ripard  - clock-output-names
38f95cad74SMaxime Ripard
39f95cad74SMaxime RipardadditionalProperties: false
40f95cad74SMaxime Ripard
41f95cad74SMaxime Ripardexamples:
42f95cad74SMaxime Ripard  - |
43f95cad74SMaxime Ripard    clk@1c20164 {
44f95cad74SMaxime Ripard        #clock-cells = <0>;
45f95cad74SMaxime Ripard        compatible = "allwinner,sun7i-a20-gmac-clk";
46f95cad74SMaxime Ripard        reg = <0x01c20164 0x4>;
47f95cad74SMaxime Ripard        clocks = <&mii_phy_tx_clk>, <&gmac_int_tx_clk>;
48f95cad74SMaxime Ripard        clock-output-names = "gmac_tx";
49f95cad74SMaxime Ripard    };
50f95cad74SMaxime Ripard
51f95cad74SMaxime Ripard...
52