From patchwork Tue Oct 22 17:46:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Lechner X-Patchwork-Id: 13846005 Received: from mail-ot1-f51.google.com (mail-ot1-f51.google.com [209.85.210.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0404D3FE55 for ; Tue, 22 Oct 2024 17:47:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729619230; cv=none; b=ZB2DpfY0/V7Wq5ZweViFUYVA3knTVsVA91vnRFf0rmITIaVQt5WdK6Sw8Od0uIOeVhXCceB4LAClVukeRJ0kt3YDP6lsYsIPKg63GSl3RNPk/gV6qcODp7CMaITBHq+AeFHlrb/ND0f+hkJsi443dOtCAndP+SaDfuwtAREoKnM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729619230; c=relaxed/simple; bh=Umace2h19asdyoDC49tjz82utcFPoACkA96vDyQX7B4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=VeHzD5GVPEBwvw4h8ht3VP9FJ9YTl8b0AHGdqOQd9UZw2WgNUV1jeBEa0IWqL1gbgk1a3zI6gRM1G/LAzXzTWvXyAiXnlVK6DFa8JqVIV5ZogEtlQzGNEshNZ86yYW5xhF4NnQ/YpfbCqYA6wQ7CzZ31gqc1Rm72GodnKgPsfY0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=RyKLxyev; arc=none smtp.client-ip=209.85.210.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="RyKLxyev" Received: by mail-ot1-f51.google.com with SMTP id 46e09a7af769-7180a5ba498so2667222a34.2 for ; Tue, 22 Oct 2024 10:47:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1729619228; x=1730224028; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=JFklfksVjmJpjLi/AL270X8ILCKmE3gcCHLKEG6h9pI=; b=RyKLxyevpMB2EXqxVEA2wQSlyGRcsHsySZVHsgKtTJgTlhyRzLdjGV4GPLrZKSQJr7 rnKya4RZj9Kiz13XenDLT59efwsuC0EeObNNMaqp/PeyPt8UiIQfu1smG6BQJojAsp8w o7nVx0WqGsaBlnsVBjtqzo+mK22s6KUkaYjL/dsmhXJmQH7DMHr8Hv/ffjy7te0AceV7 bDiAOlaHlesklFymRQInwN9b3HAfoDpyHHkH9jKpQwjSw4W7cWrff7DZmA3055ozsPI+ 8K2++ziZjwdphY99Gik+ZqlQ3gBwicI8HtG5/S7hgFI9kIwLCio3yqx5o6QScpihhbWd 19rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729619228; x=1730224028; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JFklfksVjmJpjLi/AL270X8ILCKmE3gcCHLKEG6h9pI=; b=nc5GZftNNSHFzgHhQZ2oVoRr+inD2ZUVOdOjefQOfAG/Me1MAi8G5Gr49o4gLZ70Gf rrgxNq8JaCvOkcsBjWHz8MQRcaoIUiWxaeKNpym20sJvNVtKi5sT3u6BhL6gKK9pwU4g S/FnYA+LhQgGRIKcp5m0c1/n6HnXD2BYnZlsyQAtr3F3B4f+Oyf5eGUn3RRwixe2svob XR+0/lg1uEQiEsKPl/6EL8GnpOuZ6xd23nlPcPy9iRgiIEKm+m5xDn/LrlJp7VHctVe+ LRU/RHOVR1xeIlOw119M63OqKA1Sjlo9rpLMCWmUO3UoZVRHubmYrJUS4NkGbmpkUcan B/tg== X-Forwarded-Encrypted: i=1; AJvYcCVY11uDp2Tqac+hEdQTjAGO/orJXFNvPI3t1+j/rVWNlfYa59PqVBaMk6bcyYMXNUEUUXSaTPzHWSU=@vger.kernel.org X-Gm-Message-State: AOJu0YyZFcOohCa2fe8Kb65njRwOKvVbVjwo0DYjOzQBHNA7bl5X2U0N HgmmMyReYc5oxghocwtCxejdplJSBg5JAbM5XozrWcnE6wSDiz5JXLmPK6WdfUI= X-Google-Smtp-Source: AGHT+IHBhANvihcXaa/AJc62LdPHnpKOszr17rjWBK0xuz+3lAIw3kvGjZkP6QGx6mZZFXra+HEPNQ== X-Received: by 2002:a05:6830:211a:b0:718:1284:fdc3 with SMTP id 46e09a7af769-7184b2bb6b1mr52100a34.18.1729619228111; Tue, 22 Oct 2024 10:47:08 -0700 (PDT) Received: from [127.0.1.1] (ip98-183-112-25.ok.ok.cox.net. [98.183.112.25]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7182eb22312sm1353300a34.13.2024.10.22.10.47.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2024 10:47:07 -0700 (PDT) From: David Lechner Date: Tue, 22 Oct 2024 12:46:40 -0500 Subject: [PATCH 1/2] dt-bindings: dma: adi,axi-dmac: convert to yaml schema Precedence: bulk X-Mailing-List: dmaengine@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241022-axi-dma-dt-yaml-v1-1-68f2a2498d53@baylibre.com> References: <20241022-axi-dma-dt-yaml-v1-0-68f2a2498d53@baylibre.com> In-Reply-To: <20241022-axi-dma-dt-yaml-v1-0-68f2a2498d53@baylibre.com> To: Vinod Koul , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nuno Sa Cc: Lars-Peter Clausen , dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, David Lechner X-Mailer: b4 0.14.1 Convert the AXI DMAC bindings from .txt to .yaml. Signed-off-by: David Lechner --- For the maintainer, Lars is the original author, but isn't really active with ADI anymore, so I have added Nuno instead since he is the most active ADI representative currently and is knowledgeable about this hardware. Also, the rob-bot is likely to complain. Locally, I am getting the following warning from dt_bindings_check: Documentation/devicetree/bindings/dma/adi,axi-dmac.yaml: properties:adi,channels:type: 'boolean' was expected hint: A vendor boolean property can use "type: boolean" from schema $id: http://devicetree.org/meta-schemas/vendor-props.yaml# DTC [C] Documentation/devicetree/bindings/dma/adi,axi-dmac.example.dtb I think this is telling me that object nodes should not have a vendor prefix. However, since this is an existing bindings, we can't change that. --- .../devicetree/bindings/dma/adi,axi-dmac.txt | 61 --------- .../devicetree/bindings/dma/adi,axi-dmac.yaml | 137 +++++++++++++++++++++ 2 files changed, 137 insertions(+), 61 deletions(-) diff --git a/Documentation/devicetree/bindings/dma/adi,axi-dmac.txt b/Documentation/devicetree/bindings/dma/adi,axi-dmac.txt deleted file mode 100644 index cd17684aaab5..000000000000 --- a/Documentation/devicetree/bindings/dma/adi,axi-dmac.txt +++ /dev/null @@ -1,61 +0,0 @@ -Analog Devices AXI-DMAC DMA controller - -Required properties: - - compatible: Must be "adi,axi-dmac-1.00.a". - - reg: Specification for the controllers memory mapped register map. - - interrupts: Specification for the controllers interrupt. - - clocks: Phandle and specifier to the controllers AXI interface clock - - #dma-cells: Must be 1. - -Required sub-nodes: - - adi,channels: This sub-node must contain a sub-node for each DMA channel. For - the channel sub-nodes the following bindings apply. They must match the - configuration options of the peripheral as it was instantiated. - -Required properties for adi,channels sub-node: - - #size-cells: Must be 0 - - #address-cells: Must be 1 - -Required channel sub-node properties: - - reg: Which channel this node refers to. - - adi,source-bus-width, - adi,destination-bus-width: Width of the source or destination bus in bits. - - adi,source-bus-type, - adi,destination-bus-type: Type of the source or destination bus. Must be one - of the following: - 0 (AXI_DMAC_TYPE_AXI_MM): Memory mapped AXI interface - 1 (AXI_DMAC_TYPE_AXI_STREAM): Streaming AXI interface - 2 (AXI_DMAC_TYPE_AXI_FIFO): FIFO interface - -Deprecated optional channel properties: - - adi,length-width: Width of the DMA transfer length register. - - adi,cyclic: Must be set if the channel supports hardware cyclic DMA - transfers. - - adi,2d: Must be set if the channel supports hardware 2D DMA transfers. - -DMA clients connected to the AXI-DMAC DMA controller must use the format -described in the dma.txt file using a one-cell specifier. The value of the -specifier refers to the DMA channel index. - -Example: - -dma: dma@7c420000 { - compatible = "adi,axi-dmac-1.00.a"; - reg = <0x7c420000 0x10000>; - interrupts = <0 57 0>; - clocks = <&clkc 16>; - #dma-cells = <1>; - - adi,channels { - #size-cells = <0>; - #address-cells = <1>; - - dma-channel@0 { - reg = <0>; - adi,source-bus-width = <32>; - adi,source-bus-type = ; - adi,destination-bus-width = <64>; - adi,destination-bus-type = ; - }; - }; -}; diff --git a/Documentation/devicetree/bindings/dma/adi,axi-dmac.yaml b/Documentation/devicetree/bindings/dma/adi,axi-dmac.yaml new file mode 100644 index 000000000000..e457630ec7c0 --- /dev/null +++ b/Documentation/devicetree/bindings/dma/adi,axi-dmac.yaml @@ -0,0 +1,137 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/dma/adi,axi-dmac.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices AXI-DMAC DMA controller + +description: http://analogdevicesinc.github.io/hdl/library/axi_dmac/index.html + +maintainers: + - Nuno Sa + +properties: + compatible: + const: adi,axi-dmac-1.00.a + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + "#dma-cells": + const: 1 + + adi,channels: + type: object + description: This sub-node must contain a sub-node for each DMA channel. + + properties: + "#size-cells": + const: 0 + "#address-cells": + const: 1 + + patternProperties: + "^dma-channel@[0-9a-f]+$": + type: object + description: + DMA channel properties based on HDL compile-time configuration. + + properties: + reg: + maxItems: 1 + + adi,source-bus-width: + $ref: /schemas/types.yaml#/definitions/uint32 + description: Width of the source bus in bits. + enum: [8, 16, 32, 64, 128] + + adi,destination-bus-width: + $ref: /schemas/types.yaml#/definitions/uint32 + description: Width of the destination bus in bits. + enum: [8, 16, 32, 64, 128] + + # 0 (AXI_DMAC_TYPE_AXI_MM): Memory mapped AXI interface + # 1 (AXI_DMAC_TYPE_AXI_STREAM): Streaming AXI interface + # 2 (AXI_DMAC_TYPE_AXI_FIFO): FIFO interface + + adi,source-bus-type: + $ref: /schemas/types.yaml#/definitions/uint32 + description: Type of the source bus. + enum: [0, 1, 2] + + adi,destination-bus-type: + $ref: /schemas/types.yaml#/definitions/uint32 + description: Type of the destination bus. + enum: [0, 1, 2] + + adi,length-width: + deprecated: true + $ref: /schemas/types.yaml#/definitions/uint32 + description: Width of the DMA transfer length register. + + adi,cyclic: + deprecated: true + type: boolean + description: + Must be set if the channel supports hardware cyclic DMA transfers. + + adi,2d: + deprecated: true + type: boolean + description: + Must be set if the channel supports hardware 2D DMA transfers. + + required: + - reg + - adi,source-bus-width + - adi,destination-bus-width + - adi,source-bus-type + - adi,destination-bus-type + + additionalProperties: false + + required: + - "#size-cells" + - "#address-cells" + + additionalProperties: false + +required: + - compatible + - reg + - interrupts + - clocks + - "#dma-cells" + - adi,channels + +additionalProperties: false + +examples: + - | + dma: dma@7c420000 { + compatible = "adi,axi-dmac-1.00.a"; + reg = <0x7c420000 0x10000>; + interrupts = <0 57 0>; + clocks = <&clkc 16>; + #dma-cells = <1>; + + adi,channels { + #size-cells = <0>; + #address-cells = <1>; + + dma-channel@0 { + reg = <0>; + adi,source-bus-width = <32>; + adi,source-bus-type = <0>; /* AXI_DMAC_TYPE_AXI_MM */ + adi,destination-bus-width = <64>; + adi,destination-bus-type = <2>; /* AXI_DMAC_TYPE_AXI_FIFO */ + }; + }; + }; From patchwork Tue Oct 22 17:46:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Lechner X-Patchwork-Id: 13846006 Received: from mail-oo1-f49.google.com (mail-oo1-f49.google.com [209.85.161.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D66381C2445 for ; Tue, 22 Oct 2024 17:47:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729619231; cv=none; b=j1n2WhyaY7Agaxa4qW/Ywnk1FiwNIjz/S944tA7Y1Rk9TxCX2rLNtD8isgmpSRRQ0NOAHP73x/QRZZwc1QDhiSMyHKB9VWH6yc6a+1cqDwqVFF2jiwVJGtVz/YGI0PpUd4SI8kXBaR254u3k4b4wbHng3mySDYhhyitbkkVLsME= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729619231; c=relaxed/simple; bh=z3Q1lZ93bNfCGzvIrdovcH2nYuWY7+uWZanQ4ngU4I8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Z8Cbhx+3J0O1NwEEH97LzzKTAHjBMAl7aTSChn4CDdxbrGR65SNjWO3tuSTeFtu13R+K3IIT8JKrEqBlAmXvm7rqTUiLfLsQgIF8dNbbNLpQovakmcSxiAr+/5G5bC8BW55joKXsF6Bl2OVMiDGJhCWX6lc4w/vlVGghh5arL2o= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=kqnXt4Qj; arc=none smtp.client-ip=209.85.161.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="kqnXt4Qj" Received: by mail-oo1-f49.google.com with SMTP id 006d021491bc7-5eb60f6b4a7so2283233eaf.0 for ; Tue, 22 Oct 2024 10:47:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1729619229; x=1730224029; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=WZ6BO7JQGKnf9YHuY5qzRmWkXlEdrFxY0wBGYJpddts=; b=kqnXt4QjS5AGxW1UFGvzaTVmvL4PkSYzpGRt9rlLoXqBwCOyRv1T8hbJeCizP0iI3U f8EkLQSjIxV0O4emRVBlAiQJYg7vvJw/VPpmgO9X9dNl/YlfEoEn3eZpwe4cz70wWHqK ouNFu32Spq3dojVgyh/A36orjh82RDrzfEvcj8MUUcBHtqu7vj+9gmiasVDIsNr6MdOa Q/sq5JsvkvXXG6WntHd+u+yttvxowGQzJlXR+RDNWVfO+1WWifxP8K6aITxMWiU73hu1 hfL+NDDhIXFRrgpmuOtznYIWsXDkkrwJdP4ADEvifolMVlk2KIzIfro42dFejaDFGNoJ v3gQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729619229; x=1730224029; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WZ6BO7JQGKnf9YHuY5qzRmWkXlEdrFxY0wBGYJpddts=; b=ZJBQlWRFNPgwBJ2CadPmSJqVETVEoks8m+f9dtQNGBHM83D6dDDj6ketpqKkOgOnuv PfviLLltbZCDto1O5xcVPA94ATAyYblxMkVOoB4Wfre2xQBxn2lUgfks/LzDGspQd46V q2Dz32NHPCISONgVElmA8RQ+IOy1HgOmDqLZf9QiDyko9diatTkAEY3PYQLb8e98ek/s CgN0pjxYIxvPIZNkOtHr6TwULifBunwGhNc8i1bRoWQjvu9e+VMFRp3tSNQA/bPg3xwj x64Kjm/I3iK1WpeiIIgDehSHwqze24QTNq+5jH4NKpkyJu6bb8+rydV67R5DDULQgLsW K7sw== X-Forwarded-Encrypted: i=1; AJvYcCXTupxvsRTBx4brbxC8vxZ+2vSYkNaADPRjlbdfQGnPCCLvyLj19O+ELwo1IquAh1Hc29rzznmYv0Q=@vger.kernel.org X-Gm-Message-State: AOJu0YzFU2ujXVids4XmKMn1iySDC7LbohjhC7ZA82Ic11zJt7NVuNuV DmQjCWwhj1vbe+i0GxfLr6JTcef1KiX0tOgp3sBLM8ucC4IL5nDwvMBjgx6fPmM= X-Google-Smtp-Source: AGHT+IHdp9OlsGzeS6gDxUdePR2Vr1pSb8/P2TOXAQaAjnRnLrCAIfBudjI8ESRogO+kzmPoIXeKdw== X-Received: by 2002:a05:6871:714:b0:278:1c68:9c03 with SMTP id 586e51a60fabf-28ccb3a3e59mr76726fac.8.1729619228948; Tue, 22 Oct 2024 10:47:08 -0700 (PDT) Received: from [127.0.1.1] (ip98-183-112-25.ok.ok.cox.net. [98.183.112.25]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7182eb22312sm1353300a34.13.2024.10.22.10.47.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2024 10:47:08 -0700 (PDT) From: David Lechner Date: Tue, 22 Oct 2024 12:46:41 -0500 Subject: [PATCH 2/2] dt-bindings: dma: adi,axi-dmac: deprecate adi,channels node Precedence: bulk X-Mailing-List: dmaengine@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241022-axi-dma-dt-yaml-v1-2-68f2a2498d53@baylibre.com> References: <20241022-axi-dma-dt-yaml-v1-0-68f2a2498d53@baylibre.com> In-Reply-To: <20241022-axi-dma-dt-yaml-v1-0-68f2a2498d53@baylibre.com> To: Vinod Koul , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nuno Sa Cc: Lars-Peter Clausen , dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, David Lechner X-Mailer: b4 0.14.1 Deprecate the adi,channels node in the adi,axi-dmac binding. Prior to IP version 4.3.a, this information was required. Since then, there are memory-mapped registers that can be read to get the same information. Signed-off-by: David Lechner --- For context, the adi,channels node has not been required in the Linux kernel since [1]. [1]: https://lore.kernel.org/all/20200825151950.57605-7-alexandru.ardelean@analog.com/ --- .../devicetree/bindings/dma/adi,axi-dmac.yaml | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/Documentation/devicetree/bindings/dma/adi,axi-dmac.yaml b/Documentation/devicetree/bindings/dma/adi,axi-dmac.yaml index e457630ec7c0..d5e87fceb3bb 100644 --- a/Documentation/devicetree/bindings/dma/adi,axi-dmac.yaml +++ b/Documentation/devicetree/bindings/dma/adi,axi-dmac.yaml @@ -28,8 +28,12 @@ properties: const: 1 adi,channels: + deprecated: true type: object - description: This sub-node must contain a sub-node for each DMA channel. + description: + This sub-node must contain a sub-node for each DMA channel. This node is + only required for IP versions older than 4.3.a and should otherwise be + omitted. properties: "#size-cells": @@ -109,7 +113,6 @@ required: - interrupts - clocks - "#dma-cells" - - adi,channels additionalProperties: false @@ -121,17 +124,4 @@ examples: interrupts = <0 57 0>; clocks = <&clkc 16>; #dma-cells = <1>; - - adi,channels { - #size-cells = <0>; - #address-cells = <1>; - - dma-channel@0 { - reg = <0>; - adi,source-bus-width = <32>; - adi,source-bus-type = <0>; /* AXI_DMAC_TYPE_AXI_MM */ - adi,destination-bus-width = <64>; - adi,destination-bus-type = <2>; /* AXI_DMAC_TYPE_AXI_FIFO */ - }; - }; };