imx53-qsb.dts 5.7 KB

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