Commit | Line | Data |
---|---|---|
8b9ac7e3 MS |
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 | ||
c80a3f69 | 17 | mfc_left: region_mfc_left { |
8b9ac7e3 MS |
18 | compatible = "shared-dma-pool"; |
19 | no-map; | |
c80a3f69 MS |
20 | size = <0x1000000>; |
21 | alignment = <0x100000>; | |
8b9ac7e3 MS |
22 | }; |
23 | ||
c80a3f69 | 24 | mfc_right: region_mfc_right { |
8b9ac7e3 MS |
25 | compatible = "shared-dma-pool"; |
26 | no-map; | |
c80a3f69 MS |
27 | size = <0x800000>; |
28 | alignment = <0x100000>; | |
8b9ac7e3 MS |
29 | }; |
30 | }; | |
31 | }; | |
4ceaa148 MS |
32 | |
33 | &mfc { | |
34 | memory-region = <&mfc_left>, <&mfc_right>; | |
35 | }; |