Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3019aaa8 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "dt-bindings: interconnect: add interconnect bindings for QCS405"

parents fb1e09c9 5aeaa1cd
Loading
Loading
Loading
Loading
+52 −0
Original line number Diff line number Diff line
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>;
	};
};