summaryrefslogtreecommitdiff
path: root/arch
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-11-18 11:47:03 +0900
commit5f0593ea8104ca9702d961367ade5a25c554ddfe (patch)
tree3d60b78a24f0727e5f4561815641527b4234e292 /arch
parent17bf1b4166b72d058484233db0c82d6f0cdeb355 (diff)
downloadlinux-3.10-5f0593ea8104ca9702d961367ade5a25c554ddfe.tar.gz
linux-3.10-5f0593ea8104ca9702d961367ade5a25c554ddfe.tar.bz2
linux-3.10-5f0593ea8104ca9702d961367ade5a25c554ddfe.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
Diffstat (limited to 'arch')
-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>;
+ };
};