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