~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/mediatek/mt8195-cherry-dojo-r1.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
  2 /*
  3  * Copyright (C) 2022 MediaTek Inc.
  4  */
  5 /dts-v1/;
  6 #include "mt8195-cherry.dtsi"
  7 
  8 / {
  9         model = "HP Dojo (sku 1, 3, 5, 7) board";
 10         chassis-type = "convertible";
 11         compatible = "google,dojo-sku7", "google,dojo-sku5",
 12                      "google,dojo-sku3", "google,dojo-sku1",
 13                      "google,dojo", "mediatek,mt8195";
 14 };
 15 
 16 &audio_codec {
 17         compatible = "realtek,rt5682s";
 18         realtek,amic-delay-ms = <250>;
 19 };
 20 
 21 &i2c2 {
 22         spk_r_amp: amplifier@38 {
 23                 compatible = "maxim,max98390";
 24                 reg = <0x38>;
 25                 reset-gpios = <&pio 100 GPIO_ACTIVE_LOW>;
 26                 sound-name-prefix = "Right";
 27                 #sound-dai-cells = <0>;
 28         };
 29 
 30         spk_l_amp: amplifier@39 {
 31                 compatible = "maxim,max98390";
 32                 reg = <0x39>;
 33                 sound-name-prefix = "Left";
 34                 #sound-dai-cells = <0>;
 35         };
 36 };
 37 
 38 &i2c4 {
 39         touchscreen@15 {
 40                 compatible = "hid-over-i2c";
 41                 reg = <0x15>;
 42                 hid-descr-addr = <0x0001>;
 43                 interrupts-extended = <&pio 92 IRQ_TYPE_LEVEL_LOW>;
 44                 pinctrl-names = "default";
 45                 pinctrl-0 = <&touchscreen_pins>;
 46                 post-power-on-delay-ms = <10>;
 47                 vdd-supply = <&pp3300_s3>;
 48         };
 49 };
 50 
 51 &keyboard_controller {
 52         linux,keymap = <
 53                 CROS_STD_MAIN_KEYMAP
 54 
 55                 MATRIX_KEY(0x00, 0x02, KEY_BACK)
 56                 MATRIX_KEY(0x03, 0x02, KEY_REFRESH)
 57                 MATRIX_KEY(0x02, 0x02, KEY_ZOOM)
 58                 MATRIX_KEY(0x01, 0x02, KEY_SCALE)
 59                 MATRIX_KEY(0x03, 0x04, KEY_SYSRQ)
 60                 MATRIX_KEY(0x02, 0x04, KEY_BRIGHTNESSDOWN)
 61                 MATRIX_KEY(0x01, 0x04, KEY_BRIGHTNESSUP)
 62                 MATRIX_KEY(0x02, 0x09, KEY_KBDILLUMTOGGLE)
 63                 MATRIX_KEY(0x01, 0x09, KEY_PLAYPAUSE)
 64                 MATRIX_KEY(0x00, 0x04, KEY_MICMUTE)
 65                 MATRIX_KEY(0x00, 0x01, KEY_MUTE)
 66                 MATRIX_KEY(0x01, 0x05, KEY_VOLUMEDOWN)
 67                 MATRIX_KEY(0x03, 0x05, KEY_VOLUMEUP)
 68         >;
 69 };
 70 
 71 &pcie0 {
 72         pinctrl-names = "default";
 73         pinctrl-0 = <&pcie0_pins_default>;
 74         status = "okay";
 75 };
 76 
 77 &pciephy {
 78         status = "okay";
 79 };
 80 
 81 &pio_default {
 82         pins-low-power-hdmi-disable {
 83                 pinmux = <PINMUX_GPIO31__FUNC_GPIO31>,
 84                          <PINMUX_GPIO32__FUNC_GPIO32>,
 85                          <PINMUX_GPIO33__FUNC_GPIO33>;
 86                 input-enable;
 87                 bias-pull-down;
 88         };
 89 
 90         pins-low-power-hdmi-rsel-disable {
 91                 pinmux = <PINMUX_GPIO34__FUNC_GPIO34>,
 92                          <PINMUX_GPIO35__FUNC_GPIO35>;
 93                 input-enable;
 94                 bias-pull-down = <75000>;
 95         };
 96 };
 97 
 98 &sound {
 99         compatible = "mediatek,mt8195_mt6359_max98390_rt5682";
100         model = "m8195_m98390_5682s";
101 
102         audio-routing =
103                 "Headphone", "HPOL",
104                 "Headphone", "HPOR",
105                 "IN1P", "Headset Mic",
106                 "Right Spk", "Right BE_OUT",
107                 "Left Spk", "Left BE_OUT";
108 
109         spk-playback-dai-link {
110                 codec {
111                         sound-dai = <&spk_r_amp>, <&spk_l_amp>;
112                 };
113         };
114 };
115 
116 &spk_amplifier {
117         /* Disable RT1019P, not present on Dojo */
118         status = "disabled";
119 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php