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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/mediatek/mt8186-corsola-voltorb.dtsi

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ 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.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
  2 /*
  3  * Copyright 2022 Google LLC
  4  */
  5 
  6 #include <dt-bindings/gpio/gpio.h>
  7 #include <dt-bindings/spmi/spmi.h>
  8 
  9 #include "mt8186-corsola-steelix.dtsi"
 10 
 11 / {
 12         chassis-type = "laptop";
 13 
 14         max98360a: max98360a {
 15                 compatible = "maxim,max98360a";
 16                 sdmode-gpios = <&pio 150 GPIO_ACTIVE_HIGH>;
 17                 #sound-dai-cells = <0>;
 18         };
 19 };
 20 
 21 &cpu6 {
 22         proc-supply = <&mt6319_buck1>;
 23 };
 24 
 25 &cpu7 {
 26         proc-supply = <&mt6319_buck1>;
 27 };
 28 
 29 &gpio_keys {
 30         status = "disabled";
 31 };
 32 
 33 &keyboard_controller {
 34         linux,keymap = <
 35                 MATRIX_KEY(0x00, 0x02, KEY_BACK)
 36                 MATRIX_KEY(0x03, 0x02, KEY_REFRESH)
 37                 MATRIX_KEY(0x02, 0x02, KEY_ZOOM)
 38                 MATRIX_KEY(0x01, 0x02, KEY_SCALE)
 39                 MATRIX_KEY(0x03, 0x04, KEY_SYSRQ)
 40                 MATRIX_KEY(0x02, 0x04, KEY_BRIGHTNESSDOWN)
 41                 MATRIX_KEY(0x01, 0x04, KEY_BRIGHTNESSUP)
 42                 MATRIX_KEY(0x02, 0x09, KEY_MUTE)
 43                 MATRIX_KEY(0x01, 0x09, KEY_VOLUMEDOWN)
 44                 MATRIX_KEY(0x00, 0x04, KEY_VOLUMEUP)
 45                 CROS_STD_MAIN_KEYMAP
 46         >;
 47 };
 48 
 49 &mt6366_vproc11_reg {
 50         status = "disabled";
 51 };
 52 
 53 &cluster1_opp_14 {
 54         opp-hz = /bits/ 64 <2050000000>;
 55         opp-microvolt = <1118750>;
 56 };
 57 
 58 &cluster1_opp_15 {
 59         opp-hz = /bits/ 64 <2200000000>;
 60 };
 61 
 62 &rt1019p{
 63         status = "disabled";
 64 };
 65 
 66 &sound {
 67         compatible = "mediatek,mt8186-mt6366-rt5682s-max98360-sound";
 68         status = "okay";
 69 
 70         spk-hdmi-playback-dai-link {
 71                 codec {
 72                         sound-dai = <&it6505dptx>, <&max98360a>;
 73                 };
 74         };
 75 };
 76 
 77 &spmi {
 78         pinctrl-names = "default";
 79         pinctrl-0 = <&spmi_pins>;
 80         #address-cells = <2>;
 81         #size-cells = <0>;
 82         status = "okay";
 83 
 84         pmic@6 {
 85                 compatible = "mediatek,mt6319-regulator", "mediatek,mt6315-regulator";
 86                 reg = <0x6 SPMI_USID>;
 87 
 88                 regulators {
 89                         mt6319_buck1: vbuck1 {
 90                                         regulator-name = "ppvar_dvdd_proc_bc_mt6319";
 91                                         regulator-min-microvolt = <600000>;
 92                                         regulator-max-microvolt = <1193750>;
 93                                         regulator-enable-ramp-delay = <256>;
 94                                         regulator-allowed-modes = <0 1 2>;
 95                                         regulator-always-on;
 96                         };
 97                 };
 98         };
 99 };
100 
101 &touchscreen {
102         status = "disabled";
103 };

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