[PATCH v3 3/3] arm64: dts: qcom: hamoa-iot-evk-camera-imx577: Add DT overlay
From: Wenmeng Liu
Date: Mon Nov 30 2026 - 22:29:01 EST
Enable IMX577 via CCI0 on Hamoa IoT EVK.
The Hamoa IoT EVK board does not include a camera sensor by default.
Add a DT overlay for the optional Arducam 12.3MP IMX577 Mini Camera
Module, connected to CSIPHY1 over a 4-lane MIPI CSI-2 D-PHY link,
clocked from MCLK1 and powered from the CAM1 3.3V supply.
Signed-off-by: Wenmeng Liu <wenmeng.liu@xxxxxxxxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/Makefile | 3 +
.../boot/dts/qcom/hamoa-iot-evk-camera-imx577.dtso | 76 ++++++++++++++++++++++
2 files changed, 79 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
index 19310879349d0d9292bd48e5da54d9938ec92deb..42de869a7ae2434398c71fe65a54cac84b5c7bc4 100644
--- a/arch/arm64/boot/dts/qcom/Makefile
+++ b/arch/arm64/boot/dts/qcom/Makefile
@@ -33,6 +33,9 @@ hamoa-advantech-som-db5830-el2-dtbs := hamoa-advantech-som-db5830.dtb x1-el2.dtb
dtb-$(CONFIG_ARCH_QCOM) += hamoa-advantech-som-db5830-el2.dtb
dtb-$(CONFIG_ARCH_QCOM) += hamoa-iot-evk.dtb
+hamoa-iot-evk-camera-imx577-dtbs := hamoa-iot-evk.dtb hamoa-iot-evk-camera-imx577.dtbo
+dtb-$(CONFIG_ARCH_QCOM) += hamoa-iot-evk-camera-imx577.dtb
+
hamoa-iot-evk-edp-dtbs := hamoa-iot-evk.dtb hamoa-iot-evk-edp.dtbo
dtb-$(CONFIG_ARCH_QCOM) += hamoa-iot-evk-edp.dtb
diff --git a/arch/arm64/boot/dts/qcom/hamoa-iot-evk-camera-imx577.dtso b/arch/arm64/boot/dts/qcom/hamoa-iot-evk-camera-imx577.dtso
new file mode 100644
index 0000000000000000000000000000000000000000..f490e4cb2e6d422d3d2b42b4a6c532ef5cd418f6
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/hamoa-iot-evk-camera-imx577.dtso
@@ -0,0 +1,76 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
+ */
+
+/dts-v1/;
+/plugin/;
+
+#include <dt-bindings/clock/qcom,x1e80100-camcc.h>
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/media/video-interfaces.h>
+
+&camss {
+ status = "okay";
+};
+
+&camss_csiphy1_in_port {
+ camss_csiphy1_ep: endpoint {
+ data-lanes = <1 2 3 4>;
+ remote-endpoint = <&csiphy1_out_ep>;
+ };
+};
+
+&cci0 {
+ status = "okay";
+};
+
+&cci0_i2c1 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ camera@1a {
+ compatible = "sony,imx577";
+ reg = <0x1a>;
+
+ reset-gpios = <&tlmm 110 GPIO_ACTIVE_LOW>;
+ pinctrl-0 = <&cam1_default>;
+ pinctrl-names = "default";
+
+ clocks = <&camcc CAM_CC_MCLK1_CLK>;
+ assigned-clocks = <&camcc CAM_CC_MCLK1_CLK>;
+ assigned-clock-rates = <24000000>;
+
+ avdd-supply = <&vreg_cam1_3p3>;
+ dovdd-supply = <&vreg_l4m_1p8>;
+
+ port {
+ imx577_ep: endpoint {
+ link-frequencies = /bits/ 64 <600000000>;
+ data-lanes = <1 2 3 4>;
+ remote-endpoint = <&csiphy1_in_ep>;
+ };
+ };
+ };
+};
+
+&csiphy1 {
+ vdda-0p9-supply = <&vreg_l2c_0p8>;
+ vdda-1p2-supply = <&vreg_l1c_1p2>;
+
+ status = "okay";
+};
+
+&csiphy1_in_port {
+ csiphy1_in_ep: endpoint {
+ bus-type = <MEDIA_BUS_TYPE_CSI2_DPHY>;
+ data-lanes = <1 2 3 4>;
+ remote-endpoint = <&imx577_ep>;
+ };
+};
+
+&csiphy1_out_port {
+ csiphy1_out_ep: endpoint {
+ remote-endpoint = <&camss_csiphy1_ep>;
+ };
+};
--
2.34.1