blob: 32d22532cd6c1f2c4490c05d159358ce131651cc [file] [log] [blame]
Tony Priskdef4d6c2013-01-19 19:44:28 +13001/*
2 * wm8850-w70v2.dts
3 * - Device tree file for Wondermedia WM8850 Tablet
4 * - 'W70-V2' mainboard
5 * - HongLianYing 'HLY070ML268-21A' 7" LCD panel
6 *
7 * Copyright (C) 2012 Tony Prisk <linux@prisktech.co.nz>
8 *
9 * Licensed under GPLv2 or later
10 */
11
12/dts-v1/;
13/include/ "wm8850.dtsi"
14
15/ {
16 model = "Wondermedia WM8850-W70v2 Tablet";
17
Tony Priskdef4d6c2013-01-19 19:44:28 +130018 backlight {
19 compatible = "pwm-backlight";
20 pwms = <&pwm 0 50000 1>; /* duty inverted */
21
22 brightness-levels = <0 40 60 80 100 130 190 255>;
23 default-brightness-level = <5>;
24 };
25};
Tony Prisk7ab0a482013-04-03 07:20:38 +130026
27&fb {
28 bits-per-pixel = <16>;
29 display-timings {
30 native-mode = <&timing0>;
31 timing0: 800x480 {
32 clock-frequency = <0>; /* unused but required */
33 hactive = <800>;
34 vactive = <480>;
35 hfront-porch = <40>;
36 hback-porch = <88>;
37 hsync-len = <0>;
38 vback-porch = <32>;
39 vfront-porch = <11>;
40 vsync-len = <1>;
41 };
42 };
43};