1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 /* 3 * Copyright 2022 Google LLC 4 */ 5 /dts-v1/; 6 #include "mt8192-asurada.dtsi" 7 #include <dt-bindings/leds/common.h> 8 9 / { 10 model = "Google Spherion (rev4)"; 11 chassis-type = "laptop"; 12 compatible = "google,spherion-rev4", "google,spherion", 13 "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 &rt5682 { 61 compatible = "realtek,rt5682s"; 62 }; 63 64 &sound { 65 compatible = "mediatek,mt8192_mt6359_rt1015p_rt5682s"; 66 67 speaker-codecs { 68 sound-dai = <&rt1015p>; 69 }; 70 71 headset-codec { 72 sound-dai = <&rt5682 0>; 73 }; 74 }; 75 76 &touchscreen { 77 compatible = "elan,ekth3500"; 78 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.