Skip to content

Commit 2d13b45

Browse files
LorenzoBianconiPaolo Abeni
authored andcommitted
dt-bindings: net: airoha: Add EN7581 memory-region property
Introduce memory-region and memory-region-names properties for the ethernet node available on EN7581 SoC in order to reserve system memory for hw forwarding buffers queue used by the QDMA modules. Signed-off-by: Lorenzo Bianconi <[email protected]> Acked-by: Conor Dooley <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
1 parent e272bbc commit 2d13b45

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Documentation/devicetree/bindings/net/airoha,en7581-eth.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,16 @@ properties:
5757
- const: hsi-mac
5858
- const: xfp-mac
5959

60+
memory-region:
61+
items:
62+
- description: QDMA0 buffer memory
63+
- description: QDMA1 buffer memory
64+
65+
memory-region-names:
66+
items:
67+
- const: qdma0-buf
68+
- const: qdma1-buf
69+
6070
"#address-cells":
6171
const: 1
6272

@@ -140,6 +150,9 @@ examples:
140150
<GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
141151
<GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
142152
153+
memory-region = <&qdma0_buf>, <&qdma1_buf>;
154+
memory-region-names = "qdma0-buf", "qdma1-buf";
155+
143156
airoha,npu = <&npu>;
144157
145158
#address-cells = <1>;

0 commit comments

Comments
 (0)