1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later
2*724ba675SRob Herring/*
3*724ba675SRob Herring * wm8850-w70v2.dts
4*724ba675SRob Herring *  - Device tree file for Wondermedia WM8850 Tablet
5*724ba675SRob Herring *  - 'W70-V2' mainboard
6*724ba675SRob Herring *  - HongLianYing 'HLY070ML268-21A' 7" LCD panel
7*724ba675SRob Herring *
8*724ba675SRob Herring * Copyright (C) 2012 Tony Prisk <linux@prisktech.co.nz>
9*724ba675SRob Herring */
10*724ba675SRob Herring
11*724ba675SRob Herring/dts-v1/;
12*724ba675SRob Herring/include/ "wm8850.dtsi"
13*724ba675SRob Herring#include <dt-bindings/pwm/pwm.h>
14*724ba675SRob Herring
15*724ba675SRob Herring/ {
16*724ba675SRob Herring	model = "Wondermedia WM8850-W70v2 Tablet";
17*724ba675SRob Herring
18*724ba675SRob Herring	backlight {
19*724ba675SRob Herring		compatible = "pwm-backlight";
20*724ba675SRob Herring		pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>;
21*724ba675SRob Herring
22*724ba675SRob Herring		brightness-levels = <0 40 60 80 100 130 190 255>;
23*724ba675SRob Herring		default-brightness-level = <5>;
24*724ba675SRob Herring	};
25*724ba675SRob Herring};
26*724ba675SRob Herring
27*724ba675SRob Herring&fb {
28*724ba675SRob Herring	bits-per-pixel = <16>;
29*724ba675SRob Herring	display-timings {
30*724ba675SRob Herring		native-mode = <&timing0>;
31*724ba675SRob Herring		timing0: 800x480 {
32*724ba675SRob Herring			clock-frequency = <0>; /* unused but required */
33*724ba675SRob Herring			hactive = <800>;
34*724ba675SRob Herring			vactive = <480>;
35*724ba675SRob Herring			hfront-porch = <40>;
36*724ba675SRob Herring			hback-porch = <88>;
37*724ba675SRob Herring			hsync-len = <0>;
38*724ba675SRob Herring			vback-porch = <32>;
39*724ba675SRob Herring			vfront-porch = <11>;
40*724ba675SRob Herring			vsync-len = <1>;
41*724ba675SRob Herring		};
42*724ba675SRob Herring	};
43*724ba675SRob Herring};
44*724ba675SRob Herring
45*724ba675SRob Herring&uart0 {
46*724ba675SRob Herring	status = "okay";
47*724ba675SRob Herring};
48