• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
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#include <dt-bindings/pwm/pwm.h>
15
16/ {
17	model = "Wondermedia WM8850-W70v2 Tablet";
18
19	backlight {
20		compatible = "pwm-backlight";
21		pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>;
22
23		brightness-levels = <0 40 60 80 100 130 190 255>;
24		default-brightness-level = <5>;
25	};
26};
27
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};
45
46&uart0 {
47	status = "okay";
48};
49