xref: /freebsd/sys/contrib/device-tree/src/arm/samsung/exynos-mfc-reserved-memory.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Samsung's Exynos SoC MFC (Video Codec) reserved memory common definition.
4*f126890aSEmmanuel Vadot *
5*f126890aSEmmanuel Vadot * Copyright (c) 2016 Samsung Electronics Co., Ltd
6*f126890aSEmmanuel Vadot */
7*f126890aSEmmanuel Vadot
8*f126890aSEmmanuel Vadot/ {
9*f126890aSEmmanuel Vadot	reserved-memory {
10*f126890aSEmmanuel Vadot		#address-cells = <1>;
11*f126890aSEmmanuel Vadot		#size-cells = <1>;
12*f126890aSEmmanuel Vadot		ranges;
13*f126890aSEmmanuel Vadot
14*f126890aSEmmanuel Vadot		mfc_left: region-mfc-left {
15*f126890aSEmmanuel Vadot			compatible = "shared-dma-pool";
16*f126890aSEmmanuel Vadot			no-map;
17*f126890aSEmmanuel Vadot			size = <0x2400000>;
18*f126890aSEmmanuel Vadot			alignment = <0x100000>;
19*f126890aSEmmanuel Vadot		};
20*f126890aSEmmanuel Vadot
21*f126890aSEmmanuel Vadot		mfc_right: region-mfc-right {
22*f126890aSEmmanuel Vadot			compatible = "shared-dma-pool";
23*f126890aSEmmanuel Vadot			no-map;
24*f126890aSEmmanuel Vadot			size = <0x800000>;
25*f126890aSEmmanuel Vadot			alignment = <0x100000>;
26*f126890aSEmmanuel Vadot		};
27*f126890aSEmmanuel Vadot	};
28*f126890aSEmmanuel Vadot};
29*f126890aSEmmanuel Vadot
30*f126890aSEmmanuel Vadot&mfc {
31*f126890aSEmmanuel Vadot	memory-region = <&mfc_left>, <&mfc_right>;
32*f126890aSEmmanuel Vadot};
33