[PATCH 7/7] ARM: DTS: exynos4412-odroid*: enable MFC device

From: Marek Szyprowski
Date: Tue Aug 26 2014 - 08:14:12 EST


Enable support for Multimedia Codec (MFC) device for all Exynos4412-based
Odroid boards.

Signed-off-by: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx>
---
arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
index adadaf97ac01..3728c667e7ec 100644
--- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
+++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
@@ -11,6 +11,24 @@
#include "exynos4412.dtsi"

/ {
+ reserved-memory {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+
+ mfc_left: region@77000000 {
+ compatible = "shared-dma-pool";
+ reusable;
+ reg = <0x77000000 0x1000000>;
+ };
+
+ mfc_right: region@78000000 {
+ compatible = "shared-dma-pool";
+ reusable;
+ reg = <0x78000000 0x1000000>;
+ };
+ };
+
firmware@0204F000 {
compatible = "samsung,secure-firmware";
reg = <0x0204F000 0x1000>;
@@ -367,6 +385,12 @@
ehci: ehci@12580000 {
status = "okay";
};
+
+ codec@13400000 {
+ status = "okay";
+ memory-region = <&mfc_left>, <&mfc_right>;
+ memory-region-names = "left", "right";
+ };
};

&pinctrl_1 {
--
1.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/