Add the DT nodes for each of the Network-On-Chip interconnect
buses found on SDM845 based platform and redefine the rsc_hlos
child node as a bcm-voter device to better represent the hardware.

Signed-off-by: David Dai <daidav...@codeaurora.org>
---
 arch/arm64/boot/dts/qcom/sdm845.dtsi | 60 ++++++++++++++++++++++++++++++++++--
 1 file changed, 57 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi 
b/arch/arm64/boot/dts/qcom/sdm845.dtsi
index f406a43..a7ad79d 100644
--- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
@@ -1362,6 +1362,54 @@
                        reg = <0 0x01100000 0 0x200000>, <0 0x01300000 0 
0x50000>;
                        reg-names = "llcc_base", "llcc_broadcast_base";
                        interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>;
+
+               mem_noc: interconnect@1380000 {
+                       compatible = "qcom,sdm845-mem-noc";
+                       reg = <0 0x01380000 0 0x27200>;
+                       #interconnect-cells = <1>;
+                       qcom,bcm-voters = <&apps_bcm_voter>;
+               };
+
+               dc_noc: interconnect@14e0000 {
+                       compatible = "qcom,sdm845-dc-noc";
+                       reg = <0 0x014e0000 0 0x400>;
+                       #interconnect-cells = <1>;
+                       qcom,bcm-voters = <&apps_bcm_voter>;
+               };
+
+               config_noc: interconnect@1500000 {
+                       compatible = "qcom,sdm845-config-noc";
+                       reg = <0 0x01500000 0 0x5080>;
+                       #interconnect-cells = <1>;
+                       qcom,bcm-voters = <&apps_bcm_voter>;
+               };
+
+               system_noc: interconnect@1620000 {
+                       compatible = "qcom,sdm845-system-noc";
+                       reg = <0 0x01620000 0 0x18080>;
+                       #interconnect-cells = <1>;
+                       qcom,bcm-voters = <&apps_bcm_voter>;
+               };
+
+               aggre1_noc: interconnect@16e0000 {
+                       compatible = "qcom,sdm845-aggre1-noc";
+                       reg = <0 0x016e0000 0 0xd080>;
+                       #interconnect-cells = <1>;
+                       qcom,bcm-voters = <&apps_bcm_voter>;
+               };
+
+               aggre2_noc: interconnect@1700000 {
+                       compatible = "qcom,sdm845-aggre2-noc";
+                       reg = <0 0x01700000 0 0x3b100>;
+                       #interconnect-cells = <1>;
+                       qcom,bcm-voters = <&apps_bcm_voter>;
+               };
+
+               mmss_noc: interconnect@1740000 {
+                       compatible = "qcom,sdm845-mmss-noc";
+                       reg = <0 0x01740000 0 0x1c1000>;
+                       #interconnect-cells = <1>;
+                       qcom,bcm-voters = <&apps_bcm_voter>;
                };
 
                ufs_mem_hc: ufshc@1d84000 {
@@ -3090,6 +3138,13 @@
                        #mbox-cells = <1>;
                };
 
+               gladiator_noc: interconnect@17900000 {
+                       compatible = "qcom,sdm845-gladiator-noc";
+                       reg = <0 0x17900000 0 0xd080>;
+                       #interconnect-cells = <1>;
+                       qcom,bcm-voters = <&apps_bcm_voter>;
+               };
+
                apps_rsc: rsc@179c0000 {
                        label = "apps_rsc";
                        compatible = "qcom,rpmh-rsc";
@@ -3164,9 +3219,8 @@
                                };
                        };
 
-                       rsc_hlos: interconnect {
-                               compatible = "qcom,sdm845-rsc-hlos";
-                               #interconnect-cells = <1>;
+                       apps_bcm_voter: bcm-voter {
+                               compatible = "qcom,sdm845-bcm-voter";
                        };
                };
 
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

Reply via email to