Loading...
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};
1/*
2 * Samsung's Exynos SoC MFC (Video Codec) reserved memory common definition.
3 *
4 * Copyright (c) 2016 Samsung Electronics Co., Ltd
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10
11/ {
12 reserved-memory {
13 #address-cells = <1>;
14 #size-cells = <1>;
15 ranges;
16
17 mfc_left: region_mfc_left {
18 compatible = "shared-dma-pool";
19 no-map;
20 size = <0x1000000>;
21 alignment = <0x100000>;
22 };
23
24 mfc_right: region_mfc_right {
25 compatible = "shared-dma-pool";
26 no-map;
27 size = <0x800000>;
28 alignment = <0x100000>;
29 };
30 };
31};
32
33&mfc {
34 memory-region = <&mfc_left>, <&mfc_right>;
35};