summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Stanislawski <t.stanislaws@samsung.com>2014-02-20 15:47:44 +0100
committerChanho Park <chanho61.park@samsung.com>2014-03-20 17:43:55 +0900
commit526c3fb402701390e540beb8cd8882356ae1196d (patch)
tree5124f2b4a55d271fcbbfddc797a8a2223d665eaa
parent8131e0fff34d862e63982ef232ff4ef73757674a (diff)
downloadlinux-3.10-526c3fb402701390e540beb8cd8882356ae1196d.tar.gz
linux-3.10-526c3fb402701390e540beb8cd8882356ae1196d.tar.bz2
linux-3.10-526c3fb402701390e540beb8cd8882356ae1196d.zip
arm: dts: exynos4412-odroidx2: add HDMI devices
This patch adds configuration of HDMI devices on OdroidX2 board. Moreover, FIMD is enabled as workaround for ia bug caused by unintialized size of framebuffer. Signed-off-by: Tomasz Stanislawski <t.stanislaws@samsung.com> Change-Id: I8fa76980f35644f886ffc971a4ced1ae03300d12
-rw-r--r--arch/arm/boot/dts/exynos4412-odroidx2.dts60
1 files changed, 60 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos4412-odroidx2.dts b/arch/arm/boot/dts/exynos4412-odroidx2.dts
index 814f943adff..9ce1768c75a 100644
--- a/arch/arm/boot/dts/exynos4412-odroidx2.dts
+++ b/arch/arm/boot/dts/exynos4412-odroidx2.dts
@@ -507,4 +507,64 @@
memory-region = <&mfc_r_mem>;
};
};
+
+ i2c@13880000 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c2_bus>;
+ status = "okay";
+ hdmiddc@37 {
+ compatible = "samsung,exynos5-hdmiddc";
+ reg = <0x37>;
+ };
+ };
+
+ hdmi@12D00000 {
+ hpd-gpio = <&gpx3 7 0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&hdmi_hpd>;
+ /*
+ * HDMI_EN is a dummy regulator on Origen.
+ * Therefore LDO8 is used instead because
+ * it is enabled at the same time as hdmi-en
+ */
+ hdmi-en-supply = <&ldo8_reg>;
+ vdd-supply = <&ldo8_reg>;
+ vdd_osc-supply = <&ldo10_reg>;
+ vdd_pll-supply = <&ldo8_reg>;
+ status = "okay";
+ };
+
+ /*
+ * FIMD node is required for DRM subsystem to initialize framebuffer
+ * It should be considered as hack until DRM/HDMI subsystem is fixed
+ */
+ fimd@11c00000 {
+ samsung,fimd-vidout-rgb;
+ samsung,fimd-inv-vclk;
+ samsung,fimd-frame-rate = <60>;
+ samsung,default-window = <3>;
+ samsung,fimd-win-bpp = <32>;
+ status = "okay";
+ display-timings {
+ native-mode = <&timing0>;
+ timing0: timing {
+ clock-frequency = <0>;
+ hfront-porch = <0>;
+ hback-porch = <0>;
+ hactive = <1920>;
+ vactive = <1080>;
+ hsync-len = <0>;
+ vback-porch = <0>;
+ vfront-porch = <0>;
+ vsync-len = <0>;
+ };
+ };
+ };
+};
+
+&pinctrl_1 {
+ hdmi_hpd: hdmi-hpd {
+ samsung,pins = "gpx3-7";
+ samsung,pin-pud = <1>;
+ };
};