aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/dts/tegra30-lg-p895.dts
blob: 074205d5a98c9f5bd809fedfb0205669c94bd478 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// SPDX-License-Identifier: GPL-2.0
/dts-v1/;

#include "tegra30-lg-x3.dtsi"

/ {
	model = "LG Optimus Vu";
	compatible = "lge,p895", "nvidia,tegra30";

	gpio-keys {
		key-volume-up {
			label = "Volume Up";
			gpios = <&gpio TEGRA_GPIO(I, 6) GPIO_ACTIVE_LOW>;
			linux,code = <KEY_UP>;
		};
	};

	panel: panel {
		compatible = "hitachi,tx13d100vm0eaa";

		reset-gpios = <&gpio TEGRA_GPIO(W, 0) GPIO_ACTIVE_HIGH>;

		renesas,gamma = <3>;
		renesas,inversion;
		renesas,contrast;

		vcc-supply = <&vcc_3v0_lcd>;
		iovcc-supply = <&iovcc_1v8_lcd>;

		backlight = <&backlight>;
	};

	vcc_3v0_lcd: regulator-lcd {
		compatible = "regulator-fixed";
		regulator-name = "vcc_3v0_lcd";
		regulator-min-microvolt = <3000000>;
		regulator-max-microvolt = <3000000>;
		gpio = <&gpio TEGRA_GPIO(BB, 0) GPIO_ACTIVE_HIGH>;
		enable-active-high;
	};

	iovcc_1v8_lcd: regulator-lcdvio {
		compatible = "regulator-fixed";
		regulator-name = "iovcc_1v8_lcd";
		regulator-min-microvolt = <1800000>;
		regulator-max-microvolt = <1800000>;
		gpio = <&gpio TEGRA_GPIO(Y, 0) GPIO_ACTIVE_HIGH>;
		enable-active-high;
	};
};