Path: blob/master/Documentation/devicetree/bindings/bus/xlnx,versal-net-cdx.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/bus/xlnx,versal-net-cdx.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: AMD CDX bus controller78description: |9CDX bus controller for AMD devices is implemented to dynamically10detect CDX bus and devices using the firmware.11The CDX bus manages multiple FPGA based hardware devices, which12can support network, crypto or any other specialized type of13devices. These FPGA based devices can be added/modified dynamically14on run-time.1516All devices on the CDX bus will have a unique streamid (for IOMMU)17and a unique device ID (for MSI) corresponding to a requestor ID18(one to one associated with the device). The streamid and deviceid19are used to configure SMMU and GIC-ITS respectively.2021iommu-map property is used to define the set of stream ids22corresponding to each device and the associated IOMMU.2324The MSI writes are accompanied by sideband data (Device ID).25The msi-map property is used to associate the devices with the26device ID as well as the associated ITS controller.2728rproc property (xlnx,rproc) is used to identify the remote processor29with which APU (Application Processor Unit) interacts to find out30the bus and device configuration.3132maintainers:33- Nipun Gupta <nipun.gupta@amd.com>34- Nikhil Agarwal <nikhil.agarwal@amd.com>3536properties:37compatible:38const: xlnx,versal-net-cdx3940iommu-map: true4142msi-map: true4344xlnx,rproc:45$ref: /schemas/types.yaml#/definitions/phandle46description:47phandle to the remoteproc_r5 rproc node using which APU interacts48with remote processor.4950ranges: true5152"#address-cells":53enum: [1, 2]5455"#size-cells":56enum: [1, 2]5758required:59- compatible60- iommu-map61- msi-map62- xlnx,rproc63- ranges64- "#address-cells"65- "#size-cells"6667additionalProperties: false6869examples:70- |71cdx {72compatible = "xlnx,versal-net-cdx";73#address-cells = <1>;74#size-cells = <1>;75/* define map for RIDs 250-259 */76iommu-map = <250 &smmu 250 10>;77/* define msi map for RIDs 250-259 */78msi-map = <250 &its 250 10>;79xlnx,rproc = <&remoteproc_r5>;80ranges;81};828384