xref: /linux/Documentation/devicetree/bindings/sound/ac97-bus.txt (revision e9f0878c4b2004ac19581274c1ae4c61ae3ca70e)
1Generic AC97 Device Properties
2
3This documents describes the devicetree bindings for an ac97 controller child
4node describing ac97 codecs.
5
6Required properties:
7-compatible : Must be "ac97,vendor_id1,vendor_id2
8	      The ids shall be the 4 characters hexadecimal encoding, such as
9	      given by "%04x" formatting of printf
10-reg	    : Must be the ac97 codec number, between 0 and 3
11
12Example:
13ac97: sound@40500000 {
14	compatible = "marvell,pxa270-ac97";
15	reg = < 0x40500000 0x1000 >;
16	interrupts = <14>;
17	reset-gpios = <&gpio 95 GPIO_ACTIVE_HIGH>;
18	#sound-dai-cells = <1>;
19	pinctrl-names = "default";
20	pinctrl-0 = < &pinctrl_ac97_default >;
21	clocks = <&clks CLK_AC97>, <&clks CLK_AC97CONF>;
22	clock-names = "AC97CLK", "AC97CONFCLK";
23
24	#address-cells = <1>;
25	#size-cells = <0>;
26	audio-codec@0 {
27		reg = <0>;
28		compatible = "ac97,574d,4c13";
29		clocks = <&fixed_wm9713_clock>;
30		clock-names = "ac97_clk";
31	}
32};
33