mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 02:18:18 +07:00
9a0d5113ac
The audio unit found in the Armada 370 SoC is similar to the one used in the Marvell Kirkwood and Marvell Dove SoCs. Therefore, this commit allows the Kirkwood audio driver to be built on mvebu platforms, and adds an additional compatible string to identify the Armada 370 variant of the audio unit. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Mark Brown <broonie@linaro.org>
35 lines
957 B
Plaintext
35 lines
957 B
Plaintext
* mvebu (Kirkwood, Dove, Armada 370) audio controller
|
|
|
|
Required properties:
|
|
|
|
- compatible:
|
|
"marvell,kirkwood-audio" for Kirkwood platforms
|
|
"marvell,dove-audio" for Dove platforms
|
|
"marvell,armada370-audio" for Armada 370 platforms
|
|
|
|
- reg: physical base address of the controller and length of memory mapped
|
|
region.
|
|
|
|
- interrupts:
|
|
with "marvell,kirkwood-audio", the audio interrupt
|
|
with "marvell,dove-audio", a list of two interrupts, the first for
|
|
the data flow, and the second for errors.
|
|
|
|
- clocks: one or two phandles.
|
|
The first one is mandatory and defines the internal clock.
|
|
The second one is optional and defines an external clock.
|
|
|
|
- clock-names: names associated to the clocks:
|
|
"internal" for the internal clock
|
|
"extclk" for the external clock
|
|
|
|
Example:
|
|
|
|
i2s1: audio-controller@b4000 {
|
|
compatible = "marvell,dove-audio";
|
|
reg = <0xb4000 0x2210>;
|
|
interrupts = <21>, <22>;
|
|
clocks = <&gate_clk 13>;
|
|
clock-names = "internal";
|
|
};
|