# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/pci/mediatek-pcie-cfg.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: MediaTek PCIECFG controller

maintainers:
  - Chuanjia Liu <chuanjia.liu@mediatek.com>
  - Jianjun Wang <jianjun.wang@mediatek.com>

description: |
  The MediaTek PCIECFG controller controls some feature about
  LTSSM, ASPM and so on.

properties:
  compatible:
    items:
      - enum:
          - mediatek,generic-pciecfg
      - const: syscon

  reg:
    maxItems: 1

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    pciecfg: pciecfg@1a140000 {
        compatible = "mediatek,generic-pciecfg", "syscon";
        reg = <0x1a140000 0x1000>;
    };
...