xref: /freebsd/sys/contrib/device-tree/Bindings/clock/mediatek,mt2701-hifsys.yaml (revision 01950c46b8155250f64374fb72fc11faa44bf099)
1*01950c46SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2*01950c46SEmmanuel Vadot%YAML 1.2
3*01950c46SEmmanuel Vadot---
4*01950c46SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/mediatek,mt2701-hifsys.yaml#
5*01950c46SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*01950c46SEmmanuel Vadot
7*01950c46SEmmanuel Vadottitle: MediaTek HIFSYS clock and reset controller
8*01950c46SEmmanuel Vadot
9*01950c46SEmmanuel Vadotdescription:
10*01950c46SEmmanuel Vadot  The MediaTek HIFSYS controller provides various clocks and reset outputs to
11*01950c46SEmmanuel Vadot  the system.
12*01950c46SEmmanuel Vadot
13*01950c46SEmmanuel Vadotmaintainers:
14*01950c46SEmmanuel Vadot  - Matthias Brugger <matthias.bgg@gmail.com>
15*01950c46SEmmanuel Vadot
16*01950c46SEmmanuel Vadotproperties:
17*01950c46SEmmanuel Vadot  compatible:
18*01950c46SEmmanuel Vadot    oneOf:
19*01950c46SEmmanuel Vadot      - enum:
20*01950c46SEmmanuel Vadot          - mediatek,mt2701-hifsys
21*01950c46SEmmanuel Vadot          - mediatek,mt7622-hifsys
22*01950c46SEmmanuel Vadot      - items:
23*01950c46SEmmanuel Vadot          - enum:
24*01950c46SEmmanuel Vadot              - mediatek,mt7623-hifsys
25*01950c46SEmmanuel Vadot          - const: mediatek,mt2701-hifsys
26*01950c46SEmmanuel Vadot
27*01950c46SEmmanuel Vadot  reg:
28*01950c46SEmmanuel Vadot    maxItems: 1
29*01950c46SEmmanuel Vadot
30*01950c46SEmmanuel Vadot  "#clock-cells":
31*01950c46SEmmanuel Vadot    const: 1
32*01950c46SEmmanuel Vadot    description: The available clocks are defined in dt-bindings/clock/mt*-clk.h
33*01950c46SEmmanuel Vadot
34*01950c46SEmmanuel Vadot  "#reset-cells":
35*01950c46SEmmanuel Vadot    const: 1
36*01950c46SEmmanuel Vadot
37*01950c46SEmmanuel Vadotrequired:
38*01950c46SEmmanuel Vadot  - reg
39*01950c46SEmmanuel Vadot  - "#clock-cells"
40*01950c46SEmmanuel Vadot
41*01950c46SEmmanuel VadotadditionalProperties: false
42*01950c46SEmmanuel Vadot
43*01950c46SEmmanuel Vadotexamples:
44*01950c46SEmmanuel Vadot  - |
45*01950c46SEmmanuel Vadot    clock-controller@1a000000 {
46*01950c46SEmmanuel Vadot        compatible = "mediatek,mt2701-hifsys";
47*01950c46SEmmanuel Vadot        reg = <0x1a000000 0x1000>;
48*01950c46SEmmanuel Vadot        #clock-cells = <1>;
49*01950c46SEmmanuel Vadot        #reset-cells = <1>;
50*01950c46SEmmanuel Vadot    };
51