omap4-sdp.dts 16 KB

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