# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/iommu/brcm,bcm2712-iommuc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Broadcom BCM2712 Shared IOMMU Cache (IOMMUC)

maintainers:
  - Daniel Drake <dan@reactivated.net>
  - Florian Fainelli <florian.fainelli@broadcom.com>
  - Jim Quinlan <james.quinlan@broadcom.com>

description:
  The BCM2712 IOMMUC is a centralized Translation Lookaside Buffer (TLB) cache
  which accelerates address translation across the SoC's IOMMU devices. If an
  address mapping is not found in the IOMMU's local TLB cache, then this
  IOMMUC is consulted as a L2 TLB. The SoC includes a single IOMMUC which is
  shared between all IOMMUs, and it must be explicitly invalidated when
  modifying or unmapping IOMMU page tables.

properties:
  compatible:
    const: brcm,bcm2712-iommuc

  reg:
    maxItems: 1

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    iommuc@5b00 {
        compatible = "brcm,bcm2712-iommuc";
        reg = <0x5b00 0x80>;
    };