Skip to content

Commit 9b1a0b7

Browse files
LorenzoBianconiPaolo Abeni
authored andcommitted
dt-bindings: net: airoha: Add airoha,npu phandle property
Introduce the airoha,npu property for the NPU node available on EN7581 SoC. The airoha Network Processor Unit (NPU) is used to offload network traffic forwarded between Packet Switch Engine (PSE) ports. Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
1 parent 266f7a0 commit 9b1a0b7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,14 @@ properties:
6363
"#size-cells":
6464
const: 0
6565

66+
airoha,npu:
67+
$ref: /schemas/types.yaml#/definitions/phandle
68+
description:
69+
Phandle to the node used to configure the NPU module.
70+
The Airoha Network Processor Unit (NPU) provides a configuration
71+
interface to implement hardware flow offloading programming Packet
72+
Processor Engine (PPE) flow table.
73+
6674
patternProperties:
6775
"^ethernet@[1-4]$":
6876
type: object
@@ -132,6 +140,8 @@ examples:
132140
<GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
133141
<GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
134142
143+
airoha,npu = <&npu>;
144+
135145
#address-cells = <1>;
136146
#size-cells = <0>;
137147

0 commit comments

Comments
 (0)