summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/wm8850-w70v2.dts
diff options
context:
space:
mode:
authorTony Prisk <linux@prisktech.co.nz>2013-01-19 10:44:28 +0400
committerOlof Johansson <olof@lixom.net>2013-01-22 11:20:08 +0400
commitdef4d6c044ea1f5f58ed6d422e6797fb0b1cfb63 (patch)
tree35fa3dcf552f5bd5f230fcb84b5a3765f5f57c34 /arch/arm/boot/dts/wm8850-w70v2.dts
parent8d31bfa551b9a1a61119e6d8fde08d0fa8cdfafb (diff)
downloadlinux-def4d6c044ea1f5f58ed6d422e6797fb0b1cfb63.tar.xz
dts: vt8500: Add initial dts support for WM8850
This patch adds a soc dtsi for the Wondermedia WM8850. A board dts file is also included for the W70v2 tablet, with support for all the drivers currently in mainline. Signed-off-by: Tony Prisk <linux@prisktech.co.nz> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/boot/dts/wm8850-w70v2.dts')
-rw-r--r--arch/arm/boot/dts/wm8850-w70v2.dts47
1 files changed, 47 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/wm8850-w70v2.dts b/arch/arm/boot/dts/wm8850-w70v2.dts
new file mode 100644
index 000000000000..fcc660c89540
--- /dev/null
+++ b/arch/arm/boot/dts/wm8850-w70v2.dts
@@ -0,0 +1,47 @@
+/*
+ * wm8850-w70v2.dts
+ * - Device tree file for Wondermedia WM8850 Tablet
+ * - 'W70-V2' mainboard
+ * - HongLianYing 'HLY070ML268-21A' 7" LCD panel
+ *
+ * Copyright (C) 2012 Tony Prisk <linux@prisktech.co.nz>
+ *
+ * Licensed under GPLv2 or later
+ */
+
+/dts-v1/;
+/include/ "wm8850.dtsi"
+
+/ {
+ model = "Wondermedia WM8850-W70v2 Tablet";
+
+ /*
+ * Display node is based on Sascha Hauer's patch on dri-devel.
+ * Added a bpp property to calculate the size of the framebuffer
+ * until the binding is formalized.
+ */
+ display: display@0 {
+ modes {
+ mode0: mode@0 {
+ hactive = <800>;
+ vactive = <480>;
+ hback-porch = <88>;
+ hfront-porch = <40>;
+ hsync-len = <0>;
+ vback-porch = <32>;
+ vfront-porch = <11>;
+ vsync-len = <1>;
+ clock = <0>; /* unused but required */
+ bpp = <16>; /* non-standard but required */
+ };
+ };
+ };
+
+ backlight {
+ compatible = "pwm-backlight";
+ pwms = <&pwm 0 50000 1>; /* duty inverted */
+
+ brightness-levels = <0 40 60 80 100 130 190 255>;
+ default-brightness-level = <5>;
+ };
+};