ARM: dts: enable hdmi for exynos5420-peach-pit board
authorRahul Sharma <rahul.sharma@samsung.com>
Thu, 15 May 2014 20:23:21 +0000 (05:23 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Mon, 19 May 2014 14:13:44 +0000 (23:13 +0900)
Enable hdmi for exynos5420 based peach-pit board.

Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com>
Acked-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/boot/dts/exynos5420-peach-pit.dts
arch/arm/boot/dts/exynos5420.dtsi

index fae33dddac396c1fac08c96c5e8cb3b66af08e16..84f1a356819398344a70eef57504092efd0e9940 100644 (file)
                samsung,pin-pud = <0>;
                samsung,pin-drv = <0>;
        };
+
+       hdmi_hpd_irq: hdmi-hpd-irq {
+               samsung,pins = "gpx3-7";
+               samsung,pin-function = <0>;
+               samsung,pin-pud = <1>;
+               samsung,pin-drv = <0>;
+       };
 };
 
 &rtc {
        };
 };
 
+&i2c_2 {
+       status = "okay";
+       samsung,i2c-sda-delay = <100>;
+       samsung,i2c-max-bus-freq = <66000>;
+       samsung,i2c-slave-addr = <0x50>;
+};
+
+&hdmi {
+       status = "okay";
+       hpd-gpio = <&gpx3 7 GPIO_ACTIVE_HIGH>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&hdmi_hpd_irq>;
+       ddc = <&i2c_2>;
+};
+
 /*
  * Use longest HW watchdog in SoC (32 seconds) since the hardware
  * watchdog provides no debugging information (compared to soft/hard
index 3a2d0dc752ceeb588fce5400c0624c7dc8ebd433..384f7a2f91ed01e3fcfd2412e2e9d00b5b8766fa 100644 (file)
                         <&clock CLK_MOUT_HDMI>;
                clock-names = "hdmi", "sclk_hdmi", "sclk_pixel",
                        "sclk_hdmiphy", "mout_hdmi";
+               phy = <&hdmiphy>;
                status = "disabled";
        };
 
+       hdmiphy: hdmiphy@145D0000 {
+               reg = <0x145D0000 0x20>;
+       };
+
        mixer: mixer@14450000 {
                compatible = "samsung,exynos5420-mixer";
                reg = <0x14450000 0x10000>;