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. status = "okay";
  111. };
  112. &ssi2 {
  113. fsl,mode = "i2s-slave";
  114. status = "okay";
  115. };
  116. &esdhc3 {
  117. pinctrl-names = "default";
  118. pinctrl-0 = <&pinctrl_esdhc3_1>;
  119. cd-gpios = <&gpio3 11 0>;
  120. wp-gpios = <&gpio3 12 0>;
  121. bus-width = <8>;
  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_PATA_DA_0__GPIO7_6 0x80000000
  137. MX53_PAD_PATA_DA_2__GPIO7_8 0x80000000
  138. MX53_PAD_GPIO_16__GPIO7_11 0x80000000
  139. >;
  140. };
  141. led_pin_gpio7_7: led_gpio7_7@0 {
  142. fsl,pins = <
  143. MX53_PAD_PATA_DA_1__GPIO7_7 0x80000000
  144. >;
  145. };
  146. };
  147. };
  148. &uart1 {
  149. pinctrl-names = "default";
  150. pinctrl-0 = <&pinctrl_uart1_1>;
  151. status = "okay";
  152. };
  153. &i2c2 {
  154. pinctrl-names = "default";
  155. pinctrl-0 = <&pinctrl_i2c2_1>;
  156. status = "okay";
  157. sgtl5000: codec@0a {
  158. compatible = "fsl,sgtl5000";
  159. reg = <0x0a>;
  160. VDDA-supply = <&reg_3p2v>;
  161. VDDIO-supply = <&reg_3p2v>;
  162. clocks = <&clks 150>;
  163. };
  164. };
  165. &i2c1 {
  166. pinctrl-names = "default";
  167. pinctrl-0 = <&pinctrl_i2c1_1>;
  168. status = "okay";
  169. accelerometer: mma8450@1c {
  170. compatible = "fsl,mma8450";
  171. reg = <0x1c>;
  172. };
  173. pmic: dialog@48 {
  174. compatible = "dlg,da9053-aa", "dlg,da9052";
  175. reg = <0x48>;
  176. interrupt-parent = <&gpio7>;
  177. interrupts = <11 0x8>; /* low-level active IRQ at GPIO7_11 */
  178. regulators {
  179. buck1_reg: buck1 {
  180. regulator-min-microvolt = <500000>;
  181. regulator-max-microvolt = <2075000>;
  182. regulator-always-on;
  183. };
  184. buck2_reg: buck2 {
  185. regulator-min-microvolt = <500000>;
  186. regulator-max-microvolt = <2075000>;
  187. regulator-always-on;
  188. };
  189. buck3_reg: buck3 {
  190. regulator-min-microvolt = <925000>;
  191. regulator-max-microvolt = <2500000>;
  192. regulator-always-on;
  193. };
  194. buck4_reg: buck4 {
  195. regulator-min-microvolt = <925000>;
  196. regulator-max-microvolt = <2500000>;
  197. regulator-always-on;
  198. };
  199. ldo1_reg: ldo1 {
  200. regulator-min-microvolt = <600000>;
  201. regulator-max-microvolt = <1800000>;
  202. regulator-boot-on;
  203. regulator-always-on;
  204. };
  205. ldo2_reg: ldo2 {
  206. regulator-min-microvolt = <600000>;
  207. regulator-max-microvolt = <1800000>;
  208. regulator-always-on;
  209. };
  210. ldo3_reg: ldo3 {
  211. regulator-min-microvolt = <600000>;
  212. regulator-max-microvolt = <1800000>;
  213. regulator-always-on;
  214. };
  215. ldo4_reg: ldo4 {
  216. regulator-min-microvolt = <1725000>;
  217. regulator-max-microvolt = <3300000>;
  218. regulator-always-on;
  219. };
  220. ldo5_reg: ldo5 {
  221. regulator-min-microvolt = <1725000>;
  222. regulator-max-microvolt = <3300000>;
  223. regulator-always-on;
  224. };
  225. ldo6_reg: ldo6 {
  226. regulator-min-microvolt = <1200000>;
  227. regulator-max-microvolt = <3600000>;
  228. regulator-always-on;
  229. };
  230. ldo7_reg: ldo7 {
  231. regulator-min-microvolt = <1200000>;
  232. regulator-max-microvolt = <3600000>;
  233. regulator-always-on;
  234. };
  235. ldo8_reg: ldo8 {
  236. regulator-min-microvolt = <1200000>;
  237. regulator-max-microvolt = <3600000>;
  238. regulator-always-on;
  239. };
  240. ldo9_reg: ldo9 {
  241. regulator-min-microvolt = <1200000>;
  242. regulator-max-microvolt = <3600000>;
  243. regulator-always-on;
  244. };
  245. ldo10_reg: ldo10 {
  246. regulator-min-microvolt = <1250000>;
  247. regulator-max-microvolt = <3650000>;
  248. regulator-always-on;
  249. };
  250. };
  251. };
  252. };
  253. &audmux {
  254. pinctrl-names = "default";
  255. pinctrl-0 = <&pinctrl_audmux_1>;
  256. status = "okay";
  257. };
  258. &fec {
  259. pinctrl-names = "default";
  260. pinctrl-0 = <&pinctrl_fec_1>;
  261. phy-mode = "rmii";
  262. phy-reset-gpios = <&gpio7 6 0>;
  263. status = "okay";
  264. };
  265. &vpu {
  266. status = "okay";
  267. };
  268. &usbh1 {
  269. vbus-supply = <&reg_usb_vbus>;
  270. phy_type = "utmi";
  271. status = "okay";
  272. };
  273. &usbotg {
  274. dr_mode = "peripheral";
  275. status = "okay";
  276. };