Skip to content

Commit beb559a

Browse files
arch: arm: boot: dts: xilinx: cn0577: Add DMA src and dest widths
The default configuration is still two-lane mode. To change to one-lane mode, the "adi,use-one-lane;" attribute needs to be specified. Signed-off-by: Iulia Moldovan <Iulia.Moldovan@analog.com>
1 parent ab10bf1 commit beb559a

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

arch/arm/boot/dts/xilinx/zynq-zed-adv7511-cn0577.dts

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
// SPDX-License-Identifier: GPL-2.0
22
/*
3-
* Analog Devices LTC2387
3+
* Analog Devices LTC2387-18/ADAQ23878
44
*
55
* hdl_project: <cn0577/zed>
66
* board_revision: <A>
77
*
8-
* Copyright (C) 2022 Analog Devices Inc.
8+
* Copyright (C) 2022 - 2025 Analog Devices Inc.
99
*/
1010
/dts-v1/;
1111

@@ -54,6 +54,19 @@
5454
#dma-cells = <1>;
5555
interrupts = <0 57 IRQ_TYPE_LEVEL_HIGH>;
5656
clocks = <&clkc 15>;
57+
58+
adi,channels {
59+
#size-cells = <0>;
60+
#address-cells = <1>;
61+
62+
dma-channel@0 {
63+
reg = <0>;
64+
adi,source-bus-width = <32>;
65+
adi,source-bus-type = <2>;
66+
adi,destination-bus-width = <64>;
67+
adi,destination-bus-type = <0>;
68+
};
69+
};
5770
};
5871

5972
axi_pwm_gen: pwm@44a60000 {
@@ -75,6 +88,7 @@
7588
pwm-names = "cnv", "clk_en";
7689
vref-supply = <&vref>;
7790

78-
adi,use-two-lanes;
91+
// uncomment the below command to use in one lane mode
92+
// adi,use-one-lane;
7993
};
8094
};

0 commit comments

Comments
 (0)