^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) * mvebu (Kirkwood, Dove, Armada 370) audio controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) - compatible:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) "marvell,kirkwood-audio" for Kirkwood platforms
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) "marvell,dove-audio" for Dove platforms
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) "marvell,armada370-audio" for Armada 370 platforms
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) - reg: physical base address of the controller and length of memory mapped
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) region.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) - interrupts:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) with "marvell,kirkwood-audio", the audio interrupt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) with "marvell,dove-audio", a list of two interrupts, the first for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) the data flow, and the second for errors.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) - clocks: one or two phandles.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) The first one is mandatory and defines the internal clock.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) The second one is optional and defines an external clock.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) - clock-names: names associated to the clocks:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) "internal" for the internal clock
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) "extclk" for the external clock
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) i2s1: audio-controller@b4000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) compatible = "marvell,dove-audio";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) reg = <0xb4000 0x2210>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) interrupts = <21>, <22>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) clocks = <&gate_clk 13>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) clock-names = "internal";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) };