Skip to content

Commit 10c6c4d

Browse files
vaishnavachathr-vignesh
authored andcommitted
arm64: dts: ti: k3-j721s2-main: Add BCDMA instance for CSI2RX
J721S2 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 J721S2 Technical Reference Manual (SPRUJ28) for further details: http://www.ti.com/lit/pdf/spruj28 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-2-vaishnav.a@ti.com Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
1 parent 6507bfa commit 10c6c4d

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -807,6 +807,7 @@
807807
ti,sci = <&sms>;
808808
ti,sci-dev-id = <265>;
809809
ti,interrupt-ranges = <0 0 256>;
810+
ti,unmapped-event-sources = <&main_bcdma_csi>;
810811
};
811812

812813
secure_proxy_main: mailbox@32c00000 {
@@ -1103,6 +1104,22 @@
11031104
ti,sci-rm-range-rflow = <0x00>; /* GP RFLOW */
11041105
};
11051106

1107+
main_bcdma_csi: dma-controller@311a0000 {
1108+
compatible = "ti,j721s2-dmss-bcdma-csi";
1109+
reg = <0x00 0x311a0000 0x00 0x100>,
1110+
<0x00 0x35d00000 0x00 0x20000>,
1111+
<0x00 0x35c00000 0x00 0x10000>,
1112+
<0x00 0x35e00000 0x00 0x80000>;
1113+
reg-names = "gcfg", "rchanrt", "tchanrt", "ringrt";
1114+
msi-parent = <&main_udmass_inta>;
1115+
#dma-cells = <3>;
1116+
ti,sci = <&sms>;
1117+
ti,sci-dev-id = <225>;
1118+
ti,sci-rm-range-rchan = <0x21>;
1119+
ti,sci-rm-range-tchan = <0x22>;
1120+
status = "disabled";
1121+
};
1122+
11061123
cpts@310d0000 {
11071124
compatible = "ti,j721e-cpts";
11081125
reg = <0x0 0x310d0000 0x0 0x400>;

0 commit comments

Comments
 (0)