imx53-qsb.dts 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  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. 1071 0x80000000 /* MX53_PAD_GPIO_0__CCM_SSI_EXT1_CLK */
  97. 1141 0x80000000 /* MX53_PAD_GPIO_8__GPIO1_8 */
  98. 982 0x80000000 /* MX53_PAD_PATA_DATA14__GPIO2_14 */
  99. 989 0x80000000 /* MX53_PAD_PATA_DATA15__GPIO2_15 */
  100. 693 0x80000000 /* MX53_PAD_EIM_DA11__GPIO3_11 */
  101. 697 0x80000000 /* MX53_PAD_EIM_DA12__GPIO3_12 */
  102. 701 0x80000000 /* MX53_PAD_EIM_DA13__GPIO3_13 */
  103. 868 0x80000000 /* MX53_PAD_PATA_DA_0__GPIO7_6 */
  104. 1149 0x80000000 /* MX53_PAD_GPIO_16__GPIO7_11 */
  105. >;
  106. };
  107. led_pin_gpio7_7: led_gpio7_7@0 {
  108. fsl,pins = <
  109. 873 0x80000000 /* MX53_PAD_PATA_DA_1__GPIO7_7 */
  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. };
  129. };
  130. &i2c1 {
  131. pinctrl-names = "default";
  132. pinctrl-0 = <&pinctrl_i2c1_1>;
  133. status = "okay";
  134. accelerometer: mma8450@1c {
  135. compatible = "fsl,mma8450";
  136. reg = <0x1c>;
  137. };
  138. pmic: dialog@48 {
  139. compatible = "dlg,da9053-aa", "dlg,da9052";
  140. reg = <0x48>;
  141. interrupt-parent = <&gpio7>;
  142. interrupts = <11 0x8>; /* low-level active IRQ at GPIO7_11 */
  143. regulators {
  144. buck1_reg: buck1 {
  145. regulator-min-microvolt = <500000>;
  146. regulator-max-microvolt = <2075000>;
  147. regulator-always-on;
  148. };
  149. buck2_reg: buck2 {
  150. regulator-min-microvolt = <500000>;
  151. regulator-max-microvolt = <2075000>;
  152. regulator-always-on;
  153. };
  154. buck3_reg: buck3 {
  155. regulator-min-microvolt = <925000>;
  156. regulator-max-microvolt = <2500000>;
  157. regulator-always-on;
  158. };
  159. buck4_reg: buck4 {
  160. regulator-min-microvolt = <925000>;
  161. regulator-max-microvolt = <2500000>;
  162. regulator-always-on;
  163. };
  164. ldo1_reg: ldo1 {
  165. regulator-min-microvolt = <600000>;
  166. regulator-max-microvolt = <1800000>;
  167. regulator-boot-on;
  168. regulator-always-on;
  169. };
  170. ldo2_reg: ldo2 {
  171. regulator-min-microvolt = <600000>;
  172. regulator-max-microvolt = <1800000>;
  173. regulator-always-on;
  174. };
  175. ldo3_reg: ldo3 {
  176. regulator-min-microvolt = <600000>;
  177. regulator-max-microvolt = <1800000>;
  178. regulator-always-on;
  179. };
  180. ldo4_reg: ldo4 {
  181. regulator-min-microvolt = <1725000>;
  182. regulator-max-microvolt = <3300000>;
  183. regulator-always-on;
  184. };
  185. ldo5_reg: ldo5 {
  186. regulator-min-microvolt = <1725000>;
  187. regulator-max-microvolt = <3300000>;
  188. regulator-always-on;
  189. };
  190. ldo6_reg: ldo6 {
  191. regulator-min-microvolt = <1200000>;
  192. regulator-max-microvolt = <3600000>;
  193. regulator-always-on;
  194. };
  195. ldo7_reg: ldo7 {
  196. regulator-min-microvolt = <1200000>;
  197. regulator-max-microvolt = <3600000>;
  198. regulator-always-on;
  199. };
  200. ldo8_reg: ldo8 {
  201. regulator-min-microvolt = <1200000>;
  202. regulator-max-microvolt = <3600000>;
  203. regulator-always-on;
  204. };
  205. ldo9_reg: ldo9 {
  206. regulator-min-microvolt = <1200000>;
  207. regulator-max-microvolt = <3600000>;
  208. regulator-always-on;
  209. };
  210. ldo10_reg: ldo10 {
  211. regulator-min-microvolt = <1250000>;
  212. regulator-max-microvolt = <3650000>;
  213. regulator-always-on;
  214. };
  215. };
  216. };
  217. };
  218. &audmux {
  219. pinctrl-names = "default";
  220. pinctrl-0 = <&pinctrl_audmux_1>;
  221. status = "okay";
  222. };
  223. &fec {
  224. pinctrl-names = "default";
  225. pinctrl-0 = <&pinctrl_fec_1>;
  226. phy-mode = "rmii";
  227. phy-reset-gpios = <&gpio7 6 0>;
  228. status = "okay";
  229. };