ARM: dts: Add CMA region definitions and enable MFC for Trats board
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 3 Jul 2013 06:54:47 +0000 (08:54 +0200)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:42:34 +0000 (11:42 +0900)
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
arch/arm/boot/dts/exynos4210-trats.dts

index 64e0775..e1ac388 100644 (file)
                        0x50000000 0x10000000
                        0x60000000 0x10000000
                        0x70000000 0x10000000>;
+
+               reserved-memory {
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       contig_mem: region@72000000 {
+                               compatible = "linux,contiguous-memory-region";
+                               reg = <0x72000000 0xc000000>;
+                               linux,default-contiguous-region;
+                       };
+
+                       mfc_l_mem: mfc_l_region@43000000 {
+                               compatible = "linux,contiguous-memory-region", "reserved-memory-region";
+                               reg = <0x43000000 0x1000000>;
+                       };
+
+                       mfc_r_mem: mfc_r_region@51000000 {
+                               compatible = "linux,contiguous-memory-region", "reserved-memory-region";
+                               reg = <0x51000000 0x1000000>;
+                       };
+               };
        };
 
        chosen {
                        status = "okay";
                };
        };
+
+       mfc: codec@13400000 {
+               status = "okay";
+
+               memport@0 {
+                       memory-region = <&mfc_l_mem>;
+               };
+
+               memport@1 {
+                       memory-region = <&mfc_r_mem>;
+               };
+       };
 };