193726490SLinus Walleij# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
293726490SLinus Walleij# Copyright 2018 Linaro Ltd.
393726490SLinus Walleij%YAML 1.2
493726490SLinus Walleij---
5*f6814f6fSKrzysztof Kozlowski$id: http://devicetree.org/schemas/crypto/intel,ixp4xx-crypto.yaml#
6*f6814f6fSKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml#
793726490SLinus Walleij
893726490SLinus Walleijtitle: Intel IXP4xx cryptographic engine
993726490SLinus Walleij
1093726490SLinus Walleijmaintainers:
1193726490SLinus Walleij  - Linus Walleij <linus.walleij@linaro.org>
1293726490SLinus Walleij
1393726490SLinus Walleijdescription: |
1493726490SLinus Walleij  The Intel IXP4xx cryptographic engine makes use of the IXP4xx NPE
1593726490SLinus Walleij  (Network Processing Engine). Since it is not a device on its own
1693726490SLinus Walleij  it is defined as a subnode of the NPE, if crypto support is
1793726490SLinus Walleij  available on the platform.
1893726490SLinus Walleij
1993726490SLinus Walleijproperties:
2093726490SLinus Walleij  compatible:
2193726490SLinus Walleij    const: intel,ixp4xx-crypto
2293726490SLinus Walleij
2393726490SLinus Walleij  intel,npe-handle:
24*f6814f6fSKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/phandle-array
2539bd2b6aSRob Herring    items:
2639bd2b6aSRob Herring      - items:
2739bd2b6aSRob Herring          - description: phandle to the NPE this crypto engine
2839bd2b6aSRob Herring          - description: the NPE instance number
2993726490SLinus Walleij    description: phandle to the NPE this crypto engine is using, the cell
3093726490SLinus Walleij      describing the NPE instance to be used.
3193726490SLinus Walleij
3293726490SLinus Walleij  queue-rx:
3393726490SLinus Walleij    $ref: /schemas/types.yaml#/definitions/phandle-array
3439bd2b6aSRob Herring    items:
3539bd2b6aSRob Herring      - items:
3639bd2b6aSRob Herring          - description: phandle to the RX queue on the NPE
3739bd2b6aSRob Herring          - description: the queue instance number
3893726490SLinus Walleij    description: phandle to the RX queue on the NPE, the cell describing
3993726490SLinus Walleij      the queue instance to be used.
4093726490SLinus Walleij
4193726490SLinus Walleij  queue-txready:
4293726490SLinus Walleij    $ref: /schemas/types.yaml#/definitions/phandle-array
4339bd2b6aSRob Herring    items:
4439bd2b6aSRob Herring      - items:
4539bd2b6aSRob Herring          - description: phandle to the TX READY queue on the NPE
4639bd2b6aSRob Herring          - description: the queue instance number
4793726490SLinus Walleij    description: phandle to the TX READY queue on the NPE, the cell describing
4893726490SLinus Walleij      the queue instance to be used.
4993726490SLinus Walleij
5093726490SLinus Walleijrequired:
5193726490SLinus Walleij  - compatible
5293726490SLinus Walleij  - intel,npe-handle
5393726490SLinus Walleij  - queue-rx
5493726490SLinus Walleij  - queue-txready
5593726490SLinus Walleij
5693726490SLinus WalleijadditionalProperties: false
57