brintos

brintos / linux-shallow public Read only

0
0
Text · 1.4 KiB · 4f5dec5 Raw
47 lines · plain
1* mvebu (Kirkwood, Dove, Armada 370) audio controller2 3Required properties:4 5- compatible:6  "marvell,kirkwood-audio" for Kirkwood platforms7  "marvell,dove-audio" for Dove platforms8  "marvell,armada370-audio" for Armada 370 platforms9  "marvell,armada-380-audio" for Armada 38x platforms10 11- reg: physical base address of the controller and length of memory mapped12  region (named "i2s_regs").13  With "marvell,armada-380-audio" two other regions are required:14  first of those is dedicated for Audio PLL Configuration registers15  (named "pll_regs") and the second one ("soc_ctrl") - for register16  where one of exceptive I/O types (I2S or S/PDIF) is set.17 18- interrupts:19  with "marvell,kirkwood-audio", the audio interrupt20  with "marvell,dove-audio", a list of two interrupts, the first for21  the data flow, and the second for errors.22 23- clocks: one or two phandles.24  The first one is mandatory and defines the internal clock.25  The second one is optional and defines an external clock.26 27- clock-names: names associated to the clocks:28	"internal" for the internal clock29	"extclk" for the external clock30 31Optional properties:32 33- spdif-mode:34  Enable S/PDIF mode on Armada 38x SoC. Using this property35  disables standard I2S I/O. Valid only with "marvell,armada-380-audio"36  compatible string.37 38Example:39 40i2s1: audio-controller@b4000 {41	compatible = "marvell,dove-audio";42	reg = <0xb4000 0x2210>;43	interrupts = <21>, <22>;44	clocks = <&gate_clk 13>;45	clock-names = "internal";46};47