# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
# Copyright 2020 BayLibre, SAS
%YAML 1.2
---
$id: http://devicetree.org/schemas/media/amlogic,axg-ge2d.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Amlogic GE2D Acceleration Unit

maintainers:
  - Neil Armstrong <neil.armstrong@linaro.org>

properties:
  compatible:
    enum:
      - amlogic,axg-ge2d

  interrupts:
    minItems: 1

  reg:
    minItems: 1

  resets:
    maxItems: 1

  clocks:
    minItems: 1

required:
  - compatible
  - reg
  - interrupts
  - clocks
  - resets

additionalProperties: false

examples:
  - |
    ge2d: ge2d@ff940000 {
          compatible = "amlogic,axg-ge2d";
          reg = <0xff940000 0x10000>;
          interrupts = <150>;
          clocks = <&clk_ge2d>;
          resets = <&reset_ge2d>;
    };