ARM: dts: enable dp-controller for exynos5420-peach-pit board
authorRahul Sharma <rahul.sharma@samsung.com>
Mon, 19 May 2014 14:01:46 +0000 (23:01 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Mon, 19 May 2014 14:14:06 +0000 (23:14 +0900)
Enable dp-controller for peach-pit board.

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

index 7aed4cd..d4127b0 100644 (file)
                samsung,pin-pud = <0>;
                samsung,pin-drv = <0>;
        };
+
+       dp_hpd_gpio: dp_hpd_gpio {
+               samsung,pins = "gpx2-6";
+               samsung,pin-function = <0>;
+               samsung,pin-pud = <3>;
+               samsung,pin-drv = <0>;
+       };
 };
 
 &rtc {
        status = "okay";
        samsung,invert-vclk;
 };
+
+&dp {
+       status = "okay";
+       pinctrl-names = "default";
+       pinctrl-0 = <&dp_hpd_gpio>;
+       samsung,color-space = <0>;
+       samsung,dynamic-range = <0>;
+       samsung,ycbcr-coeff = <0>;
+       samsung,color-depth = <1>;
+       samsung,link-rate = <0x06>;
+       samsung,lane-count = <2>;
+       samsung,hpd-gpio = <&gpx2 6 0>;
+
+       display-timings {
+               native-mode = <&timing1>;
+
+               timing1: timing@1 {
+                       clock-frequency = <70589280>;
+                       hactive = <1366>;
+                       vactive = <768>;
+                       hfront-porch = <40>;
+                       hback-porch = <40>;
+                       hsync-len = <32>;
+                       vback-porch = <10>;
+                       vfront-porch = <12>;
+                       vsync-len = <6>;
+               };
+       };
+};