Debian Codegraph @

scripts/dtc/include-prefixes/arm64/mediatek/mt8186-corsola-squirtle.dts

raw
1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
2 /*
3 * Copyright 2024 Google LLC
4 */
5
6 /dts-v1/;
7 #include "mt8186-corsola-voltorb.dtsi"
8
9 / {
10 model = "Google squirtle board";
11 compatible = "google,squirtle", "mediatek,mt8186";
12 chassis-type = "convertible";
13 };
14
15 &i2c1 {
16 touchscreen@10 {
17 compatible = "elan,ekth6915";
18 reg = <0x10>;
19 interrupts-extended = <&pio 12 IRQ_TYPE_LEVEL_LOW>;
20 pinctrl-names = "default";
21 pinctrl-0 = <&touchscreen_pins>;
22 reset-gpios = <&pio 60 GPIO_ACTIVE_LOW>;
23 vcc33-supply = <&pp3300_s3>;
24 status = "fail-needs-probe";
25 };
26
27 touchscreen@16 {
28 compatible = "elan,ekth8d18", "elan,ekth6a12nay";
29 reg = <0x16>;
30 interrupts-extended = <&pio 12 IRQ_TYPE_LEVEL_LOW>;
31 pinctrl-names = "default";
32 pinctrl-0 = <&touchscreen_pins>;
33 reset-gpios = <&pio 60 GPIO_ACTIVE_LOW>;
34 vcc33-supply = <&pp3300_s3>;
35 status = "fail-needs-probe";
36 };
37 };
38
39 &i2c2 {
40 trackpad@68 {
41 compatible = "hid-over-i2c";
42 reg = <0x68>;
43 hid-descr-addr = <0x20>;
44 interrupts-extended = <&pio 11 IRQ_TYPE_LEVEL_LOW>;
45 pinctrl-names = "default";
46 pinctrl-0 = <&trackpad_pin>;
47 vdd-supply = <&pp3300_s3>;
48 wakeup-source;
49 status = "fail-needs-probe";
50 };
51 };
52
53 &i2c5 {
54 clock-frequency = <400000>;
55
56 /delete-node/ codec@1a;
57
58 rt5650: codec@1a {
59 compatible = "realtek,rt5650";
60 reg = <0x1a>;
61 interrupts-extended = <&pio 17 IRQ_TYPE_EDGE_BOTH>;
62 avdd-supply = <&mt6366_vio18_reg>;
63 cpvdd-supply = <&mt6366_vio18_reg>;
64 pinctrl-names = "default";
65 pinctrl-0 = <&speaker_codec_pins_default>;
66 cbj-sleeve-gpios = <&pio 150 GPIO_ACTIVE_HIGH>;
67 #sound-dai-cells = <0>;
68 realtek,dmic1-data-pin = <2>;
69 realtek,jd-mode = <2>;
70 };
71 };
72
73 &sound {
74 compatible = "mediatek,mt8186-mt6366-rt5650-sound";
75 model = "mt8186_rt5650";
76
77 audio-routing =
78 "Headphone", "HPOL",
79 "Headphone", "HPOR",
80 "HDMI1", "TX";
81
82 hs-playback-dai-link {
83 codec {
84 sound-dai = <&rt5650>;
85 };
86 };
87
88 hs-capture-dai-link {
89 codec {
90 sound-dai = <&rt5650>;
91 };
92 };
93
94 spk-hdmi-playback-dai-link {
95 codec {
96 sound-dai = <&it6505dptx>;
97 };
98 };
99 };
100
101 &speaker_codec {
102 status = "disabled";
103 };
104
105 &trackpad_steelix {
106 status = "disabled";
107 };