1// SPDX-License-Identifier: (GPL-2.0 OR MIT) 2/dts-v1/; 3 4#include "omap4-samsung-espresso-common.dtsi" 5 6/ { 7 model = "Samsung Galaxy Tab 2 (7 inch)"; 8 compatible = "samsung,espresso7", "ti,omap4430", "ti,omap4"; 9 10 backlight: backlight { 11 compatible = "pwm-backlight"; 12 pinctrl-names = "default"; 13 pinctrl-0 = <&backlight_pins>; 14 pwms = <&pwm10 0 1200 0>; 15 power-supply = <®_lcd>; 16 enable-gpios = <&gpio3 31 GPIO_ACTIVE_HIGH>; 17 brightness-levels = <0 4 8 16 32 64 128 255>; 18 default-brightness-level = <2>; 19 }; 20 21 panel { 22 compatible = "samsung,ltn070nl01", "panel-lvds"; 23 power-supply = <®_lcd>; 24 width-mm = <154>; 25 height-mm = <90>; 26 data-mapping = "vesa-24"; 27 backlight = <&backlight>; 28 29 panel-timing { 30 clock-frequency = <47255554>; 31 32 hback-porch = <210>; 33 hactive = <1024>; 34 hfront-porch = <186>; 35 hsync-len = <50>; 36 37 vback-porch = <11>; 38 vactive = <600>; 39 vfront-porch = <24>; 40 vsync-len = <10>; 41 42 hsync-active = <0>; 43 vsync-active = <0>; 44 de-active = <1>; 45 pixelclk-active = <1>; 46 syncclk-active = <0>; 47 }; 48 49 port { 50 panel_in: endpoint { 51 remote-endpoint = <&bridge_out>; 52 }; 53 }; 54 }; 55}; 56 57&i2c3 { 58 touchscreen@48 { 59 compatible = "melfas,mms136"; 60 reg = <0x48>; 61 interrupt-parent = <&gpio2>; 62 interrupts = <14 IRQ_TYPE_EDGE_FALLING>; 63 touchscreen-size-x = <1024>; 64 touchscreen-size-y = <600>; 65 pinctrl-names = "default"; 66 pinctrl-0 = <&touch_pins>; 67 avdd-supply = <®_touch_ldo_en>; 68 vdd-supply = <&ldo6>; 69 }; 70}; 71