Home | History | Annotate | Line # | Download | only in qcom
      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 };
     12 
     13 &blsp1_i2c6 {
     14 	status = "okay";
     15 
     16 	touchpad@15 {
     17 		compatible = "hid-over-i2c";
     18 		interrupt-parent = <&tlmm>;
     19 		interrupts = <0x7b IRQ_TYPE_LEVEL_LOW>;
     20 		reg = <0x15>;
     21 		hid-descr-addr = <0x0001>;
     22 
     23 		pinctrl-names = "default";
     24 		pinctrl-0 = <&touchpad>;
     25 	};
     26 
     27 	keyboard@3a {
     28 		compatible = "hid-over-i2c";
     29 		interrupt-parent = <&tlmm>;
     30 		interrupts = <0x25 IRQ_TYPE_LEVEL_LOW>;
     31 		reg = <0x3a>;
     32 		hid-descr-addr = <0x0001>;
     33 	};
     34 };
     35 
     36 &sdhc2 {
     37 	cd-gpios = <&tlmm 95 GPIO_ACTIVE_HIGH>;
     38 };
     39 
     40 &tlmm {
     41 	touchpad: touchpad {
     42 		config {
     43 			pins = "gpio123";
     44 			bias-pull-up;
     45 		};
     46 	};
     47 };
     48