Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003  * Samsung's Exynos SoC MFC (Video Codec) reserved memory common definition.
0004  *
0005  * Copyright (c) 2016 Samsung Electronics Co., Ltd
0006  */
0007 
0008 / {
0009         reserved-memory {
0010                 #address-cells = <1>;
0011                 #size-cells = <1>;
0012                 ranges;
0013 
0014                 mfc_left: region-mfc-left {
0015                         compatible = "shared-dma-pool";
0016                         no-map;
0017                         size = <0x2400000>;
0018                         alignment = <0x100000>;
0019                 };
0020 
0021                 mfc_right: region-mfc-right {
0022                         compatible = "shared-dma-pool";
0023                         no-map;
0024                         size = <0x800000>;
0025                         alignment = <0x100000>;
0026                 };
0027         };
0028 };
0029 
0030 &mfc {
0031         memory-region = <&mfc_left>, <&mfc_right>;
0032 };