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

Commit 0769e748 authored by Neeti Desai's avatar Neeti Desai Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Add ocmem device to msmplutonium device tree



Add OCMEM device to the device tree for msmplutonium.

Change-Id: Ie70d4925a06342475dc22cf285437f7cdfacd3cb
Signed-off-by: default avatarNeeti Desai <neetid@codeaurora.org>
parent e24d6c68
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
@@ -431,6 +431,39 @@
		         <&clock_rpm clk_rpm_debug_mux>;
		#clock-cells = <1>;
	};

	qcom,ocmem@fdd00000 {
		compatible = "qcom,msm-ocmem";
		reg = <0xfdd00000 0x2000>,
			<0xfdd02000 0x2000>,
			<0xfe039000 0x400>,
			<0xfec00000 0x200000>;
		reg-names = "ocmem_ctrl_physical", "dm_ctrl_physical", "br_ctrl_physical", "ocmem_physical";
		interrupts = <0 76 0 0 77 0>;
		interrupt-names = "ocmem_irq", "dm_irq";
		qcom,ocmem-num-regions = <0x4>;
		qcom,ocmem-num-macros = <0x20>;
		qcom,resource-type = <0x706d636f>;
		#address-cells = <1>;
		#size-cells = <1>;
		ranges = <0x0 0xfec00000 0x200000>;
		clocks = <&clock_rpm clk_ocmemgx_core_clk>,
			<&clock_gcc clk_ocmemcx_ocmemnoc_clk>;
		clock-names = "core_clk", "iface_clk";

		partition@0 {
			reg = <0x0 0x180000>;
			qcom,ocmem-part-name = "graphics";
			qcom,ocmem-part-min = <0x80000>;
		};

		partition@100000 {
			reg = <0x180000 0x80000>;
			qcom,ocmem-part-name = "video";
			qcom,ocmem-part-min = <0x55000>;
		};

	};
};

&gdsc_usb30 {