ARM: dts: universal: fix display dt bindings
authorInki Dae <inki.dae@samsung.com>
Mon, 28 Apr 2014 11:24:52 +0000 (20:24 +0900)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:47:43 +0000 (11:47 +0900)
Signed-off-by: Inki Dae <inki.dae@samsung.com>
arch/arm/boot/dts/exynos4210-universal_c210.dts

index 67479eb..6ec9943 100644 (file)
                };
        };
 
-       fimd: fimd@11c00000 {
-               pinctrl-names = "default";
-               pinctrl-0 = <&lcd_clk>, <&lcd_data24>;
+       pwm@139D0000 {
+               compatible = "samsung,s5p6440-pwm";
                status = "okay";
+       };
 
-               display-timings {
-                       native-mode = <&timing0>;
-                       timing0: timing {
-                               clock-frequency = <24000000>;
-                               hactive = <480>;
-                               vactive = <800>;
-                               hfront-porch = <16>;
-                               hback-porch = <16>;
-                               hsync-len = <2>;
-                               vback-porch = <2>;
-                               vfront-porch = <28>;
-                               vsync-len = <1>;
-                               vsync-active = <0>;
-                               hsync-active = <0>;
-                               de-active = <0>;
-                               pixelclk-active = <0>;
+       spi-lcd {
+               compatible = "spi-gpio";
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               gpio-sck = <&gpy3 1 0>;
+               gpio-mosi = <&gpy3 3 0>;
+               num-chipselects = <1>;
+               cs-gpios = <&gpy4 3 0>;
+
+               lcd@0 {
+                       compatible = "samsung,ld9040";
+                       reg = <0>;
+                       vdd3-supply = <&ldo7_reg>;
+                       vci-supply = <&ldo17_reg>;
+                       reset-gpios = <&gpy4 5 0>;
+                       spi-max-frequency = <1200000>;
+                       spi-cpol;
+                       spi-cpha;
+                       power-on-delay = <10>;
+                       reset-delay = <10>;
+                       panel-width-mm = <90>;
+                       panel-height-mm = <154>;
+                       display-timings {
+                               timing {
+                                       clock-frequency = <23492370>;
+                                       hactive = <480>;
+                                       vactive = <800>;
+                                       hback-porch = <16>;
+                                       hfront-porch = <16>;
+                                       vback-porch = <2>;
+                                       vfront-porch = <28>;
+                                       hsync-len = <2>;
+                                       vsync-len = <1>;
+                                       hsync-active = <0>;
+                                       vsync-active = <0>;
+                                       de-active = <0>;
+                                       pixelclk-active = <0>;
+                               };
+                       };
+                       port {
+                               lcd_ep: endpoint {
+                                       remote-endpoint = <&fimd_dpi_ep>;
+                               };
                        };
                };
        };
 
-       pwm@139D0000 {
-               compatible = "samsung,s5p6440-pwm";
+       fimd: fimd@11c00000 {
+               pinctrl-0 = <&lcd_clk>, <&lcd_data24>;
+               pinctrl-names = "default";
                status = "okay";
+               samsung,invert-vden;
+               samsung,invert-vclk;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               port@3 {
+                       reg = <3>;
+                       fimd_dpi_ep: endpoint {
+                               remote-endpoint = <&lcd_ep>;
+                       };
+               };
        };
 
        camera {