xref: /freebsd/sys/contrib/device-tree/Bindings/clock/mediatek,mt7622-pciesys.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
101950c46SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
201950c46SEmmanuel Vadot%YAML 1.2
301950c46SEmmanuel Vadot---
401950c46SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/mediatek,mt7622-pciesys.yaml#
501950c46SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
601950c46SEmmanuel Vadot
701950c46SEmmanuel Vadottitle: MediaTek PCIESYS clock and reset controller
801950c46SEmmanuel Vadot
901950c46SEmmanuel Vadotdescription:
1001950c46SEmmanuel Vadot  The MediaTek PCIESYS controller provides various clocks to the system.
1101950c46SEmmanuel Vadot
1201950c46SEmmanuel Vadotmaintainers:
1301950c46SEmmanuel Vadot  - Matthias Brugger <matthias.bgg@gmail.com>
1401950c46SEmmanuel Vadot
1501950c46SEmmanuel Vadotproperties:
1601950c46SEmmanuel Vadot  compatible:
17*0e8011faSEmmanuel Vadot    oneOf:
18*0e8011faSEmmanuel Vadot      - items:
19*0e8011faSEmmanuel Vadot          - const: mediatek,mt7622-pciesys
20*0e8011faSEmmanuel Vadot          - const: syscon
21*0e8011faSEmmanuel Vadot      - const: mediatek,mt7629-pciesys
2201950c46SEmmanuel Vadot
2301950c46SEmmanuel Vadot  reg:
2401950c46SEmmanuel Vadot    maxItems: 1
2501950c46SEmmanuel Vadot
2601950c46SEmmanuel Vadot  "#clock-cells":
2701950c46SEmmanuel Vadot    const: 1
2801950c46SEmmanuel Vadot    description: The available clocks are defined in dt-bindings/clock/mt*-clk.h
2901950c46SEmmanuel Vadot
3001950c46SEmmanuel Vadot  "#reset-cells":
3101950c46SEmmanuel Vadot    const: 1
3201950c46SEmmanuel Vadot
3301950c46SEmmanuel Vadotrequired:
3401950c46SEmmanuel Vadot  - reg
3501950c46SEmmanuel Vadot  - "#clock-cells"
3601950c46SEmmanuel Vadot  - "#reset-cells"
3701950c46SEmmanuel Vadot
3801950c46SEmmanuel VadotadditionalProperties: false
3901950c46SEmmanuel Vadot
4001950c46SEmmanuel Vadotexamples:
4101950c46SEmmanuel Vadot  - |
4201950c46SEmmanuel Vadot    clock-controller@1a100800 {
43*0e8011faSEmmanuel Vadot        compatible = "mediatek,mt7622-pciesys", "syscon";
4401950c46SEmmanuel Vadot        reg = <0x1a100800 0x1000>;
4501950c46SEmmanuel Vadot        #clock-cells = <1>;
4601950c46SEmmanuel Vadot        #reset-cells = <1>;
4701950c46SEmmanuel Vadot    };
48