brintos

brintos / linux-shallow public Read only

0
0
Text · 2.4 KiB · fcdf031 Raw
75 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/arm/tegra/nvidia,tegra234-cbb.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: NVIDIA Tegra CBB 2.08 9maintainers:10  - Sumit Gupta <sumitg@nvidia.com>11 12description: |+13  The Control Backbone (CBB) is comprised of the physical path from an14  initiator to a target's register configuration space. CBB 2.0 consists15  of multiple sub-blocks connected to each other to create a topology.16  The Tegra234 SoC has different fabrics based on CBB 2.0 architecture17  which include cluster fabrics BPMP, AON, PSC, SCE, RCE, DCE, FSI and18  "CBB central fabric".19 20  In CBB 2.0, each initiator which can issue transactions connects to a21  Root Master Node (MN) before it connects to any other element of the22  fabric. Each Root MN contains a Error Monitor (EM) which detects and23  logs error. Interrupts from various EM blocks are collated by Error24  Notifier (EN) which is per fabric and presents a single interrupt from25  fabric to the SoC interrupt controller.26 27  The driver handles errors from CBB due to illegal register accesses28  and prints debug information about failed transaction on receiving29  the interrupt from EN. Debug information includes Error Code, Error30  Description, MasterID, Fabric, SlaveID, Address, Cache, Protection,31  Security Group etc on receiving error notification.32 33  If the Error Response Disable (ERD) is set/enabled for an initiator,34  then SError or Data abort exception error response is masked and an35  interrupt is used for reporting errors due to illegal accesses from36  that initiator. The value returned on read failures is '0xFFFFFFFF'37  for compatibility with PCIE.38 39properties:40  $nodename:41    pattern: "^[a-z]+-fabric@[0-9a-f]+$"42 43  compatible:44    enum:45      - nvidia,tegra234-aon-fabric46      - nvidia,tegra234-bpmp-fabric47      - nvidia,tegra234-cbb-fabric48      - nvidia,tegra234-dce-fabric49      - nvidia,tegra234-rce-fabric50      - nvidia,tegra234-sce-fabric51 52  reg:53    maxItems: 154 55  interrupts:56    items:57      - description: secure interrupt from error notifier58 59additionalProperties: false60 61required:62  - compatible63  - reg64  - interrupts65 66examples:67  - |68    #include <dt-bindings/interrupt-controller/arm-gic.h>69 70    cbb-fabric@1300000 {71      compatible = "nvidia,tegra234-cbb-fabric";72      reg = <0x13a00000 0x400000>;73      interrupts = <GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>;74    };75