xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/arm/memory_group_manager.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1# SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
2#
3# (C) COPYRIGHT 2019-2021 ARM Limited. All rights reserved.
4#
5# This program is free software and is provided to you under the terms of the
6# GNU General Public License version 2 as published by the Free Software
7# Foundation, and any use by you of this program is subject to the terms
8# of such GNU license.
9#
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU General Public License for more details.
14#
15# You should have received a copy of the GNU General Public License
16# along with this program; if not, you can access it online at
17# http://www.gnu.org/licenses/gpl-2.0.html.
18#
19#
20
21* Arm memory group manager for Mali GPU device drivers
22
23Required properties:
24
25- compatible: Must be "arm,physical-memory-group-manager"
26
27An example node:
28
29        gpu_physical_memory_group_manager: physical-memory-group-manager {
30                compatible = "arm,physical-memory-group-manager";
31        };
32
33It must be referenced by the GPU as well, see physical-memory-group-manager:
34
35	gpu: gpu@0x6e000000 {
36		compatible = "arm,mali-midgard";
37		reg = <0x0 0x6e000000 0x0 0x200000>;
38		interrupts = <0 168 4>, <0 168 4>, <0 168 4>;
39		interrupt-names = "JOB", "MMU", "GPU";
40		clocks = <&scpi_dvfs 2>;
41		clock-names = "clk_mali";
42		system-coherency = <31>;
43		physical-memory-group-manager = <&gpu_physical_memory_group_manager>;
44		operating-points = <
45			/* KHz uV */
46			50000 820000
47		>;
48	};
49