From e78039aa9b9a9ddea8e6de328ad61b2256eb1c95 Mon Sep 17 00:00:00 2001 From: Inki Dae Date: Mon, 28 Apr 2014 20:24:52 +0900 Subject: [PATCH] ARM: dts: universal: fix display dt bindings Signed-off-by: Inki Dae --- arch/arm/boot/dts/exynos4210-universal_c210.dts | 81 ++++++++++++++++++------- 1 file changed, 60 insertions(+), 21 deletions(-) diff --git a/arch/arm/boot/dts/exynos4210-universal_c210.dts b/arch/arm/boot/dts/exynos4210-universal_c210.dts index 67479eb..6ec9943 100644 --- a/arch/arm/boot/dts/exynos4210-universal_c210.dts +++ b/arch/arm/boot/dts/exynos4210-universal_c210.dts @@ -374,34 +374,73 @@ }; }; - 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 { -- 2.7.4