imx6q-sabrelite.dts 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. /*
  2. * Copyright 2011 Freescale Semiconductor, Inc.
  3. * Copyright 2011 Linaro Ltd.
  4. *
  5. * The code contained herein is licensed under the GNU General Public
  6. * License. You may obtain a copy of the GNU General Public License
  7. * Version 2 or later at the following locations:
  8. *
  9. * http://www.opensource.org/licenses/gpl-license.html
  10. * http://www.gnu.org/copyleft/gpl.html
  11. */
  12. /dts-v1/;
  13. #include "imx6q.dtsi"
  14. / {
  15. model = "Freescale i.MX6 Quad SABRE Lite Board";
  16. compatible = "fsl,imx6q-sabrelite", "fsl,imx6q";
  17. memory {
  18. reg = <0x10000000 0x40000000>;
  19. };
  20. regulators {
  21. compatible = "simple-bus";
  22. reg_2p5v: 2p5v {
  23. compatible = "regulator-fixed";
  24. regulator-name = "2P5V";
  25. regulator-min-microvolt = <2500000>;
  26. regulator-max-microvolt = <2500000>;
  27. regulator-always-on;
  28. };
  29. reg_3p3v: 3p3v {
  30. compatible = "regulator-fixed";
  31. regulator-name = "3P3V";
  32. regulator-min-microvolt = <3300000>;
  33. regulator-max-microvolt = <3300000>;
  34. regulator-always-on;
  35. };
  36. reg_usb_otg_vbus: usb_otg_vbus {
  37. compatible = "regulator-fixed";
  38. regulator-name = "usb_otg_vbus";
  39. regulator-min-microvolt = <5000000>;
  40. regulator-max-microvolt = <5000000>;
  41. gpio = <&gpio3 22 0>;
  42. enable-active-high;
  43. };
  44. };
  45. sound {
  46. compatible = "fsl,imx6q-sabrelite-sgtl5000",
  47. "fsl,imx-audio-sgtl5000";
  48. model = "imx6q-sabrelite-sgtl5000";
  49. ssi-controller = <&ssi1>;
  50. audio-codec = <&codec>;
  51. audio-routing =
  52. "MIC_IN", "Mic Jack",
  53. "Mic Jack", "Mic Bias",
  54. "Headphone Jack", "HP_OUT";
  55. mux-int-port = <1>;
  56. mux-ext-port = <4>;
  57. };
  58. };
  59. &audmux {
  60. status = "okay";
  61. pinctrl-names = "default";
  62. pinctrl-0 = <&pinctrl_audmux_1>;
  63. };
  64. &ecspi1 {
  65. fsl,spi-num-chipselects = <1>;
  66. cs-gpios = <&gpio3 19 0>;
  67. pinctrl-names = "default";
  68. pinctrl-0 = <&pinctrl_ecspi1_1>;
  69. status = "okay";
  70. flash: m25p80@0 {
  71. compatible = "sst,sst25vf016b";
  72. spi-max-frequency = <20000000>;
  73. reg = <0>;
  74. };
  75. };
  76. &fec {
  77. pinctrl-names = "default";
  78. pinctrl-0 = <&pinctrl_enet_1>;
  79. phy-mode = "rgmii";
  80. phy-reset-gpios = <&gpio3 23 0>;
  81. status = "okay";
  82. };
  83. &i2c1 {
  84. status = "okay";
  85. clock-frequency = <100000>;
  86. pinctrl-names = "default";
  87. pinctrl-0 = <&pinctrl_i2c1_1>;
  88. codec: sgtl5000@0a {
  89. compatible = "fsl,sgtl5000";
  90. reg = <0x0a>;
  91. clocks = <&clks 201>;
  92. VDDA-supply = <&reg_2p5v>;
  93. VDDIO-supply = <&reg_3p3v>;
  94. };
  95. };
  96. &iomuxc {
  97. pinctrl-names = "default";
  98. pinctrl-0 = <&pinctrl_hog>;
  99. hog {
  100. pinctrl_hog: hoggrp {
  101. fsl,pins = <
  102. MX6QDL_PAD_NANDF_D6__GPIO2_IO06 0x80000000
  103. MX6QDL_PAD_NANDF_D7__GPIO2_IO07 0x80000000
  104. MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x80000000
  105. MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x80000000
  106. MX6QDL_PAD_EIM_D23__GPIO3_IO23 0x80000000
  107. MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x80000000
  108. MX6QDL_PAD_SD3_DAT4__GPIO7_IO01 0x1f0b0
  109. MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x80000000
  110. >;
  111. };
  112. };
  113. };
  114. &sata {
  115. status = "okay";
  116. };
  117. &ssi1 {
  118. fsl,mode = "i2s-slave";
  119. status = "okay";
  120. };
  121. &uart2 {
  122. status = "okay";
  123. pinctrl-names = "default";
  124. pinctrl-0 = <&pinctrl_uart2_1>;
  125. };
  126. &usbh1 {
  127. status = "okay";
  128. };
  129. &usbotg {
  130. vbus-supply = <&reg_usb_otg_vbus>;
  131. pinctrl-names = "default";
  132. pinctrl-0 = <&pinctrl_usbotg_1>;
  133. disable-over-current;
  134. status = "okay";
  135. };
  136. &usdhc3 {
  137. pinctrl-names = "default";
  138. pinctrl-0 = <&pinctrl_usdhc3_2>;
  139. cd-gpios = <&gpio7 0 0>;
  140. wp-gpios = <&gpio7 1 0>;
  141. vmmc-supply = <&reg_3p3v>;
  142. status = "okay";
  143. };
  144. &usdhc4 {
  145. pinctrl-names = "default";
  146. pinctrl-0 = <&pinctrl_usdhc4_2>;
  147. cd-gpios = <&gpio2 6 0>;
  148. wp-gpios = <&gpio2 7 0>;
  149. vmmc-supply = <&reg_3p3v>;
  150. status = "okay";
  151. };