da850-evm.dts 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  1. /*
  2. * Device Tree for DA850 EVM board
  3. *
  4. * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
  5. *
  6. * This program is free software; you can redistribute it and/or modify it
  7. * under the terms of the GNU General Public License as published by the
  8. * Free Software Foundation, version 2.
  9. */
  10. /dts-v1/;
  11. #include "da850.dtsi"
  12. / {
  13. compatible = "ti,da850-evm", "ti,da850";
  14. model = "DA850/AM1808/OMAP-L138 EVM";
  15. soc@1c00000 {
  16. pmx_core: pinmux@14120 {
  17. status = "okay";
  18. mcasp0_pins: pinmux_mcasp0_pins {
  19. pinctrl-single,bits = <
  20. /*
  21. * AHCLKX, ACLKX, AFSX, AHCLKR, ACLKR,
  22. * AFSR, AMUTE
  23. */
  24. 0x00 0x11111111 0xffffffff
  25. /* AXR11, AXR12 */
  26. 0x04 0x00011000 0x000ff000
  27. >;
  28. };
  29. nand_pins: nand_pins {
  30. pinctrl-single,bits = <
  31. /* EMA_WAIT[0], EMA_OE, EMA_WE, EMA_CS[4], EMA_CS[3] */
  32. 0x1c 0x10110110 0xf0ff0ff0
  33. /*
  34. * EMA_D[0], EMA_D[1], EMA_D[2],
  35. * EMA_D[3], EMA_D[4], EMA_D[5],
  36. * EMA_D[6], EMA_D[7]
  37. */
  38. 0x24 0x11111111 0xffffffff
  39. /* EMA_A[1], EMA_A[2] */
  40. 0x30 0x01100000 0x0ff00000
  41. >;
  42. };
  43. };
  44. serial0: serial@42000 {
  45. status = "okay";
  46. };
  47. serial1: serial@10c000 {
  48. status = "okay";
  49. };
  50. serial2: serial@10d000 {
  51. status = "okay";
  52. };
  53. rtc0: rtc@23000 {
  54. status = "okay";
  55. };
  56. i2c0: i2c@22000 {
  57. status = "okay";
  58. clock-frequency = <100000>;
  59. pinctrl-names = "default";
  60. pinctrl-0 = <&i2c0_pins>;
  61. tps: tps@48 {
  62. reg = <0x48>;
  63. };
  64. tlv320aic3106: tlv320aic3106@18 {
  65. #sound-dai-cells = <0>;
  66. compatible = "ti,tlv320aic3106";
  67. reg = <0x18>;
  68. status = "okay";
  69. /* Regulators */
  70. IOVDD-supply = <&vdcdc2_reg>;
  71. /* Derived from VBAT: Baseboard 3.3V / 1.8V */
  72. AVDD-supply = <&vbat>;
  73. DRVDD-supply = <&vbat>;
  74. DVDD-supply = <&vbat>;
  75. };
  76. };
  77. wdt: wdt@21000 {
  78. status = "okay";
  79. };
  80. mmc0: mmc@40000 {
  81. max-frequency = <50000000>;
  82. bus-width = <4>;
  83. status = "okay";
  84. pinctrl-names = "default";
  85. pinctrl-0 = <&mmc0_pins>;
  86. };
  87. spi1: spi@30e000 {
  88. status = "okay";
  89. pinctrl-names = "default";
  90. pinctrl-0 = <&spi1_pins &spi1_cs0_pin>;
  91. flash: m25p80@0 {
  92. #address-cells = <1>;
  93. #size-cells = <1>;
  94. compatible = "m25p64";
  95. spi-max-frequency = <30000000>;
  96. m25p,fast-read;
  97. reg = <0>;
  98. partition@0 {
  99. label = "U-Boot-SPL";
  100. reg = <0x00000000 0x00010000>;
  101. read-only;
  102. };
  103. partition@1 {
  104. label = "U-Boot";
  105. reg = <0x00010000 0x00080000>;
  106. read-only;
  107. };
  108. partition@2 {
  109. label = "U-Boot-Env";
  110. reg = <0x00090000 0x00010000>;
  111. read-only;
  112. };
  113. partition@3 {
  114. label = "Kernel";
  115. reg = <0x000a0000 0x00280000>;
  116. };
  117. partition@4 {
  118. label = "Filesystem";
  119. reg = <0x00320000 0x00400000>;
  120. };
  121. partition@5 {
  122. label = "MAC-Address";
  123. reg = <0x007f0000 0x00010000>;
  124. read-only;
  125. };
  126. };
  127. };
  128. mdio: mdio@224000 {
  129. status = "okay";
  130. pinctrl-names = "default";
  131. pinctrl-0 = <&mdio_pins>;
  132. bus_freq = <2200000>;
  133. };
  134. eth0: ethernet@220000 {
  135. status = "okay";
  136. pinctrl-names = "default";
  137. pinctrl-0 = <&mii_pins>;
  138. };
  139. gpio: gpio@226000 {
  140. status = "okay";
  141. };
  142. };
  143. vbat: fixedregulator0 {
  144. compatible = "regulator-fixed";
  145. regulator-name = "vbat";
  146. regulator-min-microvolt = <5000000>;
  147. regulator-max-microvolt = <5000000>;
  148. regulator-boot-on;
  149. };
  150. sound {
  151. compatible = "simple-audio-card";
  152. simple-audio-card,name = "DA850/OMAP-L138 EVM";
  153. simple-audio-card,widgets =
  154. "Line", "Line In",
  155. "Line", "Line Out";
  156. simple-audio-card,routing =
  157. "LINE1L", "Line In",
  158. "LINE1R", "Line In",
  159. "Line Out", "LLOUT",
  160. "Line Out", "RLOUT";
  161. simple-audio-card,format = "dsp_b";
  162. simple-audio-card,bitclock-master = <&link0_codec>;
  163. simple-audio-card,frame-master = <&link0_codec>;
  164. simple-audio-card,bitclock-inversion;
  165. simple-audio-card,cpu {
  166. sound-dai = <&mcasp0>;
  167. system-clock-frequency = <24576000>;
  168. };
  169. link0_codec: simple-audio-card,codec {
  170. sound-dai = <&tlv320aic3106>;
  171. system-clock-frequency = <24576000>;
  172. };
  173. };
  174. };
  175. /include/ "tps6507x.dtsi"
  176. &tps {
  177. vdcdc1_2-supply = <&vbat>;
  178. vdcdc3-supply = <&vbat>;
  179. vldo1_2-supply = <&vbat>;
  180. regulators {
  181. vdcdc1_reg: regulator@0 {
  182. regulator-name = "VDCDC1_3.3V";
  183. regulator-min-microvolt = <3150000>;
  184. regulator-max-microvolt = <3450000>;
  185. regulator-always-on;
  186. regulator-boot-on;
  187. };
  188. vdcdc2_reg: regulator@1 {
  189. regulator-name = "VDCDC2_3.3V";
  190. regulator-min-microvolt = <1710000>;
  191. regulator-max-microvolt = <3450000>;
  192. regulator-always-on;
  193. regulator-boot-on;
  194. ti,defdcdc_default = <1>;
  195. };
  196. vdcdc3_reg: regulator@2 {
  197. regulator-name = "VDCDC3_1.2V";
  198. regulator-min-microvolt = <950000>;
  199. regulator-max-microvolt = <1350000>;
  200. regulator-always-on;
  201. regulator-boot-on;
  202. ti,defdcdc_default = <1>;
  203. };
  204. ldo1_reg: regulator@3 {
  205. regulator-name = "LDO1_1.8V";
  206. regulator-min-microvolt = <1710000>;
  207. regulator-max-microvolt = <1890000>;
  208. regulator-always-on;
  209. regulator-boot-on;
  210. };
  211. ldo2_reg: regulator@4 {
  212. regulator-name = "LDO2_1.2V";
  213. regulator-min-microvolt = <1140000>;
  214. regulator-max-microvolt = <1320000>;
  215. regulator-always-on;
  216. regulator-boot-on;
  217. };
  218. };
  219. };
  220. &mcasp0 {
  221. #sound-dai-cells = <0>;
  222. status = "okay";
  223. pinctrl-names = "default";
  224. pinctrl-0 = <&mcasp0_pins>;
  225. op-mode = <0>; /* MCASP_IIS_MODE */
  226. tdm-slots = <2>;
  227. /* 4 serializer */
  228. serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
  229. 0 0 0 0
  230. 0 0 0 0
  231. 0 0 0 1
  232. 2 0 0 0
  233. >;
  234. tx-num-evt = <32>;
  235. rx-num-evt = <32>;
  236. };
  237. &edma0 {
  238. ti,edma-reserved-slot-ranges = <32 50>;
  239. };
  240. &edma1 {
  241. ti,edma-reserved-slot-ranges = <32 90>;
  242. };
  243. &aemif {
  244. pinctrl-names = "default";
  245. pinctrl-0 = <&nand_pins>;
  246. status = "ok";
  247. cs3 {
  248. #address-cells = <2>;
  249. #size-cells = <1>;
  250. clock-ranges;
  251. ranges;
  252. ti,cs-chipselect = <3>;
  253. nand@2000000,0 {
  254. compatible = "ti,davinci-nand";
  255. #address-cells = <1>;
  256. #size-cells = <1>;
  257. reg = <0 0x02000000 0x02000000
  258. 1 0x00000000 0x00008000>;
  259. ti,davinci-chipselect = <1>;
  260. ti,davinci-mask-ale = <0>;
  261. ti,davinci-mask-cle = <0>;
  262. ti,davinci-mask-chipsel = <0>;
  263. ti,davinci-ecc-mode = "hw";
  264. ti,davinci-ecc-bits = <4>;
  265. ti,davinci-nand-use-bbt;
  266. };
  267. };
  268. };