xref: /freebsd/sys/contrib/device-tree/src/arm64/mediatek/mt8188-geralt-ciri-sku2.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 sku2 board";
10*2846c905SEmmanuel Vadot	compatible = "google,ciri-sku2", "google,ciri", "mediatek,mt8188";
11*2846c905SEmmanuel Vadot};
12*2846c905SEmmanuel Vadot
13*2846c905SEmmanuel Vadot&dsi_panel {
14*2846c905SEmmanuel Vadot	compatible = "boe,nv110wum-l60", "himax,hx83102";
15*2846c905SEmmanuel Vadot};
16*2846c905SEmmanuel Vadot
17*2846c905SEmmanuel Vadot&i2c0 {
18*2846c905SEmmanuel Vadot	/delete-node/ audio-codec@1a;
19*2846c905SEmmanuel Vadot
20*2846c905SEmmanuel Vadot	es8326: audio-codec@19 {
21*2846c905SEmmanuel Vadot		compatible = "everest,es8326";
22*2846c905SEmmanuel Vadot		reg = <0x19>;
23*2846c905SEmmanuel Vadot		interrupts-extended = <&pio 108 IRQ_TYPE_LEVEL_LOW>;
24*2846c905SEmmanuel Vadot		pinctrl-names = "default";
25*2846c905SEmmanuel Vadot		pinctrl-0 = <&audio_codec_pins>;
26*2846c905SEmmanuel Vadot		#sound-dai-cells = <0>;
27*2846c905SEmmanuel Vadot		everest,jack-pol = [0e];
28*2846c905SEmmanuel Vadot		everest,interrupt-clk = [00];
29*2846c905SEmmanuel Vadot	};
30*2846c905SEmmanuel Vadot};
31*2846c905SEmmanuel Vadot
32*2846c905SEmmanuel Vadot&sound {
33*2846c905SEmmanuel Vadot	compatible = "mediatek,mt8188-es8326";
34*2846c905SEmmanuel Vadot	model = "mt8188_m98390_8326";
35*2846c905SEmmanuel Vadot
36*2846c905SEmmanuel Vadot	audio-routing =
37*2846c905SEmmanuel Vadot		"ETDM1_OUT", "ETDM_SPK_PIN",
38*2846c905SEmmanuel Vadot		"ETDM2_OUT", "ETDM_HP_PIN",
39*2846c905SEmmanuel Vadot		"ETDM1_IN", "ETDM_SPK_PIN",
40*2846c905SEmmanuel Vadot		"ETDM2_IN", "ETDM_HP_PIN",
41*2846c905SEmmanuel Vadot		"ADDA Capture", "MTKAIF_PIN",
42*2846c905SEmmanuel Vadot		"Headphone Jack", "HPOL",
43*2846c905SEmmanuel Vadot		"Headphone Jack", "HPOR",
44*2846c905SEmmanuel Vadot		"MIC1", "Headset Mic",
45*2846c905SEmmanuel Vadot		"Left Spk", "Front Left BE_OUT",
46*2846c905SEmmanuel Vadot		"Right Spk", "Front Right BE_OUT";
47*2846c905SEmmanuel Vadot
48*2846c905SEmmanuel Vadot	dai-link-2 {
49*2846c905SEmmanuel Vadot		codec {
50*2846c905SEmmanuel Vadot			sound-dai = <&es8326>;
51*2846c905SEmmanuel Vadot		};
52*2846c905SEmmanuel Vadot	};
53*2846c905SEmmanuel Vadot
54*2846c905SEmmanuel Vadot	dai-link-3 {
55*2846c905SEmmanuel Vadot		codec {
56*2846c905SEmmanuel Vadot			sound-dai = <&es8326>;
57*2846c905SEmmanuel Vadot		};
58*2846c905SEmmanuel Vadot	};
59*2846c905SEmmanuel Vadot};
60