162306a36Sopenharmony_ci# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 262306a36Sopenharmony_ci# Copyright 2020 thingy.jp. 362306a36Sopenharmony_ci%YAML 1.2 462306a36Sopenharmony_ci--- 562306a36Sopenharmony_ci$id: http://devicetree.org/schemas/arm/mstar/mstar,l3bridge.yaml# 662306a36Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml# 762306a36Sopenharmony_ci 862306a36Sopenharmony_cititle: MStar/SigmaStar Armv7 SoC l3bridge 962306a36Sopenharmony_ci 1062306a36Sopenharmony_cimaintainers: 1162306a36Sopenharmony_ci - Daniel Palmer <daniel@thingy.jp> 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_cidescription: | 1462306a36Sopenharmony_ci MStar/SigmaStar's Armv7 SoCs have a pipeline in the interface 1562306a36Sopenharmony_ci between the CPU and memory. This means that before DMA capable 1662306a36Sopenharmony_ci devices are allowed to run the pipeline must be flushed to ensure 1762306a36Sopenharmony_ci everything is in memory. 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_ci The l3bridge region contains registers that allow such a flush 2062306a36Sopenharmony_ci to be triggered. 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ci This node is used by the platform code to find where the registers 2362306a36Sopenharmony_ci are and install a barrier that triggers the required pipeline flush. 2462306a36Sopenharmony_ci 2562306a36Sopenharmony_ciproperties: 2662306a36Sopenharmony_ci compatible: 2762306a36Sopenharmony_ci items: 2862306a36Sopenharmony_ci - const: mstar,l3bridge 2962306a36Sopenharmony_ci 3062306a36Sopenharmony_ci reg: 3162306a36Sopenharmony_ci maxItems: 1 3262306a36Sopenharmony_ci 3362306a36Sopenharmony_cirequired: 3462306a36Sopenharmony_ci - compatible 3562306a36Sopenharmony_ci - reg 3662306a36Sopenharmony_ci 3762306a36Sopenharmony_ciadditionalProperties: false 3862306a36Sopenharmony_ci 3962306a36Sopenharmony_ciexamples: 4062306a36Sopenharmony_ci - | 4162306a36Sopenharmony_ci l3bridge: l3bridge@1f204400 { 4262306a36Sopenharmony_ci compatible = "mstar,l3bridge"; 4362306a36Sopenharmony_ci reg = <0x1f204400 0x200>; 4462306a36Sopenharmony_ci }; 45