brintos

brintos / linux-shallow public Read only

0
0
Text · 2.2 KiB · e6f4682 Raw
84 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/soc/fsl/fsl,bman.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: QorIQ DPAA Buffer Manager8 9maintainers:10  - Frank Li <Frank.Li@nxp.com>11 12description:13  The Buffer Manager is part of the Data-Path Acceleration Architecture (DPAA).14  BMan supports hardware allocation and deallocation of buffers belonging to15  pools originally created by software with configurable depletion thresholds.16  This binding covers the CCSR space programming model17 18properties:19  compatible:20    oneOf:21      - const: fsl,bman22      - items:23          - enum:24              - fsl,ls1043a-bman25              - fsl,ls1046a-bman26          - const: fsl,bman27 28  reg:29    items:30      - description: |31          Registers region within the CCSR address space32 33          The BMan revision information is located in the BMAN_IP_REV_1/234          registers which are located at offsets 0xbf8 and 0xbfc35 36  interrupts:37    items:38      - description: The error interrupt39 40  memory-region:41    minItems: 142    maxItems: 243    description:44      List of phandles referencing the BMan private memory45      nodes (described below). The bman-fqd node must be46      first followed by bman-pfdr node. Only used on ARM47 48      Devices connected to a BMan instance via Direct Connect Portals (DCP) must link49      to the respective BMan instance50 51  fsl,bman-portals:52    $ref: /schemas/types.yaml#/definitions/phandle53    description: ref fsl,bman-port.yaml54 55  fsl,liodn:56    $ref: /schemas/types.yaml#/definitions/uint32-array57    description:58      See pamu.txt, PAMU property used for static LIODN assignment59 60  fsl,iommu-parent:61    $ref: /schemas/types.yaml#/definitions/phandle62    description:63      See pamu.txt, PAMU property used for dynamic LIODN assignment64 65required:66  - compatible67  - reg68  - interrupts69 70additionalProperties: false71 72examples:73  - |74    #include <dt-bindings/interrupt-controller/irq.h>75 76    bman@31a000 {77        compatible = "fsl,bman";78        reg = <0x31a000 0x1000>;79        interrupts = <16 IRQ_TYPE_EDGE_FALLING 1 2>;80        fsl,liodn = <0x17>;81        fsl,bman-portals = <&bportals>;82        memory-region = <&bman_fbpr>;83    };84