# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/regulator/allwinner,sun20i-d1-system-ldos.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Allwinner D1 System LDOs

maintainers:
  - Samuel Holland <samuel@sholland.org>

description:
  Allwinner D1 contains a pair of general-purpose LDOs which are designed to
  supply power inside and outside the SoC. They are controlled by a register
  within the system control MMIO space.

properties:
  compatible:
    enum:
      - allwinner,sun20i-d1-system-ldos

  reg:
    maxItems: 1

patternProperties:
  "^ldo[ab]$":
    type: object
    $ref: regulator.yaml#
    unevaluatedProperties: false

required:
  - compatible
  - reg

additionalProperties: false

...
