imx6q-sabrelite.dts 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  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. soc {
  21. aips-bus@02000000 { /* AIPS1 */
  22. spba-bus@02000000 {
  23. ecspi@02008000 { /* eCSPI1 */
  24. fsl,spi-num-chipselects = <1>;
  25. cs-gpios = <&gpio3 19 0>;
  26. pinctrl-names = "default";
  27. pinctrl-0 = <&pinctrl_ecspi1_1>;
  28. status = "okay";
  29. flash: m25p80@0 {
  30. compatible = "sst,sst25vf016b";
  31. spi-max-frequency = <20000000>;
  32. reg = <0>;
  33. };
  34. };
  35. ssi1: ssi@02028000 {
  36. fsl,mode = "i2s-slave";
  37. status = "okay";
  38. };
  39. };
  40. iomuxc@020e0000 {
  41. pinctrl-names = "default";
  42. pinctrl-0 = <&pinctrl_hog>;
  43. hog {
  44. pinctrl_hog: hoggrp {
  45. fsl,pins = <
  46. 1450 0x80000000 /* MX6Q_PAD_NANDF_D6__GPIO_2_6 */
  47. 1458 0x80000000 /* MX6Q_PAD_NANDF_D7__GPIO_2_7 */
  48. 121 0x80000000 /* MX6Q_PAD_EIM_D19__GPIO_3_19 */
  49. 144 0x80000000 /* MX6Q_PAD_EIM_D22__GPIO_3_22 */
  50. 152 0x80000000 /* MX6Q_PAD_EIM_D23__GPIO_3_23 */
  51. 1262 0x80000000 /* MX6Q_PAD_SD3_DAT5__GPIO_7_0 */
  52. 1270 0x1f0b0 /* MX6Q_PAD_SD3_DAT4__GPIO_7_1 */
  53. 953 0x80000000 /* MX6Q_PAD_GPIO_0__CCM_CLKO */
  54. >;
  55. };
  56. };
  57. };
  58. };
  59. aips-bus@02100000 { /* AIPS2 */
  60. usb@02184000 { /* USB OTG */
  61. vbus-supply = <&reg_usb_otg_vbus>;
  62. status = "okay";
  63. };
  64. usb@02184200 { /* USB1 */
  65. status = "okay";
  66. };
  67. ethernet@02188000 {
  68. pinctrl-names = "default";
  69. pinctrl-0 = <&pinctrl_enet_1>;
  70. phy-mode = "rgmii";
  71. phy-reset-gpios = <&gpio3 23 0>;
  72. status = "okay";
  73. };
  74. usdhc@02198000 { /* uSDHC3 */
  75. pinctrl-names = "default";
  76. pinctrl-0 = <&pinctrl_usdhc3_2>;
  77. cd-gpios = <&gpio7 0 0>;
  78. wp-gpios = <&gpio7 1 0>;
  79. vmmc-supply = <&reg_3p3v>;
  80. status = "okay";
  81. };
  82. usdhc@0219c000 { /* uSDHC4 */
  83. pinctrl-names = "default";
  84. pinctrl-0 = <&pinctrl_usdhc4_2>;
  85. cd-gpios = <&gpio2 6 0>;
  86. wp-gpios = <&gpio2 7 0>;
  87. vmmc-supply = <&reg_3p3v>;
  88. status = "okay";
  89. };
  90. audmux@021d8000 {
  91. status = "okay";
  92. pinctrl-names = "default";
  93. pinctrl-0 = <&pinctrl_audmux_1>;
  94. };
  95. uart2: serial@021e8000 {
  96. status = "okay";
  97. pinctrl-names = "default";
  98. pinctrl-0 = <&pinctrl_uart2_1>;
  99. };
  100. i2c@021a0000 { /* I2C1 */
  101. status = "okay";
  102. clock-frequency = <100000>;
  103. pinctrl-names = "default";
  104. pinctrl-0 = <&pinctrl_i2c1_1>;
  105. codec: sgtl5000@0a {
  106. compatible = "fsl,sgtl5000";
  107. reg = <0x0a>;
  108. clocks = <&clks 169>;
  109. VDDA-supply = <&reg_2p5v>;
  110. VDDIO-supply = <&reg_3p3v>;
  111. };
  112. };
  113. };
  114. };
  115. regulators {
  116. compatible = "simple-bus";
  117. reg_2p5v: 2p5v {
  118. compatible = "regulator-fixed";
  119. regulator-name = "2P5V";
  120. regulator-min-microvolt = <2500000>;
  121. regulator-max-microvolt = <2500000>;
  122. regulator-always-on;
  123. };
  124. reg_3p3v: 3p3v {
  125. compatible = "regulator-fixed";
  126. regulator-name = "3P3V";
  127. regulator-min-microvolt = <3300000>;
  128. regulator-max-microvolt = <3300000>;
  129. regulator-always-on;
  130. };
  131. reg_usb_otg_vbus: usb_otg_vbus {
  132. compatible = "regulator-fixed";
  133. regulator-name = "usb_otg_vbus";
  134. regulator-min-microvolt = <5000000>;
  135. regulator-max-microvolt = <5000000>;
  136. gpio = <&gpio3 22 0>;
  137. enable-active-high;
  138. };
  139. };
  140. sound {
  141. compatible = "fsl,imx6q-sabrelite-sgtl5000",
  142. "fsl,imx-audio-sgtl5000";
  143. model = "imx6q-sabrelite-sgtl5000";
  144. ssi-controller = <&ssi1>;
  145. audio-codec = <&codec>;
  146. audio-routing =
  147. "MIC_IN", "Mic Jack",
  148. "Mic Jack", "Mic Bias",
  149. "Headphone Jack", "HP_OUT";
  150. mux-int-port = <1>;
  151. mux-ext-port = <4>;
  152. };
  153. };