xref: /freebsd/sys/contrib/device-tree/Bindings/net/intel,ixp4xx-hss.yaml (revision c9ccf3a32da427475985b85d7df023ccfb138c27)
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---
5e67e8565SEmmanuel Vadot$id: "http://devicetree.org/schemas/net/intel,ixp4xx-hss.yaml#"
6e67e8565SEmmanuel 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:
27e67e8565SEmmanuel Vadot    $ref: '/schemas/types.yaml#/definitions/phandle-array'
28*c9ccf3a3SEmmanuel Vadot    items:
29*c9ccf3a3SEmmanuel Vadot      items:
30*c9ccf3a3SEmmanuel Vadot        - description: phandle to the NPE this HSS instance is using
31*c9ccf3a3SEmmanuel 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:
36e67e8565SEmmanuel Vadot    $ref: '/schemas/types.yaml#/definitions/phandle-array'
37*c9ccf3a3SEmmanuel Vadot    items:
38*c9ccf3a3SEmmanuel Vadot      - items:
39*c9ccf3a3SEmmanuel Vadot          - description: phandle to the RX trigger queue on the NPE
40*c9ccf3a3SEmmanuel 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:
44e67e8565SEmmanuel Vadot    $ref: '/schemas/types.yaml#/definitions/phandle-array'
45*c9ccf3a3SEmmanuel Vadot    items:
46*c9ccf3a3SEmmanuel Vadot      - items:
47*c9ccf3a3SEmmanuel Vadot          - description: phandle to the TX ready queue on the NPE
48*c9ccf3a3SEmmanuel 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:
52e67e8565SEmmanuel Vadot    $ref: '/schemas/types.yaml#/definitions/phandle-array'
53*c9ccf3a3SEmmanuel Vadot    items:
54*c9ccf3a3SEmmanuel Vadot      - items:
55*c9ccf3a3SEmmanuel Vadot          - description: phandle to the RX queue on the NPE
56*c9ccf3a3SEmmanuel 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:
60e67e8565SEmmanuel Vadot    $ref: '/schemas/types.yaml#/definitions/phandle-array'
61e67e8565SEmmanuel Vadot    maxItems: 4
62*c9ccf3a3SEmmanuel Vadot    items:
63*c9ccf3a3SEmmanuel Vadot      items:
64*c9ccf3a3SEmmanuel Vadot        - description: phandle to the TX queue on the NPE
65*c9ccf3a3SEmmanuel 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:
69e67e8565SEmmanuel Vadot    $ref: '/schemas/types.yaml#/definitions/phandle-array'
70e67e8565SEmmanuel Vadot    maxItems: 4
71*c9ccf3a3SEmmanuel Vadot    items:
72*c9ccf3a3SEmmanuel Vadot      items:
73*c9ccf3a3SEmmanuel Vadot        - description: phandle to the RXFREE queue on the NPE
74*c9ccf3a3SEmmanuel 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:
79e67e8565SEmmanuel Vadot    $ref: '/schemas/types.yaml#/definitions/phandle-array'
80*c9ccf3a3SEmmanuel Vadot    items:
81*c9ccf3a3SEmmanuel Vadot      - items:
82*c9ccf3a3SEmmanuel Vadot          - description: phandle to the TXDONE queue on the NPE
83*c9ccf3a3SEmmanuel 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