imx53-qsb.dts 6.3 KB

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