imx6q-sabrelite.dts 3.4 KB

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