summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3399-puma-mipidsi.dts21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-puma-mipidsi.dts b/arch/arm64/boot/dts/rockchip/rk3399-puma-mipidsi.dts
index 794839d81ba7..f30ff4d11c39 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-puma-mipidsi.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-puma-mipidsi.dts
@@ -111,3 +111,24 @@
};
};
};
+
+&i2c1 {
+ gsl1680 {
+ compatible = "silead,gsl1680";
+ reg = <0x40>;
+ // GPIO2_B3 = CSI_MCLK = gpio2 23
+ interrupt-parent = <&gpio2>;
+ interrupts = <23 IRQ_TYPE_LEVEL_LOW>; // TODO THIS IS PROBABLY WRONG
+ // GPIO1_C7 = LVDS_BLEN = gpio1 23
+ power-gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
+ touchscreen-size-x = <1720>;
+ touchscreen-size-y = <1150>;
+ touchscreen-swapped-x-y;
+ touchscreen-inverted-x;
+ touchscreen-inverted-y;
+
+ silead,max-fingers = <5>;
+ // Place into /lib/firmware/silead
+ firmware-name = "elcom-plain.fw";
+ };
+};