fsl-ls1012a-frdm.dts 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /*
  3. * Device Tree file for Freescale LS1012A Freedom Board.
  4. *
  5. * Copyright 2016 Freescale Semiconductor, Inc.
  6. *
  7. */
  8. /dts-v1/;
  9. #include "fsl-ls1012a.dtsi"
  10. / {
  11. model = "LS1012A Freedom Board";
  12. compatible = "fsl,ls1012a-frdm", "fsl,ls1012a";
  13. sys_mclk: clock-mclk {
  14. compatible = "fixed-clock";
  15. #clock-cells = <0>;
  16. clock-frequency = <25000000>;
  17. };
  18. reg_1p8v: regulator-1p8v {
  19. compatible = "regulator-fixed";
  20. regulator-name = "1P8V";
  21. regulator-min-microvolt = <1800000>;
  22. regulator-max-microvolt = <1800000>;
  23. regulator-always-on;
  24. };
  25. sound {
  26. compatible = "simple-audio-card";
  27. simple-audio-card,format = "i2s";
  28. simple-audio-card,widgets =
  29. "Microphone", "Microphone Jack",
  30. "Headphone", "Headphone Jack",
  31. "Speaker", "Speaker Ext",
  32. "Line", "Line In Jack";
  33. simple-audio-card,routing =
  34. "MIC_IN", "Microphone Jack",
  35. "Microphone Jack", "Mic Bias",
  36. "LINE_IN", "Line In Jack",
  37. "Headphone Jack", "HP_OUT",
  38. "Speaker Ext", "LINE_OUT";
  39. simple-audio-card,cpu {
  40. sound-dai = <&sai2>;
  41. frame-master;
  42. bitclock-master;
  43. };
  44. simple-audio-card,codec {
  45. sound-dai = <&codec>;
  46. frame-master;
  47. bitclock-master;
  48. system-clock-frequency = <25000000>;
  49. };
  50. };
  51. };
  52. &duart0 {
  53. status = "okay";
  54. };
  55. &i2c0 {
  56. status = "okay";
  57. codec: sgtl5000@a {
  58. #sound-dai-cells = <0>;
  59. compatible = "fsl,sgtl5000";
  60. reg = <0xa>;
  61. VDDA-supply = <&reg_1p8v>;
  62. VDDIO-supply = <&reg_1p8v>;
  63. clocks = <&sys_mclk>;
  64. };
  65. };
  66. &sai2 {
  67. status = "okay";
  68. };
  69. &sata {
  70. status = "okay";
  71. };