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/mt8192-asurada-spherion-r0.dts

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 OR MIT)
    2 /*
    3  * Copyright 2021 Google LLC
    4  */
    5 /dts-v1/;
    6 #include "mt8192-asurada.dtsi"
    7 #include <dt-bindings/leds/common.h>
    8 
    9 / {
   10         model = "Google Spherion (rev0 - 3)";
   11         compatible = "google,spherion-rev3", "google,spherion-rev2",
   12                      "google,spherion-rev1", "google,spherion-rev0",
   13                      "google,spherion", "mediatek,mt8192";
   14 
   15         pwmleds {
   16                 compatible = "pwm-leds";
   17 
   18                 led {
   19                         function = LED_FUNCTION_KBD_BACKLIGHT;
   20                         color = <LED_COLOR_ID_WHITE>;
   21                         pwms = <&cros_ec_pwm 0>;
   22                         max-brightness = <1023>;
   23                 };
   24         };
   25 };
   26 
   27 &cros_ec_pwm {
   28         status = "okay";
   29 };
   30 
   31 &keyboard_controller {
   32         function-row-physmap = <
   33                 MATRIX_KEY(0x00, 0x02, 0)       /* T1 */
   34                 MATRIX_KEY(0x03, 0x02, 0)       /* T2 */
   35                 MATRIX_KEY(0x02, 0x02, 0)       /* T3 */
   36                 MATRIX_KEY(0x01, 0x02, 0)       /* T4 */
   37                 MATRIX_KEY(0x03, 0x04, 0)       /* T5 */
   38                 MATRIX_KEY(0x02, 0x04, 0)       /* T6 */
   39                 MATRIX_KEY(0x01, 0x04, 0)       /* T7 */
   40                 MATRIX_KEY(0x02, 0x09, 0)       /* T8 */
   41                 MATRIX_KEY(0x01, 0x09, 0)       /* T9 */
   42                 MATRIX_KEY(0x00, 0x04, 0)       /* T10 */
   43         >;
   44         linux,keymap = <
   45                 MATRIX_KEY(0x00, 0x02, KEY_BACK)
   46                 MATRIX_KEY(0x03, 0x02, KEY_REFRESH)
   47                 MATRIX_KEY(0x02, 0x02, KEY_FULL_SCREEN)
   48                 MATRIX_KEY(0x01, 0x02, KEY_SCALE)
   49                 MATRIX_KEY(0x03, 0x04, KEY_SYSRQ)
   50                 MATRIX_KEY(0x02, 0x04, KEY_BRIGHTNESSDOWN)
   51                 MATRIX_KEY(0x01, 0x04, KEY_BRIGHTNESSUP)
   52                 MATRIX_KEY(0x02, 0x09, KEY_MUTE)
   53                 MATRIX_KEY(0x01, 0x09, KEY_VOLUMEDOWN)
   54                 MATRIX_KEY(0x00, 0x04, KEY_VOLUMEUP)
   55 
   56                 CROS_STD_MAIN_KEYMAP
   57         >;
   58 };
   59 
   60 &touchscreen {
   61         compatible = "elan,ekth3500";
   62 };

Cache object: be0e558e96bf7551b9a508a4153c083e


[ 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.