summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/qcom/msm8916-samsung-rossa-common.dtsi
blob: e33453c3e51e848fed078d950710304508fe4d4c (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
// SPDX-License-Identifier: GPL-2.0-only

#include "msm8916-samsung-fortuna-common.dtsi"

/* SM5504 MUIC instead of SM5502 */
/delete-node/ &muic;

/* IST3038 instead of Zinitix BT541 */
/delete-node/ &touchscreen;

&blsp_i2c1 {
	muic: extcon@14 {
		compatible = "siliconmitus,sm5504-muic";
		reg = <0x14>;
		interrupts-extended = <&tlmm 12 IRQ_TYPE_EDGE_FALLING>;
		pinctrl-0 = <&muic_int_default>;
		pinctrl-names = "default";

		usb_con: connector {
			compatible = "usb-b-connector";
			label = "micro-USB";
			type = "micro";
		};
	};
};

&blsp_i2c5 {
	touchscreen: touchscreen@50 {
		compatible = "imagis,ist3038";
		reg = <0x50>;

		interrupts-extended = <&tlmm 13 IRQ_TYPE_EDGE_FALLING>;

		touchscreen-size-x = <480>;
		touchscreen-size-y = <800>;

		vdd-supply = <&reg_vdd_tsp_a>;
		vddio-supply = <&pm8916_l6>;

		pinctrl-0 = <&tsp_int_default>;
		pinctrl-names = "default";

		linux,keycodes = <KEY_APPSELECT KEY_BACK>;
	};
};

/* On rossa backlight is controlled with MIPI DCS commands */
&clk_pwm {
	status = "disabled";
};

&clk_pwm_backlight {
	status = "disabled";
};

&s3fwrn5_nfc {
	status = "okay";
};

&st_accel {
	compatible = "st,lis2hh12";
	mount-matrix = "1",  "0", "0",
		       "0", "-1", "0",
		       "0",  "0", "1";
	status = "okay";
};