Commit 6d886dd4 authored by AngeloGioacchino Del Regno's avatar AngeloGioacchino Del Regno Committed by Matthias Brugger

arm64: dts: mediatek: cherry: Add sound card configuration

Configure the sound card on all MT8195 Cherry Tomato devices to
enable audio support.
Signed-off-by: default avatarAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220922094908.41623-5-angelogioacchino.delregno@collabora.comSigned-off-by: default avatarMatthias Brugger <matthias.bgg@gmail.com>
parent 4b4e0508
......@@ -15,6 +15,11 @@ &audio_codec {
realtek,btndet-delay = <16>;
};
&sound {
compatible = "mediatek,mt8195_mt6359_rt1019_rt5682";
model = "mt8195_r1019_5682";
};
&ts_10 {
status = "okay";
};
......@@ -35,6 +35,11 @@ pins-low-power-pcie0-disable {
};
};
&sound {
compatible = "mediatek,mt8195_mt6359_rt1019_rt5682";
model = "mt8195_r1019_5682";
};
&ts_10 {
status = "okay";
};
......@@ -36,6 +36,11 @@ pins-low-power-pcie0-disable {
};
};
&sound {
compatible = "mediatek,mt8195_mt6359_rt1019_rt5682";
model = "m8195_r1019_5682s";
};
&ts_10 {
status = "okay";
};
......@@ -598,6 +598,34 @@ &pio {
"AP_SPI_FLASH_MOSI",
"AP_SPI_FLASH_MISO";
aud_pins_default: audio-default-pins {
pins-cmd-dat {
pinmux = <PINMUX_GPIO69__FUNC_AUD_CLK_MOSI>,
<PINMUX_GPIO70__FUNC_AUD_SYNC_MOSI>,
<PINMUX_GPIO71__FUNC_AUD_DAT_MOSI0>,
<PINMUX_GPIO72__FUNC_AUD_DAT_MOSI1>,
<PINMUX_GPIO73__FUNC_AUD_DAT_MISO0>,
<PINMUX_GPIO74__FUNC_AUD_DAT_MISO1>,
<PINMUX_GPIO75__FUNC_AUD_DAT_MISO2>,
<PINMUX_GPIO0__FUNC_TDMIN_MCK>,
<PINMUX_GPIO1__FUNC_TDMIN_DI>,
<PINMUX_GPIO2__FUNC_TDMIN_LRCK>,
<PINMUX_GPIO3__FUNC_TDMIN_BCK>,
<PINMUX_GPIO60__FUNC_I2SO2_D0>,
<PINMUX_GPIO49__FUNC_I2SIN_D0>,
<PINMUX_GPIO50__FUNC_I2SO1_MCK>,
<PINMUX_GPIO51__FUNC_I2SO1_BCK>,
<PINMUX_GPIO52__FUNC_I2SO1_WS>,
<PINMUX_GPIO53__FUNC_I2SO1_D0>;
};
pins-hp-jack-int-odl {
pinmux = <PINMUX_GPIO89__FUNC_GPIO89>;
input-enable;
bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
};
};
cr50_int: cr50-irq-default-pins {
pins-gsc-ap-int-odl {
pinmux = <PINMUX_GPIO88__FUNC_GPIO88>;
......@@ -919,6 +947,18 @@ cros-ec-rpmsg {
};
};
&sound {
status = "okay";
mediatek,adsp = <&adsp>;
mediatek,dai-link =
"DL10_FE", "DPTX_BE", "ETDM1_IN_BE", "ETDM2_IN_BE",
"ETDM1_OUT_BE", "ETDM2_OUT_BE","UL_SRC1_BE",
"AFE_SOF_DL2", "AFE_SOF_DL3", "AFE_SOF_UL4", "AFE_SOF_UL5";
pinctrl-names = "default";
pinctrl-0 = <&aud_pins_default>;
};
&spi0 {
status = "okay";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment