From 6620ffb5e41c8a71d2cbaa77381a110734efda6c Mon Sep 17 00:00:00 2001 From: Hongwei Ren Date: Fri, 16 Apr 2021 18:48:49 +0530 Subject: [PATCH] dt-bindings: interconnect: add interconnect bindings Add interconnect device bindings. These devices can be used to describe any RPM and NoC based interconnect devices. Change-Id: I0b43484a4763a1e31b0df039233d4b7ae10a934f --- bindings/interconnect/qcom,qrb2210-rb1.txt | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 bindings/interconnect/qcom,qrb2210-rb1.txt diff --git a/bindings/interconnect/qcom,qrb2210-rb1.txt b/bindings/interconnect/qcom,qrb2210-rb1.txt new file mode 100644 index 000000000000..2ffb5a2cb5f0 --- /dev/null +++ b/bindings/interconnect/qcom,qrb2210-rb1.txt @@ -0,0 +1,46 @@ +QTI SCUBA Network-On-Chip interconnect driver binding +----------------------------------------------------------- + +Required properties : +- compatible : shall contain only one of the following: + "qcom,scuba-bimc", + "qcom,scuba-system_noc", + "qcom,scuba-config_noc", + "qcom,scuba-clk_virt", + "qcom,scuba-mmnrt_virt", + "qcom,scuba-mmrt_virt", +- #interconnect-cells : should contain 1 + +reg : specifies the physical base address and size of registers +clocks : list of phandles and specifiers to all interconnect bus clocks +clock-names : clock names should include both "bus" and "bus_a" + +The following are optional properties: + +qcom,util-factor : Parameter that represents the DDR utilization factor + to be used in aggregation scheme. It is represented as + actual util-factor * 100. + +Examples: + +soc { + ... + system_noc: interconnect@1880000 { + reg = <0x1880000 0x60200>; + compatible = "qcom,scuba-system_noc"; + qcom,util-factor = <142>; + #interconnect-cells = <1>; + clock-names = "bus", "bus_a"; + clocks = <&rpmcc RPM_SMD_SNOC_CLK>, + <&rpmcc RPM_SMD_SNOC_A_CLK>; + }; + + config_noc: interconnect@1900000 { + reg = <0x1900000 0x8200>; + compatible = "qcom,scuba-config_noc"; + #interconnect-cells = <1>; + clock-names = "bus", "bus_a"; + clocks = <&rpmcc RPM_SMD_CNOC_CLK>, + <&rpmcc RPM_SMD_CNOC_A_CLK>; + }; +};