ac97-bus.txt 907 B

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