brintos

brintos / linux-shallow public Read only

0
0
Text · 1.7 KiB · 2f06bae Raw
72 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/clock/mediatek,pericfg.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: MediaTek Peripheral Configuration Controller8 9maintainers:10  - Bartosz Golaszewski <bgolaszewski@baylibre.com>11 12description:13  The Mediatek pericfg controller provides various clocks and reset outputs14  to the system.15 16properties:17  compatible:18    oneOf:19      - items:20          - enum:21              - mediatek,mt2701-pericfg22              - mediatek,mt2712-pericfg23              - mediatek,mt6765-pericfg24              - mediatek,mt6795-pericfg25              - mediatek,mt7622-pericfg26              - mediatek,mt7629-pericfg27              - mediatek,mt8135-pericfg28              - mediatek,mt8173-pericfg29              - mediatek,mt8183-pericfg30              - mediatek,mt8186-pericfg31              - mediatek,mt8188-pericfg32              - mediatek,mt8195-pericfg33              - mediatek,mt8516-pericfg34          - const: syscon35      - items:36          # Special case for mt7623 for backward compatibility37          - const: mediatek,mt7623-pericfg38          - const: mediatek,mt2701-pericfg39          - const: syscon40 41  reg:42    maxItems: 143 44  '#clock-cells':45    const: 146 47  '#reset-cells':48    const: 149 50required:51  - compatible52  - reg53 54additionalProperties: false55 56examples:57  - |58    pericfg@10003000 {59        compatible = "mediatek,mt8173-pericfg", "syscon";60        reg = <0x10003000 0x1000>;61        #clock-cells = <1>;62        #reset-cells = <1>;63    };64 65  - |66    pericfg@10003000 {67        compatible =  "mediatek,mt7623-pericfg", "mediatek,mt2701-pericfg", "syscon";68        reg = <0x10003000 0x1000>;69        #clock-cells = <1>;70        #reset-cells = <1>;71    };72