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" |
Laurent Pinchart | eb9bdef | 2013-07-18 00:54:24 +0200 | [diff] [blame] | 14 | #include <dt-bindings/pwm/pwm.h> |
Tony Prisk | def4d6c | 2013-01-19 19:44:28 +1300 | [diff] [blame] | 15 | |
| 16 | / { |
| 17 | model = "Wondermedia WM8850-W70v2 Tablet"; |
| 18 | |
Tony Prisk | def4d6c | 2013-01-19 19:44:28 +1300 | [diff] [blame] | 19 | backlight { |
| 20 | compatible = "pwm-backlight"; |
Laurent Pinchart | eb9bdef | 2013-07-18 00:54:24 +0200 | [diff] [blame] | 21 | pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>; |
Tony Prisk | def4d6c | 2013-01-19 19:44:28 +1300 | [diff] [blame] | 22 | |
| 23 | brightness-levels = <0 40 60 80 100 130 190 255>; |
| 24 | default-brightness-level = <5>; |
| 25 | }; |
| 26 | }; |
Tony Prisk | 7ab0a48 | 2013-04-03 07:20:38 +1300 | [diff] [blame] | 27 | |
| 28 | &fb { |
| 29 | bits-per-pixel = <16>; |
| 30 | display-timings { |
| 31 | native-mode = <&timing0>; |
| 32 | timing0: 800x480 { |
| 33 | clock-frequency = <0>; /* unused but required */ |
| 34 | hactive = <800>; |
| 35 | vactive = <480>; |
| 36 | hfront-porch = <40>; |
| 37 | hback-porch = <88>; |
| 38 | hsync-len = <0>; |
| 39 | vback-porch = <32>; |
| 40 | vfront-porch = <11>; |
| 41 | vsync-len = <1>; |
| 42 | }; |
| 43 | }; |
| 44 | }; |
Tony Prisk | 55954f8 | 2013-04-23 14:23:26 +1200 | [diff] [blame] | 45 | |
| 46 | &uart0 { |
| 47 | status = "okay"; |
| 48 | }; |