Skip to content

Commit 491821c

Browse files
vaishnavachathr-vignesh
authored andcommitted
arm64: dts: ti: k3-j721e-main: Add CSI2RX capture nodes
J721E has two CSI2RX capture subsystem featuring Cadence CSI2RX, DPHY and TI's pixel grabbing wrapper. Add nodes for the same and keep them disabled by default. J721E TRM (Section 12.7 Camera Subsystem): https://www.ti.com/lit/zip/spruil1 Signed-off-by: Vaishnav Achath <[email protected]> Reviewed-by: Jai Luthra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vignesh Raghavendra <[email protected]>
1 parent f87c889 commit 491821c

File tree

1 file changed

+122
-0
lines changed

1 file changed

+122
-0
lines changed

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

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,128 @@
573573
pinctrl-single,function-mask = <0x0000001f>;
574574
};
575575

576+
ti_csi2rx0: ticsi2rx@4500000 {
577+
compatible = "ti,j721e-csi2rx-shim";
578+
reg = <0x0 0x4500000 0x0 0x1000>;
579+
ranges;
580+
#address-cells = <2>;
581+
#size-cells = <2>;
582+
dmas = <&main_udmap 0x4940>;
583+
dma-names = "rx0";
584+
power-domains = <&k3_pds 26 TI_SCI_PD_EXCLUSIVE>;
585+
status = "disabled";
586+
587+
cdns_csi2rx0: csi-bridge@4504000 {
588+
compatible = "ti,j721e-csi2rx", "cdns,csi2rx";
589+
reg = <0x0 0x4504000 0x0 0x1000>;
590+
clocks = <&k3_clks 26 2>, <&k3_clks 26 0>, <&k3_clks 26 2>,
591+
<&k3_clks 26 2>, <&k3_clks 26 3>, <&k3_clks 26 3>;
592+
clock-names = "sys_clk", "p_clk", "pixel_if0_clk",
593+
"pixel_if1_clk", "pixel_if2_clk", "pixel_if3_clk";
594+
phys = <&dphy0>;
595+
phy-names = "dphy";
596+
597+
ports {
598+
#address-cells = <1>;
599+
#size-cells = <0>;
600+
601+
csi0_port0: port@0 {
602+
reg = <0>;
603+
status = "disabled";
604+
};
605+
606+
csi0_port1: port@1 {
607+
reg = <1>;
608+
status = "disabled";
609+
};
610+
611+
csi0_port2: port@2 {
612+
reg = <2>;
613+
status = "disabled";
614+
};
615+
616+
csi0_port3: port@3 {
617+
reg = <3>;
618+
status = "disabled";
619+
};
620+
621+
csi0_port4: port@4 {
622+
reg = <4>;
623+
status = "disabled";
624+
};
625+
};
626+
};
627+
};
628+
629+
ti_csi2rx1: ticsi2rx@4510000 {
630+
compatible = "ti,j721e-csi2rx-shim";
631+
reg = <0x0 0x4510000 0x0 0x1000>;
632+
ranges;
633+
#address-cells = <2>;
634+
#size-cells = <2>;
635+
dmas = <&main_udmap 0x4960>;
636+
dma-names = "rx0";
637+
power-domains = <&k3_pds 27 TI_SCI_PD_EXCLUSIVE>;
638+
status = "disabled";
639+
640+
cdns_csi2rx1: csi-bridge@4514000 {
641+
compatible = "ti,j721e-csi2rx", "cdns,csi2rx";
642+
reg = <0x0 0x4514000 0x0 0x1000>;
643+
clocks = <&k3_clks 27 2>, <&k3_clks 27 0>, <&k3_clks 27 2>,
644+
<&k3_clks 27 2>, <&k3_clks 27 3>, <&k3_clks 27 3>;
645+
clock-names = "sys_clk", "p_clk", "pixel_if0_clk",
646+
"pixel_if1_clk", "pixel_if2_clk", "pixel_if3_clk";
647+
phys = <&dphy1>;
648+
phy-names = "dphy";
649+
650+
ports {
651+
#address-cells = <1>;
652+
#size-cells = <0>;
653+
654+
csi1_port0: port@0 {
655+
reg = <0>;
656+
status = "disabled";
657+
};
658+
659+
csi1_port1: port@1 {
660+
reg = <1>;
661+
status = "disabled";
662+
};
663+
664+
csi1_port2: port@2 {
665+
reg = <2>;
666+
status = "disabled";
667+
};
668+
669+
csi1_port3: port@3 {
670+
reg = <3>;
671+
status = "disabled";
672+
};
673+
674+
csi1_port4: port@4 {
675+
reg = <4>;
676+
status = "disabled";
677+
};
678+
};
679+
};
680+
};
681+
682+
dphy0: phy@4580000 {
683+
compatible = "cdns,dphy-rx";
684+
reg = <0x0 0x4580000 0x0 0x1100>;
685+
#phy-cells = <0>;
686+
power-domains = <&k3_pds 147 TI_SCI_PD_EXCLUSIVE>;
687+
status = "disabled";
688+
};
689+
690+
dphy1: phy@4590000 {
691+
compatible = "cdns,dphy-rx";
692+
reg = <0x0 0x4590000 0x0 0x1100>;
693+
#phy-cells = <0>;
694+
power-domains = <&k3_pds 148 TI_SCI_PD_EXCLUSIVE>;
695+
status = "disabled";
696+
};
697+
576698
serdes_wiz0: wiz@5000000 {
577699
compatible = "ti,j721e-wiz-16g";
578700
#address-cells = <1>;

0 commit comments

Comments
 (0)