imx53-qsb.dts 6.1 KB

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