diff options
author | Sandor Yu <R01008@freescale.com> | 2014-02-25 05:20:16 -0500 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-16 09:57:45 -0400 |
commit | 38fa586141751bb2a4908d5186982c6f193a716c (patch) | |
tree | 3c6b765bee3594072d3c72b4c1b762783e2831d4 /arch/arm/boot/dts/imx6sx-sdb.dts | |
parent | c5dcf81d96a95c93c0b51959749d6460fb6ac1ab (diff) |
ENGR00300745 ARM: dts: imx: Add lcdif support for imx6sx sdb board
-Add pin mux setting for pwm3 in imx6sx.dtsi
-Add pwm3 setting for lcdif backlight
-Add lcdif1 in imx6sx-sdb.dtsi
Signed-off-by: Sandor Yu <R01008@freescale.com>
Diffstat (limited to 'arch/arm/boot/dts/imx6sx-sdb.dts')
-rw-r--r-- | arch/arm/boot/dts/imx6sx-sdb.dts | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6sx-sdb.dts b/arch/arm/boot/dts/imx6sx-sdb.dts index 97b2acd3de14..616ab5645326 100644 --- a/arch/arm/boot/dts/imx6sx-sdb.dts +++ b/arch/arm/boot/dts/imx6sx-sdb.dts | |||
@@ -14,6 +14,13 @@ | |||
14 | model = "Freescale i.MX6 SoloX SDB Board"; | 14 | model = "Freescale i.MX6 SoloX SDB Board"; |
15 | compatible = "fsl,imx6sx-sdb", "fsl,imx6sx"; | 15 | compatible = "fsl,imx6sx-sdb", "fsl,imx6sx"; |
16 | 16 | ||
17 | backlight { | ||
18 | compatible = "pwm-backlight"; | ||
19 | pwms = <&pwm3 0 5000000>; | ||
20 | brightness-levels = <0 4 8 16 32 64 128 255>; | ||
21 | default-brightness-level = <6>; | ||
22 | }; | ||
23 | |||
17 | memory { | 24 | memory { |
18 | reg = <0x80000000 0x40000000>; | 25 | reg = <0x80000000 0x40000000>; |
19 | }; | 26 | }; |
@@ -220,3 +227,41 @@ | |||
220 | no-1-8-v; | 227 | no-1-8-v; |
221 | status = "okay"; | 228 | status = "okay"; |
222 | }; | 229 | }; |
230 | |||
231 | &lcdif1 { | ||
232 | pinctrl-names = "default"; | ||
233 | pinctrl-0 = <&pinctrl_lcdif_dat_0 | ||
234 | &pinctrl_lcdif_ctrl_0>; | ||
235 | display = <&display>; | ||
236 | status = "okay"; | ||
237 | |||
238 | display: display { | ||
239 | bits-per-pixel = <16>; | ||
240 | bus-width = <24>; | ||
241 | |||
242 | display-timings { | ||
243 | native-mode = <&timing0>; | ||
244 | timing0: timing0 { | ||
245 | clock-frequency = <33500000>; | ||
246 | hactive = <800>; | ||
247 | vactive = <480>; | ||
248 | hback-porch = <89>; | ||
249 | hfront-porch = <164>; | ||
250 | vback-porch = <23>; | ||
251 | vfront-porch = <10>; | ||
252 | hsync-len = <10>; | ||
253 | vsync-len = <10>; | ||
254 | hsync-active = <0>; | ||
255 | vsync-active = <0>; | ||
256 | de-active = <1>; | ||
257 | pixelclk-active = <0>; | ||
258 | }; | ||
259 | }; | ||
260 | }; | ||
261 | }; | ||
262 | |||
263 | &pwm3 { | ||
264 | pinctrl-names = "default"; | ||
265 | pinctrl-0 = <&pinctrl_pwm3_1>; | ||
266 | status = "okay"; | ||
267 | }; | ||