fsl-ls1012a-oxalis.dts 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /*
  3. * Device Tree file for Oxalis
  4. *
  5. * Copyright (c) 2019 Manivannan Sadhasivam
  6. *
  7. */
  8. /dts-v1/;
  9. #include "fsl-ls1012a.dtsi"
  10. / {
  11. model = "Oxalis";
  12. compatible = "ebs-systart,oxalis", "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. &duart1 {
  56. status = "okay";
  57. };
  58. &esdhc1 {
  59. status = "okay";
  60. };
  61. &i2c0 {
  62. status = "okay";
  63. codec: audio-codec@a {
  64. #sound-dai-cells = <0>;
  65. compatible = "fsl,sgtl5000";
  66. reg = <0xa>;
  67. VDDA-supply = <&reg_1p8v>;
  68. VDDIO-supply = <&reg_1p8v>;
  69. clocks = <&sys_mclk>;
  70. };
  71. };
  72. &i2c1 {
  73. status = "okay";
  74. };
  75. &pcie1 {
  76. status = "okay";
  77. };
  78. &sai2 {
  79. status = "okay";
  80. };
  81. &sata {
  82. status = "okay";
  83. };