xref: /linux/scripts/dtc/include-prefixes/arm/vt8500/wm8850-w70v2.dts (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later
2724ba675SRob Herring/*
3724ba675SRob Herring * wm8850-w70v2.dts
4724ba675SRob Herring *  - Device tree file for Wondermedia WM8850 Tablet
5724ba675SRob Herring *  - 'W70-V2' mainboard
6724ba675SRob Herring *  - HongLianYing 'HLY070ML268-21A' 7" LCD panel
7724ba675SRob Herring *
8724ba675SRob Herring * Copyright (C) 2012 Tony Prisk <linux@prisktech.co.nz>
9724ba675SRob Herring */
10724ba675SRob Herring
11724ba675SRob Herring/dts-v1/;
12724ba675SRob Herring/include/ "wm8850.dtsi"
13724ba675SRob Herring#include <dt-bindings/pwm/pwm.h>
14724ba675SRob Herring
15724ba675SRob Herring/ {
16724ba675SRob Herring	model = "Wondermedia WM8850-W70v2 Tablet";
17724ba675SRob Herring
18724ba675SRob Herring	backlight {
19724ba675SRob Herring		compatible = "pwm-backlight";
20724ba675SRob Herring		pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>;
21724ba675SRob Herring
22724ba675SRob Herring		brightness-levels = <0 40 60 80 100 130 190 255>;
23724ba675SRob Herring		default-brightness-level = <5>;
24724ba675SRob Herring	};
25724ba675SRob Herring};
26724ba675SRob Herring
27724ba675SRob Herring&fb {
28724ba675SRob Herring	bits-per-pixel = <16>;
29724ba675SRob Herring	display-timings {
30724ba675SRob Herring		native-mode = <&timing0>;
31*9edd534fSKrzysztof Kozlowski		timing0: timing-800x480 {
32724ba675SRob Herring			clock-frequency = <0>; /* unused but required */
33724ba675SRob Herring			hactive = <800>;
34724ba675SRob Herring			vactive = <480>;
35724ba675SRob Herring			hfront-porch = <40>;
36724ba675SRob Herring			hback-porch = <88>;
37724ba675SRob Herring			hsync-len = <0>;
38724ba675SRob Herring			vback-porch = <32>;
39724ba675SRob Herring			vfront-porch = <11>;
40724ba675SRob Herring			vsync-len = <1>;
41724ba675SRob Herring		};
42724ba675SRob Herring	};
43724ba675SRob Herring};
44724ba675SRob Herring
45724ba675SRob Herring&uart0 {
46724ba675SRob Herring	status = "okay";
47724ba675SRob Herring};
48