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&dsi0 {
32	panel@0 {
33		reg = <0>;
34
35		compatible = "samsung,s6e88a0-ams452ef01";
36
37		vdd3-supply = <&reg_panel_vdd3>;
38		vci-supply = <&pm8916_l17>;
39		reset-gpios = <&msmgpio 25 GPIO_ACTIVE_HIGH>;
40
41		port {
42			panel_in: endpoint {
43				remote-endpoint = <&dsi0_out>;
44			};
45		};
46	};
47};
48
49&dsi0_out {
50	data-lanes = <0 1>;
51	remote-endpoint = <&panel_in>;
52};
53
54&msmgpio {
55	panel_vdd3_default: panel-vdd3-default {
56		pins = "gpio9";
57		function = "gpio";
58
59		drive-strength = <2>;
60		bias-disable;
61	};
62};
63