[PATCH v4 10/11] arm64: dts: rockchip: add mipi csi host node to rk356x
Michael Riesch
michael.riesch at wolfvision.net
Wed Feb 19 02:16:41 PST 2025
Add the device tree node for the RK356x MIPI CSI-2 Host unit.
Signed-off-by: Michael Riesch <michael.riesch at wolfvision.net>
---
arch/arm64/boot/dts/rockchip/rk356x-base.dtsi | 32 +++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk356x-base.dtsi b/arch/arm64/boot/dts/rockchip/rk356x-base.dtsi
index cba5092dbcea..5957349ca865 100644
--- a/arch/arm64/boot/dts/rockchip/rk356x-base.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk356x-base.dtsi
@@ -553,6 +553,34 @@ gpu: gpu at fde60000 {
status = "disabled";
};
+ csi: csi at fdfb0000 {
+ compatible = "rockchip,rk3568-mipi-csi";
+ reg = <0x0 0xfdfb0000 0x0 0x10000>;
+ clocks = <&cru PCLK_CSI2HOST1>;
+ phys = <&csi_dphy>;
+ phy-names = "csiphy";
+ power-domains = <&power RK3568_PD_VI>;
+ resets = <&cru SRST_P_CSI2HOST1>;
+ status = "disabled";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ csi_in: port at 0 {
+ reg = <0>;
+ };
+
+ csi_out: port at 1 {
+ reg = <1>;
+
+ csi_output: endpoint {
+ remote-endpoint = <&vicap_mipi_input>;
+ };
+ };
+ };
+ };
+
vicap: video-capture at fdfe0000 {
compatible = "rockchip,rk3568-vicap";
reg = <0x0 0xfdfe0000 0x0 0x200>;
@@ -581,6 +609,10 @@ vicap_dvp: port at 0 {
vicap_mipi: port at 1 {
reg = <1>;
+
+ vicap_mipi_input: endpoint {
+ remote-endpoint = <&csi_output>;
+ };
};
};
};
--
2.34.1
More information about the Linux-rockchip
mailing list