aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/overlays/cma-overlay.dts
blob: 4fbdf161672e3d03b21bee0e37d92fbfd0d60d8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * cma.dts
 */

/dts-v1/;
/plugin/;

/ {
	compatible = "brcm,bcm2835";

	fragment@0 {
		target = <&cma>;
		frag0: __overlay__ {
			/*
			 * The default size when using this overlay is 256 MB
			 * and should be kept as is for backwards
			 * compatibility.
			 */
			size = <0x10000000>;
		};
	};

	__overrides__ {
		cma-256 = <&frag0>,"size:0=",<0x10000000>;
		cma-192 = <&frag0>,"size:0=",<0xC000000>;
		cma-128 = <&frag0>,"size:0=",<0x8000000>;
		cma-96  = <&frag0>,"size:0=",<0x6000000>;
		cma-64  = <&frag0>,"size:0=",<0x4000000>;
		cma-size = <&frag0>,"size:0"; /* in bytes, 4MB aligned */
		cma-default = <0>,"-0";
	};
};