imx53-qsb.dts 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322
  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. reg_usb_vbus: usb_vbus {
  85. compatible = "regulator-fixed";
  86. regulator-name = "usb_vbus";
  87. regulator-min-microvolt = <5000000>;
  88. regulator-max-microvolt = <5000000>;
  89. gpio = <&gpio7 8 0>;
  90. enable-active-high;
  91. };
  92. };
  93. sound {
  94. compatible = "fsl,imx53-qsb-sgtl5000",
  95. "fsl,imx-audio-sgtl5000";
  96. model = "imx53-qsb-sgtl5000";
  97. ssi-controller = <&ssi2>;
  98. audio-codec = <&sgtl5000>;
  99. audio-routing =
  100. "MIC_IN", "Mic Jack",
  101. "Mic Jack", "Mic Bias",
  102. "Headphone Jack", "HP_OUT";
  103. mux-int-port = <2>;
  104. mux-ext-port = <5>;
  105. };
  106. };
  107. &esdhc1 {
  108. pinctrl-names = "default";
  109. pinctrl-0 = <&pinctrl_esdhc1_1>;
  110. cd-gpios = <&gpio3 13 0>;
  111. status = "okay";
  112. };
  113. &ssi2 {
  114. fsl,mode = "i2s-slave";
  115. status = "okay";
  116. };
  117. &esdhc3 {
  118. pinctrl-names = "default";
  119. pinctrl-0 = <&pinctrl_esdhc3_1>;
  120. cd-gpios = <&gpio3 11 0>;
  121. wp-gpios = <&gpio3 12 0>;
  122. status = "okay";
  123. };
  124. &iomuxc {
  125. pinctrl-names = "default";
  126. pinctrl-0 = <&pinctrl_hog>;
  127. hog {
  128. pinctrl_hog: hoggrp {
  129. fsl,pins = <
  130. MX53_PAD_GPIO_0__CCM_SSI_EXT1_CLK 0x80000000
  131. MX53_PAD_GPIO_8__GPIO1_8 0x80000000
  132. MX53_PAD_PATA_DATA14__GPIO2_14 0x80000000
  133. MX53_PAD_PATA_DATA15__GPIO2_15 0x80000000
  134. MX53_PAD_EIM_DA11__GPIO3_11 0x80000000
  135. MX53_PAD_EIM_DA12__GPIO3_12 0x80000000
  136. MX53_PAD_EIM_DA13__GPIO3_13 0x80000000
  137. MX53_PAD_PATA_DA_0__GPIO7_6 0x80000000
  138. MX53_PAD_PATA_DA_2__GPIO7_8 0x80000000
  139. MX53_PAD_GPIO_16__GPIO7_11 0x80000000
  140. >;
  141. };
  142. led_pin_gpio7_7: led_gpio7_7@0 {
  143. fsl,pins = <
  144. MX53_PAD_PATA_DA_1__GPIO7_7 0x80000000
  145. >;
  146. };
  147. };
  148. };
  149. &uart1 {
  150. pinctrl-names = "default";
  151. pinctrl-0 = <&pinctrl_uart1_1>;
  152. status = "okay";
  153. };
  154. &i2c2 {
  155. pinctrl-names = "default";
  156. pinctrl-0 = <&pinctrl_i2c2_1>;
  157. status = "okay";
  158. sgtl5000: codec@0a {
  159. compatible = "fsl,sgtl5000";
  160. reg = <0x0a>;
  161. VDDA-supply = <&reg_3p2v>;
  162. VDDIO-supply = <&reg_3p2v>;
  163. clocks = <&clks 150>;
  164. };
  165. };
  166. &i2c1 {
  167. pinctrl-names = "default";
  168. pinctrl-0 = <&pinctrl_i2c1_1>;
  169. status = "okay";
  170. accelerometer: mma8450@1c {
  171. compatible = "fsl,mma8450";
  172. reg = <0x1c>;
  173. };
  174. pmic: dialog@48 {
  175. compatible = "dlg,da9053-aa", "dlg,da9052";
  176. reg = <0x48>;
  177. interrupt-parent = <&gpio7>;
  178. interrupts = <11 0x8>; /* low-level active IRQ at GPIO7_11 */
  179. regulators {
  180. buck1_reg: buck1 {
  181. regulator-min-microvolt = <500000>;
  182. regulator-max-microvolt = <2075000>;
  183. regulator-always-on;
  184. };
  185. buck2_reg: buck2 {
  186. regulator-min-microvolt = <500000>;
  187. regulator-max-microvolt = <2075000>;
  188. regulator-always-on;
  189. };
  190. buck3_reg: buck3 {
  191. regulator-min-microvolt = <925000>;
  192. regulator-max-microvolt = <2500000>;
  193. regulator-always-on;
  194. };
  195. buck4_reg: buck4 {
  196. regulator-min-microvolt = <925000>;
  197. regulator-max-microvolt = <2500000>;
  198. regulator-always-on;
  199. };
  200. ldo1_reg: ldo1 {
  201. regulator-min-microvolt = <600000>;
  202. regulator-max-microvolt = <1800000>;
  203. regulator-boot-on;
  204. regulator-always-on;
  205. };
  206. ldo2_reg: ldo2 {
  207. regulator-min-microvolt = <600000>;
  208. regulator-max-microvolt = <1800000>;
  209. regulator-always-on;
  210. };
  211. ldo3_reg: ldo3 {
  212. regulator-min-microvolt = <600000>;
  213. regulator-max-microvolt = <1800000>;
  214. regulator-always-on;
  215. };
  216. ldo4_reg: ldo4 {
  217. regulator-min-microvolt = <1725000>;
  218. regulator-max-microvolt = <3300000>;
  219. regulator-always-on;
  220. };
  221. ldo5_reg: ldo5 {
  222. regulator-min-microvolt = <1725000>;
  223. regulator-max-microvolt = <3300000>;
  224. regulator-always-on;
  225. };
  226. ldo6_reg: ldo6 {
  227. regulator-min-microvolt = <1200000>;
  228. regulator-max-microvolt = <3600000>;
  229. regulator-always-on;
  230. };
  231. ldo7_reg: ldo7 {
  232. regulator-min-microvolt = <1200000>;
  233. regulator-max-microvolt = <3600000>;
  234. regulator-always-on;
  235. };
  236. ldo8_reg: ldo8 {
  237. regulator-min-microvolt = <1200000>;
  238. regulator-max-microvolt = <3600000>;
  239. regulator-always-on;
  240. };
  241. ldo9_reg: ldo9 {
  242. regulator-min-microvolt = <1200000>;
  243. regulator-max-microvolt = <3600000>;
  244. regulator-always-on;
  245. };
  246. ldo10_reg: ldo10 {
  247. regulator-min-microvolt = <1250000>;
  248. regulator-max-microvolt = <3650000>;
  249. regulator-always-on;
  250. };
  251. };
  252. };
  253. };
  254. &audmux {
  255. pinctrl-names = "default";
  256. pinctrl-0 = <&pinctrl_audmux_1>;
  257. status = "okay";
  258. };
  259. &fec {
  260. pinctrl-names = "default";
  261. pinctrl-0 = <&pinctrl_fec_1>;
  262. phy-mode = "rmii";
  263. phy-reset-gpios = <&gpio7 6 0>;
  264. status = "okay";
  265. };
  266. &vpu {
  267. status = "okay";
  268. };
  269. &usbh1 {
  270. vbus-supply = <&reg_usb_vbus>;
  271. phy_type = "utmi";
  272. status = "okay";
  273. };
  274. &usbotg {
  275. status = "okay";
  276. };