1 QorIQ DPAA Buffer Manager Device Tree Bindings
3 Copyright (C) 2008 - 2014 Freescale Semiconductor Inc.
8 - BMan Private Memory Node
13 The Buffer Manager is part of the Data-Path Acceleration Architecture (DPAA).
14 BMan supports hardware allocation and deallocation of buffers belonging to pools
15 originally created by software with configurable depletion thresholds. This
16 binding covers the CCSR space programming model
22 Value type: <stringlist>
23 Definition: Must include "fsl,bman"
24 May include "fsl,<SoC>-bman"
28 Value type: <prop-encoded-array>
29 Definition: Registers region within the CCSR address space
31 The BMan revision information is located in the BMAN_IP_REV_1/2 registers which
32 are located at offsets 0xbf8 and 0xbfc
36 Value type: <prop-encoded-array>
37 Definition: Standard property. The error interrupt
42 Definition: Phandle to this BMan instance's portals
46 Value type: <prop-encoded-array>
47 Definition: PAMU property used for static LIODN assignment
52 Definition: PAMU property used for dynamic LIODN assignment
54 For additional details about the PAMU/LIODN binding(s) see pamu.txt
56 Devices connected to a BMan instance via Direct Connect Portals (DCP) must link
57 to the respective BMan instance
61 Value type: <prop-encoded-array>
62 Description: List of phandle and DCP index pairs, to the BMan instance
63 to which this device is connected via the DCP
65 BMan Private Memory Node
67 BMan requires a contiguous range of physical memory used for the backing store
68 for BMan Free Buffer Proxy Records (FBPR). This memory is reserved/allocated as a
69 node under the /reserved-memory node
71 The BMan FBPR memory node must be named "bman-fbpr"
77 Value type: <stringlist>
78 Definition: Must inclide "fsl,bman-fbpr"
80 The following constraints are relevant to the FBPR private memory:
81 - The size must be 2^(size + 1), with size = 11..33. That is 4 KiB to
83 - The alignment must be a muliptle of the memory size
85 The size of the FBPR must be chosen by observing the hardware features configured
86 via the Reset Configuration Word (RCW) and that are relevant to a specific board
87 (e.g. number of MAC(s) pinned-out, number of offline/host command FMan ports,
88 etc.). The size configured in the DT must reflect the hardware capabilities and
89 not the specific needs of an application
91 For additional details about reserved memory regions see reserved-memory.txt
95 The example below shows a BMan FBPR dynamic allocation memory node
102 bman_fbpr: bman-fbpr {
103 compatible = "fsl,bman-fbpr";
104 alloc-ranges = <0 0 0x10 0>;
105 size = <0 0x1000000>;
106 alignment = <0 0x1000000>;
110 The example below shows a (P4080) BMan CCSR-space node
112 bportals: bman-portals@ff4000000 {
118 fsl,bman = <&bman, 2>;
123 compatible = "fsl,bman";
124 reg = <0x31a000 0x1000>;
125 interrupts = <16 2 1 2>;
127 fsl,bman-portals = <&bportals>;
128 memory-region = <&bman_fbpr>;
133 fsl,bman = <&bman, 0>;