summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/mediatek/mt8188-geralt-ciri-sku5.dts
blob: bf87201ccf27354be46f01dc95c2a13a118d196b (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
60
61
62
63
64
65
66
67
68
69
70
71
72
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
/*
 * Copyright 2024 Google LLC
 */
/dts-v1/;
#include "mt8188-geralt-ciri.dtsi"

/ {
	model = "Google Ciri sku5 board (rev4)";
	compatible = "google,ciri-sku5", "google,ciri", "mediatek,mt8188";
};

&dsi_panel {
	compatible = "ivo,t109nw41", "himax,hx83102";
};

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

	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];
	};

	tas2563: amplifier@4f {
		compatible = "ti,tas2563", "ti,tas2781";
		reg = <0x4f>, <0x4c>; /* left / right channel */
		reset-gpios = <&pio 118 GPIO_ACTIVE_HIGH>;
		#sound-dai-cells = <0>;
	};
};

&sound {
	compatible = "mediatek,mt8188-es8326";
	model = "mt8188_tas2563_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";

	dai-link-1 {
		codec {
			sound-dai = <&tas2563>;
		};
	};

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

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