imx6q-sabrelite.dts 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  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. MX6QDL_PAD_EIM_D23__GPIO3_IO23 0x80000000
  111. >;
  112. };
  113. };
  114. };
  115. &ldb {
  116. status = "okay";
  117. lvds-channel@0 {
  118. fsl,data-mapping = "spwg";
  119. fsl,data-width = <18>;
  120. status = "okay";
  121. display-timings {
  122. native-mode = <&timing0>;
  123. timing0: hsd100pxn1 {
  124. clock-frequency = <65000000>;
  125. hactive = <1024>;
  126. vactive = <768>;
  127. hback-porch = <220>;
  128. hfront-porch = <40>;
  129. vback-porch = <21>;
  130. vfront-porch = <7>;
  131. hsync-len = <60>;
  132. vsync-len = <10>;
  133. };
  134. };
  135. };
  136. };
  137. &sata {
  138. status = "okay";
  139. };
  140. &ssi1 {
  141. fsl,mode = "i2s-slave";
  142. status = "okay";
  143. };
  144. &uart2 {
  145. status = "okay";
  146. pinctrl-names = "default";
  147. pinctrl-0 = <&pinctrl_uart2_1>;
  148. };
  149. &usbh1 {
  150. status = "okay";
  151. };
  152. &usbotg {
  153. vbus-supply = <&reg_usb_otg_vbus>;
  154. pinctrl-names = "default";
  155. pinctrl-0 = <&pinctrl_usbotg_1>;
  156. disable-over-current;
  157. status = "okay";
  158. };
  159. &usdhc3 {
  160. pinctrl-names = "default";
  161. pinctrl-0 = <&pinctrl_usdhc3_2>;
  162. cd-gpios = <&gpio7 0 0>;
  163. wp-gpios = <&gpio7 1 0>;
  164. vmmc-supply = <&reg_3p3v>;
  165. status = "okay";
  166. };
  167. &usdhc4 {
  168. pinctrl-names = "default";
  169. pinctrl-0 = <&pinctrl_usdhc4_2>;
  170. cd-gpios = <&gpio2 6 0>;
  171. wp-gpios = <&gpio2 7 0>;
  172. vmmc-supply = <&reg_3p3v>;
  173. status = "okay";
  174. };