xref: /freebsd/sys/contrib/device-tree/Bindings/sound/mtk-btcvsd-snd.txt (revision 1d386b48a555f61cb7325543adbbb5c3f3407a66)
1Mediatek ALSA BT SCO CVSD/MSBC Driver
2
3Required properties:
4- compatible = "mediatek,mtk-btcvsd-snd";
5- reg: register location and size of PKV and SRAM_BANK2
6- interrupts: should contain BTSCO interrupt
7- mediatek,infracfg: the phandles of INFRASYS
8- mediatek,offset: Array contains of register offset and mask
9    infra_misc_offset,
10    infra_conn_bt_cvsd_mask,
11    cvsd_mcu_read_offset,
12    cvsd_mcu_write_offset,
13    cvsd_packet_indicator_offset
14
15Example:
16
17	mtk-btcvsd-snd@18000000 {
18		compatible = "mediatek,mtk-btcvsd-snd";
19		reg=<0 0x18000000 0 0x1000>,
20		    <0 0x18080000 0 0x8000>;
21		interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_LOW>;
22		mediatek,infracfg = <&infrasys>;
23		mediatek,offset = <0xf00 0x800 0xfd0 0xfd4 0xfd8>;
24	};
25