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