/* SPDX-License-Identifier: GPL-2.0-only */

#include <device/azalia_device.h>

const u32 cim_verb_data[] = {
	/* Realtek, ALC1220 */
	0x10ec1220, /* Vendor ID */
	0x155865e1, /* Subsystem ID */
	13, /* Number of entries */
	AZALIA_SUBVENDOR(0, 0x155865e1),
	AZALIA_RESET(1),
	AZALIA_PIN_CFG(0, 0x12, 0x90a60130), // DMIC
	AZALIA_PIN_CFG(0, 0x14, 0x0421101f), // FRONT (Port-D)
	AZALIA_PIN_CFG(0, 0x15, 0x40000000), // SURR (Port-A)
	AZALIA_PIN_CFG(0, 0x16, AZALIA_PIN_CFG_NC(0)), // CENTER/LFE (Port-G)
	AZALIA_PIN_CFG(0, 0x17, AZALIA_PIN_CFG_NC(0)), // SIDE (Port-H)
	AZALIA_PIN_CFG(0, 0x18, 0x04a11040), // MIC1 (Port-B)
	AZALIA_PIN_CFG(0, 0x19, AZALIA_PIN_CFG_NC(0)), // MIC2 (Port-F)
	AZALIA_PIN_CFG(0, 0x1a, AZALIA_PIN_CFG_NC(0)), // LINE1 (Port-C)
	AZALIA_PIN_CFG(0, 0x1b, 0x90170110), // LINE2 (Port-E)
	AZALIA_PIN_CFG(0, 0x1d, 0x40b7952d), // PCBEEP
	AZALIA_PIN_CFG(0, 0x1e, 0x04451150), // S/PDIF-OUT
};

const u32 pc_beep_verbs[] = {
	// Enable DMIC microphone on ALC1220
	0x02050036,
	0x02042a6a,
};

AZALIA_ARRAY_SIZES;
