Tony Prisk | def4d6c | 2013-01-19 19:44:28 +1300 | [diff] [blame] | 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 | |
Tony Prisk | def4d6c | 2013-01-19 19:44:28 +1300 | [diff] [blame] | 18 | backlight { |
| 19 | compatible = "pwm-backlight"; |
| 20 | pwms = <&pwm 0 50000 1>; /* duty inverted */ |
| 21 | |
| 22 | brightness-levels = <0 40 60 80 100 130 190 255>; |
| 23 | default-brightness-level = <5>; |
| 24 | }; |
| 25 | }; |
Tony Prisk | 7ab0a48 | 2013-04-03 07:20:38 +1300 | [diff] [blame] | 26 | |
| 27 | &fb { |
| 28 | bits-per-pixel = <16>; |
| 29 | display-timings { |
| 30 | native-mode = <&timing0>; |
| 31 | timing0: 800x480 { |
| 32 | clock-frequency = <0>; /* unused but required */ |
| 33 | hactive = <800>; |
| 34 | vactive = <480>; |
| 35 | hfront-porch = <40>; |
| 36 | hback-porch = <88>; |
| 37 | hsync-len = <0>; |
| 38 | vback-porch = <32>; |
| 39 | vfront-porch = <11>; |
| 40 | vsync-len = <1>; |
| 41 | }; |
| 42 | }; |
| 43 | }; |