GNU Linux-libre 4.19.264-gnu1
[releases.git] / arch / arm / boot / dts / exynos-mfc-reserved-memory.dtsi
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Samsung's Exynos SoC MFC (Video Codec) reserved memory common definition.
4  *
5  * Copyright (c) 2016 Samsung Electronics Co., Ltd
6  */
7
8 / {
9         reserved-memory {
10                 #address-cells = <1>;
11                 #size-cells = <1>;
12                 ranges;
13
14                 mfc_left: region_mfc_left {
15                         compatible = "shared-dma-pool";
16                         no-map;
17                         size = <0x2400000>;
18                         alignment = <0x100000>;
19                 };
20
21                 mfc_right: region_mfc_right {
22                         compatible = "shared-dma-pool";
23                         no-map;
24                         size = <0x800000>;
25                         alignment = <0x100000>;
26                 };
27         };
28 };
29
30 &mfc {
31         memory-region = <&mfc_left>, <&mfc_right>;
32 };