xref: /linux/arch/arm/boot/dts/vt8500/wm8850-w70v2.dts (revision 249ebf3f65f8530beb2cbfb91bff1d83ba88d23c)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * wm8850-w70v2.dts
4 *  - Device tree file for Wondermedia WM8850 Tablet
5 *  - 'W70-V2' mainboard
6 *  - HongLianYing 'HLY070ML268-21A' 7" LCD panel
7 *
8 * Copyright (C) 2012 Tony Prisk <linux@prisktech.co.nz>
9 */
10
11/dts-v1/;
12/include/ "wm8850.dtsi"
13#include <dt-bindings/pwm/pwm.h>
14
15/ {
16	model = "Wondermedia WM8850-W70v2 Tablet";
17
18	backlight {
19		compatible = "pwm-backlight";
20		pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>;
21
22		brightness-levels = <0 40 60 80 100 130 190 255>;
23		default-brightness-level = <5>;
24	};
25};
26
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};
44
45&uart0 {
46	status = "okay";
47};
48