1 // SPDX-License-Identifier: GPL-2.0-or-later 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* 2 /* 3 * wm8850-w70v2.dts 3 * wm8850-w70v2.dts 4 * - Device tree file for Wondermedia WM8850 4 * - Device tree file for Wondermedia WM8850 Tablet 5 * - 'W70-V2' mainboard 5 * - 'W70-V2' mainboard 6 * - HongLianYing 'HLY070ML268-21A' 7" LCD pa 6 * - HongLianYing 'HLY070ML268-21A' 7" LCD panel 7 * 7 * 8 * Copyright (C) 2012 Tony Prisk <linux@priskte 8 * Copyright (C) 2012 Tony Prisk <linux@prisktech.co.nz> 9 */ 9 */ 10 10 11 /dts-v1/; 11 /dts-v1/; 12 /include/ "wm8850.dtsi" 12 /include/ "wm8850.dtsi" 13 #include <dt-bindings/pwm/pwm.h> 13 #include <dt-bindings/pwm/pwm.h> 14 14 15 / { 15 / { 16 model = "Wondermedia WM8850-W70v2 Tabl 16 model = "Wondermedia WM8850-W70v2 Tablet"; 17 17 18 backlight { 18 backlight { 19 compatible = "pwm-backlight"; 19 compatible = "pwm-backlight"; 20 pwms = <&pwm 0 50000 PWM_POLAR 20 pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>; 21 21 22 brightness-levels = <0 40 60 8 22 brightness-levels = <0 40 60 80 100 130 190 255>; 23 default-brightness-level = <5> 23 default-brightness-level = <5>; 24 }; 24 }; 25 }; 25 }; 26 26 27 &fb { 27 &fb { 28 bits-per-pixel = <16>; 28 bits-per-pixel = <16>; 29 display-timings { 29 display-timings { 30 native-mode = <&timing0>; 30 native-mode = <&timing0>; 31 timing0: timing-800x480 { 31 timing0: timing-800x480 { 32 clock-frequency = <0>; 32 clock-frequency = <0>; /* unused but required */ 33 hactive = <800>; 33 hactive = <800>; 34 vactive = <480>; 34 vactive = <480>; 35 hfront-porch = <40>; 35 hfront-porch = <40>; 36 hback-porch = <88>; 36 hback-porch = <88>; 37 hsync-len = <0>; 37 hsync-len = <0>; 38 vback-porch = <32>; 38 vback-porch = <32>; 39 vfront-porch = <11>; 39 vfront-porch = <11>; 40 vsync-len = <1>; 40 vsync-len = <1>; 41 }; 41 }; 42 }; 42 }; 43 }; 43 }; 44 44 45 &uart0 { 45 &uart0 { 46 status = "okay"; 46 status = "okay"; 47 }; 47 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.