1*0e8011faSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*0e8011faSEmmanuel Vadot%YAML 1.2 3*0e8011faSEmmanuel Vadot--- 4*0e8011faSEmmanuel Vadot$id: http://devicetree.org/schemas/soc/fsl/fsl,bman.yaml# 5*0e8011faSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*0e8011faSEmmanuel Vadot 7*0e8011faSEmmanuel Vadottitle: QorIQ DPAA Buffer Manager 8*0e8011faSEmmanuel Vadot 9*0e8011faSEmmanuel Vadotmaintainers: 10*0e8011faSEmmanuel Vadot - Frank Li <Frank.Li@nxp.com> 11*0e8011faSEmmanuel Vadot 12*0e8011faSEmmanuel Vadotdescription: 13*0e8011faSEmmanuel Vadot The Buffer Manager is part of the Data-Path Acceleration Architecture (DPAA). 14*0e8011faSEmmanuel Vadot BMan supports hardware allocation and deallocation of buffers belonging to 15*0e8011faSEmmanuel Vadot pools originally created by software with configurable depletion thresholds. 16*0e8011faSEmmanuel Vadot This binding covers the CCSR space programming model 17*0e8011faSEmmanuel Vadot 18*0e8011faSEmmanuel Vadotproperties: 19*0e8011faSEmmanuel Vadot compatible: 20*0e8011faSEmmanuel Vadot oneOf: 21*0e8011faSEmmanuel Vadot - const: fsl,bman 22*0e8011faSEmmanuel Vadot - items: 23*0e8011faSEmmanuel Vadot - enum: 24*0e8011faSEmmanuel Vadot - fsl,ls1043a-bman 25*0e8011faSEmmanuel Vadot - fsl,ls1046a-bman 26*0e8011faSEmmanuel Vadot - const: fsl,bman 27*0e8011faSEmmanuel Vadot 28*0e8011faSEmmanuel Vadot reg: 29*0e8011faSEmmanuel Vadot items: 30*0e8011faSEmmanuel Vadot - description: | 31*0e8011faSEmmanuel Vadot Registers region within the CCSR address space 32*0e8011faSEmmanuel Vadot 33*0e8011faSEmmanuel Vadot The BMan revision information is located in the BMAN_IP_REV_1/2 34*0e8011faSEmmanuel Vadot registers which are located at offsets 0xbf8 and 0xbfc 35*0e8011faSEmmanuel Vadot 36*0e8011faSEmmanuel Vadot interrupts: 37*0e8011faSEmmanuel Vadot items: 38*0e8011faSEmmanuel Vadot - description: The error interrupt 39*0e8011faSEmmanuel Vadot 40*0e8011faSEmmanuel Vadot memory-region: 41*0e8011faSEmmanuel Vadot minItems: 1 42*0e8011faSEmmanuel Vadot maxItems: 2 43*0e8011faSEmmanuel Vadot description: 44*0e8011faSEmmanuel Vadot List of phandles referencing the BMan private memory 45*0e8011faSEmmanuel Vadot nodes (described below). The bman-fqd node must be 46*0e8011faSEmmanuel Vadot first followed by bman-pfdr node. Only used on ARM 47*0e8011faSEmmanuel Vadot 48*0e8011faSEmmanuel Vadot Devices connected to a BMan instance via Direct Connect Portals (DCP) must link 49*0e8011faSEmmanuel Vadot to the respective BMan instance 50*0e8011faSEmmanuel Vadot 51*0e8011faSEmmanuel Vadot fsl,bman-portals: 52*0e8011faSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle 53*0e8011faSEmmanuel Vadot description: ref fsl,bman-port.yaml 54*0e8011faSEmmanuel Vadot 55*0e8011faSEmmanuel Vadot fsl,liodn: 56*0e8011faSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32-array 57*0e8011faSEmmanuel Vadot description: 58*0e8011faSEmmanuel Vadot See pamu.txt, PAMU property used for static LIODN assignment 59*0e8011faSEmmanuel Vadot 60*0e8011faSEmmanuel Vadot fsl,iommu-parent: 61*0e8011faSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle 62*0e8011faSEmmanuel Vadot description: 63*0e8011faSEmmanuel Vadot See pamu.txt, PAMU property used for dynamic LIODN assignment 64*0e8011faSEmmanuel Vadot 65*0e8011faSEmmanuel Vadotrequired: 66*0e8011faSEmmanuel Vadot - compatible 67*0e8011faSEmmanuel Vadot - reg 68*0e8011faSEmmanuel Vadot - interrupts 69*0e8011faSEmmanuel Vadot 70*0e8011faSEmmanuel VadotadditionalProperties: false 71*0e8011faSEmmanuel Vadot 72*0e8011faSEmmanuel Vadotexamples: 73*0e8011faSEmmanuel Vadot - | 74*0e8011faSEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 75*0e8011faSEmmanuel Vadot 76*0e8011faSEmmanuel Vadot bman@31a000 { 77*0e8011faSEmmanuel Vadot compatible = "fsl,bman"; 78*0e8011faSEmmanuel Vadot reg = <0x31a000 0x1000>; 79*0e8011faSEmmanuel Vadot interrupts = <16 IRQ_TYPE_EDGE_FALLING 1 2>; 80*0e8011faSEmmanuel Vadot fsl,liodn = <0x17>; 81*0e8011faSEmmanuel Vadot fsl,bman-portals = <&bportals>; 82*0e8011faSEmmanuel Vadot memory-region = <&bman_fbpr>; 83*0e8011faSEmmanuel Vadot }; 84