summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/qcom/msm8998-asus-novago-tp370ql.dts
blob: db5821be1e2fe75c431e79ecb31e858f154be4cc (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
// SPDX-License-Identifier: GPL-2.0
/* Copyright (c) 2019, Jeffrey Hugo. All rights reserved. */

/dts-v1/;

#include "msm8998-clamshell.dtsi"

/ {
	model = "Asus NovaGo TP370QL";
	compatible = "asus,novago-tp370ql", "qcom,msm8998";
};

&blsp1_i2c6 {
	status = "okay";

	touchpad@15 {
		compatible = "hid-over-i2c";
		interrupt-parent = <&tlmm>;
		interrupts = <0x7b IRQ_TYPE_LEVEL_LOW>;
		reg = <0x15>;
		hid-descr-addr = <0x0001>;

		pinctrl-names = "default";
		pinctrl-0 = <&touchpad>;
	};

	keyboard@3a {
		compatible = "hid-over-i2c";
		interrupt-parent = <&tlmm>;
		interrupts = <0x25 IRQ_TYPE_LEVEL_LOW>;
		reg = <0x3a>;
		hid-descr-addr = <0x0001>;
	};
};

&sdhc2 {
	cd-gpios = <&tlmm 95 GPIO_ACTIVE_HIGH>;
};

&tlmm {
	touchpad: touchpad {
		config {
			pins = "gpio123";
			bias-pull-up;
		};
	};
};