[PATCH v3 1/3] arm64: dts: qcom: nord: Add iris video node
From: Gourav Kumar
Date: Tue Dec 01 2026 - 07:59:25 EST
From: Vishnu Reddy <busanna.reddy@xxxxxxxxxxxxxxxx>
Add the iris video codec node for Nord. Nord integrates the Glymur iris IP
and reuses its resources, so the node falls back to qcom,glymur-iris and
uses the same clocks, resets and power domains.
The OPP rates are derived from the Nord video_cc PLL0 rates (720, 1305,
1440, 1600 and 1680 MHz). The first two clocks of each OPP run at a third
of the PLL0 rate and the third one at half of it.
Glymur has a single video interconnect master, while Nord has two, MVP0
and MVP1. The iris binding has a single video-mem path, so only MVP0 is
used. A separate vote on MVP1 is not needed, as the MMNOC scaling depends
on the total bandwidth requested by all clients and not on which video
master carries the vote.
The non-pixel streams use the stream IDs 0x940, 0x944 and 0x960, and the
pixel stream uses 0x943.
Describe the resources common to all Nord variants (registers, interrupt,
IOMMU streams and DMA setup) in nord.dtsi, and the resources controlled by
the OS on Nord Embedded (clocks, resets, interconnects, power domains and
the OPP table) in nord-embedded.dtsi.
Signed-off-by: Vishnu Reddy <busanna.reddy@xxxxxxxxxxxxxxxx>
Co-developed-by: Gourav Kumar <gourav.kumar@xxxxxxxxxxxxxxxx>
Signed-off-by: Gourav Kumar <gourav.kumar@xxxxxxxxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/nord-embedded.dtsi | 88 +++++++++++++++++++++++++++++
arch/arm64/boot/dts/qcom/nord.dtsi | 28 +++++++++
2 files changed, 116 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/nord-embedded.dtsi b/arch/arm64/boot/dts/qcom/nord-embedded.dtsi
index e6d0bd21744e2..8af7d13b30eee 100644
--- a/arch/arm64/boot/dts/qcom/nord-embedded.dtsi
+++ b/arch/arm64/boot/dts/qcom/nord-embedded.dtsi
@@ -380,6 +380,94 @@ &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>,
pinctrl-names = "default";
};
+&iris {
+ clocks = <&nwgcc NW_GCC_VIDEO_AXI0C_CLK>,
+ <&videocc VIDEO_CC_MVS0C_CLK>,
+ <&videocc VIDEO_CC_MVS0_CLK>,
+ <&nwgcc NW_GCC_VIDEO_AXI0_CLK>,
+ <&videocc VIDEO_CC_MVS0C_FREERUN_CLK>,
+ <&videocc VIDEO_CC_MVS0_FREERUN_CLK>,
+ <&nwgcc NW_GCC_VIDEO_AXI1_CLK>,
+ <&videocc VIDEO_CC_MVS1_CLK>,
+ <&videocc VIDEO_CC_MVS1_FREERUN_CLK>;
+ clock-names = "core_iface",
+ "core",
+ "vcodec0_core",
+ "vcodec0_iface",
+ "core_freerun",
+ "vcodec0_core_freerun",
+ "vcodec1_iface",
+ "vcodec1_core",
+ "vcodec1_core_freerun";
+
+ interconnects = <&hscnoc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
+ &config_noc SLAVE_VENUS_CFG QCOM_ICC_TAG_ACTIVE_ONLY>,
+ <&mmss_noc MASTER_VIDEO_MVP0 QCOM_ICC_TAG_ALWAYS
+ &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
+ interconnect-names = "cpu-cfg",
+ "video-mem";
+
+ operating-points-v2 = <&iris_opp_table>;
+
+ power-domains = <&videocc VIDEO_CC_MVS0C_GDSC>,
+ <&videocc VIDEO_CC_MVS0_GDSC>,
+ <&rpmhpd RPMHPD_MXC>,
+ <&rpmhpd RPMHPD_MMCX>,
+ <&videocc VIDEO_CC_MVS1_GDSC>;
+ power-domain-names = "venus",
+ "vcodec0",
+ "mxc",
+ "mmcx",
+ "vcodec1";
+
+ resets = <&nwgcc NW_GCC_VIDEO_AXI0C_CLK_ARES>,
+ <&nwgcc NW_GCC_VIDEO_AXI0_CLK_ARES>,
+ <&videocc VIDEO_CC_MVS0C_FREERUN_CLK_ARES>,
+ <&videocc VIDEO_CC_MVS0_FREERUN_CLK_ARES>,
+ <&nwgcc NW_GCC_VIDEO_AXI1_CLK_ARES>,
+ <&videocc VIDEO_CC_MVS1_FREERUN_CLK_ARES>;
+ reset-names = "core_bus",
+ "vcodec0_bus",
+ "core",
+ "vcodec0_core",
+ "vcodec1_bus",
+ "vcodec1_core";
+
+ iris_opp_table: opp-table {
+ compatible = "operating-points-v2";
+
+ opp-240000000 {
+ opp-hz = /bits/ 64 <240000000 240000000 360000000>;
+ required-opps = <&rpmhpd_opp_svs>,
+ <&rpmhpd_opp_svs>;
+ };
+
+ opp-435000000 {
+ opp-hz = /bits/ 64 <435000000 435000000 652500000>;
+ required-opps = <&rpmhpd_opp_svs_l1>,
+ <&rpmhpd_opp_svs_l1>;
+ };
+
+ opp-480000000 {
+ opp-hz = /bits/ 64 <480000000 480000000 720000000>;
+ required-opps = <&rpmhpd_opp_svs_l1>,
+ <&rpmhpd_opp_nom>;
+ };
+
+ opp-533333333 {
+ opp-hz = /bits/ 64 <533333333 533333333 800000000>;
+ required-opps = <&rpmhpd_opp_svs_l1>,
+ <&rpmhpd_opp_turbo>;
+ };
+
+ opp-560000000 {
+ opp-hz = /bits/ 64 <560000000 560000000 840000000>;
+ required-opps = <&rpmhpd_opp_nom>,
+ <&rpmhpd_opp_turbo_l1>;
+ };
+ };
+};
+
&pcie0 {
clocks = <&gcc GCC_PCIE_A_AUX_CLK>,
<&gcc GCC_PCIE_A_CFG_AHB_CLK>,
diff --git a/arch/arm64/boot/dts/qcom/nord.dtsi b/arch/arm64/boot/dts/qcom/nord.dtsi
index 56778dd444e4e..e3fecdc21d7ed 100644
--- a/arch/arm64/boot/dts/qcom/nord.dtsi
+++ b/arch/arm64/boot/dts/qcom/nord.dtsi
@@ -2371,6 +2371,34 @@ pcie_smmu: iommu@9980000 {
#iommu-cells = <1>;
};
+ iris: video-codec@aa00000 {
+ compatible = "qcom,nord-iris", "qcom,glymur-iris";
+ reg = <0x0 0x0aa00000 0x0 0xf0000>;
+
+ dma-coherent;
+
+ interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
+
+ memory-region = <&video_mem>;
+
+ #address-cells = <1>;
+ #size-cells = <1>;
+ dma-ranges = <0x0 0x0 0x0 0xffe00000>;
+
+ status = "disabled";
+
+ non-pixel {
+ iommus = <&apps_smmu_1 0x0940 0x0>,
+ <&apps_smmu_1 0x0944 0x0>,
+ <&apps_smmu_1 0x0960 0x0>;
+ iommu-ranges = <0x25800000 0xda600000>;
+ };
+
+ pixel {
+ iommus = <&apps_smmu_1 0x0943 0x0>;
+ };
+ };
+
pdc: interrupt-controller@b220000 {
compatible = "qcom,nord-pdc",
"qcom,pdc";
--
2.34.1