From 13aeffd0aec554b5a18d9641fe1ef69b8ec0ebc1 Mon Sep 17 00:00:00 2001 From: Hongwei Ren Date: Thu, 23 Jun 2022 11:41:31 +0530 Subject: [PATCH] dt-bindings: interconnect: add interconnect bindings for QRB4210 Add interconnect device bindings. These devices can be used to describe any RPMH and NoC based interconnect devices. Change-Id: I85fbbf07901675672ca9f87b00c573a3cf3134db --- bindings/interconnect/qcom,qrb4210-rb2.txt | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 bindings/interconnect/qcom,qrb4210-rb2.txt diff --git a/bindings/interconnect/qcom,qrb4210-rb2.txt b/bindings/interconnect/qcom,qrb4210-rb2.txt new file mode 100644 index 00000000..2c4ced76 --- /dev/null +++ b/bindings/interconnect/qcom,qrb4210-rb2.txt @@ -0,0 +1,46 @@ +QTI BENGAL Network-On-Chip interconnect driver binding +----------------------------------------------------------- + +Required properties : +- compatible : shall contain only one of the following: + "qcom,bengal-bimc", + "qcom,bengal-system_noc", + "qcom,bengal-config_noc", + "qcom,bengal-clk_virt", + "qcom,bengal-mmnrt_virt", + "qcom,bengal-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 0x5f080>; + compatible = "qcom,bengal-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 0x6200>; + compatible = "qcom,bengal-config_noc"; + #interconnect-cells = <1>; + clock-names = "bus", "bus_a"; + clocks = <&rpmcc RPM_SMD_CNOC_CLK>, + <&rpmcc RPM_SMD_CNOC_A_CLK>; + }; +};