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