From 3836b8ffbb994095f72e29d04ea1a657f54ef000 Mon Sep 17 00:00:00 2001 From: Veera Vegivada Date: Mon, 26 Apr 2021 10:56:47 +0530 Subject: [PATCH] dt-bindings: interconnect: add interconnect bindings for QCS405 Add interconnect device bindings. These devices can be used to describe any RPM and NoC based interconnect devices. Change-Id: I91fcad06d1989dde13bd63bbaff37e928a7d60d2 --- bindings/interconnect/qcom,qcs405.txt | 52 +++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 bindings/interconnect/qcom,qcs405.txt diff --git a/bindings/interconnect/qcom,qcs405.txt b/bindings/interconnect/qcom,qcs405.txt new file mode 100644 index 000000000000..bb2a5a6d804d --- /dev/null +++ b/bindings/interconnect/qcom,qcs405.txt @@ -0,0 +1,52 @@ +QTI QCS405 Network-On-Chip interconnect driver binding +----------------------------------------------------------- + +Required properties : +- compatible : shall contain only one of the following: + "qcom,qcs405-bimc", + "qcom,qcs405-pcnoc", + "qcom,qcs405-snoc", +- #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@580000 { + reg = <0x580000 0x23080>; + compatible = "qcom,qcs405-snoc"; + #interconnect-cells = <1>; + clock-names = "bus", "bus_a"; + clocks = <&rpmcc RPM_SMD_SNOC_CLK>, + <&rpmcc RPM_SMD_SNOC_A_CLK>, + }; + + pc_noc: interconnect@500000{ + reg = <0x500000 0x15080>; + compatible = "qcom,qcs405-pcnoc"; + #interconnect-cells = <1>; + clock-names = "bus", "bus_a"; + clocks = <&rpmcc RPM_SMD_PCNOC_CLK>, + <&rpmcc RPM_SMD_PCNOC_A_CLK>; + }; + + bimc: interconnect@400000{ + reg = <0x400000 0x80000>; + compatible = "qcom,qcs405-bimc"; + qcom,util-factor = <153>; + #interconnect-cells = <1>; + clock-names = "bus", "bus_a"; + clocks = <&rpmcc RPM_SMD_BIMC_CLK>, + <&rpmcc RPM_SMD_BIMC_A_CLK>; + }; +};