da850-evm.dts 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  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 {
  16. pmx_core: pinmux@1c14120 {
  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. };
  30. serial0: serial@1c42000 {
  31. status = "okay";
  32. };
  33. serial1: serial@1d0c000 {
  34. status = "okay";
  35. };
  36. serial2: serial@1d0d000 {
  37. status = "okay";
  38. };
  39. rtc0: rtc@1c23000 {
  40. status = "okay";
  41. };
  42. i2c0: i2c@1c22000 {
  43. status = "okay";
  44. clock-frequency = <100000>;
  45. pinctrl-names = "default";
  46. pinctrl-0 = <&i2c0_pins>;
  47. tps: tps@48 {
  48. reg = <0x48>;
  49. };
  50. tlv320aic3106: tlv320aic3106@18 {
  51. #sound-dai-cells = <0>;
  52. compatible = "ti,tlv320aic3106";
  53. reg = <0x18>;
  54. status = "okay";
  55. /* Regulators */
  56. IOVDD-supply = <&vdcdc2_reg>;
  57. /* Derived from VBAT: Baseboard 3.3V / 1.8V */
  58. AVDD-supply = <&vbat>;
  59. DRVDD-supply = <&vbat>;
  60. DVDD-supply = <&vbat>;
  61. };
  62. };
  63. wdt: wdt@1c21000 {
  64. status = "okay";
  65. };
  66. mmc0: mmc@1c40000 {
  67. max-frequency = <50000000>;
  68. bus-width = <4>;
  69. status = "okay";
  70. pinctrl-names = "default";
  71. pinctrl-0 = <&mmc0_pins>;
  72. };
  73. spi1: spi@1f0e000 {
  74. status = "okay";
  75. pinctrl-names = "default";
  76. pinctrl-0 = <&spi1_pins &spi1_cs0_pin>;
  77. flash: m25p80@0 {
  78. #address-cells = <1>;
  79. #size-cells = <1>;
  80. compatible = "m25p64";
  81. spi-max-frequency = <30000000>;
  82. reg = <0>;
  83. partition@0 {
  84. label = "U-Boot-SPL";
  85. reg = <0x00000000 0x00010000>;
  86. read-only;
  87. };
  88. partition@1 {
  89. label = "U-Boot";
  90. reg = <0x00010000 0x00080000>;
  91. read-only;
  92. };
  93. partition@2 {
  94. label = "U-Boot-Env";
  95. reg = <0x00090000 0x00010000>;
  96. read-only;
  97. };
  98. partition@3 {
  99. label = "Kernel";
  100. reg = <0x000a0000 0x00280000>;
  101. };
  102. partition@4 {
  103. label = "Filesystem";
  104. reg = <0x00320000 0x00400000>;
  105. };
  106. partition@5 {
  107. label = "MAC-Address";
  108. reg = <0x007f0000 0x00010000>;
  109. read-only;
  110. };
  111. };
  112. };
  113. mdio: mdio@1e24000 {
  114. status = "okay";
  115. pinctrl-names = "default";
  116. pinctrl-0 = <&mdio_pins>;
  117. bus_freq = <2200000>;
  118. };
  119. eth0: ethernet@1e20000 {
  120. status = "okay";
  121. pinctrl-names = "default";
  122. pinctrl-0 = <&mii_pins>;
  123. };
  124. gpio: gpio@1e26000 {
  125. status = "okay";
  126. };
  127. };
  128. nand_cs3@62000000 {
  129. status = "okay";
  130. pinctrl-names = "default";
  131. pinctrl-0 = <&nand_cs3_pins>;
  132. };
  133. vbat: fixedregulator@0 {
  134. compatible = "regulator-fixed";
  135. regulator-name = "vbat";
  136. regulator-min-microvolt = <5000000>;
  137. regulator-max-microvolt = <5000000>;
  138. regulator-boot-on;
  139. };
  140. sound {
  141. compatible = "simple-audio-card";
  142. simple-audio-card,name = "DA850/OMAP-L138 EVM";
  143. simple-audio-card,widgets =
  144. "Line", "Line In",
  145. "Line", "Line Out";
  146. simple-audio-card,routing =
  147. "LINE1L", "Line In",
  148. "LINE1R", "Line In",
  149. "Line Out", "LLOUT",
  150. "Line Out", "RLOUT";
  151. simple-audio-card,format = "dsp_b";
  152. simple-audio-card,bitclock-master = <&link0_codec>;
  153. simple-audio-card,frame-master = <&link0_codec>;
  154. simple-audio-card,bitclock-inversion;
  155. simple-audio-card,cpu {
  156. sound-dai = <&mcasp0>;
  157. system-clock-frequency = <24576000>;
  158. };
  159. link0_codec: simple-audio-card,codec {
  160. sound-dai = <&tlv320aic3106>;
  161. system-clock-frequency = <24576000>;
  162. };
  163. };
  164. };
  165. /include/ "tps6507x.dtsi"
  166. &tps {
  167. vdcdc1_2-supply = <&vbat>;
  168. vdcdc3-supply = <&vbat>;
  169. vldo1_2-supply = <&vbat>;
  170. regulators {
  171. vdcdc1_reg: regulator@0 {
  172. regulator-name = "VDCDC1_3.3V";
  173. regulator-min-microvolt = <3150000>;
  174. regulator-max-microvolt = <3450000>;
  175. regulator-always-on;
  176. regulator-boot-on;
  177. };
  178. vdcdc2_reg: regulator@1 {
  179. regulator-name = "VDCDC2_3.3V";
  180. regulator-min-microvolt = <1710000>;
  181. regulator-max-microvolt = <3450000>;
  182. regulator-always-on;
  183. regulator-boot-on;
  184. ti,defdcdc_default = <1>;
  185. };
  186. vdcdc3_reg: regulator@2 {
  187. regulator-name = "VDCDC3_1.2V";
  188. regulator-min-microvolt = <950000>;
  189. regulator-max-microvolt = <1350000>;
  190. regulator-always-on;
  191. regulator-boot-on;
  192. ti,defdcdc_default = <1>;
  193. };
  194. ldo1_reg: regulator@3 {
  195. regulator-name = "LDO1_1.8V";
  196. regulator-min-microvolt = <1710000>;
  197. regulator-max-microvolt = <1890000>;
  198. regulator-always-on;
  199. regulator-boot-on;
  200. };
  201. ldo2_reg: regulator@4 {
  202. regulator-name = "LDO2_1.2V";
  203. regulator-min-microvolt = <1140000>;
  204. regulator-max-microvolt = <1320000>;
  205. regulator-always-on;
  206. regulator-boot-on;
  207. };
  208. };
  209. };
  210. &mcasp0 {
  211. #sound-dai-cells = <0>;
  212. status = "okay";
  213. pinctrl-names = "default";
  214. pinctrl-0 = <&mcasp0_pins>;
  215. op-mode = <0>; /* MCASP_IIS_MODE */
  216. tdm-slots = <2>;
  217. /* 4 serializer */
  218. serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
  219. 0 0 0 0
  220. 0 0 0 0
  221. 0 0 0 1
  222. 2 0 0 0
  223. >;
  224. tx-num-evt = <32>;
  225. rx-num-evt = <32>;
  226. };