imx53-qsb.dts 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  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 "imx53.dtsi"
  14. / {
  15. model = "Freescale i.MX53 Quick Start Board";
  16. compatible = "fsl,imx53-qsb", "fsl,imx53";
  17. memory {
  18. reg = <0x70000000 0x40000000>;
  19. };
  20. gpio-keys {
  21. compatible = "gpio-keys";
  22. power {
  23. label = "Power Button";
  24. gpios = <&gpio1 8 0>;
  25. linux,code = <116>; /* KEY_POWER */
  26. gpio-key,wakeup;
  27. };
  28. volume-up {
  29. label = "Volume Up";
  30. gpios = <&gpio2 14 0>;
  31. linux,code = <115>; /* KEY_VOLUMEUP */
  32. };
  33. volume-down {
  34. label = "Volume Down";
  35. gpios = <&gpio2 15 0>;
  36. linux,code = <114>; /* KEY_VOLUMEDOWN */
  37. };
  38. };
  39. leds {
  40. compatible = "gpio-leds";
  41. pinctrl-names = "default";
  42. pinctrl-0 = <&led_pin_gpio7_7>;
  43. user {
  44. label = "Heartbeat";
  45. gpios = <&gpio7 7 0>;
  46. linux,default-trigger = "heartbeat";
  47. };
  48. };
  49. regulators {
  50. compatible = "simple-bus";
  51. reg_3p2v: 3p2v {
  52. compatible = "regulator-fixed";
  53. regulator-name = "3P2V";
  54. regulator-min-microvolt = <3200000>;
  55. regulator-max-microvolt = <3200000>;
  56. regulator-always-on;
  57. };
  58. };
  59. sound {
  60. compatible = "fsl,imx53-qsb-sgtl5000",
  61. "fsl,imx-audio-sgtl5000";
  62. model = "imx53-qsb-sgtl5000";
  63. ssi-controller = <&ssi2>;
  64. audio-codec = <&sgtl5000>;
  65. audio-routing =
  66. "MIC_IN", "Mic Jack",
  67. "Mic Jack", "Mic Bias",
  68. "Headphone Jack", "HP_OUT";
  69. mux-int-port = <2>;
  70. mux-ext-port = <5>;
  71. };
  72. };
  73. &esdhc1 {
  74. pinctrl-names = "default";
  75. pinctrl-0 = <&pinctrl_esdhc1_1>;
  76. cd-gpios = <&gpio3 13 0>;
  77. status = "okay";
  78. };
  79. &ssi2 {
  80. fsl,mode = "i2s-slave";
  81. status = "okay";
  82. };
  83. &esdhc3 {
  84. pinctrl-names = "default";
  85. pinctrl-0 = <&pinctrl_esdhc3_1>;
  86. cd-gpios = <&gpio3 11 0>;
  87. wp-gpios = <&gpio3 12 0>;
  88. status = "okay";
  89. };
  90. &iomuxc {
  91. pinctrl-names = "default";
  92. pinctrl-0 = <&pinctrl_hog>;
  93. hog {
  94. pinctrl_hog: hoggrp {
  95. fsl,pins = <
  96. MX53_PAD_GPIO_0__CCM_SSI_EXT1_CLK 0x80000000
  97. MX53_PAD_GPIO_8__GPIO1_8 0x80000000
  98. MX53_PAD_PATA_DATA14__GPIO2_14 0x80000000
  99. MX53_PAD_PATA_DATA15__GPIO2_15 0x80000000
  100. MX53_PAD_EIM_DA11__GPIO3_11 0x80000000
  101. MX53_PAD_EIM_DA12__GPIO3_12 0x80000000
  102. MX53_PAD_EIM_DA13__GPIO3_13 0x80000000
  103. MX53_PAD_PATA_DA_0__GPIO7_6 0x80000000
  104. MX53_PAD_GPIO_16__GPIO7_11 0x80000000
  105. >;
  106. };
  107. led_pin_gpio7_7: led_gpio7_7@0 {
  108. fsl,pins = <
  109. MX53_PAD_PATA_DA_1__GPIO7_7 0x80000000
  110. >;
  111. };
  112. };
  113. };
  114. &uart1 {
  115. pinctrl-names = "default";
  116. pinctrl-0 = <&pinctrl_uart1_1>;
  117. status = "okay";
  118. };
  119. &i2c2 {
  120. pinctrl-names = "default";
  121. pinctrl-0 = <&pinctrl_i2c2_1>;
  122. status = "okay";
  123. sgtl5000: codec@0a {
  124. compatible = "fsl,sgtl5000";
  125. reg = <0x0a>;
  126. VDDA-supply = <&reg_3p2v>;
  127. VDDIO-supply = <&reg_3p2v>;
  128. clocks = <&clks 150>;
  129. };
  130. };
  131. &i2c1 {
  132. pinctrl-names = "default";
  133. pinctrl-0 = <&pinctrl_i2c1_1>;
  134. status = "okay";
  135. accelerometer: mma8450@1c {
  136. compatible = "fsl,mma8450";
  137. reg = <0x1c>;
  138. };
  139. pmic: dialog@48 {
  140. compatible = "dlg,da9053-aa", "dlg,da9052";
  141. reg = <0x48>;
  142. interrupt-parent = <&gpio7>;
  143. interrupts = <11 0x8>; /* low-level active IRQ at GPIO7_11 */
  144. regulators {
  145. buck1_reg: buck1 {
  146. regulator-min-microvolt = <500000>;
  147. regulator-max-microvolt = <2075000>;
  148. regulator-always-on;
  149. };
  150. buck2_reg: buck2 {
  151. regulator-min-microvolt = <500000>;
  152. regulator-max-microvolt = <2075000>;
  153. regulator-always-on;
  154. };
  155. buck3_reg: buck3 {
  156. regulator-min-microvolt = <925000>;
  157. regulator-max-microvolt = <2500000>;
  158. regulator-always-on;
  159. };
  160. buck4_reg: buck4 {
  161. regulator-min-microvolt = <925000>;
  162. regulator-max-microvolt = <2500000>;
  163. regulator-always-on;
  164. };
  165. ldo1_reg: ldo1 {
  166. regulator-min-microvolt = <600000>;
  167. regulator-max-microvolt = <1800000>;
  168. regulator-boot-on;
  169. regulator-always-on;
  170. };
  171. ldo2_reg: ldo2 {
  172. regulator-min-microvolt = <600000>;
  173. regulator-max-microvolt = <1800000>;
  174. regulator-always-on;
  175. };
  176. ldo3_reg: ldo3 {
  177. regulator-min-microvolt = <600000>;
  178. regulator-max-microvolt = <1800000>;
  179. regulator-always-on;
  180. };
  181. ldo4_reg: ldo4 {
  182. regulator-min-microvolt = <1725000>;
  183. regulator-max-microvolt = <3300000>;
  184. regulator-always-on;
  185. };
  186. ldo5_reg: ldo5 {
  187. regulator-min-microvolt = <1725000>;
  188. regulator-max-microvolt = <3300000>;
  189. regulator-always-on;
  190. };
  191. ldo6_reg: ldo6 {
  192. regulator-min-microvolt = <1200000>;
  193. regulator-max-microvolt = <3600000>;
  194. regulator-always-on;
  195. };
  196. ldo7_reg: ldo7 {
  197. regulator-min-microvolt = <1200000>;
  198. regulator-max-microvolt = <3600000>;
  199. regulator-always-on;
  200. };
  201. ldo8_reg: ldo8 {
  202. regulator-min-microvolt = <1200000>;
  203. regulator-max-microvolt = <3600000>;
  204. regulator-always-on;
  205. };
  206. ldo9_reg: ldo9 {
  207. regulator-min-microvolt = <1200000>;
  208. regulator-max-microvolt = <3600000>;
  209. regulator-always-on;
  210. };
  211. ldo10_reg: ldo10 {
  212. regulator-min-microvolt = <1250000>;
  213. regulator-max-microvolt = <3650000>;
  214. regulator-always-on;
  215. };
  216. };
  217. };
  218. };
  219. &audmux {
  220. pinctrl-names = "default";
  221. pinctrl-0 = <&pinctrl_audmux_1>;
  222. status = "okay";
  223. };
  224. &fec {
  225. pinctrl-names = "default";
  226. pinctrl-0 = <&pinctrl_fec_1>;
  227. phy-mode = "rmii";
  228. phy-reset-gpios = <&gpio7 6 0>;
  229. status = "okay";
  230. };
  231. &usbh1 {
  232. status = "okay";
  233. };
  234. &usbotg {
  235. status = "okay";
  236. };