From a14fb7406408af01561cf637380a61f8a2836611 Mon Sep 17 00:00:00 2001 From: Sneh Mankad Date: Fri, 18 Oct 2024 15:28:04 +0530 Subject: [PATCH] ARM: dts: msm: Add CRM nodes for tuna Add Camera, Display, PCIe CESTA nodes for tuna. Also disable them in RUMI till validations are completed. Also rename the syscon device to avoid naming conflicts. Change-Id: Ia8238c95b18a9992efe34e34d062e3835b501dcf Signed-off-by: Sneh Mankad --- qcom/tuna-rumi.dtsi | 12 ++++++++++ qcom/tuna.dtsi | 53 +++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 63 insertions(+), 2 deletions(-) diff --git a/qcom/tuna-rumi.dtsi b/qcom/tuna-rumi.dtsi index 5f538408..211700f0 100644 --- a/qcom/tuna-rumi.dtsi +++ b/qcom/tuna-rumi.dtsi @@ -127,6 +127,18 @@ status = "disabled"; }; +&cam_crm { + status = "disabled"; +}; + +&disp_crm { + status = "disabled"; +}; + +&pcie_crm { + status = "disabled"; +}; + &qupv3_se7_2uart { qcom,rumi_platform; }; diff --git a/qcom/tuna.dtsi b/qcom/tuna.dtsi index 1a106540..dba7b358 100644 --- a/qcom/tuna.dtsi +++ b/qcom/tuna.dtsi @@ -813,6 +813,55 @@ }; }; + disp_crm: crm@af21000 { + label = "disp_crm"; + compatible = "qcom,disp-crm-v2"; + reg = <0xaf21000 0x6000>, <0xaf27000 0x400>, <0xaf27400 0x400>, + <0xaf27800 0x2000>, <0xaf29800 0x700>, <0xaf29f00 0x100>; + reg-names = "base", "crm_b", "crm_b_pt", "crm_c", "crm_v", "common"; + interrupts = , + , + , + , + , + ; + interrupt-names = "disp_crm_drv0", + "disp_crm_drv1", + "disp_crm_drv2", + "disp_crm_drv3", + "disp_crm_drv4", + "disp_crm_drv5"; + clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>; + qcom,hw-drv-ids = <0 1 2 3 4 5>; + qcom,sw-drv-ids = <0 1 2 3 4 5>; + }; + + cam_crm: crm@adcb000 { + label = "cam_crm"; + compatible = "qcom,cam-crm-v2"; + reg = <0xadcb000 0x1e00>, <0xadcce00 0x400>, <0xadcd200 0x400>, + <0xadcd600 0x2000>, <0xadcf600 0x700>, <0xadcfd00 0x100>; + reg-names = "base", "crm_b", "crm_b_pt", "crm_c", "crm_v", "common"; + interrupts = ; + interrupt-names = "cam_crm_drv0"; + clocks = <&camcc CAM_CC_DRV_AHB_CLK>; + qcom,hw-drv-ids = <0 1 2>; + qcom,sw-drv-ids = <0>; + }; + + pcie_crm: crm@1d01000 { + label = "pcie_crm"; + compatible = "qcom,pcie-crm-v2"; + reg = <0x1d01000 0x2000>, <0x1d03000 0x400>, <0x1d03400 0x400>, + <0x1d03800 0x2000>, <0x1d05800 0x700>, <0x1d05f00 0x100>; + reg-names = "base", "crm_b", "crm_b_pt", "crm_c", "crm_v", "common"; + interrupts = ; + interrupt-names = "pcie_crm_drv0"; + clocks = <&pcie_0_pipe_clk>; + qcom,hw-drv-ids = <0 1>; + qcom,sw-drv-ids = <0>; + }; + pdc: interrupt-controller@b220000 { compatible = "qcom,tuna-pdc", "qcom,pdc"; reg = <0xb220000 0x10000>, <0x174000f0 0x64>; @@ -1577,7 +1626,7 @@ <&cpufreq_hw 3>; }; - cam_crm: syscon@adcd600 { + camcc_crm: syscon@adcd600 { compatible = "syscon"; reg = <0xadcd600 0x2000>; }; @@ -1595,7 +1644,7 @@ clock-names = "bi_tcxo", "sleep_clk", "iface"; - qcom,cam_crm-crmc = <&cam_crm>; + qcom,cam_crm-crmc = <&camcc_crm>; #clock-cells = <1>; #reset-cells = <1>; };