imx6q-sabrelite.dts 3.3 KB

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