xref: /freebsd/sys/contrib/device-tree/Bindings/sound/mikroe,mikroe-proto.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotMikroe-PROTO audio board
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot  - compatible: "mikroe,mikroe-proto"
5*c66ec88fSEmmanuel Vadot  - dai-format: Must be "i2s".
6*c66ec88fSEmmanuel Vadot  - i2s-controller: The phandle of the I2S controller.
7*c66ec88fSEmmanuel Vadot  - audio-codec: The phandle of the WM8731 audio codec.
8*c66ec88fSEmmanuel VadotOptional properties:
9*c66ec88fSEmmanuel Vadot  - model: The user-visible name of this sound complex.
10*c66ec88fSEmmanuel Vadot  - bitclock-master: Indicates dai-link bit clock master; for details see simple-card.txt (1).
11*c66ec88fSEmmanuel Vadot  - frame-master: Indicates dai-link frame master; for details see simple-card.txt (1).
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel Vadot(1) : There must be the same master for both bit and frame clocks.
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel VadotExample:
16*c66ec88fSEmmanuel Vadot	sound {
17*c66ec88fSEmmanuel Vadot		compatible = "mikroe,mikroe-proto";
18*c66ec88fSEmmanuel Vadot		model = "wm8731 @ sama5d2_xplained";
19*c66ec88fSEmmanuel Vadot		i2s-controller = <&i2s0>;
20*c66ec88fSEmmanuel Vadot		audio-codec = <&wm8731>;
21*c66ec88fSEmmanuel Vadot		dai-format = "i2s";
22*c66ec88fSEmmanuel Vadot        };
23*c66ec88fSEmmanuel Vadot};
24