meson-gxbb-wetek-hub.dts 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /*
  3. * Copyright (c) 2016 BayLibre, Inc.
  4. * Author: Neil Armstrong <[email protected]>
  5. */
  6. /dts-v1/;
  7. #include "meson-gxbb-wetek.dtsi"
  8. #include <dt-bindings/sound/meson-aiu.h>
  9. / {
  10. compatible = "wetek,hub", "amlogic,meson-gxbb";
  11. model = "WeTek Hub";
  12. sound {
  13. compatible = "amlogic,gx-sound-card";
  14. model = "WETEK-HUB";
  15. assigned-clocks = <&clkc CLKID_MPLL0>,
  16. <&clkc CLKID_MPLL1>,
  17. <&clkc CLKID_MPLL2>;
  18. assigned-clock-parents = <0>, <0>, <0>;
  19. assigned-clock-rates = <294912000>,
  20. <270950400>,
  21. <393216000>;
  22. status = "okay";
  23. dai-link-0 {
  24. sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>;
  25. };
  26. dai-link-1 {
  27. sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>;
  28. dai-format = "i2s";
  29. mclk-fs = <256>;
  30. codec-0 {
  31. sound-dai = <&aiu AIU_HDMI CTRL_I2S>;
  32. };
  33. };
  34. dai-link-2 {
  35. sound-dai = <&aiu AIU_HDMI CTRL_OUT>;
  36. codec-0 {
  37. sound-dai = <&hdmi_tx>;
  38. };
  39. };
  40. };
  41. };
  42. &aiu {
  43. status = "okay";
  44. };
  45. &ir {
  46. linux,rc-map-name = "rc-wetek-hub";
  47. };