blob: 7a563d2523b02805c84e8521984bf451601dffc9 [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"
Laurent Pincharteb9bdef2013-07-18 00:54:24 +020014#include <dt-bindings/pwm/pwm.h>
Tony Priskdef4d6c2013-01-19 19:44:28 +130015
16/ {
17 model = "Wondermedia WM8850-W70v2 Tablet";
18
Tony Priskdef4d6c2013-01-19 19:44:28 +130019 backlight {
20 compatible = "pwm-backlight";
Laurent Pincharteb9bdef2013-07-18 00:54:24 +020021 pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>;
Tony Priskdef4d6c2013-01-19 19:44:28 +130022
23 brightness-levels = <0 40 60 80 100 130 190 255>;
24 default-brightness-level = <5>;
25 };
26};
Tony Prisk7ab0a482013-04-03 07:20:38 +130027
28&fb {
29 bits-per-pixel = <16>;
30 display-timings {
31 native-mode = <&timing0>;
32 timing0: 800x480 {
33 clock-frequency = <0>; /* unused but required */
34 hactive = <800>;
35 vactive = <480>;
36 hfront-porch = <40>;
37 hback-porch = <88>;
38 hsync-len = <0>;
39 vback-porch = <32>;
40 vfront-porch = <11>;
41 vsync-len = <1>;
42 };
43 };
44};
Tony Prisk55954f82013-04-23 14:23:26 +120045
46&uart0 {
47 status = "okay";
48};