linux-loongson/arch/arm64/boot/dts/mediatek/mt8188-geralt-ciri-sku2.dts
Fei Shao 5e6af7f541
arm64: dts: mediatek: Introduce MT8188 Geralt platform based Ciri
Introduce MT8188-based Chromebook Ciri, also known commercially as
Lenovo Chromebook Duet (11", 9).

Ciri is a detachable device based on the Geralt design, where Geralt is
the codename for the MT8188 platform. Ciri offers 8 SKUs to accommodate
different combinations of second-source components, including:
- audio codecs (RT5682S and ES8326)
- speaker amps (TAS2563 and MAX98390)
- MIPI-DSI panels (BOE nv110wum-l60 and IVO t109nw41)

Signed-off-by: Fei Shao <fshao@chromium.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241124085739.290556-3-fshao@chromium.org
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
2024-12-09 12:39:56 +01:00

60 lines
1.1 KiB
Plaintext

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