# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/soc/tegra/nvidia,tegra20-ahb.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

maintainers:
  - Thierry Reding <thierry.reding@gmail.com>
  - Jon Hunter <jonathanh@nvidia.com>

title: NVIDIA Tegra AHB

properties:
  compatible:
    oneOf:
      - enum:
          - nvidia,tegra20-ahb
          - nvidia,tegra30-ahb
      - items:
          - enum:
              - nvidia,tegra114-ahb
              - nvidia,tegra124-ahb
              - nvidia,tegra210-ahb
          - const: nvidia,tegra30-ahb

  reg:
    maxItems: 1

additionalProperties: false

required:
  - compatible
  - reg

examples:
  - |
    ahb@6000c004 {
        compatible = "nvidia,tegra20-ahb";
        reg = <0x6000c004 0x10c>; /* AHB Arbitration + Gizmo Controller */
    };