-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dt-bindings: net: Add bindings for IXP4xx V.35 WAN HSS
This adds device tree bindings for the IXP4xx V.35 WAN high speed serial (HSS) link. An example is added to the NPE example where the HSS appears as a child. Cc: devicetree@vger.kernel.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information
Linus Walleij
authored and
David S. Miller
committed
Nov 29, 2021
1 parent
ef13683
commit 9c37b09
Showing
2 changed files
with
135 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
100 changes: 100 additions & 0 deletions
100
Documentation/devicetree/bindings/net/intel,ixp4xx-hss.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) | ||
# Copyright 2021 Linaro Ltd. | ||
%YAML 1.2 | ||
--- | ||
$id: "http://devicetree.org/schemas/net/intel,ixp4xx-hss.yaml#" | ||
$schema: "http://devicetree.org/meta-schemas/core.yaml#" | ||
|
||
title: Intel IXP4xx V.35 WAN High Speed Serial Link (HSS) | ||
|
||
maintainers: | ||
- Linus Walleij <linus.walleij@linaro.org> | ||
|
||
description: | | ||
The Intel IXP4xx HSS makes use of the IXP4xx NPE (Network | ||
Processing Engine) and the IXP4xx Queue Manager to process | ||
V.35 Wideband Modem (WAN) links. | ||
properties: | ||
compatible: | ||
const: intel,ixp4xx-hss | ||
|
||
reg: | ||
maxItems: 1 | ||
description: The HSS instance | ||
|
||
intel,npe-handle: | ||
$ref: '/schemas/types.yaml#/definitions/phandle-array' | ||
maxItems: 1 | ||
description: phandle to the NPE this HSS instance is using | ||
and the instance to use in the second cell | ||
|
||
intel,queue-chl-rxtrig: | ||
$ref: '/schemas/types.yaml#/definitions/phandle-array' | ||
maxItems: 1 | ||
description: phandle to the RX trigger queue on the NPE | ||
|
||
intel,queue-chl-txready: | ||
$ref: '/schemas/types.yaml#/definitions/phandle-array' | ||
maxItems: 1 | ||
description: phandle to the TX ready queue on the NPE | ||
|
||
intel,queue-pkt-rx: | ||
$ref: '/schemas/types.yaml#/definitions/phandle-array' | ||
maxItems: 1 | ||
description: phandle to the packet RX queue on the NPE | ||
|
||
intel,queue-pkt-tx: | ||
$ref: '/schemas/types.yaml#/definitions/phandle-array' | ||
maxItems: 4 | ||
description: phandle to the packet TX0, TX1, TX2 and TX3 queues on the NPE | ||
|
||
intel,queue-pkt-rxfree: | ||
$ref: '/schemas/types.yaml#/definitions/phandle-array' | ||
maxItems: 4 | ||
description: phandle to the packet RXFREE0, RXFREE1, RXFREE2 and | ||
RXFREE3 queues on the NPE | ||
|
||
intel,queue-pkt-txdone: | ||
$ref: '/schemas/types.yaml#/definitions/phandle-array' | ||
maxItems: 1 | ||
description: phandle to the packet TXDONE queue on the NPE | ||
|
||
cts-gpios: | ||
maxItems: 1 | ||
description: Clear To Send (CTS) GPIO line | ||
|
||
rts-gpios: | ||
maxItems: 1 | ||
description: Ready To Send (RTS) GPIO line | ||
|
||
dcd-gpios: | ||
maxItems: 1 | ||
description: Data Carrier Detect (DCD) GPIO line | ||
|
||
dtr-gpios: | ||
maxItems: 1 | ||
description: Data Terminal Ready (DTR) GPIO line | ||
|
||
clk-internal-gpios: | ||
maxItems: 1 | ||
description: Clock internal GPIO line, driving this high will make the HSS | ||
use internal clocking as opposed to external clocking | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- intel,npe-handle | ||
- intel,queue-chl-rxtrig | ||
- intel,queue-chl-txready | ||
- intel,queue-pkt-rx | ||
- intel,queue-pkt-tx | ||
- intel,queue-pkt-rxfree | ||
- intel,queue-pkt-txdone | ||
- cts-gpios | ||
- rts-gpios | ||
- dcd-gpios | ||
- dtr-gpios | ||
- clk-internal-gpios | ||
|
||
additionalProperties: false |