From bb29c3ca9724d2c25deab5ffc7fc5e25f534e930 Mon Sep 17 00:00:00 2001 From: Khushal Bawankar Date: Fri, 17 Sep 2021 12:11:04 +0530 Subject: [PATCH] dt-bindings: interconnect: add interconnect bindings for scuba Add interconnect device bindings. These devices can be sed to describe any RPM and NoC based interconnect devices. Change-Id: I391d1c4b2451fa857b1dfc5aa6991c4e8e1507d3 --- bindings/interconnect/qcom,scuba.txt | 45 ++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 bindings/interconnect/qcom,scuba.txt diff --git a/bindings/interconnect/qcom,scuba.txt b/bindings/interconnect/qcom,scuba.txt new file mode 100644 index 00000000..4ae84f1b --- /dev/null +++ b/bindings/interconnect/qcom,scuba.txt @@ -0,0 +1,45 @@ +QTI SCUBA Network-On-Chip interconnect driver binding +----------------------------------------------------------- + +Required properties : +- compatible : shall contain only one of the following: + "qcom,scuba-bimc", + "qcom,scuba-sys_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-sys_noc"; + #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>; + }; +};