Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003  * wm8850-w70v2.dts
0004  *  - Device tree file for Wondermedia WM8850 Tablet
0005  *  - 'W70-V2' mainboard
0006  *  - HongLianYing 'HLY070ML268-21A' 7" LCD panel
0007  *
0008  * Copyright (C) 2012 Tony Prisk <linux@prisktech.co.nz>
0009  */
0010 
0011 /dts-v1/;
0012 /include/ "wm8850.dtsi"
0013 #include <dt-bindings/pwm/pwm.h>
0014 
0015 / {
0016         model = "Wondermedia WM8850-W70v2 Tablet";
0017 
0018         backlight {
0019                 compatible = "pwm-backlight";
0020                 pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>;
0021 
0022                 brightness-levels = <0 40 60 80 100 130 190 255>;
0023                 default-brightness-level = <5>;
0024         };
0025 };
0026 
0027 &fb {
0028         bits-per-pixel = <16>;
0029         display-timings {
0030                 native-mode = <&timing0>;
0031                 timing0: 800x480 {
0032                         clock-frequency = <0>; /* unused but required */
0033                         hactive = <800>;
0034                         vactive = <480>;
0035                         hfront-porch = <40>;
0036                         hback-porch = <88>;
0037                         hsync-len = <0>;
0038                         vback-porch = <32>;
0039                         vfront-porch = <11>;
0040                         vsync-len = <1>;
0041                 };
0042         };
0043 };
0044 
0045 &uart0 {
0046         status = "okay";
0047 };