exynos5422-odroidxu3-audio.dtsi 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /*
  2. * Hardkernel Odroid XU3 Audio Codec device tree source
  3. *
  4. * Copyright (c) 2015 Krzysztof Kozlowski
  5. * Copyright (c) 2014 Collabora Ltd.
  6. * Copyright (c) 2013 Samsung Electronics Co., Ltd.
  7. * http://www.samsung.com
  8. *
  9. * This program is free software; you can redistribute it and/or modify
  10. * it under the terms of the GNU General Public License version 2 as
  11. * published by the Free Software Foundation.
  12. */
  13. / {
  14. sound: sound {
  15. compatible = "simple-audio-card";
  16. simple-audio-card,name = "Odroid-XU3";
  17. simple-audio-card,widgets =
  18. "Headphone", "Headphone Jack",
  19. "Speakers", "Speakers";
  20. simple-audio-card,routing =
  21. "Headphone Jack", "HPL",
  22. "Headphone Jack", "HPR",
  23. "Headphone Jack", "MICBIAS",
  24. "IN1", "Headphone Jack",
  25. "Speakers", "SPKL",
  26. "Speakers", "SPKR";
  27. simple-audio-card,format = "i2s";
  28. simple-audio-card,bitclock-master = <&link0_codec>;
  29. simple-audio-card,frame-master = <&link0_codec>;
  30. simple-audio-card,cpu {
  31. sound-dai = <&i2s0 0>;
  32. system-clock-frequency = <19200000>;
  33. };
  34. link0_codec: simple-audio-card,codec {
  35. sound-dai = <&max98090>;
  36. clocks = <&i2s0 CLK_I2S_CDCLK>;
  37. };
  38. };
  39. };
  40. &hsi2c_5 {
  41. status = "okay";
  42. max98090: max98090@10 {
  43. compatible = "maxim,max98090";
  44. reg = <0x10>;
  45. interrupt-parent = <&gpx3>;
  46. interrupts = <2 0>;
  47. clocks = <&i2s0 CLK_I2S_CDCLK>;
  48. clock-names = "mclk";
  49. #sound-dai-cells = <0>;
  50. };
  51. };
  52. &i2s0 {
  53. status = "okay";
  54. };