Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jul 2022 09:41:33 +0900 (JST)
From:      Mori Hiroki <yamori813@yahoo.co.jp>
To:        "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>
Subject:   AR9341 I2S work fine
Message-ID:  <1207868931.843955.1658277693050.JavaMail.yahoo@mail.yahoo.co.jp>
References:  <1207868931.843955.1658277693050.JavaMail.yahoo.ref@mail.yahoo.co.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi.

I try to I2S on Atheros AR9341 my pcm driver. 

It's work fine. I listen WBGO by mpg123.

hints is this.

# pcm
hint.pcm.0.at="apb0"
hint.pcm.0.maddr=0x180b0000
hint.pcm.0.msize=0x1000
hint.pcm.0.irq=7

# I2S
hint.gpio.0.func.1.gpiofunc=15
hint.gpio.0.func.1.gpiomode=1
hint.gpio.0.func.2.gpiofunc=14
hint.gpio.0.func.2.gpiomode=1
hint.gpio.0.func.3.gpiofunc=13
hint.gpio.0.func.3.gpiomode=1
hint.gpio.0.func.4.gpiofunc=12
hint.gpio.0.func.4.gpiomode=1

pcm driver code include this repo.

https://github.com/ZRouter/freebsd-src/tree/yamori813_modify

Thanks,

Hiroki Mori




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1207868931.843955.1658277693050.JavaMail.yahoo>