Merge tag 'timers-urgent-2020-12-27' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git] / arch / arm64 / boot / dts / mediatek / mt8173-elm-hana.dtsi
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3  * Copyright 2016 MediaTek Inc.
4  */
5
6 #include "mt8173-elm.dtsi"
7
8 &i2c0 {
9         clock-frequency = <200000>;
10 };
11
12 &i2c3 {
13         touchscreen2: touchscreen@34 {
14                 compatible = "melfas,mip4_ts";
15                 reg = <0x34>;
16                 interrupt-parent = <&pio>;
17                 interrupts = <88 IRQ_TYPE_LEVEL_LOW>;
18         };
19
20         /*
21          * Lenovo 100e Chromebook 2nd Gen (MTK) and Lenovo 300e Chromebook 2nd
22          * Gen (MTK) are using synaptics touchscreen (hid-over-i2c driver) as a
23          * second source touchscreen.
24          */
25         touchscreen3: touchscreen@20 {
26                 compatible = "hid-over-i2c";
27                 reg = <0x20>;
28                 hid-descr-addr = <0x0020>;
29                 interrupt-parent = <&pio>;
30                 interrupts = <88 IRQ_TYPE_LEVEL_LOW>;
31         };
32 };
33
34 &i2c4 {
35         /*
36          * Lenovo 100e Chromebook 2nd Gen (MTK) and Lenovo 300e Chromebook 2nd
37          * Gen (MTK) are using synaptics trackpad (hid-over-i2c driver) as a
38          * second source trackpad.
39          */
40         trackpad2: trackpad@2c {
41                 compatible = "hid-over-i2c";
42                 interrupt-parent = <&pio>;
43                 interrupts = <117 IRQ_TYPE_LEVEL_LOW>;
44                 reg = <0x2c>;
45                 hid-descr-addr = <0x0020>;
46                 wakeup-source;
47         };
48 };
49
50 &mmc1 {
51         wp-gpios = <&pio 42 GPIO_ACTIVE_HIGH>;
52 };
53
54 &pio {
55         hdmi_mux_pins: hdmi_mux_pins {
56                 pins2 {
57                         pinmux = <MT8173_PIN_98_URTS1__FUNC_GPIO98>;
58                         bias-pull-up;
59                         output-high;
60                 };
61         };
62
63         mmc1_pins_default: mmc1default {
64                 pins_wp {
65                         pinmux = <MT8173_PIN_42_DSI_TE__FUNC_GPIO42>;
66                         input-enable;
67                         bias-pull-up;
68                 };
69         };
70 };