fcc660c89540b9db811f68519d2c4c20c54c9a0c
[platform/adaptation/renesas_rcar/renesas_kernel.git] / arch / arm / boot / dts / wm8850-w70v2.dts
1 /*
2  * wm8850-w70v2.dts
3  *  - Device tree file for Wondermedia WM8850 Tablet
4  *  - 'W70-V2' mainboard
5  *  - HongLianYing 'HLY070ML268-21A' 7" LCD panel
6  *
7  * Copyright (C) 2012 Tony Prisk <linux@prisktech.co.nz>
8  *
9  * Licensed under GPLv2 or later
10  */
11
12 /dts-v1/;
13 /include/ "wm8850.dtsi"
14
15 / {
16         model = "Wondermedia WM8850-W70v2 Tablet";
17
18         /*
19          * Display node is based on Sascha Hauer's patch on dri-devel.
20          * Added a bpp property to calculate the size of the framebuffer
21          * until the binding is formalized.
22          */
23         display: display@0 {
24                 modes {
25                         mode0: mode@0 {
26                                 hactive = <800>;
27                                 vactive = <480>;
28                                 hback-porch = <88>;
29                                 hfront-porch = <40>;
30                                 hsync-len = <0>;
31                                 vback-porch = <32>;
32                                 vfront-porch = <11>;
33                                 vsync-len = <1>;
34                                 clock = <0>;    /* unused but required */
35                                 bpp = <16>;     /* non-standard but required */
36                         };
37                 };
38         };
39
40         backlight {
41                 compatible = "pwm-backlight";
42                 pwms = <&pwm 0 50000 1>;        /* duty inverted */
43
44                 brightness-levels = <0 40 60 80 100 130 190 255>;
45                 default-brightness-level = <5>;
46         };
47 };