summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/qcom/msm8998-hp-envy-x2.dts
diff options
context:
space:
mode:
authorJeffrey Hugo <jeffrey.l.hugo@gmail.com>2019-06-21 17:57:21 +0300
committerBjorn Andersson <bjorn.andersson@linaro.org>2019-07-23 02:33:06 +0300
commit3f527d311932791fde67ffec32536d22d5dd3030 (patch)
treec02dbd4aadd402e9819e2e505aaa7f5c56240326 /arch/arm64/boot/dts/qcom/msm8998-hp-envy-x2.dts
parent2c6d2d3a580a852fe0a694e13af502a862293e0e (diff)
downloadlinux-3f527d311932791fde67ffec32536d22d5dd3030.tar.xz
arm64: dts: qcom: Add HP Envy x2
This adds the initial DT for the HP Envy x2 laptop. Supported functionality includes USB (host), microSD-card, keyboard, and trackpad. Signed-off-by: Jeffrey Hugo <jeffrey.l.hugo@gmail.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'arch/arm64/boot/dts/qcom/msm8998-hp-envy-x2.dts')
-rw-r--r--arch/arm64/boot/dts/qcom/msm8998-hp-envy-x2.dts30
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/msm8998-hp-envy-x2.dts b/arch/arm64/boot/dts/qcom/msm8998-hp-envy-x2.dts
new file mode 100644
index 000000000000..24073127091f
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/msm8998-hp-envy-x2.dts
@@ -0,0 +1,30 @@
+// SPDX-License-Identifier: GPL-2.0
+/* Copyright (c) 2019, Jeffrey Hugo. All rights reserved. */
+
+/dts-v1/;
+
+#include "msm8998-clamshell.dtsi"
+
+/ {
+ model = "HP Envy x2";
+ compatible = "hp,envy-x2", "qcom,msm8998";
+};
+
+&blsp1_i2c6 {
+ status = "okay";
+
+ keyboard@3a {
+ compatible = "hid-over-i2c";
+ interrupt-parent = <&tlmm>;
+ interrupts = <0x79 IRQ_TYPE_LEVEL_LOW>;
+ reg = <0x3a>;
+ hid-descr-addr = <0x0001>;
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&touchpad>;
+ };
+};
+
+&sdhc2 {
+ cd-gpios = <&tlmm 95 GPIO_ACTIVE_LOW>;
+};