xref: /freebsd/sys/contrib/device-tree/Bindings/net/intel,ixp4xx-hss.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
1e67e8565SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2e67e8565SEmmanuel Vadot# Copyright 2021 Linaro Ltd.
3e67e8565SEmmanuel Vadot%YAML 1.2
4e67e8565SEmmanuel Vadot---
5*fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/net/intel,ixp4xx-hss.yaml#
6*fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
7e67e8565SEmmanuel Vadot
8e67e8565SEmmanuel Vadottitle: Intel IXP4xx V.35 WAN High Speed Serial Link (HSS)
9e67e8565SEmmanuel Vadot
10e67e8565SEmmanuel Vadotmaintainers:
11e67e8565SEmmanuel Vadot  - Linus Walleij <linus.walleij@linaro.org>
12e67e8565SEmmanuel Vadot
13e67e8565SEmmanuel Vadotdescription: |
14e67e8565SEmmanuel Vadot  The Intel IXP4xx HSS makes use of the IXP4xx NPE (Network
15e67e8565SEmmanuel Vadot  Processing Engine) and the IXP4xx Queue Manager to process
16e67e8565SEmmanuel Vadot  V.35 Wideband Modem (WAN) links.
17e67e8565SEmmanuel Vadot
18e67e8565SEmmanuel Vadotproperties:
19e67e8565SEmmanuel Vadot  compatible:
20e67e8565SEmmanuel Vadot    const: intel,ixp4xx-hss
21e67e8565SEmmanuel Vadot
22e67e8565SEmmanuel Vadot  reg:
23e67e8565SEmmanuel Vadot    maxItems: 1
24e67e8565SEmmanuel Vadot    description: The HSS instance
25e67e8565SEmmanuel Vadot
26e67e8565SEmmanuel Vadot  intel,npe-handle:
27*fac71e4eSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle-array
28c9ccf3a3SEmmanuel Vadot    items:
29c9ccf3a3SEmmanuel Vadot      items:
30c9ccf3a3SEmmanuel Vadot        - description: phandle to the NPE this HSS instance is using
31c9ccf3a3SEmmanuel Vadot        - description: the NPE instance number
32e67e8565SEmmanuel Vadot    description: phandle to the NPE this HSS instance is using
33e67e8565SEmmanuel Vadot      and the instance to use in the second cell
34e67e8565SEmmanuel Vadot
35e67e8565SEmmanuel Vadot  intel,queue-chl-rxtrig:
36*fac71e4eSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle-array
37c9ccf3a3SEmmanuel Vadot    items:
38c9ccf3a3SEmmanuel Vadot      - items:
39c9ccf3a3SEmmanuel Vadot          - description: phandle to the RX trigger queue on the NPE
40c9ccf3a3SEmmanuel Vadot          - description: the queue instance number
41e67e8565SEmmanuel Vadot    description: phandle to the RX trigger queue on the NPE
42e67e8565SEmmanuel Vadot
43e67e8565SEmmanuel Vadot  intel,queue-chl-txready:
44*fac71e4eSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle-array
45c9ccf3a3SEmmanuel Vadot    items:
46c9ccf3a3SEmmanuel Vadot      - items:
47c9ccf3a3SEmmanuel Vadot          - description: phandle to the TX ready queue on the NPE
48c9ccf3a3SEmmanuel Vadot          - description: the queue instance number
49e67e8565SEmmanuel Vadot    description: phandle to the TX ready queue on the NPE
50e67e8565SEmmanuel Vadot
51e67e8565SEmmanuel Vadot  intel,queue-pkt-rx:
52*fac71e4eSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle-array
53c9ccf3a3SEmmanuel Vadot    items:
54c9ccf3a3SEmmanuel Vadot      - items:
55c9ccf3a3SEmmanuel Vadot          - description: phandle to the RX queue on the NPE
56c9ccf3a3SEmmanuel Vadot          - description: the queue instance number
57e67e8565SEmmanuel Vadot    description: phandle to the packet RX queue on the NPE
58e67e8565SEmmanuel Vadot
59e67e8565SEmmanuel Vadot  intel,queue-pkt-tx:
60*fac71e4eSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle-array
61e67e8565SEmmanuel Vadot    maxItems: 4
62c9ccf3a3SEmmanuel Vadot    items:
63c9ccf3a3SEmmanuel Vadot      items:
64c9ccf3a3SEmmanuel Vadot        - description: phandle to the TX queue on the NPE
65c9ccf3a3SEmmanuel Vadot        - description: the queue instance number
66e67e8565SEmmanuel Vadot    description: phandle to the packet TX0, TX1, TX2 and TX3 queues on the NPE
67e67e8565SEmmanuel Vadot
68e67e8565SEmmanuel Vadot  intel,queue-pkt-rxfree:
69*fac71e4eSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle-array
70e67e8565SEmmanuel Vadot    maxItems: 4
71c9ccf3a3SEmmanuel Vadot    items:
72c9ccf3a3SEmmanuel Vadot      items:
73c9ccf3a3SEmmanuel Vadot        - description: phandle to the RXFREE queue on the NPE
74c9ccf3a3SEmmanuel Vadot        - description: the queue instance number
75e67e8565SEmmanuel Vadot    description: phandle to the packet RXFREE0, RXFREE1, RXFREE2 and
76e67e8565SEmmanuel Vadot      RXFREE3 queues on the NPE
77e67e8565SEmmanuel Vadot
78e67e8565SEmmanuel Vadot  intel,queue-pkt-txdone:
79*fac71e4eSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle-array
80c9ccf3a3SEmmanuel Vadot    items:
81c9ccf3a3SEmmanuel Vadot      - items:
82c9ccf3a3SEmmanuel Vadot          - description: phandle to the TXDONE queue on the NPE
83c9ccf3a3SEmmanuel Vadot          - description: the queue instance number
84e67e8565SEmmanuel Vadot    description: phandle to the packet TXDONE queue on the NPE
85e67e8565SEmmanuel Vadot
86e67e8565SEmmanuel Vadot  cts-gpios:
87e67e8565SEmmanuel Vadot    maxItems: 1
88e67e8565SEmmanuel Vadot    description: Clear To Send (CTS) GPIO line
89e67e8565SEmmanuel Vadot
90e67e8565SEmmanuel Vadot  rts-gpios:
91e67e8565SEmmanuel Vadot    maxItems: 1
92e67e8565SEmmanuel Vadot    description: Ready To Send (RTS) GPIO line
93e67e8565SEmmanuel Vadot
94e67e8565SEmmanuel Vadot  dcd-gpios:
95e67e8565SEmmanuel Vadot    maxItems: 1
96e67e8565SEmmanuel Vadot    description: Data Carrier Detect (DCD) GPIO line
97e67e8565SEmmanuel Vadot
98e67e8565SEmmanuel Vadot  dtr-gpios:
99e67e8565SEmmanuel Vadot    maxItems: 1
100e67e8565SEmmanuel Vadot    description: Data Terminal Ready (DTR) GPIO line
101e67e8565SEmmanuel Vadot
102e67e8565SEmmanuel Vadot  clk-internal-gpios:
103e67e8565SEmmanuel Vadot    maxItems: 1
104e67e8565SEmmanuel Vadot    description: Clock internal GPIO line, driving this high will make the HSS
105e67e8565SEmmanuel Vadot      use internal clocking as opposed to external clocking
106e67e8565SEmmanuel Vadot
107e67e8565SEmmanuel Vadotrequired:
108e67e8565SEmmanuel Vadot  - compatible
109e67e8565SEmmanuel Vadot  - reg
110e67e8565SEmmanuel Vadot  - intel,npe-handle
111e67e8565SEmmanuel Vadot  - intel,queue-chl-rxtrig
112e67e8565SEmmanuel Vadot  - intel,queue-chl-txready
113e67e8565SEmmanuel Vadot  - intel,queue-pkt-rx
114e67e8565SEmmanuel Vadot  - intel,queue-pkt-tx
115e67e8565SEmmanuel Vadot  - intel,queue-pkt-rxfree
116e67e8565SEmmanuel Vadot  - intel,queue-pkt-txdone
117e67e8565SEmmanuel Vadot  - cts-gpios
118e67e8565SEmmanuel Vadot  - rts-gpios
119e67e8565SEmmanuel Vadot  - dcd-gpios
120e67e8565SEmmanuel Vadot  - dtr-gpios
121e67e8565SEmmanuel Vadot  - clk-internal-gpios
122e67e8565SEmmanuel Vadot
123e67e8565SEmmanuel VadotadditionalProperties: false
124