1// SPDX-License-Identifier: GPL-2.0
2/* Copyright (c) 2019, Jeffrey Hugo. All rights reserved. */
3
4/dts-v1/;
5
6#include "msm8998-clamshell.dtsi"
7
8/ {
9	model = "Asus NovaGo TP370QL";
10	compatible = "asus,novago-tp370ql", "qcom,msm8998";
11	chassis-type = "convertible";
12};
13
14&blsp1_i2c6 {
15	status = "okay";
16
17	touchpad@15 {
18		compatible = "hid-over-i2c";
19		interrupt-parent = <&tlmm>;
20		interrupts = <0x7b IRQ_TYPE_LEVEL_LOW>;
21		reg = <0x15>;
22		hid-descr-addr = <0x0001>;
23
24		pinctrl-names = "default";
25		pinctrl-0 = <&touchpad>;
26	};
27
28	keyboard@3a {
29		compatible = "hid-over-i2c";
30		interrupt-parent = <&tlmm>;
31		interrupts = <0x25 IRQ_TYPE_LEVEL_LOW>;
32		reg = <0x3a>;
33		hid-descr-addr = <0x0001>;
34	};
35};
36
37&sdhc2 {
38	cd-gpios = <&tlmm 95 GPIO_ACTIVE_HIGH>;
39};
40
41&tlmm {
42	touchpad: touchpad {
43		config {
44			pins = "gpio123";
45			bias-pull-up;
46		};
47	};
48};
49