xref: /freebsd/sys/contrib/device-tree/src/arm64/mediatek/mt8188-geralt-ciri-sku5.dts (revision 2846c90520eb4cc74e24d586a0ea0f4a0006bc73)
1*2846c905SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2*2846c905SEmmanuel Vadot/*
3*2846c905SEmmanuel Vadot * Copyright 2024 Google LLC
4*2846c905SEmmanuel Vadot */
5*2846c905SEmmanuel Vadot/dts-v1/;
6*2846c905SEmmanuel Vadot#include "mt8188-geralt-ciri.dtsi"
7*2846c905SEmmanuel Vadot
8*2846c905SEmmanuel Vadot/ {
9*2846c905SEmmanuel Vadot	model = "Google Ciri sku5 board (rev4)";
10*2846c905SEmmanuel Vadot	compatible = "google,ciri-sku5", "google,ciri", "mediatek,mt8188";
11*2846c905SEmmanuel Vadot};
12*2846c905SEmmanuel Vadot
13*2846c905SEmmanuel Vadot&dsi_panel {
14*2846c905SEmmanuel Vadot	compatible = "ivo,t109nw41", "himax,hx83102";
15*2846c905SEmmanuel Vadot};
16*2846c905SEmmanuel Vadot
17*2846c905SEmmanuel Vadot&i2c0 {
18*2846c905SEmmanuel Vadot	/delete-node/ audio-codec@1a;
19*2846c905SEmmanuel Vadot	/delete-node/ amplifier@38;
20*2846c905SEmmanuel Vadot	/delete-node/ amplifier@39;
21*2846c905SEmmanuel Vadot
22*2846c905SEmmanuel Vadot	es8326: audio-codec@19 {
23*2846c905SEmmanuel Vadot		compatible = "everest,es8326";
24*2846c905SEmmanuel Vadot		reg = <0x19>;
25*2846c905SEmmanuel Vadot		interrupts-extended = <&pio 108 IRQ_TYPE_LEVEL_LOW>;
26*2846c905SEmmanuel Vadot		pinctrl-names = "default";
27*2846c905SEmmanuel Vadot		pinctrl-0 = <&audio_codec_pins>;
28*2846c905SEmmanuel Vadot		#sound-dai-cells = <0>;
29*2846c905SEmmanuel Vadot		everest,jack-pol = [0e];
30*2846c905SEmmanuel Vadot		everest,interrupt-clk = [00];
31*2846c905SEmmanuel Vadot	};
32*2846c905SEmmanuel Vadot
33*2846c905SEmmanuel Vadot	tas2563: amplifier@4f {
34*2846c905SEmmanuel Vadot		compatible = "ti,tas2563", "ti,tas2781";
35*2846c905SEmmanuel Vadot		reg = <0x4f>, <0x4c>; /* left / right channel */
36*2846c905SEmmanuel Vadot		reset-gpios = <&pio 118 GPIO_ACTIVE_HIGH>;
37*2846c905SEmmanuel Vadot		#sound-dai-cells = <0>;
38*2846c905SEmmanuel Vadot	};
39*2846c905SEmmanuel Vadot};
40*2846c905SEmmanuel Vadot
41*2846c905SEmmanuel Vadot&sound {
42*2846c905SEmmanuel Vadot	compatible = "mediatek,mt8188-es8326";
43*2846c905SEmmanuel Vadot	model = "mt8188_tas2563_8326";
44*2846c905SEmmanuel Vadot
45*2846c905SEmmanuel Vadot	audio-routing =
46*2846c905SEmmanuel Vadot		"ETDM1_OUT", "ETDM_SPK_PIN",
47*2846c905SEmmanuel Vadot		"ETDM2_OUT", "ETDM_HP_PIN",
48*2846c905SEmmanuel Vadot		"ETDM1_IN", "ETDM_SPK_PIN",
49*2846c905SEmmanuel Vadot		"ETDM2_IN", "ETDM_HP_PIN",
50*2846c905SEmmanuel Vadot		"ADDA Capture", "MTKAIF_PIN",
51*2846c905SEmmanuel Vadot		"Headphone Jack", "HPOL",
52*2846c905SEmmanuel Vadot		"Headphone Jack", "HPOR",
53*2846c905SEmmanuel Vadot		"MIC1", "Headset Mic";
54*2846c905SEmmanuel Vadot
55*2846c905SEmmanuel Vadot	dai-link-1 {
56*2846c905SEmmanuel Vadot		codec {
57*2846c905SEmmanuel Vadot			sound-dai = <&tas2563>;
58*2846c905SEmmanuel Vadot		};
59*2846c905SEmmanuel Vadot	};
60*2846c905SEmmanuel Vadot
61*2846c905SEmmanuel Vadot	dai-link-2 {
62*2846c905SEmmanuel Vadot		codec {
63*2846c905SEmmanuel Vadot			sound-dai = <&es8326>;
64*2846c905SEmmanuel Vadot		};
65*2846c905SEmmanuel Vadot	};
66*2846c905SEmmanuel Vadot
67*2846c905SEmmanuel Vadot	dai-link-3 {
68*2846c905SEmmanuel Vadot		codec {
69*2846c905SEmmanuel Vadot			sound-dai = <&es8326>;
70*2846c905SEmmanuel Vadot		};
71*2846c905SEmmanuel Vadot	};
72*2846c905SEmmanuel Vadot};
73