summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/mediatek/mt8188-geralt-ciri-sku2.dts
blob: ef56786fc2be5a9997f13c42fd9e356652992b96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
/*
 * Copyright 2024 Google LLC
 */
/dts-v1/;
#include "mt8188-geralt-ciri.dtsi"

/ {
	model = "Google Ciri sku2 board";
	compatible = "google,ciri-sku2", "google,ciri", "mediatek,mt8188";
};

&dsi_panel {
	compatible = "boe,nv110wum-l60", "himax,hx83102";
};

&i2c0 {
	/delete-node/ audio-codec@1a;

	es8326: audio-codec@19 {
		compatible = "everest,es8326";
		reg = <0x19>;
		interrupts-extended = <&pio 108 IRQ_TYPE_LEVEL_LOW>;
		pinctrl-names = "default";
		pinctrl-0 = <&audio_codec_pins>;
		#sound-dai-cells = <0>;
		everest,jack-pol = [0e];
		everest,interrupt-clk = [00];
	};
};

&sound {
	compatible = "mediatek,mt8188-es8326";
	model = "mt8188_m98390_8326";

	audio-routing =
		"ETDM1_OUT", "ETDM_SPK_PIN",
		"ETDM2_OUT", "ETDM_HP_PIN",
		"ETDM1_IN", "ETDM_SPK_PIN",
		"ETDM2_IN", "ETDM_HP_PIN",
		"ADDA Capture", "MTKAIF_PIN",
		"Headphone Jack", "HPOL",
		"Headphone Jack", "HPOR",
		"MIC1", "Headset Mic",
		"Left Spk", "Front Left BE_OUT",
		"Right Spk", "Front Right BE_OUT";

	dai-link-2 {
		codec {
			sound-dai = <&es8326>;
		};
	};

	dai-link-3 {
		codec {
			sound-dai = <&es8326>;
		};
	};
};