omap3-echo.dts 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * Copyright (C) 2019 André Hentschel <[email protected]>
  4. */
  5. /dts-v1/;
  6. #include "dm3725.dtsi"
  7. #include <dt-bindings/input/input.h>
  8. #include <dt-bindings/leds/common.h>
  9. / {
  10. model = "Amazon Echo (first generation)";
  11. compatible = "amazon,omap3-echo", "ti,omap3630", "ti,omap3";
  12. cpus {
  13. cpu@0 {
  14. cpu0-supply = <&vdd1_reg>;
  15. };
  16. };
  17. memory@80000000 {
  18. device_type = "memory";
  19. reg = <0x80000000 0xc600000>; /* 198 MB */
  20. };
  21. vcc5v: fixedregulator0 {
  22. compatible = "regulator-fixed";
  23. regulator-name = "vcc5v";
  24. regulator-min-microvolt = <5000000>;
  25. regulator-max-microvolt = <5000000>;
  26. regulator-boot-on;
  27. regulator-always-on;
  28. };
  29. vcc3v3: fixedregulator1 {
  30. compatible = "regulator-fixed";
  31. regulator-name = "vcc3v3";
  32. regulator-min-microvolt = <3300000>;
  33. regulator-max-microvolt = <3300000>;
  34. regulator-boot-on;
  35. regulator-always-on;
  36. };
  37. vcc1v8: fixedregulator2 {
  38. compatible = "regulator-fixed";
  39. regulator-name = "vcc1v8";
  40. regulator-min-microvolt = <1800000>;
  41. regulator-max-microvolt = <1800000>;
  42. regulator-boot-on;
  43. regulator-always-on;
  44. };
  45. sdio_pwrseq: sdio-pwrseq {
  46. compatible = "mmc-pwrseq-simple";
  47. reset-gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
  48. post-power-on-delay-ms = <40>;
  49. };
  50. gpio-keys {
  51. compatible = "gpio-keys";
  52. pinctrl-names = "default";
  53. pinctrl-0 = <&button_pins>;
  54. mute-button {
  55. label = "mute";
  56. linux,code = <KEY_MUTE>;
  57. gpios = <&gpio3 6 GPIO_ACTIVE_LOW>; /* GPIO_70 */
  58. wakeup-source;
  59. };
  60. help-button {
  61. label = "help";
  62. linux,code = <KEY_HELP>;
  63. gpios = <&gpio3 8 GPIO_ACTIVE_LOW>; /* GPIO_72 */
  64. wakeup-source;
  65. };
  66. };
  67. rotary: rotary-encoder {
  68. compatible = "rotary-encoder";
  69. gpios = <
  70. &gpio3 5 GPIO_ACTIVE_HIGH /* GPIO_69 */
  71. &gpio3 12 GPIO_ACTIVE_HIGH /* GPIO_76 */
  72. >;
  73. linux,axis = <REL_X>;
  74. rotary-encoder,relative-axis;
  75. };
  76. speaker_amp: speaker-amplifier {
  77. compatible = "simple-audio-amplifier";
  78. enable-gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>; /* gpio_129 */
  79. sound-name-prefix = "Speaker Amp";
  80. VCC-supply = <&vcc1v8>;
  81. };
  82. sound {
  83. compatible = "simple-audio-card";
  84. simple-audio-card,name = "Misto Speaker";
  85. simple-audio-card,widgets =
  86. "Speaker", "Speaker";
  87. simple-audio-card,routing =
  88. "Speaker Amp INL", "HPL",
  89. "Speaker Amp INR", "HPR",
  90. "Speaker", "Speaker Amp OUTL",
  91. "Speaker", "Speaker Amp OUTR";
  92. simple-audio-card,format = "i2s";
  93. simple-audio-card,bitclock-master = <&sound_master>;
  94. simple-audio-card,frame-master = <&sound_master>;
  95. simple-audio-card,aux-devs = <&speaker_amp>;
  96. simple-audio-card,cpu {
  97. sound-dai = <&mcbsp2>;
  98. };
  99. sound_master: simple-audio-card,codec {
  100. sound-dai = <&codec0>;
  101. system-clock-frequency = <19200000>;
  102. };
  103. };
  104. };
  105. &i2c1 {
  106. clock-frequency = <400000>;
  107. tps: tps@2d {
  108. reg = <0x2d>;
  109. };
  110. };
  111. &mcbsp2 {
  112. status = "okay";
  113. #sound-dai-cells = <0>;
  114. pinctrl-names = "default";
  115. pinctrl-0 = <&mcbsp2_pins>;
  116. };
  117. &i2c2 {
  118. clock-frequency = <400000>;
  119. lp5523A: lp5523A@32 {
  120. #address-cells = <1>;
  121. #size-cells = <0>;
  122. compatible = "national,lp5523";
  123. label = "q1";
  124. reg = <0x32>;
  125. clock-mode = /bits/ 8 <0>; /* LP55XX_CLOCK_AUTO */
  126. enable-gpio = <&gpio4 13 GPIO_ACTIVE_HIGH>; /* GPIO_109 */
  127. multi-led@0 {
  128. #address-cells = <1>;
  129. #size-cells = <0>;
  130. reg = <0x0>;
  131. color = <LED_COLOR_ID_RGB>;
  132. led@0 {
  133. led-cur = /bits/ 8 <12>;
  134. max-cur = /bits/ 8 <15>;
  135. reg = <0x0>;
  136. color = <LED_COLOR_ID_GREEN>;
  137. };
  138. led@1 {
  139. led-cur = /bits/ 8 <12>;
  140. max-cur = /bits/ 8 <15>;
  141. reg = <0x1>;
  142. color = <LED_COLOR_ID_BLUE>;
  143. };
  144. led@6 {
  145. led-cur = /bits/ 8 <12>;
  146. max-cur = /bits/ 8 <15>;
  147. reg = <0x6>;
  148. color = <LED_COLOR_ID_RED>;
  149. };
  150. };
  151. multi-led@1 {
  152. #address-cells = <1>;
  153. #size-cells = <0>;
  154. reg = <0x1>;
  155. color = <LED_COLOR_ID_RGB>;
  156. led@2 {
  157. led-cur = /bits/ 8 <12>;
  158. max-cur = /bits/ 8 <15>;
  159. reg = <0x2>;
  160. color = <LED_COLOR_ID_GREEN>;
  161. };
  162. led@3 {
  163. led-cur = /bits/ 8 <12>;
  164. max-cur = /bits/ 8 <15>;
  165. reg = <0x3>;
  166. color = <LED_COLOR_ID_BLUE>;
  167. };
  168. led@7 {
  169. led-cur = /bits/ 8 <12>;
  170. max-cur = /bits/ 8 <15>;
  171. reg = <0x7>;
  172. color = <LED_COLOR_ID_RED>;
  173. };
  174. };
  175. multi-led@2 {
  176. #address-cells = <1>;
  177. #size-cells = <0>;
  178. reg = <0x2>;
  179. color = <LED_COLOR_ID_RGB>;
  180. led@4 {
  181. led-cur = /bits/ 8 <12>;
  182. max-cur = /bits/ 8 <15>;
  183. reg = <0x4>;
  184. color = <LED_COLOR_ID_GREEN>;
  185. };
  186. led@5 {
  187. led-cur = /bits/ 8 <12>;
  188. max-cur = /bits/ 8 <15>;
  189. reg = <0x5>;
  190. color = <LED_COLOR_ID_BLUE>;
  191. };
  192. led@8 {
  193. led-cur = /bits/ 8 <12>;
  194. max-cur = /bits/ 8 <15>;
  195. reg = <0x8>;
  196. color = <LED_COLOR_ID_RED>;
  197. };
  198. };
  199. };
  200. lp5523B: lp5523B@33 {
  201. #address-cells = <1>;
  202. #size-cells = <0>;
  203. compatible = "national,lp5523";
  204. label = "q3";
  205. reg = <0x33>;
  206. clock-mode = /bits/ 8 <0>; /* LP55XX_CLOCK_AUTO */
  207. multi-led@0 {
  208. #address-cells = <1>;
  209. #size-cells = <0>;
  210. reg = <0x0>;
  211. color = <LED_COLOR_ID_RGB>;
  212. led@0 {
  213. led-cur = /bits/ 8 <12>;
  214. max-cur = /bits/ 8 <15>;
  215. reg = <0x0>;
  216. color = <LED_COLOR_ID_GREEN>;
  217. };
  218. led@1 {
  219. led-cur = /bits/ 8 <12>;
  220. max-cur = /bits/ 8 <15>;
  221. reg = <0x1>;
  222. color = <LED_COLOR_ID_BLUE>;
  223. };
  224. led@6 {
  225. led-cur = /bits/ 8 <12>;
  226. max-cur = /bits/ 8 <15>;
  227. reg = <0x6>;
  228. color = <LED_COLOR_ID_RED>;
  229. };
  230. };
  231. multi-led@1 {
  232. #address-cells = <1>;
  233. #size-cells = <0>;
  234. reg = <0x1>;
  235. color = <LED_COLOR_ID_RGB>;
  236. led@2 {
  237. led-cur = /bits/ 8 <12>;
  238. max-cur = /bits/ 8 <15>;
  239. reg = <0x2>;
  240. color = <LED_COLOR_ID_GREEN>;
  241. };
  242. led@3 {
  243. led-cur = /bits/ 8 <12>;
  244. max-cur = /bits/ 8 <15>;
  245. reg = <0x3>;
  246. color = <LED_COLOR_ID_BLUE>;
  247. };
  248. led@7 {
  249. led-cur = /bits/ 8 <12>;
  250. max-cur = /bits/ 8 <15>;
  251. reg = <0x7>;
  252. color = <LED_COLOR_ID_RED>;
  253. };
  254. };
  255. multi-led@2 {
  256. #address-cells = <1>;
  257. #size-cells = <0>;
  258. reg = <0x2>;
  259. color = <LED_COLOR_ID_RGB>;
  260. led@4 {
  261. led-cur = /bits/ 8 <12>;
  262. max-cur = /bits/ 8 <15>;
  263. reg = <0x4>;
  264. color = <LED_COLOR_ID_GREEN>;
  265. };
  266. led@5 {
  267. led-cur = /bits/ 8 <12>;
  268. max-cur = /bits/ 8 <15>;
  269. reg = <0x5>;
  270. color = <LED_COLOR_ID_BLUE>;
  271. };
  272. led@8 {
  273. led-cur = /bits/ 8 <12>;
  274. max-cur = /bits/ 8 <15>;
  275. reg = <0x8>;
  276. color = <LED_COLOR_ID_RED>;
  277. };
  278. };
  279. };
  280. lp5523C: lp5523C@34 {
  281. #address-cells = <1>;
  282. #size-cells = <0>;
  283. compatible = "national,lp5523";
  284. label = "q4";
  285. reg = <0x34>;
  286. clock-mode = /bits/ 8 <0>; /* LP55XX_CLOCK_AUTO */
  287. multi-led@0 {
  288. #address-cells = <1>;
  289. #size-cells = <0>;
  290. reg = <0x0>;
  291. color = <LED_COLOR_ID_RGB>;
  292. led@0 {
  293. led-cur = /bits/ 8 <12>;
  294. max-cur = /bits/ 8 <15>;
  295. reg = <0x0>;
  296. color = <LED_COLOR_ID_GREEN>;
  297. };
  298. led@1 {
  299. led-cur = /bits/ 8 <12>;
  300. max-cur = /bits/ 8 <15>;
  301. reg = <0x1>;
  302. color = <LED_COLOR_ID_BLUE>;
  303. };
  304. led@6 {
  305. led-cur = /bits/ 8 <12>;
  306. max-cur = /bits/ 8 <15>;
  307. reg = <0x6>;
  308. color = <LED_COLOR_ID_RED>;
  309. };
  310. };
  311. multi-led@1 {
  312. #address-cells = <1>;
  313. #size-cells = <0>;
  314. reg = <0x1>;
  315. color = <LED_COLOR_ID_RGB>;
  316. led@2 {
  317. led-cur = /bits/ 8 <12>;
  318. max-cur = /bits/ 8 <15>;
  319. reg = <0x2>;
  320. color = <LED_COLOR_ID_GREEN>;
  321. };
  322. led@3 {
  323. led-cur = /bits/ 8 <12>;
  324. max-cur = /bits/ 8 <15>;
  325. reg = <0x3>;
  326. color = <LED_COLOR_ID_BLUE>;
  327. };
  328. led@7 {
  329. led-cur = /bits/ 8 <12>;
  330. max-cur = /bits/ 8 <15>;
  331. reg = <0x7>;
  332. color = <LED_COLOR_ID_RED>;
  333. };
  334. };
  335. multi-led@2 {
  336. #address-cells = <1>;
  337. #size-cells = <0>;
  338. reg = <0x2>;
  339. color = <LED_COLOR_ID_RGB>;
  340. led@4 {
  341. led-cur = /bits/ 8 <12>;
  342. max-cur = /bits/ 8 <15>;
  343. reg = <0x4>;
  344. color = <LED_COLOR_ID_GREEN>;
  345. };
  346. led@5 {
  347. led-cur = /bits/ 8 <12>;
  348. max-cur = /bits/ 8 <15>;
  349. reg = <0x5>;
  350. color = <LED_COLOR_ID_BLUE>;
  351. };
  352. led@8 {
  353. led-cur = /bits/ 8 <12>;
  354. max-cur = /bits/ 8 <15>;
  355. reg = <0x8>;
  356. color = <LED_COLOR_ID_RED>;
  357. };
  358. };
  359. };
  360. lp5523D: lp552D@35 {
  361. #address-cells = <1>;
  362. #size-cells = <0>;
  363. compatible = "national,lp5523";
  364. label = "q2";
  365. reg = <0x35>;
  366. clock-mode = /bits/ 8 <0>; /* LP55XX_CLOCK_AUTO */
  367. multi-led@0 {
  368. #address-cells = <1>;
  369. #size-cells = <0>;
  370. reg = <0x0>;
  371. color = <LED_COLOR_ID_RGB>;
  372. led@0 {
  373. led-cur = /bits/ 8 <12>;
  374. max-cur = /bits/ 8 <15>;
  375. reg = <0x0>;
  376. color = <LED_COLOR_ID_GREEN>;
  377. };
  378. led@1 {
  379. led-cur = /bits/ 8 <12>;
  380. max-cur = /bits/ 8 <15>;
  381. reg = <0x1>;
  382. color = <LED_COLOR_ID_BLUE>;
  383. };
  384. led@6 {
  385. led-cur = /bits/ 8 <12>;
  386. max-cur = /bits/ 8 <15>;
  387. reg = <0x6>;
  388. color = <LED_COLOR_ID_RED>;
  389. };
  390. };
  391. multi-led@1 {
  392. #address-cells = <1>;
  393. #size-cells = <0>;
  394. reg = <0x1>;
  395. color = <LED_COLOR_ID_RGB>;
  396. led@2 {
  397. led-cur = /bits/ 8 <12>;
  398. max-cur = /bits/ 8 <15>;
  399. reg = <0x2>;
  400. color = <LED_COLOR_ID_GREEN>;
  401. };
  402. led@3 {
  403. led-cur = /bits/ 8 <12>;
  404. max-cur = /bits/ 8 <15>;
  405. reg = <0x3>;
  406. color = <LED_COLOR_ID_BLUE>;
  407. };
  408. led@7 {
  409. led-cur = /bits/ 8 <12>;
  410. max-cur = /bits/ 8 <15>;
  411. reg = <0x7>;
  412. color = <LED_COLOR_ID_RED>;
  413. };
  414. };
  415. multi-led@2 {
  416. #address-cells = <1>;
  417. #size-cells = <0>;
  418. reg = <0x2>;
  419. color = <LED_COLOR_ID_RGB>;
  420. led@4 {
  421. led-cur = /bits/ 8 <12>;
  422. max-cur = /bits/ 8 <15>;
  423. reg = <0x4>;
  424. color = <LED_COLOR_ID_GREEN>;
  425. };
  426. led@5 {
  427. led-cur = /bits/ 8 <12>;
  428. max-cur = /bits/ 8 <15>;
  429. reg = <0x5>;
  430. color = <LED_COLOR_ID_BLUE>;
  431. };
  432. led@8 {
  433. led-cur = /bits/ 8 <12>;
  434. max-cur = /bits/ 8 <15>;
  435. reg = <0x8>;
  436. color = <LED_COLOR_ID_RED>;
  437. };
  438. };
  439. };
  440. };
  441. &i2c3 {
  442. clock-frequency = <400000>;
  443. codec0: codec@18 {
  444. #sound-dai-cells = <0>;
  445. compatible = "ti,tlv320aic32x4";
  446. reg = <0x18>;
  447. clocks = <&sys_clkout1>;
  448. clock-names = "mclk";
  449. ldoin-supply = <&vcc1v8>;
  450. iov-supply = <&vcc1v8>;
  451. reset-gpios = <&gpio3 10 GPIO_ACTIVE_LOW>; /* gpio_74 */
  452. };
  453. };
  454. #include "tps65910.dtsi"
  455. &omap3_pmx_core {
  456. tps_pins: pinmux_tps_pins {
  457. pinctrl-single,pins = <
  458. OMAP3_CORE1_IOPAD(0x21e0, PIN_INPUT_PULLUP | PIN_OFF_INPUT_PULLUP | PIN_OFF_OUTPUT_LOW | PIN_OFF_WAKEUPENABLE | MUX_MODE0) /* sys_nirq.sys_nirq */
  459. >;
  460. };
  461. button_pins: pinmux_button_pins {
  462. pinctrl-single,pins = <
  463. OMAP3_CORE1_IOPAD(0x20dc, PIN_INPUT | MUX_MODE4) /* dss_data0.gpio_70 */
  464. OMAP3_CORE1_IOPAD(0x20e0, PIN_INPUT | MUX_MODE4) /* dss_data2.gpio_72 */
  465. OMAP3_CORE1_IOPAD(0x20e4, PIN_OUTPUT | MUX_MODE4) /* dss_data4.gpio_74 */
  466. OMAP3_CORE1_IOPAD(0x20fa, PIN_OUTPUT_PULLDOWN | MUX_MODE4) /* dss_data15.gpio_85 */
  467. OMAP3_CORE1_IOPAD(0x2a1a, PIN_OUTPUT | MUX_MODE0) /* sys_clkout1.sys_clkout1 */
  468. >;
  469. };
  470. mmc1_pins: pinmux_mmc1_pins {
  471. pinctrl-single,pins = <
  472. OMAP3_CORE1_IOPAD(0x2144, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_clk.sdmmc1_clk */
  473. OMAP3_CORE1_IOPAD(0x2146, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_cmd.sdmmc1_cmd */
  474. OMAP3_CORE1_IOPAD(0x2148, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat0.sdmmc1_dat0 */
  475. OMAP3_CORE1_IOPAD(0x214a, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat1.sdmmc1_dat1 */
  476. OMAP3_CORE1_IOPAD(0x214c, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat2.sdmmc1_dat2 */
  477. OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_dat3 */
  478. >;
  479. };
  480. mmc2_pins: pinmux_mmc2_pins {
  481. pinctrl-single,pins = <
  482. OMAP3_CORE1_IOPAD(0x2158, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_clk.sdmmc2_clk */
  483. OMAP3_CORE1_IOPAD(0x215a, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_cmd.sdmmc2_cmd */
  484. OMAP3_CORE1_IOPAD(0x215c, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat0.sdmmc2_dat0 */
  485. OMAP3_CORE1_IOPAD(0x215e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat1.sdmmc2_dat1 */
  486. OMAP3_CORE1_IOPAD(0x2160, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat2.sdmmc2_dat2 */
  487. OMAP3_CORE1_IOPAD(0x2162, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat3.sdmmc2_dat3 */
  488. OMAP3_CORE1_IOPAD(0x2164, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat4.sdmmc2_dat4 */
  489. OMAP3_CORE1_IOPAD(0x2166, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat5.sdmmc2_dat5 */
  490. OMAP3_CORE1_IOPAD(0x2168, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat6.sdmmc2_dat6 */
  491. OMAP3_CORE1_IOPAD(0x216a, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat7.sdmmc2_dat7 */
  492. >;
  493. };
  494. mcbsp2_pins: pinmux_mcbsp2_pins {
  495. pinctrl-single,pins = <
  496. OMAP3_CORE1_IOPAD(0x213c, PIN_INPUT | MUX_MODE0) /* mcbsp2_fsx.mcbsp2_fsx */
  497. OMAP3_CORE1_IOPAD(0x213e, PIN_INPUT | MUX_MODE0) /* mcbsp2_clkx.mcbsp2_clkx */
  498. OMAP3_CORE1_IOPAD(0x2140, PIN_INPUT | MUX_MODE0) /* mcbsp2_dr.mcbsp2.dr */
  499. OMAP3_CORE1_IOPAD(0x2142, PIN_OUTPUT | MUX_MODE0) /* mcbsp2_dx.mcbsp2_dx */
  500. >;
  501. };
  502. };
  503. &omap3_pmx_core2 {
  504. mmc3_pins: pinmux_mmc3_pins {
  505. pinctrl-single,pins = <
  506. OMAP3630_CORE2_IOPAD(0x25d8, PIN_INPUT_PULLUP | MUX_MODE2) /* etk_clk.sdmmc3_clk */
  507. OMAP3630_CORE2_IOPAD(0x25da, PIN_INPUT_PULLUP | MUX_MODE2) /* etk_ctl.sdmmc3_cmd */
  508. OMAP3630_CORE2_IOPAD(0x25e2, PIN_INPUT_PULLUP | MUX_MODE2) /* etk_d3.sdmmc3_dat3 */
  509. OMAP3630_CORE2_IOPAD(0x25e4, PIN_INPUT_PULLUP | MUX_MODE2) /* etk_d4.sdmmc3_dat0 */
  510. OMAP3630_CORE2_IOPAD(0x25e6, PIN_INPUT_PULLUP | MUX_MODE2) /* etk_d5.sdmmc3_dat1 */
  511. OMAP3630_CORE2_IOPAD(0x25e8, PIN_INPUT_PULLUP | MUX_MODE2) /* etk_d6.sdmmc3_dat2 */
  512. >;
  513. };
  514. };
  515. &mmc1 {
  516. status = "okay";
  517. bus-width = <4>;
  518. pinctrl-names = "default";
  519. pinctrl-0 = <&mmc1_pins>;
  520. vmmc-supply = <&vmmc_reg>;
  521. };
  522. &mmc2 {
  523. status = "okay";
  524. bus-width = <8>;
  525. pinctrl-names = "default";
  526. pinctrl-0 = <&mmc2_pins>;
  527. vmmc-supply = <&vmmc_reg>;
  528. };
  529. &mmc3 {
  530. #address-cells = <1>;
  531. #size-cells = <0>;
  532. status = "okay";
  533. bus-width = <4>;
  534. pinctrl-names = "default";
  535. pinctrl-0 = <&mmc3_pins>;
  536. non-removable;
  537. disable-wp;
  538. mmc-pwrseq = <&sdio_pwrseq>;
  539. vmmc-supply = <&vcc3v3>;
  540. vqmmc-supply = <&vcc1v8>;
  541. atheros@0 {
  542. compatible = "atheros,ath6kl";
  543. reg = <0>;
  544. bus-width = <4>;
  545. };
  546. };
  547. &tps {
  548. pinctrl-names = "default";
  549. pinctrl-0 = <&tps_pins>;
  550. interrupts = <7>; /* SYS_NIRQ cascaded to intc */
  551. interrupt-parent = <&intc>;
  552. ti,en-ck32k-xtal;
  553. ti,system-power-controller;
  554. vcc1-supply = <&vcc5v>;
  555. vcc2-supply = <&vcc5v>;
  556. vcc3-supply = <&vcc5v>;
  557. vcc4-supply = <&vcc5v>;
  558. vcc5-supply = <&vcc5v>;
  559. vcc6-supply = <&vcc5v>;
  560. vcc7-supply = <&vcc5v>;
  561. vccio-supply = <&vcc5v>;
  562. regulators {
  563. vio_reg: regulator@1 {
  564. regulator-min-microvolt = <1800000>;
  565. regulator-max-microvolt = <1800000>;
  566. regulator-always-on;
  567. };
  568. vdd1_reg: regulator@2 {
  569. regulator-name = "vdd_mpu";
  570. regulator-min-microvolt = <600000>;
  571. regulator-max-microvolt = <1500000>;
  572. regulator-boot-on;
  573. regulator-always-on;
  574. };
  575. vdd2_reg: regulator@3 {
  576. regulator-name = "vdd_dsp";
  577. regulator-min-microvolt = <600000>;
  578. regulator-max-microvolt = <1500000>;
  579. regulator-always-on;
  580. };
  581. vdd3_reg: regulator@4 {
  582. regulator-name = "vdd_core";
  583. regulator-min-microvolt = <5000000>;
  584. regulator-max-microvolt = <5000000>;
  585. regulator-always-on;
  586. };
  587. vdig1_reg: regulator@5 {
  588. regulator-min-microvolt = <1200000>;
  589. regulator-max-microvolt = <2700000>;
  590. regulator-always-on;
  591. };
  592. vdig2_reg: regulator@6 {
  593. regulator-min-microvolt = <1000000>;
  594. regulator-max-microvolt = <1800000>;
  595. regulator-always-on;
  596. };
  597. vpll_reg: regulator@7 {
  598. regulator-min-microvolt = <1000000>;
  599. regulator-max-microvolt = <2500000>;
  600. regulator-always-on;
  601. };
  602. vdac_reg: regulator@8 {
  603. regulator-min-microvolt = <1100000>;
  604. regulator-max-microvolt = <3300000>;
  605. regulator-always-on;
  606. };
  607. vaux1_reg: regulator@9 {
  608. regulator-min-microvolt = <1800000>;
  609. regulator-max-microvolt = <2850000>;
  610. regulator-always-on;
  611. };
  612. vaux2_reg: regulator@10 {
  613. regulator-min-microvolt = <1800000>;
  614. regulator-max-microvolt = <3300000>;
  615. regulator-always-on;
  616. };
  617. vaux33_reg: regulator@11 {
  618. regulator-min-microvolt = <1800000>;
  619. regulator-max-microvolt = <3300000>;
  620. regulator-always-on;
  621. };
  622. vmmc_reg: regulator@12 {
  623. regulator-min-microvolt = <1800000>;
  624. regulator-max-microvolt = <3000000>;
  625. regulator-always-on;
  626. };
  627. };
  628. };