162306a36Sopenharmony_ci# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 262306a36Sopenharmony_ci%YAML 1.2 362306a36Sopenharmony_ci--- 462306a36Sopenharmony_ci$id: http://devicetree.org/schemas/arm/tegra/nvidia,tegra234-cbb.yaml# 562306a36Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml# 662306a36Sopenharmony_ci 762306a36Sopenharmony_cititle: NVIDIA Tegra CBB 2.0 862306a36Sopenharmony_ci 962306a36Sopenharmony_cimaintainers: 1062306a36Sopenharmony_ci - Sumit Gupta <sumitg@nvidia.com> 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_cidescription: |+ 1362306a36Sopenharmony_ci The Control Backbone (CBB) is comprised of the physical path from an 1462306a36Sopenharmony_ci initiator to a target's register configuration space. CBB 2.0 consists 1562306a36Sopenharmony_ci of multiple sub-blocks connected to each other to create a topology. 1662306a36Sopenharmony_ci The Tegra234 SoC has different fabrics based on CBB 2.0 architecture 1762306a36Sopenharmony_ci which include cluster fabrics BPMP, AON, PSC, SCE, RCE, DCE, FSI and 1862306a36Sopenharmony_ci "CBB central fabric". 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_ci In CBB 2.0, each initiator which can issue transactions connects to a 2162306a36Sopenharmony_ci Root Master Node (MN) before it connects to any other element of the 2262306a36Sopenharmony_ci fabric. Each Root MN contains a Error Monitor (EM) which detects and 2362306a36Sopenharmony_ci logs error. Interrupts from various EM blocks are collated by Error 2462306a36Sopenharmony_ci Notifier (EN) which is per fabric and presents a single interrupt from 2562306a36Sopenharmony_ci fabric to the SoC interrupt controller. 2662306a36Sopenharmony_ci 2762306a36Sopenharmony_ci The driver handles errors from CBB due to illegal register accesses 2862306a36Sopenharmony_ci and prints debug information about failed transaction on receiving 2962306a36Sopenharmony_ci the interrupt from EN. Debug information includes Error Code, Error 3062306a36Sopenharmony_ci Description, MasterID, Fabric, SlaveID, Address, Cache, Protection, 3162306a36Sopenharmony_ci Security Group etc on receiving error notification. 3262306a36Sopenharmony_ci 3362306a36Sopenharmony_ci If the Error Response Disable (ERD) is set/enabled for an initiator, 3462306a36Sopenharmony_ci then SError or Data abort exception error response is masked and an 3562306a36Sopenharmony_ci interrupt is used for reporting errors due to illegal accesses from 3662306a36Sopenharmony_ci that initiator. The value returned on read failures is '0xFFFFFFFF' 3762306a36Sopenharmony_ci for compatibility with PCIE. 3862306a36Sopenharmony_ci 3962306a36Sopenharmony_ciproperties: 4062306a36Sopenharmony_ci $nodename: 4162306a36Sopenharmony_ci pattern: "^[a-z]+-fabric@[0-9a-f]+$" 4262306a36Sopenharmony_ci 4362306a36Sopenharmony_ci compatible: 4462306a36Sopenharmony_ci enum: 4562306a36Sopenharmony_ci - nvidia,tegra234-aon-fabric 4662306a36Sopenharmony_ci - nvidia,tegra234-bpmp-fabric 4762306a36Sopenharmony_ci - nvidia,tegra234-cbb-fabric 4862306a36Sopenharmony_ci - nvidia,tegra234-dce-fabric 4962306a36Sopenharmony_ci - nvidia,tegra234-rce-fabric 5062306a36Sopenharmony_ci - nvidia,tegra234-sce-fabric 5162306a36Sopenharmony_ci 5262306a36Sopenharmony_ci reg: 5362306a36Sopenharmony_ci maxItems: 1 5462306a36Sopenharmony_ci 5562306a36Sopenharmony_ci interrupts: 5662306a36Sopenharmony_ci items: 5762306a36Sopenharmony_ci - description: secure interrupt from error notifier 5862306a36Sopenharmony_ci 5962306a36Sopenharmony_ciadditionalProperties: false 6062306a36Sopenharmony_ci 6162306a36Sopenharmony_cirequired: 6262306a36Sopenharmony_ci - compatible 6362306a36Sopenharmony_ci - reg 6462306a36Sopenharmony_ci - interrupts 6562306a36Sopenharmony_ci 6662306a36Sopenharmony_ciexamples: 6762306a36Sopenharmony_ci - | 6862306a36Sopenharmony_ci #include <dt-bindings/interrupt-controller/arm-gic.h> 6962306a36Sopenharmony_ci 7062306a36Sopenharmony_ci cbb-fabric@1300000 { 7162306a36Sopenharmony_ci compatible = "nvidia,tegra234-cbb-fabric"; 7262306a36Sopenharmony_ci reg = <0x13a00000 0x400000>; 7362306a36Sopenharmony_ci interrupts = <GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>; 7462306a36Sopenharmony_ci }; 75