omap3-gta04.dtsi 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622
  1. /*
  2. * Copyright (C) 2013 Marek Belisko <marek@goldelico.com>
  3. *
  4. * Based on omap3-beagle-xm.dts
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. */
  10. /dts-v1/;
  11. #include "omap36xx.dtsi"
  12. / {
  13. model = "OMAP3 GTA04";
  14. compatible = "ti,omap3-gta04", "ti,omap36xx", "ti,omap3";
  15. cpus {
  16. cpu@0 {
  17. cpu0-supply = <&vcc>;
  18. };
  19. };
  20. memory@80000000 {
  21. device_type = "memory";
  22. reg = <0x80000000 0x20000000>; /* 512 MB */
  23. };
  24. aliases {
  25. display0 = &lcd;
  26. };
  27. gpio-keys {
  28. compatible = "gpio-keys";
  29. aux-button {
  30. label = "aux";
  31. linux,code = <169>;
  32. gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
  33. wakeup-source;
  34. };
  35. };
  36. sound {
  37. compatible = "ti,omap-twl4030";
  38. ti,model = "gta04";
  39. ti,mcbsp = <&mcbsp2>;
  40. };
  41. /* GSM audio */
  42. sound_telephony {
  43. compatible = "simple-audio-card";
  44. simple-audio-card,name = "GTA04 voice";
  45. simple-audio-card,bitclock-master = <&telephony_link_master>;
  46. simple-audio-card,frame-master = <&telephony_link_master>;
  47. simple-audio-card,format = "i2s";
  48. simple-audio-card,bitclock-inversion;
  49. simple-audio-card,frame-inversion;
  50. simple-audio-card,cpu {
  51. sound-dai = <&mcbsp4>;
  52. };
  53. telephony_link_master: simple-audio-card,codec {
  54. sound-dai = <&gtm601_codec>;
  55. };
  56. };
  57. gtm601_codec: gsm_codec {
  58. compatible = "option,gtm601";
  59. #sound-dai-cells = <0>;
  60. };
  61. spi_lcd {
  62. compatible = "spi-gpio";
  63. #address-cells = <0x1>;
  64. #size-cells = <0x0>;
  65. pinctrl-names = "default";
  66. pinctrl-0 = <&spi_gpio_pins>;
  67. gpio-sck = <&gpio1 12 GPIO_ACTIVE_HIGH>;
  68. gpio-miso = <&gpio1 18 GPIO_ACTIVE_HIGH>;
  69. gpio-mosi = <&gpio1 20 GPIO_ACTIVE_HIGH>;
  70. cs-gpios = <&gpio1 19 GPIO_ACTIVE_HIGH>;
  71. num-chipselects = <1>;
  72. /* lcd panel */
  73. lcd: td028ttec1@0 {
  74. compatible = "toppoly,td028ttec1";
  75. reg = <0>;
  76. spi-max-frequency = <100000>;
  77. spi-cpol;
  78. spi-cpha;
  79. label = "lcd";
  80. port {
  81. lcd_in: endpoint {
  82. remote-endpoint = <&dpi_out>;
  83. };
  84. };
  85. };
  86. };
  87. backlight {
  88. compatible = "pwm-backlight";
  89. pwms = <&pwm11 0 12000000 0>;
  90. pwm-names = "backlight";
  91. brightness-levels = <0 11 20 30 40 50 60 70 80 90 100>;
  92. default-brightness-level = <9>; /* => 90 */
  93. pinctrl-names = "default";
  94. pinctrl-0 = <&backlight_pins>;
  95. };
  96. pwm11: dmtimer-pwm {
  97. compatible = "ti,omap-dmtimer-pwm";
  98. ti,timers = <&timer11>;
  99. #pwm-cells = <3>;
  100. };
  101. hsusb2_phy: hsusb2_phy {
  102. compatible = "usb-nop-xceiv";
  103. reset-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
  104. #phy-cells = <0>;
  105. };
  106. tv0: connector {
  107. compatible = "svideo-connector";
  108. label = "tv";
  109. port {
  110. tv_connector_in: endpoint {
  111. remote-endpoint = <&opa_out>;
  112. };
  113. };
  114. };
  115. tv_amp: opa362 {
  116. compatible = "ti,opa362";
  117. enable-gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
  118. ports {
  119. #address-cells = <1>;
  120. #size-cells = <0>;
  121. port@0 {
  122. reg = <0>;
  123. opa_in: endpoint {
  124. remote-endpoint = <&venc_out>;
  125. };
  126. };
  127. port@1 {
  128. reg = <1>;
  129. opa_out: endpoint {
  130. remote-endpoint = <&tv_connector_in>;
  131. };
  132. };
  133. };
  134. };
  135. wifi_pwrseq: wifi_pwrseq {
  136. compatible = "mmc-pwrseq-simple";
  137. reset-gpios = <&tca6507 0 GPIO_ACTIVE_LOW>; /* W2CBW003 reset through tca6507 */
  138. };
  139. };
  140. &omap3_pmx_core {
  141. pinctrl-names = "default";
  142. pinctrl-0 = <
  143. &hsusb2_pins
  144. >;
  145. hsusb2_pins: pinmux_hsusb2_pins {
  146. pinctrl-single,pins = <
  147. OMAP3_CORE1_IOPAD(0x21d4, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi1_cs3.hsusb2_data2 */
  148. OMAP3_CORE1_IOPAD(0x21d6, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_clk.hsusb2_data7 */
  149. OMAP3_CORE1_IOPAD(0x21d8, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_simo.hsusb2_data4 */
  150. OMAP3_CORE1_IOPAD(0x21da, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_somi.hsusb2_data5 */
  151. OMAP3_CORE1_IOPAD(0x21dc, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_cs0.hsusb2_data6 */
  152. OMAP3_CORE1_IOPAD(0x21de, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_cs1.hsusb2_data3 */
  153. >;
  154. };
  155. uart1_pins: pinmux_uart1_pins {
  156. pinctrl-single,pins = <
  157. OMAP3_CORE1_IOPAD(0x2182, PIN_INPUT | MUX_MODE0) /* uart1_rx.uart1_rx */
  158. OMAP3_CORE1_IOPAD(0x217c, PIN_OUTPUT | MUX_MODE0) /* uart1_tx.uart1_tx */
  159. >;
  160. };
  161. uart2_pins: pinmux_uart2_pins {
  162. pinctrl-single,pins = <
  163. OMAP3_CORE1_IOPAD(0x217a, PIN_INPUT | MUX_MODE0) /* uart2_rx.uart2_rx */
  164. OMAP3_CORE1_IOPAD(0x2178, PIN_OUTPUT | MUX_MODE0) /* uart2_tx.uart2_tx */
  165. >;
  166. };
  167. uart3_pins: pinmux_uart3_pins {
  168. pinctrl-single,pins = <
  169. OMAP3_CORE1_IOPAD(0x219e, PIN_INPUT | MUX_MODE0) /* uart3_rx.uart3_rx */
  170. OMAP3_CORE1_IOPAD(0x21a0, PIN_OUTPUT | MUX_MODE0) /* uart3_tx.uart3_tx */
  171. >;
  172. };
  173. mmc1_pins: pinmux_mmc1_pins {
  174. pinctrl-single,pins = <
  175. OMAP3_CORE1_IOPAD(0x2144, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_clk.sdmmc1_clk */
  176. OMAP3_CORE1_IOPAD(0x2146, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_cmd.sdmmc1_cmd */
  177. OMAP3_CORE1_IOPAD(0x2148, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat0.sdmmc1_dat0 */
  178. OMAP3_CORE1_IOPAD(0x214a, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat1.sdmmc1_dat1 */
  179. OMAP3_CORE1_IOPAD(0x214c, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat2.sdmmc1_dat2 */
  180. OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_dat3 */
  181. >;
  182. };
  183. backlight_pins: backlight_pins_pimnux {
  184. pinctrl-single,pins = <
  185. OMAP3_CORE1_IOPAD(0x20ba, MUX_MODE3) /* gpt11/gpio57 */
  186. >;
  187. };
  188. dss_dpi_pins: pinmux_dss_dpi_pins {
  189. pinctrl-single,pins = <
  190. OMAP3_CORE1_IOPAD(0x20d4, PIN_OUTPUT | MUX_MODE0) /* dss_pclk.dss_pclk */
  191. OMAP3_CORE1_IOPAD(0x20d6, PIN_OUTPUT | MUX_MODE0) /* dss_hsync.dss_hsync */
  192. OMAP3_CORE1_IOPAD(0x20d8, PIN_OUTPUT | MUX_MODE0) /* dss_vsync.dss_vsync */
  193. OMAP3_CORE1_IOPAD(0x20da, PIN_OUTPUT | MUX_MODE0) /* dss_acbias.dss_acbias */
  194. OMAP3_CORE1_IOPAD(0x20dc, PIN_OUTPUT | MUX_MODE0) /* dss_data0.dss_data0 */
  195. OMAP3_CORE1_IOPAD(0x20de, PIN_OUTPUT | MUX_MODE0) /* dss_data1.dss_data1 */
  196. OMAP3_CORE1_IOPAD(0x20e0, PIN_OUTPUT | MUX_MODE0) /* dss_data2.dss_data2 */
  197. OMAP3_CORE1_IOPAD(0x20e2, PIN_OUTPUT | MUX_MODE0) /* dss_data3.dss_data3 */
  198. OMAP3_CORE1_IOPAD(0x20e4, PIN_OUTPUT | MUX_MODE0) /* dss_data4.dss_data4 */
  199. OMAP3_CORE1_IOPAD(0x20e6, PIN_OUTPUT | MUX_MODE0) /* dss_data5.dss_data5 */
  200. OMAP3_CORE1_IOPAD(0x20e8, PIN_OUTPUT | MUX_MODE0) /* dss_data6.dss_data6 */
  201. OMAP3_CORE1_IOPAD(0x20ea, PIN_OUTPUT | MUX_MODE0) /* dss_data7.dss_data7 */
  202. OMAP3_CORE1_IOPAD(0x20ec, PIN_OUTPUT | MUX_MODE0) /* dss_data8.dss_data8 */
  203. OMAP3_CORE1_IOPAD(0x20ee, PIN_OUTPUT | MUX_MODE0) /* dss_data9.dss_data9 */
  204. OMAP3_CORE1_IOPAD(0x20f0, PIN_OUTPUT | MUX_MODE0) /* dss_data10.dss_data10 */
  205. OMAP3_CORE1_IOPAD(0x20f2, PIN_OUTPUT | MUX_MODE0) /* dss_data11.dss_data11 */
  206. OMAP3_CORE1_IOPAD(0x20f4, PIN_OUTPUT | MUX_MODE0) /* dss_data12.dss_data12 */
  207. OMAP3_CORE1_IOPAD(0x20f6, PIN_OUTPUT | MUX_MODE0) /* dss_data13.dss_data13 */
  208. OMAP3_CORE1_IOPAD(0x20f8, PIN_OUTPUT | MUX_MODE0) /* dss_data14.dss_data14 */
  209. OMAP3_CORE1_IOPAD(0x20fa, PIN_OUTPUT | MUX_MODE0) /* dss_data15.dss_data15 */
  210. OMAP3_CORE1_IOPAD(0x20fc, PIN_OUTPUT | MUX_MODE0) /* dss_data16.dss_data16 */
  211. OMAP3_CORE1_IOPAD(0x20fe, PIN_OUTPUT | MUX_MODE0) /* dss_data17.dss_data17 */
  212. OMAP3_CORE1_IOPAD(0x2100, PIN_OUTPUT | MUX_MODE0) /* dss_data18.dss_data18 */
  213. OMAP3_CORE1_IOPAD(0x2102, PIN_OUTPUT | MUX_MODE0) /* dss_data19.dss_data19 */
  214. OMAP3_CORE1_IOPAD(0x2104, PIN_OUTPUT | MUX_MODE0) /* dss_data20.dss_data20 */
  215. OMAP3_CORE1_IOPAD(0x2106, PIN_OUTPUT | MUX_MODE0) /* dss_data21.dss_data21 */
  216. OMAP3_CORE1_IOPAD(0x2108, PIN_OUTPUT | MUX_MODE0) /* dss_data22.dss_data22 */
  217. OMAP3_CORE1_IOPAD(0x210a, PIN_OUTPUT | MUX_MODE0) /* dss_data23.dss_data23 */
  218. >;
  219. };
  220. hdq_pins: hdq_pins {
  221. pinctrl-single,pins = <
  222. OMAP3_CORE1_IOPAD(0x21c6, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_sda.hdq */
  223. >;
  224. };
  225. bma180_pins: pinmux_bma180_pins {
  226. pinctrl-single,pins = <
  227. OMAP3_CORE1_IOPAD(0x213a, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio115 */
  228. >;
  229. };
  230. itg3200_pins: pinmux_itg3200_pins {
  231. pinctrl-single,pins = <
  232. OMAP3_CORE1_IOPAD(0x20b8, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio56 */
  233. >;
  234. };
  235. hmc5843_pins: pinmux_hmc5843_pins {
  236. pinctrl-single,pins = <
  237. OMAP3_CORE1_IOPAD(0x2134, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio112 */
  238. >;
  239. };
  240. };
  241. &omap3_pmx_core2 {
  242. pinctrl-names = "default";
  243. pinctrl-0 = <
  244. &hsusb2_2_pins
  245. >;
  246. hsusb2_2_pins: pinmux_hsusb2_2_pins {
  247. pinctrl-single,pins = <
  248. OMAP3630_CORE2_IOPAD(0x25f0, PIN_OUTPUT | MUX_MODE3) /* etk_d10.hsusb2_clk */
  249. OMAP3630_CORE2_IOPAD(0x25f2, PIN_OUTPUT | MUX_MODE3) /* etk_d11.hsusb2_stp */
  250. OMAP3630_CORE2_IOPAD(0x25f4, PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d12.hsusb2_dir */
  251. OMAP3630_CORE2_IOPAD(0x25f6, PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d13.hsusb2_nxt */
  252. OMAP3630_CORE2_IOPAD(0x25f8, PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d14.hsusb2_data0 */
  253. OMAP3630_CORE2_IOPAD(0x25fa, PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d15.hsusb2_data1 */
  254. >;
  255. };
  256. spi_gpio_pins: spi_gpio_pinmux {
  257. pinctrl-single,pins = <
  258. OMAP3630_CORE2_IOPAD(0x25d8, PIN_OUTPUT | MUX_MODE4) /* clk */
  259. OMAP3630_CORE2_IOPAD(0x25e6, PIN_OUTPUT | MUX_MODE4) /* cs */
  260. OMAP3630_CORE2_IOPAD(0x25e8, PIN_OUTPUT | MUX_MODE4) /* tx */
  261. OMAP3630_CORE2_IOPAD(0x25e4, PIN_INPUT | MUX_MODE4) /* rx */
  262. >;
  263. };
  264. };
  265. &i2c1 {
  266. clock-frequency = <2600000>;
  267. twl: twl@48 {
  268. reg = <0x48>;
  269. interrupts = <7>; /* SYS_NIRQ cascaded to intc */
  270. interrupt-parent = <&intc>;
  271. twl_audio: audio {
  272. compatible = "ti,twl4030-audio";
  273. ti,enable-vibra = <1>;
  274. codec {
  275. ti,ramp_delay_value = <3>;
  276. };
  277. };
  278. twl_power: power {
  279. compatible = "ti,twl4030-power";
  280. ti,use_poweroff;
  281. };
  282. };
  283. };
  284. #include "twl4030.dtsi"
  285. #include "twl4030_omap3.dtsi"
  286. &i2c2 {
  287. clock-frequency = <400000>;
  288. /* pressure sensor */
  289. bmp085@77 {
  290. compatible = "bosch,bmp085";
  291. reg = <0x77>;
  292. interrupt-parent = <&gpio4>;
  293. interrupts = <17 IRQ_TYPE_EDGE_RISING>; /* GPIO_113 */
  294. };
  295. /* accelerometer */
  296. bma180@41 {
  297. compatible = "bosch,bma180";
  298. reg = <0x41>;
  299. pinctrl-names = "default";
  300. pintcrl-0 = <&bma180_pins>;
  301. interrupt-parent = <&gpio4>;
  302. interrupts = <19 IRQ_TYPE_LEVEL_HIGH>; /* GPIO_115 */
  303. };
  304. /* gyroscope */
  305. itg3200@68 {
  306. compatible = "invensense,itg3200";
  307. reg = <0x68>;
  308. pinctrl-names = "default";
  309. pinctrl-0 = <&itg3200_pins>;
  310. interrupt-parent = <&gpio2>;
  311. interrupts = <24 IRQ_TYPE_EDGE_FALLING>; /* GPIO_56 */
  312. };
  313. /* leds + gpios */
  314. tca6507: tca6507@45 {
  315. compatible = "ti,tca6507";
  316. #address-cells = <1>;
  317. #size-cells = <0>;
  318. reg = <0x45>;
  319. gpio-controller;
  320. #gpio-cells = <2>;
  321. gta04_led0: red_aux@0 {
  322. label = "gta04:red:aux";
  323. reg = <0x0>;
  324. };
  325. gta04_led1: green_aux@1 {
  326. label = "gta04:green:aux";
  327. reg = <0x1>;
  328. };
  329. gta04_led3: red_power@3 {
  330. label = "gta04:red:power";
  331. reg = <0x3>;
  332. linux,default-trigger = "default-on";
  333. };
  334. gta04_led4: green_power@4 {
  335. label = "gta04:green:power";
  336. reg = <0x4>;
  337. };
  338. wifi_reset: wifi_reset@6 {
  339. reg = <0x6>;
  340. compatible = "gpio";
  341. };
  342. };
  343. /* compass aka magnetometer */
  344. hmc5843@1e {
  345. compatible = "honeywell,hmc5883l";
  346. reg = <0x1e>;
  347. pinctrl-names = "default";
  348. pinctrl-0 = <&hmc5843_pins>;
  349. interrupt-parent = <&gpio4>;
  350. interrupts = <16 IRQ_TYPE_EDGE_FALLING>; /* gpio112 */
  351. };
  352. /* touchscreen */
  353. tsc2007@48 {
  354. compatible = "ti,tsc2007";
  355. reg = <0x48>;
  356. interrupt-parent = <&gpio6>;
  357. interrupts = <0 IRQ_TYPE_EDGE_FALLING>; /* GPIO_160 */
  358. gpios = <&gpio6 0 GPIO_ACTIVE_LOW>;
  359. ti,x-plate-ohms = <600>;
  360. };
  361. /* RFID EEPROM */
  362. m24lr64@50 {
  363. compatible = "atmel,24c64";
  364. reg = <0x50>;
  365. };
  366. };
  367. &i2c3 {
  368. clock-frequency = <100000>;
  369. };
  370. &usb_otg_hs {
  371. interface-type = <0>;
  372. usb-phy = <&usb2_phy>;
  373. phys = <&usb2_phy>;
  374. phy-names = "usb2-phy";
  375. mode = <3>;
  376. power = <50>;
  377. };
  378. &usbhshost {
  379. port2-mode = "ehci-phy";
  380. };
  381. &usbhsehci {
  382. phys = <0 &hsusb2_phy>;
  383. };
  384. &mmc1 {
  385. pinctrl-names = "default";
  386. pinctrl-0 = <&mmc1_pins>;
  387. vmmc-supply = <&vmmc1>;
  388. bus-width = <4>;
  389. ti,non-removable;
  390. };
  391. &mmc2 {
  392. vmmc-supply = <&vaux4>;
  393. bus-width = <4>;
  394. ti,non-removable;
  395. cap-power-off-card;
  396. mmc-pwrseq = <&wifi_pwrseq>;
  397. };
  398. &mmc3 {
  399. status = "disabled";
  400. };
  401. &twl_keypad {
  402. status = "disabled";
  403. };
  404. &uart1 {
  405. pinctrl-names = "default";
  406. pinctrl-0 = <&uart1_pins>;
  407. };
  408. &uart2 {
  409. pinctrl-names = "default";
  410. pinctrl-0 = <&uart2_pins>;
  411. };
  412. &uart3 {
  413. pinctrl-names = "default";
  414. pinctrl-0 = <&uart3_pins>;
  415. };
  416. &charger {
  417. ti,bb-uvolt = <3200000>;
  418. ti,bb-uamp = <150>;
  419. };
  420. /* spare */
  421. &vaux1 {
  422. regulator-min-microvolt = <2500000>;
  423. regulator-max-microvolt = <3000000>;
  424. };
  425. /* sensors */
  426. &vaux2 {
  427. regulator-min-microvolt = <2800000>;
  428. regulator-max-microvolt = <2800000>;
  429. regulator-always-on;
  430. };
  431. /* camera */
  432. &vaux3 {
  433. regulator-min-microvolt = <2500000>;
  434. regulator-max-microvolt = <2500000>;
  435. };
  436. /* WLAN/BT */
  437. &vaux4 {
  438. regulator-min-microvolt = <2800000>;
  439. regulator-max-microvolt = <3150000>;
  440. };
  441. /* GPS LNA */
  442. &vsim {
  443. regulator-min-microvolt = <2800000>;
  444. regulator-max-microvolt = <3150000>;
  445. };
  446. &dss {
  447. pinctrl-names = "default";
  448. pinctrl-0 = < &dss_dpi_pins >;
  449. status = "okay";
  450. vdds_dsi-supply = <&vpll2>;
  451. port {
  452. dpi_out: endpoint {
  453. remote-endpoint = <&lcd_in>;
  454. data-lines = <24>;
  455. };
  456. };
  457. };
  458. &venc {
  459. status = "okay";
  460. vdda-supply = <&vdac>;
  461. port {
  462. venc_out: endpoint {
  463. remote-endpoint = <&opa_in>;
  464. ti,channels = <2>;
  465. ti,invert-polarity;
  466. };
  467. };
  468. };
  469. &gpmc {
  470. ranges = <0 0 0x30000000 0x1000000>; /* CS0: 16MB for NAND */
  471. nand@0,0 {
  472. compatible = "ti,omap2-nand";
  473. reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
  474. interrupt-parent = <&gpmc>;
  475. interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
  476. <1 IRQ_TYPE_NONE>; /* termcount */
  477. nand-bus-width = <16>;
  478. ti,nand-ecc-opt = "bch8";
  479. gpmc,sync-clk-ps = <0>;
  480. gpmc,cs-on-ns = <0>;
  481. gpmc,cs-rd-off-ns = <44>;
  482. gpmc,cs-wr-off-ns = <44>;
  483. gpmc,adv-on-ns = <6>;
  484. gpmc,adv-rd-off-ns = <34>;
  485. gpmc,adv-wr-off-ns = <44>;
  486. gpmc,we-off-ns = <40>;
  487. gpmc,oe-off-ns = <54>;
  488. gpmc,access-ns = <64>;
  489. gpmc,rd-cycle-ns = <82>;
  490. gpmc,wr-cycle-ns = <82>;
  491. gpmc,wr-access-ns = <40>;
  492. gpmc,wr-data-mux-bus-ns = <0>;
  493. gpmc,device-width = <2>;
  494. #address-cells = <1>;
  495. #size-cells = <1>;
  496. x-loader@0 {
  497. label = "X-Loader";
  498. reg = <0 0x80000>;
  499. };
  500. bootloaders@80000 {
  501. label = "U-Boot";
  502. reg = <0x80000 0x1e0000>;
  503. };
  504. bootloaders_env@260000 {
  505. label = "U-Boot Env";
  506. reg = <0x260000 0x20000>;
  507. };
  508. kernel@280000 {
  509. label = "Kernel";
  510. reg = <0x280000 0x400000>;
  511. };
  512. filesystem@680000 {
  513. label = "File System";
  514. reg = <0x680000 0xf980000>;
  515. };
  516. };
  517. };
  518. &mcbsp2 {
  519. status = "okay";
  520. };
  521. &hdqw1w {
  522. pinctrl-names = "default";
  523. pinctrl-0 = <&hdq_pins>;
  524. };
  525. &mcbsp4 {
  526. status = "okay";
  527. };