xref: /linux/scripts/dtc/include-prefixes/arm64/mediatek/mt8188-geralt-ciri-sku2.dts (revision 1260ed77798502de9c98020040d2995008de10cc)
1*5e6af7f5SFei Shao// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2*5e6af7f5SFei Shao/*
3*5e6af7f5SFei Shao * Copyright 2024 Google LLC
4*5e6af7f5SFei Shao */
5*5e6af7f5SFei Shao/dts-v1/;
6*5e6af7f5SFei Shao#include "mt8188-geralt-ciri.dtsi"
7*5e6af7f5SFei Shao
8*5e6af7f5SFei Shao/ {
9*5e6af7f5SFei Shao	model = "Google Ciri sku2 board";
10*5e6af7f5SFei Shao	compatible = "google,ciri-sku2", "google,ciri", "mediatek,mt8188";
11*5e6af7f5SFei Shao};
12*5e6af7f5SFei Shao
13*5e6af7f5SFei Shao&dsi_panel {
14*5e6af7f5SFei Shao	compatible = "boe,nv110wum-l60", "himax,hx83102";
15*5e6af7f5SFei Shao};
16*5e6af7f5SFei Shao
17*5e6af7f5SFei Shao&i2c0 {
18*5e6af7f5SFei Shao	/delete-node/ audio-codec@1a;
19*5e6af7f5SFei Shao
20*5e6af7f5SFei Shao	es8326: audio-codec@19 {
21*5e6af7f5SFei Shao		compatible = "everest,es8326";
22*5e6af7f5SFei Shao		reg = <0x19>;
23*5e6af7f5SFei Shao		interrupts-extended = <&pio 108 IRQ_TYPE_LEVEL_LOW>;
24*5e6af7f5SFei Shao		pinctrl-names = "default";
25*5e6af7f5SFei Shao		pinctrl-0 = <&audio_codec_pins>;
26*5e6af7f5SFei Shao		#sound-dai-cells = <0>;
27*5e6af7f5SFei Shao		everest,jack-pol = [0e];
28*5e6af7f5SFei Shao		everest,interrupt-clk = [00];
29*5e6af7f5SFei Shao	};
30*5e6af7f5SFei Shao};
31*5e6af7f5SFei Shao
32*5e6af7f5SFei Shao&sound {
33*5e6af7f5SFei Shao	compatible = "mediatek,mt8188-es8326";
34*5e6af7f5SFei Shao	model = "mt8188_m98390_8326";
35*5e6af7f5SFei Shao
36*5e6af7f5SFei Shao	audio-routing =
37*5e6af7f5SFei Shao		"ETDM1_OUT", "ETDM_SPK_PIN",
38*5e6af7f5SFei Shao		"ETDM2_OUT", "ETDM_HP_PIN",
39*5e6af7f5SFei Shao		"ETDM1_IN", "ETDM_SPK_PIN",
40*5e6af7f5SFei Shao		"ETDM2_IN", "ETDM_HP_PIN",
41*5e6af7f5SFei Shao		"ADDA Capture", "MTKAIF_PIN",
42*5e6af7f5SFei Shao		"Headphone Jack", "HPOL",
43*5e6af7f5SFei Shao		"Headphone Jack", "HPOR",
44*5e6af7f5SFei Shao		"MIC1", "Headset Mic",
45*5e6af7f5SFei Shao		"Left Spk", "Front Left BE_OUT",
46*5e6af7f5SFei Shao		"Right Spk", "Front Right BE_OUT";
47*5e6af7f5SFei Shao
48*5e6af7f5SFei Shao	dai-link-2 {
49*5e6af7f5SFei Shao		codec {
50*5e6af7f5SFei Shao			sound-dai = <&es8326>;
51*5e6af7f5SFei Shao		};
52*5e6af7f5SFei Shao	};
53*5e6af7f5SFei Shao
54*5e6af7f5SFei Shao	dai-link-3 {
55*5e6af7f5SFei Shao		codec {
56*5e6af7f5SFei Shao			sound-dai = <&es8326>;
57*5e6af7f5SFei Shao		};
58*5e6af7f5SFei Shao	};
59*5e6af7f5SFei Shao};
60