imx53-qsb.dts 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  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. 873 0x80000000 /* MX53_PAD_PATA_DA_1__GPIO7_7 */
  56. >;
  57. };
  58. };
  59. };
  60. uart1: serial@53fbc000 {
  61. pinctrl-names = "default";
  62. pinctrl-0 = <&pinctrl_uart1_1>;
  63. status = "okay";
  64. };
  65. };
  66. aips@60000000 { /* AIPS2 */
  67. i2c@63fc4000 { /* I2C2 */
  68. pinctrl-names = "default";
  69. pinctrl-0 = <&pinctrl_i2c2_1>;
  70. status = "okay";
  71. sgtl5000: codec@0a {
  72. compatible = "fsl,sgtl5000";
  73. reg = <0x0a>;
  74. VDDA-supply = <&reg_3p2v>;
  75. VDDIO-supply = <&reg_3p2v>;
  76. };
  77. };
  78. i2c@63fc8000 { /* I2C1 */
  79. pinctrl-names = "default";
  80. pinctrl-0 = <&pinctrl_i2c1_1>;
  81. status = "okay";
  82. accelerometer: mma8450@1c {
  83. compatible = "fsl,mma8450";
  84. reg = <0x1c>;
  85. };
  86. pmic: dialog@48 {
  87. compatible = "dlg,da9053-aa", "dlg,da9052";
  88. reg = <0x48>;
  89. regulators {
  90. buck0 {
  91. regulator-min-microvolt = <500000>;
  92. regulator-max-microvolt = <2075000>;
  93. };
  94. buck1 {
  95. regulator-min-microvolt = <500000>;
  96. regulator-max-microvolt = <2075000>;
  97. };
  98. buck2 {
  99. regulator-min-microvolt = <925000>;
  100. regulator-max-microvolt = <2500000>;
  101. };
  102. buck3 {
  103. regulator-min-microvolt = <925000>;
  104. regulator-max-microvolt = <2500000>;
  105. };
  106. ldo4 {
  107. regulator-min-microvolt = <600000>;
  108. regulator-max-microvolt = <1800000>;
  109. };
  110. ldo5 {
  111. regulator-min-microvolt = <600000>;
  112. regulator-max-microvolt = <1800000>;
  113. };
  114. ldo6 {
  115. regulator-min-microvolt = <1725000>;
  116. regulator-max-microvolt = <3300000>;
  117. };
  118. ldo7 {
  119. regulator-min-microvolt = <1725000>;
  120. regulator-max-microvolt = <3300000>;
  121. };
  122. ldo8 {
  123. regulator-min-microvolt = <1200000>;
  124. regulator-max-microvolt = <3600000>;
  125. };
  126. ldo9 {
  127. regulator-min-microvolt = <1200000>;
  128. regulator-max-microvolt = <3600000>;
  129. };
  130. ldo10 {
  131. regulator-min-microvolt = <1200000>;
  132. regulator-max-microvolt = <3600000>;
  133. };
  134. ldo11 {
  135. regulator-min-microvolt = <1200000>;
  136. regulator-max-microvolt = <3600000>;
  137. };
  138. ldo12 {
  139. regulator-min-microvolt = <1250000>;
  140. regulator-max-microvolt = <3650000>;
  141. };
  142. ldo13 {
  143. regulator-min-microvolt = <1200000>;
  144. regulator-max-microvolt = <3600000>;
  145. };
  146. };
  147. };
  148. };
  149. audmux@63fd0000 {
  150. pinctrl-names = "default";
  151. pinctrl-0 = <&pinctrl_audmux_1>;
  152. status = "okay";
  153. };
  154. ethernet@63fec000 {
  155. pinctrl-names = "default";
  156. pinctrl-0 = <&pinctrl_fec_1>;
  157. phy-mode = "rmii";
  158. phy-reset-gpios = <&gpio7 6 0>;
  159. status = "okay";
  160. };
  161. };
  162. };
  163. gpio-keys {
  164. compatible = "gpio-keys";
  165. power {
  166. label = "Power Button";
  167. gpios = <&gpio1 8 0>;
  168. linux,code = <116>; /* KEY_POWER */
  169. gpio-key,wakeup;
  170. };
  171. volume-up {
  172. label = "Volume Up";
  173. gpios = <&gpio2 14 0>;
  174. linux,code = <115>; /* KEY_VOLUMEUP */
  175. };
  176. volume-down {
  177. label = "Volume Down";
  178. gpios = <&gpio2 15 0>;
  179. linux,code = <114>; /* KEY_VOLUMEDOWN */
  180. };
  181. };
  182. leds {
  183. compatible = "gpio-leds";
  184. user {
  185. label = "Heartbeat";
  186. gpios = <&gpio7 7 0>;
  187. linux,default-trigger = "heartbeat";
  188. };
  189. };
  190. regulators {
  191. compatible = "simple-bus";
  192. reg_3p2v: 3p2v {
  193. compatible = "regulator-fixed";
  194. regulator-name = "3P2V";
  195. regulator-min-microvolt = <3200000>;
  196. regulator-max-microvolt = <3200000>;
  197. regulator-always-on;
  198. };
  199. };
  200. sound {
  201. compatible = "fsl,imx53-qsb-sgtl5000",
  202. "fsl,imx-audio-sgtl5000";
  203. model = "imx53-qsb-sgtl5000";
  204. ssi-controller = <&ssi2>;
  205. audio-codec = <&sgtl5000>;
  206. audio-routing =
  207. "MIC_IN", "Mic Jack",
  208. "Mic Jack", "Mic Bias",
  209. "Headphone Jack", "HP_OUT";
  210. mux-int-port = <2>;
  211. mux-ext-port = <5>;
  212. };
  213. };