Skip to content

Commit 8b2e418

Browse files
vaishnavachathr-vignesh
authored andcommitted
arm64: dts: ti: k3-j784s4-main: Add BCDMA instance for CSI2RX
J784S4 has a dedicated BCDMA controller for the Camera Serial Interface. Events from the BCDMA controller instance are routed through the main UDMA interrupt aggregator as unmapped events. Add the node for the DMA controller and keep it disabled by default. See J784S4 Technical Reference Manual (SPRUJ52) for further details: http://www.ti.com/lit/zip/spruj52 Signed-off-by: Vaishnav Achath <vaishnav.a@ti.com> Reviewed-by: Jayesh Choudhary <j-choudhary@ti.com> Link: https://lore.kernel.org/r/20231010111723.17524-3-vaishnav.a@ti.com Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
1 parent 10c6c4d commit 8b2e418

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,7 @@
703703
ti,sci = <&sms>;
704704
ti,sci-dev-id = <321>;
705705
ti,interrupt-ranges = <0 0 256>;
706+
ti,unmapped-event-sources = <&main_bcdma_csi>;
706707
};
707708

708709
secure_proxy_main: mailbox@32c00000 {
@@ -1000,6 +1001,22 @@
10001001
ti,sci-rm-range-rflow = <0x00>; /* GP RFLOW */
10011002
};
10021003

1004+
main_bcdma_csi: dma-controller@311a0000 {
1005+
compatible = "ti,j721s2-dmss-bcdma-csi";
1006+
reg = <0x00 0x311a0000 0x00 0x100>,
1007+
<0x00 0x35d00000 0x00 0x20000>,
1008+
<0x00 0x35c00000 0x00 0x10000>,
1009+
<0x00 0x35e00000 0x00 0x80000>;
1010+
reg-names = "gcfg", "rchanrt", "tchanrt", "ringrt";
1011+
msi-parent = <&main_udmass_inta>;
1012+
#dma-cells = <3>;
1013+
ti,sci = <&sms>;
1014+
ti,sci-dev-id = <281>;
1015+
ti,sci-rm-range-rchan = <0x21>;
1016+
ti,sci-rm-range-tchan = <0x22>;
1017+
status = "disabled";
1018+
};
1019+
10031020
cpts@310d0000 {
10041021
compatible = "ti,j721e-cpts";
10051022
reg = <0x00 0x310d0000 0x00 0x400>;

0 commit comments

Comments
 (0)