imx6q-sabrelite.dts 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  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. &ecspi1 {
  60. fsl,spi-num-chipselects = <1>;
  61. cs-gpios = <&gpio3 19 0>;
  62. pinctrl-names = "default";
  63. pinctrl-0 = <&pinctrl_ecspi1_1>;
  64. status = "okay";
  65. flash: m25p80@0 {
  66. compatible = "sst,sst25vf016b";
  67. spi-max-frequency = <20000000>;
  68. reg = <0>;
  69. };
  70. };
  71. &ssi1 {
  72. fsl,mode = "i2s-slave";
  73. status = "okay";
  74. };
  75. &iomuxc {
  76. pinctrl-names = "default";
  77. pinctrl-0 = <&pinctrl_hog>;
  78. hog {
  79. pinctrl_hog: hoggrp {
  80. fsl,pins = <
  81. 1450 0x80000000 /* MX6Q_PAD_NANDF_D6__GPIO_2_6 */
  82. 1458 0x80000000 /* MX6Q_PAD_NANDF_D7__GPIO_2_7 */
  83. 121 0x80000000 /* MX6Q_PAD_EIM_D19__GPIO_3_19 */
  84. 144 0x80000000 /* MX6Q_PAD_EIM_D22__GPIO_3_22 */
  85. 152 0x80000000 /* MX6Q_PAD_EIM_D23__GPIO_3_23 */
  86. 1262 0x80000000 /* MX6Q_PAD_SD3_DAT5__GPIO_7_0 */
  87. 1270 0x1f0b0 /* MX6Q_PAD_SD3_DAT4__GPIO_7_1 */
  88. 953 0x80000000 /* MX6Q_PAD_GPIO_0__CCM_CLKO */
  89. >;
  90. };
  91. };
  92. };
  93. &usbotg {
  94. vbus-supply = <&reg_usb_otg_vbus>;
  95. pinctrl-names = "default";
  96. pinctrl-0 = <&pinctrl_usbotg_1>;
  97. disable-over-current;
  98. status = "okay";
  99. };
  100. &usbh1 {
  101. status = "okay";
  102. };
  103. &fec {
  104. pinctrl-names = "default";
  105. pinctrl-0 = <&pinctrl_enet_1>;
  106. phy-mode = "rgmii";
  107. phy-reset-gpios = <&gpio3 23 0>;
  108. status = "okay";
  109. };
  110. &usdhc3 {
  111. pinctrl-names = "default";
  112. pinctrl-0 = <&pinctrl_usdhc3_2>;
  113. cd-gpios = <&gpio7 0 0>;
  114. wp-gpios = <&gpio7 1 0>;
  115. vmmc-supply = <&reg_3p3v>;
  116. status = "okay";
  117. };
  118. &usdhc4 {
  119. pinctrl-names = "default";
  120. pinctrl-0 = <&pinctrl_usdhc4_2>;
  121. cd-gpios = <&gpio2 6 0>;
  122. wp-gpios = <&gpio2 7 0>;
  123. vmmc-supply = <&reg_3p3v>;
  124. status = "okay";
  125. };
  126. &audmux {
  127. status = "okay";
  128. pinctrl-names = "default";
  129. pinctrl-0 = <&pinctrl_audmux_1>;
  130. };
  131. &uart2 {
  132. status = "okay";
  133. pinctrl-names = "default";
  134. pinctrl-0 = <&pinctrl_uart2_1>;
  135. };
  136. &i2c1 {
  137. status = "okay";
  138. clock-frequency = <100000>;
  139. pinctrl-names = "default";
  140. pinctrl-0 = <&pinctrl_i2c1_1>;
  141. codec: sgtl5000@0a {
  142. compatible = "fsl,sgtl5000";
  143. reg = <0x0a>;
  144. clocks = <&clks 169>;
  145. VDDA-supply = <&reg_2p5v>;
  146. VDDIO-supply = <&reg_3p3v>;
  147. };
  148. };