omap4-sdp.dts 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690
  1. /*
  2. * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. */
  8. /dts-v1/;
  9. #include "omap443x.dtsi"
  10. #include "elpida_ecb240abacn.dtsi"
  11. / {
  12. model = "TI OMAP4 SDP board";
  13. compatible = "ti,omap4-sdp", "ti,omap4430", "ti,omap4";
  14. memory {
  15. device_type = "memory";
  16. reg = <0x80000000 0x40000000>; /* 1 GB */
  17. };
  18. aliases {
  19. display0 = &lcd0;
  20. display1 = &lcd1;
  21. display2 = &hdmi0;
  22. };
  23. vdd_eth: fixedregulator-vdd-eth {
  24. compatible = "regulator-fixed";
  25. regulator-name = "VDD_ETH";
  26. regulator-min-microvolt = <3300000>;
  27. regulator-max-microvolt = <3300000>;
  28. gpio = <&gpio2 16 0>; /* gpio line 48 */
  29. enable-active-high;
  30. regulator-boot-on;
  31. };
  32. vbat: fixedregulator-vbat {
  33. compatible = "regulator-fixed";
  34. regulator-name = "VBAT";
  35. regulator-min-microvolt = <3750000>;
  36. regulator-max-microvolt = <3750000>;
  37. regulator-boot-on;
  38. };
  39. leds {
  40. compatible = "gpio-leds";
  41. debug0 {
  42. label = "omap4:green:debug0";
  43. gpios = <&gpio2 29 GPIO_ACTIVE_HIGH>; /* 61 */
  44. };
  45. debug1 {
  46. label = "omap4:green:debug1";
  47. gpios = <&gpio1 30 GPIO_ACTIVE_HIGH>; /* 30 */
  48. };
  49. debug2 {
  50. label = "omap4:green:debug2";
  51. gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; /* 7 */
  52. };
  53. debug3 {
  54. label = "omap4:green:debug3";
  55. gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; /* 8 */
  56. };
  57. debug4 {
  58. label = "omap4:green:debug4";
  59. gpios = <&gpio2 18 GPIO_ACTIVE_HIGH>; /* 50 */
  60. };
  61. user1 {
  62. label = "omap4:blue:user";
  63. gpios = <&gpio6 9 GPIO_ACTIVE_HIGH>; /* 169 */
  64. };
  65. user2 {
  66. label = "omap4:red:user";
  67. gpios = <&gpio6 10 GPIO_ACTIVE_HIGH>; /* 170 */
  68. };
  69. user3 {
  70. label = "omap4:green:user";
  71. gpios = <&gpio5 11 GPIO_ACTIVE_HIGH>; /* 139 */
  72. };
  73. };
  74. pwmleds {
  75. compatible = "pwm-leds";
  76. kpad {
  77. label = "omap4::keypad";
  78. pwms = <&twl_pwm 0 7812500>;
  79. max-brightness = <127>;
  80. };
  81. charging {
  82. label = "omap4:green:chrg";
  83. pwms = <&twl_pwmled 0 7812500>;
  84. max-brightness = <255>;
  85. };
  86. };
  87. backlight {
  88. compatible = "pwm-backlight";
  89. pwms = <&twl_pwm 1 7812500>;
  90. brightness-levels = <
  91. 0 10 20 30 40
  92. 50 60 70 80 90
  93. 100 110 120 127
  94. >;
  95. default-brightness-level = <13>;
  96. };
  97. sound {
  98. compatible = "ti,abe-twl6040";
  99. ti,model = "SDP4430";
  100. ti,jack-detection = <1>;
  101. ti,mclk-freq = <38400000>;
  102. ti,mcpdm = <&mcpdm>;
  103. ti,dmic = <&dmic>;
  104. ti,twl6040 = <&twl6040>;
  105. /* Audio routing */
  106. ti,audio-routing =
  107. "Headset Stereophone", "HSOL",
  108. "Headset Stereophone", "HSOR",
  109. "Earphone Spk", "EP",
  110. "Ext Spk", "HFL",
  111. "Ext Spk", "HFR",
  112. "Line Out", "AUXL",
  113. "Line Out", "AUXR",
  114. "Vibrator", "VIBRAL",
  115. "Vibrator", "VIBRAR",
  116. "HSMIC", "Headset Mic",
  117. "Headset Mic", "Headset Mic Bias",
  118. "MAINMIC", "Main Handset Mic",
  119. "Main Handset Mic", "Main Mic Bias",
  120. "SUBMIC", "Sub Handset Mic",
  121. "Sub Handset Mic", "Main Mic Bias",
  122. "AFML", "Line In",
  123. "AFMR", "Line In",
  124. "DMic", "Digital Mic",
  125. "Digital Mic", "Digital Mic1 Bias";
  126. };
  127. /* regulator for wl12xx on sdio5 */
  128. wl12xx_vmmc: wl12xx_vmmc {
  129. pinctrl-names = "default";
  130. pinctrl-0 = <&wl12xx_gpio>;
  131. compatible = "regulator-fixed";
  132. regulator-name = "vwl1271";
  133. regulator-min-microvolt = <1800000>;
  134. regulator-max-microvolt = <1800000>;
  135. gpio = <&gpio2 22 0>;
  136. startup-delay-us = <70000>;
  137. enable-active-high;
  138. };
  139. tpd12s015: encoder@0 {
  140. compatible = "ti,tpd12s015";
  141. gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>, /* 60, CT CP HPD */
  142. <&gpio2 9 GPIO_ACTIVE_HIGH>, /* 41, LS OE */
  143. <&gpio2 31 GPIO_ACTIVE_HIGH>; /* 63, HPD */
  144. ports {
  145. #address-cells = <1>;
  146. #size-cells = <0>;
  147. port@0 {
  148. reg = <0>;
  149. tpd12s015_in: endpoint@0 {
  150. remote-endpoint = <&hdmi_out>;
  151. };
  152. };
  153. port@1 {
  154. reg = <1>;
  155. tpd12s015_out: endpoint@0 {
  156. remote-endpoint = <&hdmi_connector_in>;
  157. };
  158. };
  159. };
  160. };
  161. hdmi0: connector@0 {
  162. compatible = "hdmi-connector";
  163. label = "hdmi";
  164. type = "c";
  165. port {
  166. hdmi_connector_in: endpoint {
  167. remote-endpoint = <&tpd12s015_out>;
  168. };
  169. };
  170. };
  171. };
  172. &omap4_pmx_core {
  173. pinctrl-names = "default";
  174. pinctrl-0 = <
  175. &dss_hdmi_pins
  176. &tpd12s015_pins
  177. >;
  178. uart2_pins: pinmux_uart2_pins {
  179. pinctrl-single,pins = <
  180. 0xd8 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart2_cts.uart2_cts */
  181. 0xda (PIN_OUTPUT | MUX_MODE0) /* uart2_rts.uart2_rts */
  182. 0xdc (PIN_INPUT_PULLUP | MUX_MODE0) /* uart2_rx.uart2_rx */
  183. 0xde (PIN_OUTPUT | MUX_MODE0) /* uart2_tx.uart2_tx */
  184. >;
  185. };
  186. uart3_pins: pinmux_uart3_pins {
  187. pinctrl-single,pins = <
  188. 0x100 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart3_cts_rctx.uart3_cts_rctx */
  189. 0x102 (PIN_OUTPUT | MUX_MODE0) /* uart3_rts_sd.uart3_rts_sd */
  190. 0x104 (PIN_INPUT | MUX_MODE0) /* uart3_rx_irrx.uart3_rx_irrx */
  191. 0x106 (PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx.uart3_tx_irtx */
  192. >;
  193. };
  194. uart4_pins: pinmux_uart4_pins {
  195. pinctrl-single,pins = <
  196. 0x11c (PIN_INPUT | MUX_MODE0) /* uart4_rx.uart4_rx */
  197. 0x11e (PIN_OUTPUT | MUX_MODE0) /* uart4_tx.uart4_tx */
  198. >;
  199. };
  200. twl6040_pins: pinmux_twl6040_pins {
  201. pinctrl-single,pins = <
  202. 0xe0 (PIN_OUTPUT | MUX_MODE3) /* hdq_sio.gpio_127 */
  203. 0x160 (PIN_INPUT | MUX_MODE0) /* sys_nirq2.sys_nirq2 */
  204. >;
  205. };
  206. mcpdm_pins: pinmux_mcpdm_pins {
  207. pinctrl-single,pins = <
  208. 0xc6 (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abe_pdm_ul_data.abe_pdm_ul_data */
  209. 0xc8 (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abe_pdm_dl_data.abe_pdm_dl_data */
  210. 0xca (PIN_INPUT_PULLUP | MUX_MODE0) /* abe_pdm_frame.abe_pdm_frame */
  211. 0xcc (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abe_pdm_lb_clk.abe_pdm_lb_clk */
  212. 0xce (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abe_clks.abe_clks */
  213. >;
  214. };
  215. dmic_pins: pinmux_dmic_pins {
  216. pinctrl-single,pins = <
  217. 0xd0 (PIN_OUTPUT | MUX_MODE0) /* abe_dmic_clk1.abe_dmic_clk1 */
  218. 0xd2 (PIN_INPUT | MUX_MODE0) /* abe_dmic_din1.abe_dmic_din1 */
  219. 0xd4 (PIN_INPUT | MUX_MODE0) /* abe_dmic_din2.abe_dmic_din2 */
  220. 0xd6 (PIN_INPUT | MUX_MODE0) /* abe_dmic_din3.abe_dmic_din3 */
  221. >;
  222. };
  223. mcbsp1_pins: pinmux_mcbsp1_pins {
  224. pinctrl-single,pins = <
  225. 0xbe (PIN_INPUT | MUX_MODE0) /* abe_mcbsp1_clkx.abe_mcbsp1_clkx */
  226. 0xc0 (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abe_mcbsp1_dr.abe_mcbsp1_dr */
  227. 0xc2 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* abe_mcbsp1_dx.abe_mcbsp1_dx */
  228. 0xc4 (PIN_INPUT | MUX_MODE0) /* abe_mcbsp1_fsx.abe_mcbsp1_fsx */
  229. >;
  230. };
  231. mcbsp2_pins: pinmux_mcbsp2_pins {
  232. pinctrl-single,pins = <
  233. 0xb6 (PIN_INPUT | MUX_MODE0) /* abe_mcbsp2_clkx.abe_mcbsp2_clkx */
  234. 0xb8 (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abe_mcbsp2_dr.abe_mcbsp2_dr */
  235. 0xba (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* abe_mcbsp2_dx.abe_mcbsp2_dx */
  236. 0xbc (PIN_INPUT | MUX_MODE0) /* abe_mcbsp2_fsx.abe_mcbsp2_fsx */
  237. >;
  238. };
  239. mcspi1_pins: pinmux_mcspi1_pins {
  240. pinctrl-single,pins = <
  241. 0xf2 (PIN_INPUT | MUX_MODE0) /* mcspi1_clk.mcspi1_clk */
  242. 0xf4 (PIN_INPUT | MUX_MODE0) /* mcspi1_somi.mcspi1_somi */
  243. 0xf6 (PIN_INPUT | MUX_MODE0) /* mcspi1_simo.mcspi1_simo */
  244. 0xf8 (PIN_INPUT | MUX_MODE0) /* mcspi1_cs0.mcspi1_cs0 */
  245. >;
  246. };
  247. dss_hdmi_pins: pinmux_dss_hdmi_pins {
  248. pinctrl-single,pins = <
  249. 0x5a (PIN_INPUT_PULLUP | MUX_MODE0) /* hdmi_cec.hdmi_cec */
  250. 0x5c (PIN_INPUT_PULLUP | MUX_MODE0) /* hdmi_scl.hdmi_scl */
  251. 0x5e (PIN_INPUT_PULLUP | MUX_MODE0) /* hdmi_sda.hdmi_sda */
  252. >;
  253. };
  254. tpd12s015_pins: pinmux_tpd12s015_pins {
  255. pinctrl-single,pins = <
  256. 0x22 (PIN_OUTPUT | MUX_MODE3) /* gpmc_a17.gpio_41 */
  257. 0x48 (PIN_OUTPUT | MUX_MODE3) /* gpmc_nbe1.gpio_60 */
  258. 0x58 (PIN_INPUT_PULLDOWN | MUX_MODE3) /* hdmi_hpd.gpio_63 */
  259. >;
  260. };
  261. i2c1_pins: pinmux_i2c1_pins {
  262. pinctrl-single,pins = <
  263. 0xe2 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_scl */
  264. 0xe4 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_sda */
  265. >;
  266. };
  267. i2c2_pins: pinmux_i2c2_pins {
  268. pinctrl-single,pins = <
  269. 0xe6 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c2_scl */
  270. 0xe8 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c2_sda */
  271. >;
  272. };
  273. i2c3_pins: pinmux_i2c3_pins {
  274. pinctrl-single,pins = <
  275. 0xea (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_scl */
  276. 0xec (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_sda */
  277. >;
  278. };
  279. i2c4_pins: pinmux_i2c4_pins {
  280. pinctrl-single,pins = <
  281. 0xee (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c4_scl */
  282. 0xf0 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c4_sda */
  283. >;
  284. };
  285. /* wl12xx GPIO output for WLAN_EN */
  286. wl12xx_gpio: pinmux_wl12xx_gpio {
  287. pinctrl-single,pins = <
  288. 0x3c (PIN_OUTPUT | MUX_MODE3) /* gpmc_nwp.gpio_54 */
  289. >;
  290. };
  291. /* wl12xx GPIO inputs and SDIO pins */
  292. wl12xx_pins: pinmux_wl12xx_pins {
  293. pinctrl-single,pins = <
  294. 0x3a (PIN_INPUT | MUX_MODE3) /* gpmc_ncs3.gpio_53 */
  295. 0x108 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc5_clk.sdmmc5_clk */
  296. 0x10a (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc5_cmd.sdmmc5_cmd */
  297. 0x10c (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc5_dat0.sdmmc5_dat0 */
  298. 0x10e (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc5_dat1.sdmmc5_dat1 */
  299. 0x110 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc5_dat2.sdmmc5_dat2 */
  300. 0x112 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc5_dat3.sdmmc5_dat3 */
  301. >;
  302. };
  303. };
  304. &i2c1 {
  305. pinctrl-names = "default";
  306. pinctrl-0 = <&i2c1_pins>;
  307. clock-frequency = <400000>;
  308. twl: twl@48 {
  309. reg = <0x48>;
  310. /* SPI = 0, IRQ# = 7, 4 = active high level-sensitive */
  311. interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; /* IRQ_SYS_1N cascaded to gic */
  312. interrupt-parent = <&gic>;
  313. };
  314. twl6040: twl@4b {
  315. compatible = "ti,twl6040";
  316. reg = <0x4b>;
  317. pinctrl-names = "default";
  318. pinctrl-0 = <&twl6040_pins>;
  319. /* SPI = 0, IRQ# = 119, 4 = active high level-sensitive */
  320. interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>; /* IRQ_SYS_2N cascaded to gic */
  321. interrupt-parent = <&gic>;
  322. ti,audpwron-gpio = <&gpio4 31 0>; /* gpio line 127 */
  323. vio-supply = <&v1v8>;
  324. v2v1-supply = <&v2v1>;
  325. enable-active-high;
  326. /* regulators for vibra motor */
  327. vddvibl-supply = <&vbat>;
  328. vddvibr-supply = <&vbat>;
  329. vibra {
  330. /* Vibra driver, motor resistance parameters */
  331. ti,vibldrv-res = <8>;
  332. ti,vibrdrv-res = <3>;
  333. ti,viblmotor-res = <10>;
  334. ti,vibrmotor-res = <10>;
  335. };
  336. };
  337. };
  338. #include "twl6030.dtsi"
  339. #include "twl6030_omap4.dtsi"
  340. &i2c2 {
  341. pinctrl-names = "default";
  342. pinctrl-0 = <&i2c2_pins>;
  343. clock-frequency = <400000>;
  344. };
  345. &i2c3 {
  346. pinctrl-names = "default";
  347. pinctrl-0 = <&i2c3_pins>;
  348. clock-frequency = <400000>;
  349. /*
  350. * Temperature Sensor
  351. * http://www.ti.com/lit/ds/symlink/tmp105.pdf
  352. */
  353. tmp105@48 {
  354. compatible = "ti,tmp105";
  355. reg = <0x48>;
  356. };
  357. /*
  358. * Ambient Light Sensor
  359. * http://www.rohm.com/products/databook/sensor/pdf/bh1780gli-e.pdf
  360. */
  361. bh1780@29 {
  362. compatible = "rohm,bh1780";
  363. reg = <0x29>;
  364. };
  365. };
  366. &i2c4 {
  367. pinctrl-names = "default";
  368. pinctrl-0 = <&i2c4_pins>;
  369. clock-frequency = <400000>;
  370. /*
  371. * 3-Axis Digital Compass
  372. * http://www.sparkfun.com/datasheets/Sensors/Magneto/HMC5843.pdf
  373. */
  374. hmc5843@1e {
  375. compatible = "honeywell,hmc5843";
  376. reg = <0x1e>;
  377. };
  378. };
  379. &mcspi1 {
  380. pinctrl-names = "default";
  381. pinctrl-0 = <&mcspi1_pins>;
  382. eth@0 {
  383. compatible = "ks8851";
  384. spi-max-frequency = <24000000>;
  385. reg = <0>;
  386. interrupt-parent = <&gpio2>;
  387. interrupts = <2 IRQ_TYPE_LEVEL_LOW>; /* gpio line 34 */
  388. vdd-supply = <&vdd_eth>;
  389. };
  390. };
  391. &mmc1 {
  392. vmmc-supply = <&vmmc>;
  393. bus-width = <8>;
  394. };
  395. &mmc2 {
  396. vmmc-supply = <&vaux1>;
  397. bus-width = <8>;
  398. ti,non-removable;
  399. };
  400. &mmc3 {
  401. status = "disabled";
  402. };
  403. &mmc4 {
  404. status = "disabled";
  405. };
  406. &mmc5 {
  407. pinctrl-names = "default";
  408. pinctrl-0 = <&wl12xx_pins>;
  409. vmmc-supply = <&wl12xx_vmmc>;
  410. non-removable;
  411. bus-width = <4>;
  412. cap-power-off-card;
  413. };
  414. &emif1 {
  415. cs1-used;
  416. device-handle = <&elpida_ECB240ABACN>;
  417. };
  418. &emif2 {
  419. cs1-used;
  420. device-handle = <&elpida_ECB240ABACN>;
  421. };
  422. &keypad {
  423. keypad,num-rows = <8>;
  424. keypad,num-columns = <8>;
  425. linux,keymap = <0x00000012 /* KEY_E */
  426. 0x00010013 /* KEY_R */
  427. 0x00020014 /* KEY_T */
  428. 0x00030066 /* KEY_HOME */
  429. 0x0004003f /* KEY_F5 */
  430. 0x000500f0 /* KEY_UNKNOWN */
  431. 0x00060017 /* KEY_I */
  432. 0x0007002a /* KEY_LEFTSHIFT */
  433. 0x01000020 /* KEY_D*/
  434. 0x01010021 /* KEY_F */
  435. 0x01020022 /* KEY_G */
  436. 0x010300e7 /* KEY_SEND */
  437. 0x01040040 /* KEY_F6 */
  438. 0x010500f0 /* KEY_UNKNOWN */
  439. 0x01060025 /* KEY_K */
  440. 0x0107001c /* KEY_ENTER */
  441. 0x0200002d /* KEY_X */
  442. 0x0201002e /* KEY_C */
  443. 0x0202002f /* KEY_V */
  444. 0x0203006b /* KEY_END */
  445. 0x02040041 /* KEY_F7 */
  446. 0x020500f0 /* KEY_UNKNOWN */
  447. 0x02060034 /* KEY_DOT */
  448. 0x0207003a /* KEY_CAPSLOCK */
  449. 0x0300002c /* KEY_Z */
  450. 0x0301004e /* KEY_KPLUS */
  451. 0x03020030 /* KEY_B */
  452. 0x0303003b /* KEY_F1 */
  453. 0x03040042 /* KEY_F8 */
  454. 0x030500f0 /* KEY_UNKNOWN */
  455. 0x03060018 /* KEY_O */
  456. 0x03070039 /* KEY_SPACE */
  457. 0x04000011 /* KEY_W */
  458. 0x04010015 /* KEY_Y */
  459. 0x04020016 /* KEY_U */
  460. 0x0403003c /* KEY_F2 */
  461. 0x04040073 /* KEY_VOLUMEUP */
  462. 0x040500f0 /* KEY_UNKNOWN */
  463. 0x04060026 /* KEY_L */
  464. 0x04070069 /* KEY_LEFT */
  465. 0x0500001f /* KEY_S */
  466. 0x05010023 /* KEY_H */
  467. 0x05020024 /* KEY_J */
  468. 0x0503003d /* KEY_F3 */
  469. 0x05040043 /* KEY_F9 */
  470. 0x05050072 /* KEY_VOLUMEDOWN */
  471. 0x05060032 /* KEY_M */
  472. 0x0507006a /* KEY_RIGHT */
  473. 0x06000010 /* KEY_Q */
  474. 0x0601001e /* KEY_A */
  475. 0x06020031 /* KEY_N */
  476. 0x0603009e /* KEY_BACK */
  477. 0x0604000e /* KEY_BACKSPACE */
  478. 0x060500f0 /* KEY_UNKNOWN */
  479. 0x06060019 /* KEY_P */
  480. 0x06070067 /* KEY_UP */
  481. 0x07000094 /* KEY_PROG1 */
  482. 0x07010095 /* KEY_PROG2 */
  483. 0x070200ca /* KEY_PROG3 */
  484. 0x070300cb /* KEY_PROG4 */
  485. 0x0704003e /* KEY_F4 */
  486. 0x070500f0 /* KEY_UNKNOWN */
  487. 0x07060160 /* KEY_OK */
  488. 0x0707006c>; /* KEY_DOWN */
  489. linux,input-no-autorepeat;
  490. };
  491. &uart2 {
  492. interrupts-extended = <&gic GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH
  493. &omap4_pmx_core OMAP4_UART2_RX>;
  494. pinctrl-names = "default";
  495. pinctrl-0 = <&uart2_pins>;
  496. };
  497. &uart3 {
  498. interrupts-extended = <&gic GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH
  499. &omap4_pmx_core OMAP4_UART3_RX>;
  500. pinctrl-names = "default";
  501. pinctrl-0 = <&uart3_pins>;
  502. };
  503. &uart4 {
  504. interrupts-extended = <&gic GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH
  505. &omap4_pmx_core OMAP4_UART4_RX>;
  506. pinctrl-names = "default";
  507. pinctrl-0 = <&uart4_pins>;
  508. };
  509. &mcbsp1 {
  510. pinctrl-names = "default";
  511. pinctrl-0 = <&mcbsp1_pins>;
  512. status = "okay";
  513. };
  514. &mcbsp2 {
  515. pinctrl-names = "default";
  516. pinctrl-0 = <&mcbsp2_pins>;
  517. status = "okay";
  518. };
  519. &dmic {
  520. pinctrl-names = "default";
  521. pinctrl-0 = <&dmic_pins>;
  522. status = "okay";
  523. };
  524. &mcpdm {
  525. pinctrl-names = "default";
  526. pinctrl-0 = <&mcpdm_pins>;
  527. status = "okay";
  528. };
  529. &twl_usb_comparator {
  530. usb-supply = <&vusb>;
  531. };
  532. &usb_otg_hs {
  533. interface-type = <1>;
  534. mode = <3>;
  535. power = <50>;
  536. };
  537. &dss {
  538. status = "ok";
  539. };
  540. &dsi1 {
  541. status = "ok";
  542. vdd-supply = <&vcxio>;
  543. port {
  544. dsi1_out_ep: endpoint {
  545. remote-endpoint = <&lcd0_in>;
  546. lanes = <0 1 2 3 4 5>;
  547. };
  548. };
  549. lcd0: display {
  550. compatible = "tpo,taal", "panel-dsi-cm";
  551. label = "lcd0";
  552. reset-gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* 102 */
  553. port {
  554. lcd0_in: endpoint {
  555. remote-endpoint = <&dsi1_out_ep>;
  556. };
  557. };
  558. };
  559. };
  560. &dsi2 {
  561. status = "ok";
  562. vdd-supply = <&vcxio>;
  563. port {
  564. dsi2_out_ep: endpoint {
  565. remote-endpoint = <&lcd1_in>;
  566. lanes = <0 1 2 3 4 5>;
  567. };
  568. };
  569. lcd1: display {
  570. compatible = "tpo,taal", "panel-dsi-cm";
  571. label = "lcd1";
  572. reset-gpios = <&gpio4 8 GPIO_ACTIVE_HIGH>; /* 104 */
  573. port {
  574. lcd1_in: endpoint {
  575. remote-endpoint = <&dsi2_out_ep>;
  576. };
  577. };
  578. };
  579. };
  580. &hdmi {
  581. status = "ok";
  582. vdda-supply = <&vdac>;
  583. port {
  584. hdmi_out: endpoint {
  585. remote-endpoint = <&tpd12s015_in>;
  586. };
  587. };
  588. };