The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/src/arm64/mediatek/mt8173-elm-hana.dtsi

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    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 };

Cache object: 128ce47de9d5b9ce71a88e93aa1e91b2


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.