xref: /linux/arch/arm64/boot/dts/qcom/msm8916-samsung-a3u-eur.dts (revision 4fd18fc38757217c746aa063ba9e4729814dc737)
1// SPDX-License-Identifier: GPL-2.0-only
2
3/dts-v1/;
4
5#include "msm8916-samsung-a2015-common.dtsi"
6
7/ {
8	model = "Samsung Galaxy A3U (EUR)";
9	compatible = "samsung,a3u-eur", "qcom,msm8916";
10
11	reg_panel_vdd3: regulator-panel-vdd3 {
12		compatible = "regulator-fixed";
13		regulator-name = "panel_vdd3";
14		regulator-min-microvolt = <1800000>;
15		regulator-max-microvolt = <1800000>;
16
17		gpio = <&msmgpio 9 GPIO_ACTIVE_HIGH>;
18		enable-active-high;
19
20		pinctrl-names = "default";
21		pinctrl-0 = <&panel_vdd3_default>;
22	};
23};
24
25&accelerometer {
26	mount-matrix = "0", "1", "0",
27		       "1", "0", "0",
28		       "0", "0", "1";
29};
30
31&blsp_i2c5 {
32	status = "okay";
33
34	touchscreen@20 {
35		compatible = "zinitix,bt541";
36
37		reg = <0x20>;
38		interrupt-parent = <&msmgpio>;
39		interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
40
41		touchscreen-size-x = <540>;
42		touchscreen-size-y = <960>;
43
44		vdd-supply = <&reg_vdd_tsp>;
45		vddo-supply = <&pm8916_l6>;
46
47		pinctrl-names = "default";
48		pinctrl-0 = <&ts_int_default>;
49	};
50};
51
52&dsi0 {
53	panel@0 {
54		reg = <0>;
55
56		compatible = "samsung,s6e88a0-ams452ef01";
57
58		vdd3-supply = <&reg_panel_vdd3>;
59		vci-supply = <&pm8916_l17>;
60		reset-gpios = <&msmgpio 25 GPIO_ACTIVE_HIGH>;
61
62		port {
63			panel_in: endpoint {
64				remote-endpoint = <&dsi0_out>;
65			};
66		};
67	};
68};
69
70&dsi0_out {
71	data-lanes = <0 1>;
72	remote-endpoint = <&panel_in>;
73};
74
75&msmgpio {
76	panel_vdd3_default: panel-vdd3-default {
77		pins = "gpio9";
78		function = "gpio";
79
80		drive-strength = <2>;
81		bias-disable;
82	};
83
84	ts_int_default: ts-int-default {
85		pins = "gpio13";
86		function = "gpio";
87
88		drive-strength = <2>;
89		bias-disable;
90	};
91};
92