0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: "http://devicetree.org/schemas/arm/mediatek/mediatek,pericfg.yaml#"
0005 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
0006
0007 title: MediaTek Peripheral Configuration Controller
0008
0009 maintainers:
0010 - Bartosz Golaszewski <bgolaszewski@baylibre.com>
0011
0012 description:
0013 The Mediatek pericfg controller provides various clocks and reset outputs
0014 to the system.
0015
0016 properties:
0017 compatible:
0018 oneOf:
0019 - items:
0020 - enum:
0021 - mediatek,mt2701-pericfg
0022 - mediatek,mt2712-pericfg
0023 - mediatek,mt6765-pericfg
0024 - mediatek,mt7622-pericfg
0025 - mediatek,mt7629-pericfg
0026 - mediatek,mt8135-pericfg
0027 - mediatek,mt8173-pericfg
0028 - mediatek,mt8183-pericfg
0029 - mediatek,mt8186-pericfg
0030 - mediatek,mt8195-pericfg
0031 - mediatek,mt8516-pericfg
0032 - const: syscon
0033 - items:
0034 # Special case for mt7623 for backward compatibility
0035 - const: mediatek,mt7623-pericfg
0036 - const: mediatek,mt2701-pericfg
0037 - const: syscon
0038
0039 reg:
0040 maxItems: 1
0041
0042 '#clock-cells':
0043 const: 1
0044
0045 '#reset-cells':
0046 const: 1
0047
0048 required:
0049 - compatible
0050 - reg
0051
0052 additionalProperties: false
0053
0054 examples:
0055 - |
0056 pericfg@10003000 {
0057 compatible = "mediatek,mt8173-pericfg", "syscon";
0058 reg = <0x10003000 0x1000>;
0059 #clock-cells = <1>;
0060 #reset-cells = <1>;
0061 };
0062
0063 - |
0064 pericfg@10003000 {
0065 compatible = "mediatek,mt7623-pericfg", "mediatek,mt2701-pericfg", "syscon";
0066 reg = <0x10003000 0x1000>;
0067 #clock-cells = <1>;
0068 #reset-cells = <1>;
0069 };