18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 28c2ecf20Sopenharmony_ci# Copyright 2020 thingy.jp. 38c2ecf20Sopenharmony_ci%YAML 1.2 48c2ecf20Sopenharmony_ci--- 58c2ecf20Sopenharmony_ci$id: "http://devicetree.org/schemas/arm/mstar/mstar,l3bridge.yaml#" 68c2ecf20Sopenharmony_ci$schema: "http://devicetree.org/meta-schemas/core.yaml#" 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_cititle: MStar/SigmaStar Armv7 SoC l3bridge 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_cimaintainers: 118c2ecf20Sopenharmony_ci - Daniel Palmer <daniel@thingy.jp> 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_cidescription: | 148c2ecf20Sopenharmony_ci MStar/SigmaStar's Armv7 SoCs have a pipeline in the interface 158c2ecf20Sopenharmony_ci between the CPU and memory. This means that before DMA capable 168c2ecf20Sopenharmony_ci devices are allowed to run the pipeline must be flushed to ensure 178c2ecf20Sopenharmony_ci everything is in memory. 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ci The l3bridge region contains registers that allow such a flush 208c2ecf20Sopenharmony_ci to be triggered. 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ci This node is used by the platform code to find where the registers 238c2ecf20Sopenharmony_ci are and install a barrier that triggers the required pipeline flush. 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ciproperties: 268c2ecf20Sopenharmony_ci compatible: 278c2ecf20Sopenharmony_ci items: 288c2ecf20Sopenharmony_ci - const: mstar,l3bridge 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ci reg: 318c2ecf20Sopenharmony_ci maxItems: 1 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_cirequired: 348c2ecf20Sopenharmony_ci - compatible 358c2ecf20Sopenharmony_ci - reg 368c2ecf20Sopenharmony_ci 378c2ecf20Sopenharmony_ciadditionalProperties: false 388c2ecf20Sopenharmony_ci 398c2ecf20Sopenharmony_ciexamples: 408c2ecf20Sopenharmony_ci - | 418c2ecf20Sopenharmony_ci l3bridge: l3bridge@1f204400 { 428c2ecf20Sopenharmony_ci compatible = "mstar,l3bridge"; 438c2ecf20Sopenharmony_ci reg = <0x1f204400 0x200>; 448c2ecf20Sopenharmony_ci }; 45