Debian Codegraph @

arch/arm/boot/dts/vt8500/wm8850-w70v2.dts

raw
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 <[email protected]>
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 memory@0 {
27 device_type = "memory";
28 reg = <0x0 0x20000000>;
29 };
30 };
31
32 &fb {
33 bits-per-pixel = <16>;
34 display-timings {
35 native-mode = <&timing0>;
36 timing0: timing-800x480 {
37 clock-frequency = <0>; /* unused but required */
38 hactive = <800>;
39 vactive = <480>;
40 hfront-porch = <40>;
41 hback-porch = <88>;
42 hsync-len = <0>;
43 vback-porch = <32>;
44 vfront-porch = <11>;
45 vsync-len = <1>;
46 };
47 };
48 };
49
50 &uart0 {
51 status = "okay";
52 };