// 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";
	chassis-type = "convertible";
};

&blsp1_i2c6 {
	status = "okay";

	touchpad@15 {
		compatible = "hid-over-i2c";
		reg = <0x15>;
		pinctrl-names = "default";
		pinctrl-0 = <&touchpad>;

		interrupt-parent = <&tlmm>;
		interrupts = <123 IRQ_TYPE_LEVEL_LOW>;

		hid-descr-addr = <0x0001>;
	};

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

		hid-descr-addr = <0x0001>;
	};
};

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