diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2015-02-21 13:27:18 -0500 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2015-03-30 04:39:42 -0400 |
commit | fc26d5f29b0d056699e8921bcb1a0ec709122596 (patch) | |
tree | 91c5c449810745ff81897886a36d24d410809b27 /arch/arm | |
parent | 18e2b50407fb82bc7e35abd4affd2da623b6b653 (diff) |
ARM: dts: imx25-pdk: Add LCD support
Add support for the CLAA057VC01CW display.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/imx25-pdk.dts | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx25-pdk.dts b/arch/arm/boot/dts/imx25-pdk.dts index 9c21b1583762..dd45e6971bc3 100644 --- a/arch/arm/boot/dts/imx25-pdk.dts +++ b/arch/arm/boot/dts/imx25-pdk.dts | |||
@@ -75,6 +75,27 @@ | |||
75 | mux-int-port = <1>; | 75 | mux-int-port = <1>; |
76 | mux-ext-port = <4>; | 76 | mux-ext-port = <4>; |
77 | }; | 77 | }; |
78 | |||
79 | wvga: display { | ||
80 | model = "CLAA057VC01CW"; | ||
81 | bits-per-pixel = <16>; | ||
82 | fsl,pcr = <0xfa208b80>; | ||
83 | bus-width = <18>; | ||
84 | native-mode = <&wvga_timings>; | ||
85 | display-timings { | ||
86 | wvga_timings: 640x480 { | ||
87 | hactive = <640>; | ||
88 | vactive = <480>; | ||
89 | hback-porch = <45>; | ||
90 | hfront-porch = <114>; | ||
91 | hsync-len = <1>; | ||
92 | vback-porch = <33>; | ||
93 | vfront-porch = <11>; | ||
94 | vsync-len = <1>; | ||
95 | clock-frequency = <25200000>; | ||
96 | }; | ||
97 | }; | ||
98 | }; | ||
78 | }; | 99 | }; |
79 | 100 | ||
80 | &audmux { | 101 | &audmux { |
@@ -190,6 +211,33 @@ | |||
190 | >; | 211 | >; |
191 | }; | 212 | }; |
192 | 213 | ||
214 | pinctrl_lcd: lcdgrp { | ||
215 | fsl,pins = < | ||
216 | MX25_PAD_LD0__LD0 0xe0 | ||
217 | MX25_PAD_LD1__LD1 0xe0 | ||
218 | MX25_PAD_LD2__LD2 0xe0 | ||
219 | MX25_PAD_LD3__LD3 0xe0 | ||
220 | MX25_PAD_LD4__LD4 0xe0 | ||
221 | MX25_PAD_LD5__LD5 0xe0 | ||
222 | MX25_PAD_LD6__LD6 0xe0 | ||
223 | MX25_PAD_LD7__LD7 0xe0 | ||
224 | MX25_PAD_LD8__LD8 0xe0 | ||
225 | MX25_PAD_LD9__LD9 0xe0 | ||
226 | MX25_PAD_LD10__LD10 0xe0 | ||
227 | MX25_PAD_LD11__LD11 0xe0 | ||
228 | MX25_PAD_LD12__LD12 0xe0 | ||
229 | MX25_PAD_LD13__LD13 0xe0 | ||
230 | MX25_PAD_LD14__LD14 0xe0 | ||
231 | MX25_PAD_LD15__LD15 0xe0 | ||
232 | MX25_PAD_GPIO_E__LD16 0xe0 | ||
233 | MX25_PAD_GPIO_F__LD17 0xe0 | ||
234 | MX25_PAD_HSYNC__HSYNC 0xe0 | ||
235 | MX25_PAD_VSYNC__VSYNC 0xe0 | ||
236 | MX25_PAD_LSCLK__LSCLK 0xe0 | ||
237 | MX25_PAD_OE_ACD__OE_ACD 0xe0 | ||
238 | MX25_PAD_CONTRAST__CONTRAST 0xe0 | ||
239 | >; | ||
240 | }; | ||
193 | 241 | ||
194 | pinctrl_uart1: uart1grp { | 242 | pinctrl_uart1: uart1grp { |
195 | fsl,pins = < | 243 | fsl,pins = < |
@@ -202,6 +250,16 @@ | |||
202 | }; | 250 | }; |
203 | }; | 251 | }; |
204 | 252 | ||
253 | &lcdc { | ||
254 | display = <&wvga>; | ||
255 | fsl,lpccr = <0x00a903ff>; | ||
256 | fsl,lscr1 = <0x00120300>; | ||
257 | fsl,dmacr = <0x00020010>; | ||
258 | pinctrl-names = "default"; | ||
259 | pinctrl-0 = <&pinctrl_lcd>; | ||
260 | status = "okay"; | ||
261 | }; | ||
262 | |||
205 | &nfc { | 263 | &nfc { |
206 | nand-on-flash-bbt; | 264 | nand-on-flash-bbt; |
207 | status = "okay"; | 265 | status = "okay"; |