101-soc-audio-dts.patch 975 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. --- a/arch/arm/boot/dts/imx23-olinuxino.dts
  2. +++ b/arch/arm/boot/dts/imx23-olinuxino.dts
  3. @@ -89,6 +89,25 @@
  4. usbphy0: usbphy@8007c000 {
  5. status = "okay";
  6. };
  7. +
  8. + codec: mxs-builtin-codec {
  9. + compatible = "fsl,mxs-builtin-codec";
  10. + reg = <0x80048000 0x2000>, <0x8004c000 0x2000>,
  11. + <0x8005c000 0x2000>;
  12. + reg-names = "audioout", "audioin", "rtc";
  13. + clocks = <&clks 31>;
  14. + clock-names = "filt";
  15. + };
  16. +
  17. + platform_dai: mxs-builtin-cpu-dai {
  18. + compatible = "fsl,mxs-builtin-cpu-dai";
  19. + reg = <0x80048000 0x2000>, <0x8004c000 0x2000>,
  20. + <0x8005c000 0x2000>;
  21. + reg-names = "audioout", "audioin", "rtc";
  22. + interrupts = <8 6 4>;
  23. + dmas = <&dma_apbx 0>, <&dma_apbx 1>;
  24. + dma-names = "rx", "tx";
  25. + };
  26. };
  27. };
  28. @@ -127,4 +146,10 @@
  29. gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
  30. };
  31. };
  32. +
  33. + mxs-builtin-audio {
  34. + compatible = "fsl,mxs-builtin-audio";
  35. + audio-codec = <&codec>;
  36. + cpu-dai = <&platform_dai>;
  37. + };
  38. };