omap3-n900.dts 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. /*
  3. * Copyright (C) 2013 Pavel Machek <[email protected]>
  4. * Copyright (C) 2013-2014 Aaro Koskinen <[email protected]>
  5. */
  6. /dts-v1/;
  7. #include "omap34xx.dtsi"
  8. #include <dt-bindings/input/input.h>
  9. #include <dt-bindings/leds/common.h>
  10. /*
  11. * Default secure signed bootloader (Nokia X-Loader) does not enable L3 firewall
  12. * for omap AES HW crypto support. When linux kernel try to access memory of AES
  13. * blocks then kernel receive "Unhandled fault: external abort on non-linefetch"
  14. * and crash. Until somebody fix omap-aes.c and omap_hwmod_3xxx_data.c code (no
  15. * crash anymore) omap AES support will be disabled for all Nokia N900 devices.
  16. * There is "unofficial" version of bootloader which enables AES in L3 firewall
  17. * but it is not widely used and to prevent kernel crash rather AES is disabled.
  18. * There is also no runtime detection code if AES is disabled in L3 firewall...
  19. */
  20. &aes1_target {
  21. status = "disabled";
  22. };
  23. &aes2_target {
  24. status = "disabled";
  25. };
  26. / {
  27. model = "Nokia N900";
  28. compatible = "nokia,omap3-n900", "ti,omap3430", "ti,omap3";
  29. aliases {
  30. i2c0;
  31. i2c1 = &i2c1;
  32. i2c2 = &i2c2;
  33. i2c3 = &i2c3;
  34. display0 = &lcd;
  35. display1 = &tv;
  36. };
  37. cpus {
  38. cpu@0 {
  39. cpu0-supply = <&vcc>;
  40. };
  41. };
  42. leds {
  43. compatible = "gpio-leds";
  44. heartbeat {
  45. label = "debug::sleep";
  46. gpios = <&gpio6 2 GPIO_ACTIVE_HIGH>; /* 162 */
  47. linux,default-trigger = "default-on";
  48. pinctrl-names = "default";
  49. pinctrl-0 = <&debug_leds>;
  50. };
  51. };
  52. memory@80000000 {
  53. device_type = "memory";
  54. reg = <0x80000000 0x10000000>; /* 256 MB */
  55. };
  56. gpio_keys {
  57. compatible = "gpio-keys";
  58. camera_lens_cover {
  59. label = "Camera Lens Cover";
  60. gpios = <&gpio4 14 GPIO_ACTIVE_LOW>; /* 110 */
  61. linux,input-type = <EV_SW>;
  62. linux,code = <SW_CAMERA_LENS_COVER>;
  63. linux,can-disable;
  64. };
  65. camera_focus {
  66. label = "Camera Focus";
  67. gpios = <&gpio3 4 GPIO_ACTIVE_LOW>; /* 68 */
  68. linux,code = <KEY_CAMERA_FOCUS>;
  69. linux,can-disable;
  70. };
  71. camera_capture {
  72. label = "Camera Capture";
  73. gpios = <&gpio3 5 GPIO_ACTIVE_LOW>; /* 69 */
  74. linux,code = <KEY_CAMERA>;
  75. linux,can-disable;
  76. };
  77. lock_button {
  78. label = "Lock Button";
  79. gpios = <&gpio4 17 GPIO_ACTIVE_LOW>; /* 113 */
  80. linux,code = <KEY_SCREENLOCK>;
  81. linux,can-disable;
  82. };
  83. keypad_slide {
  84. label = "Keypad Slide";
  85. gpios = <&gpio3 7 GPIO_ACTIVE_LOW>; /* 71 */
  86. linux,input-type = <EV_SW>;
  87. linux,code = <SW_KEYPAD_SLIDE>;
  88. linux,can-disable;
  89. };
  90. proximity_sensor {
  91. label = "Proximity Sensor";
  92. gpios = <&gpio3 25 GPIO_ACTIVE_HIGH>; /* 89 */
  93. linux,input-type = <EV_SW>;
  94. linux,code = <SW_FRONT_PROXIMITY>;
  95. linux,can-disable;
  96. };
  97. machine_cover {
  98. label = "Machine Cover";
  99. gpios = <&gpio6 0 GPIO_ACTIVE_LOW>; /* 160 */
  100. linux,input-type = <EV_SW>;
  101. linux,code = <SW_MACHINE_COVER>;
  102. linux,can-disable;
  103. };
  104. };
  105. isp1707: isp1707 {
  106. compatible = "nxp,isp1707";
  107. nxp,enable-gpio = <&gpio3 3 GPIO_ACTIVE_HIGH>;
  108. usb-phy = <&usb2_phy>;
  109. };
  110. tv: connector {
  111. compatible = "composite-video-connector";
  112. label = "tv";
  113. port {
  114. tv_connector_in: endpoint {
  115. remote-endpoint = <&venc_out>;
  116. };
  117. };
  118. };
  119. sound: n900-audio {
  120. compatible = "nokia,n900-audio";
  121. nokia,cpu-dai = <&mcbsp2>;
  122. nokia,audio-codec = <&tlv320aic3x>, <&tlv320aic3x_aux>;
  123. nokia,headphone-amplifier = <&tpa6130a2>;
  124. tvout-selection-gpios = <&gpio2 8 GPIO_ACTIVE_HIGH>; /* 40 */
  125. jack-detection-gpios = <&gpio6 17 GPIO_ACTIVE_HIGH>; /* 177 */
  126. eci-switch-gpios = <&gpio6 22 GPIO_ACTIVE_HIGH>; /* 182 */
  127. speaker-amplifier-gpios = <&twl_gpio 7 GPIO_ACTIVE_HIGH>;
  128. };
  129. battery: n900-battery {
  130. compatible = "nokia,n900-battery";
  131. io-channels = <&twl_madc 0>, <&twl_madc 4>, <&twl_madc 12>;
  132. io-channel-names = "temp", "bsi", "vbat";
  133. };
  134. pwm9: pwm-9 {
  135. compatible = "ti,omap-dmtimer-pwm";
  136. #pwm-cells = <3>;
  137. ti,timers = <&timer9>;
  138. ti,clock-source = <0x00>; /* timer_sys_ck */
  139. };
  140. ir: n900-ir {
  141. compatible = "nokia,n900-ir";
  142. pwms = <&pwm9 0 26316 0>; /* 38000 Hz */
  143. };
  144. rom_rng: rng {
  145. compatible = "nokia,n900-rom-rng";
  146. clocks = <&rng_ick>;
  147. clock-names = "ick";
  148. };
  149. /* controlled (enabled/disabled) directly by bcm2048 and wl1251 */
  150. vctcxo: vctcxo {
  151. compatible = "fixed-clock";
  152. #clock-cells = <0>;
  153. clock-frequency = <38400000>;
  154. };
  155. };
  156. &isp {
  157. vdds_csib-supply = <&vaux2>;
  158. pinctrl-names = "default";
  159. pinctrl-0 = <&camera_pins>;
  160. ports {
  161. port@1 {
  162. reg = <1>;
  163. csi_isp: endpoint {
  164. remote-endpoint = <&csi_cam1>;
  165. bus-type = <3>; /* CCP2 */
  166. clock-lanes = <1>;
  167. data-lanes = <0>;
  168. lane-polarity = <0 0>;
  169. /* Select strobe = <1> for back camera, <0> for front camera */
  170. strobe = <1>;
  171. };
  172. };
  173. };
  174. };
  175. &omap3_pmx_core {
  176. pinctrl-names = "default";
  177. uart2_pins: pinmux_uart2_pins {
  178. pinctrl-single,pins = <
  179. OMAP3_CORE1_IOPAD(0x2174, PIN_INPUT_PULLUP | MUX_MODE0) /* uart2_cts */
  180. OMAP3_CORE1_IOPAD(0x2176, PIN_OUTPUT | MUX_MODE0) /* uart2_rts */
  181. OMAP3_CORE1_IOPAD(0x2178, PIN_OUTPUT | MUX_MODE0) /* uart2_tx */
  182. OMAP3_CORE1_IOPAD(0x217a, PIN_INPUT | MUX_MODE0) /* uart2_rx */
  183. >;
  184. };
  185. uart3_pins: pinmux_uart3_pins {
  186. pinctrl-single,pins = <
  187. OMAP3_CORE1_IOPAD(0x219e, PIN_INPUT | MUX_MODE0) /* uart3_rx */
  188. OMAP3_CORE1_IOPAD(0x21a0, PIN_OUTPUT | MUX_MODE0) /* uart3_tx */
  189. >;
  190. };
  191. ethernet_pins: pinmux_ethernet_pins {
  192. pinctrl-single,pins = <
  193. OMAP3_CORE1_IOPAD(0x20b4, PIN_INPUT_PULLDOWN | MUX_MODE4) /* gpmc_ncs3.gpio_54 */
  194. OMAP3_CORE1_IOPAD(0x20fc, PIN_OUTPUT | MUX_MODE4) /* dss_data16.gpio_86 */
  195. OMAP3_CORE1_IOPAD(0x219c, PIN_OUTPUT | MUX_MODE4) /* uart3_rts_sd.gpio_164 */
  196. >;
  197. };
  198. gpmc_pins: pinmux_gpmc_pins {
  199. pinctrl-single,pins = <
  200. /* address lines */
  201. OMAP3_CORE1_IOPAD(0x207a, PIN_OUTPUT | MUX_MODE0) /* gpmc_a1.gpmc_a1 */
  202. OMAP3_CORE1_IOPAD(0x207c, PIN_OUTPUT | MUX_MODE0) /* gpmc_a2.gpmc_a2 */
  203. OMAP3_CORE1_IOPAD(0x207e, PIN_OUTPUT | MUX_MODE0) /* gpmc_a3.gpmc_a3 */
  204. /* data lines, gpmc_d0..d7 not muxable according to TRM */
  205. OMAP3_CORE1_IOPAD(0x209e, PIN_INPUT | MUX_MODE0) /* gpmc_d8.gpmc_d8 */
  206. OMAP3_CORE1_IOPAD(0x20a0, PIN_INPUT | MUX_MODE0) /* gpmc_d9.gpmc_d9 */
  207. OMAP3_CORE1_IOPAD(0x20a2, PIN_INPUT | MUX_MODE0) /* gpmc_d10.gpmc_d10 */
  208. OMAP3_CORE1_IOPAD(0x20a4, PIN_INPUT | MUX_MODE0) /* gpmc_d11.gpmc_d11 */
  209. OMAP3_CORE1_IOPAD(0x20a6, PIN_INPUT | MUX_MODE0) /* gpmc_d12.gpmc_d12 */
  210. OMAP3_CORE1_IOPAD(0x20a8, PIN_INPUT | MUX_MODE0) /* gpmc_d13.gpmc_d13 */
  211. OMAP3_CORE1_IOPAD(0x20aa, PIN_INPUT | MUX_MODE0) /* gpmc_d14.gpmc_d14 */
  212. OMAP3_CORE1_IOPAD(0x20ac, PIN_INPUT | MUX_MODE0) /* gpmc_d15.gpmc_d15 */
  213. /*
  214. * gpmc_ncs0, gpmc_nadv_ale, gpmc_noe, gpmc_nwe, gpmc_wait0 not muxable
  215. * according to TRM. OneNAND seems to require PIN_INPUT on clock.
  216. */
  217. OMAP3_CORE1_IOPAD(0x20b0, PIN_OUTPUT | MUX_MODE0) /* gpmc_ncs1.gpmc_ncs1 */
  218. OMAP3_CORE1_IOPAD(0x20be, PIN_INPUT | MUX_MODE0) /* gpmc_clk.gpmc_clk */
  219. >;
  220. };
  221. i2c1_pins: pinmux_i2c1_pins {
  222. pinctrl-single,pins = <
  223. OMAP3_CORE1_IOPAD(0x21ba, PIN_INPUT | MUX_MODE0) /* i2c1_scl */
  224. OMAP3_CORE1_IOPAD(0x21bc, PIN_INPUT | MUX_MODE0) /* i2c1_sda */
  225. >;
  226. };
  227. i2c2_pins: pinmux_i2c2_pins {
  228. pinctrl-single,pins = <
  229. OMAP3_CORE1_IOPAD(0x21be, PIN_INPUT | MUX_MODE0) /* i2c2_scl */
  230. OMAP3_CORE1_IOPAD(0x21c0, PIN_INPUT | MUX_MODE0) /* i2c2_sda */
  231. >;
  232. };
  233. i2c3_pins: pinmux_i2c3_pins {
  234. pinctrl-single,pins = <
  235. OMAP3_CORE1_IOPAD(0x21c2, PIN_INPUT | MUX_MODE0) /* i2c3_scl */
  236. OMAP3_CORE1_IOPAD(0x21c4, PIN_INPUT | MUX_MODE0) /* i2c3_sda */
  237. >;
  238. };
  239. debug_leds: pinmux_debug_led_pins {
  240. pinctrl-single,pins = <
  241. OMAP3_CORE1_IOPAD(0x2198, PIN_OUTPUT | MUX_MODE4) /* mcbsp1_clkx.gpio_162 */
  242. >;
  243. };
  244. mcspi4_pins: pinmux_mcspi4_pins {
  245. pinctrl-single,pins = <
  246. OMAP3_CORE1_IOPAD(0x218c, PIN_INPUT_PULLDOWN | MUX_MODE1) /* mcspi4_clk */
  247. OMAP3_CORE1_IOPAD(0x2192, PIN_INPUT_PULLDOWN | MUX_MODE1) /* mcspi4_somi */
  248. OMAP3_CORE1_IOPAD(0x2190, PIN_OUTPUT | MUX_MODE1) /* mcspi4_simo */
  249. OMAP3_CORE1_IOPAD(0x2196, PIN_OUTPUT | MUX_MODE1) /* mcspi4_cs0 */
  250. >;
  251. };
  252. mmc1_pins: pinmux_mmc1_pins {
  253. pinctrl-single,pins = <
  254. OMAP3_CORE1_IOPAD(0x2144, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_clk */
  255. OMAP3_CORE1_IOPAD(0x2146, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_cmd */
  256. OMAP3_CORE1_IOPAD(0x2148, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat0 */
  257. OMAP3_CORE1_IOPAD(0x214a, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat1 */
  258. OMAP3_CORE1_IOPAD(0x214c, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat2 */
  259. OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3 */
  260. >;
  261. };
  262. mmc2_pins: pinmux_mmc2_pins {
  263. pinctrl-single,pins = <
  264. OMAP3_CORE1_IOPAD(0x2158, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_clk */
  265. OMAP3_CORE1_IOPAD(0x215a, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_cmd */
  266. OMAP3_CORE1_IOPAD(0x215c, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat0 */
  267. OMAP3_CORE1_IOPAD(0x215e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat1 */
  268. OMAP3_CORE1_IOPAD(0x2160, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat2 */
  269. OMAP3_CORE1_IOPAD(0x2162, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat3 */
  270. OMAP3_CORE1_IOPAD(0x2164, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat4 */
  271. OMAP3_CORE1_IOPAD(0x2166, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat5 */
  272. OMAP3_CORE1_IOPAD(0x2168, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat6 */
  273. OMAP3_CORE1_IOPAD(0x216a, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat7 */
  274. >;
  275. };
  276. acx565akm_pins: pinmux_acx565akm_pins {
  277. pinctrl-single,pins = <
  278. OMAP3_CORE1_IOPAD(0x2104, PIN_OUTPUT | MUX_MODE4) /* RX51_LCD_RESET_GPIO */
  279. >;
  280. };
  281. dss_sdi_pins: pinmux_dss_sdi_pins {
  282. pinctrl-single,pins = <
  283. OMAP3_CORE1_IOPAD(0x20f0, PIN_OUTPUT | MUX_MODE1) /* dss_data10.sdi_dat1n */
  284. OMAP3_CORE1_IOPAD(0x20f2, PIN_OUTPUT | MUX_MODE1) /* dss_data11.sdi_dat1p */
  285. OMAP3_CORE1_IOPAD(0x20f4, PIN_OUTPUT | MUX_MODE1) /* dss_data12.sdi_dat2n */
  286. OMAP3_CORE1_IOPAD(0x20f6, PIN_OUTPUT | MUX_MODE1) /* dss_data13.sdi_dat2p */
  287. OMAP3_CORE1_IOPAD(0x2108, PIN_OUTPUT | MUX_MODE1) /* dss_data22.sdi_clkp */
  288. OMAP3_CORE1_IOPAD(0x210a, PIN_OUTPUT | MUX_MODE1) /* dss_data23.sdi_clkn */
  289. >;
  290. };
  291. wl1251_pins: pinmux_wl1251 {
  292. pinctrl-single,pins = <
  293. OMAP3_CORE1_IOPAD(0x20fe, PIN_OUTPUT | MUX_MODE4) /* gpio 87 => wl1251 enable */
  294. OMAP3_CORE1_IOPAD(0x208a, PIN_INPUT | MUX_MODE4) /* gpio 42 => wl1251 irq */
  295. >;
  296. };
  297. ssi_pins: pinmux_ssi {
  298. pinctrl-single,pins = <
  299. OMAP3_CORE1_IOPAD(0x2180, PIN_INPUT_PULLUP | MUX_MODE1) /* ssi1_rdy_tx */
  300. OMAP3_CORE1_IOPAD(0x217e, PIN_OUTPUT | MUX_MODE1) /* ssi1_flag_tx */
  301. OMAP3_CORE1_IOPAD(0x2182, PIN_INPUT | MUX_MODE4) /* ssi1_wake_tx (cawake) */
  302. OMAP3_CORE1_IOPAD(0x217c, PIN_OUTPUT | MUX_MODE1) /* ssi1_dat_tx */
  303. OMAP3_CORE1_IOPAD(0x2184, PIN_INPUT | MUX_MODE1) /* ssi1_dat_rx */
  304. OMAP3_CORE1_IOPAD(0x2186, PIN_INPUT | MUX_MODE1) /* ssi1_flag_rx */
  305. OMAP3_CORE1_IOPAD(0x2188, PIN_OUTPUT | MUX_MODE1) /* ssi1_rdy_rx */
  306. OMAP3_CORE1_IOPAD(0x218a, PIN_OUTPUT | MUX_MODE1) /* ssi1_wake */
  307. >;
  308. };
  309. modem_pins: pinmux_modem {
  310. pinctrl-single,pins = <
  311. OMAP3_CORE1_IOPAD(0x20dc, PIN_OUTPUT | MUX_MODE4) /* gpio 70 => cmt_apeslpx */
  312. OMAP3_CORE1_IOPAD(0x20e0, PIN_INPUT | MUX_MODE4) /* gpio 72 => ape_rst_rq */
  313. OMAP3_CORE1_IOPAD(0x20e2, PIN_OUTPUT | MUX_MODE4) /* gpio 73 => cmt_rst_rq */
  314. OMAP3_CORE1_IOPAD(0x20e4, PIN_OUTPUT | MUX_MODE4) /* gpio 74 => cmt_en */
  315. OMAP3_CORE1_IOPAD(0x20e6, PIN_OUTPUT | MUX_MODE4) /* gpio 75 => cmt_rst */
  316. OMAP3_CORE1_IOPAD(0x218e, PIN_OUTPUT | MUX_MODE4) /* gpio 157 => cmt_bsi */
  317. >;
  318. };
  319. camera_pins: pinmux_camera {
  320. pinctrl-single,pins = <
  321. OMAP3_CORE1_IOPAD(0x210c, PIN_OUTPUT | MUX_MODE7) /* cam_hs */
  322. OMAP3_CORE1_IOPAD(0x210e, PIN_OUTPUT | MUX_MODE7) /* cam_vs */
  323. OMAP3_CORE1_IOPAD(0x2110, PIN_OUTPUT | MUX_MODE0) /* cam_xclka */
  324. OMAP3_CORE1_IOPAD(0x211e, PIN_OUTPUT | MUX_MODE7) /* cam_d4 */
  325. OMAP3_CORE1_IOPAD(0x2122, PIN_INPUT | MUX_MODE0) /* cam_d6 */
  326. OMAP3_CORE1_IOPAD(0x2124, PIN_INPUT | MUX_MODE0) /* cam_d7 */
  327. OMAP3_CORE1_IOPAD(0x2126, PIN_INPUT | MUX_MODE0) /* cam_d8 */
  328. OMAP3_CORE1_IOPAD(0x2128, PIN_INPUT | MUX_MODE0) /* cam_d9 */
  329. OMAP3_CORE1_IOPAD(0x212a, PIN_OUTPUT | MUX_MODE7) /* cam_d10 */
  330. OMAP3_CORE1_IOPAD(0x212e, PIN_OUTPUT | MUX_MODE7) /* cam_xclkb */
  331. OMAP3_CORE1_IOPAD(0x2132, PIN_OUTPUT | MUX_MODE0) /* cam_strobe */
  332. >;
  333. };
  334. };
  335. &i2c1 {
  336. pinctrl-names = "default";
  337. pinctrl-0 = <&i2c1_pins>;
  338. clock-frequency = <2200000>;
  339. twl: twl@48 {
  340. reg = <0x48>;
  341. interrupts = <7>; /* SYS_NIRQ cascaded to intc */
  342. interrupt-parent = <&intc>;
  343. };
  344. };
  345. #include "twl4030.dtsi"
  346. #include "twl4030_omap3.dtsi"
  347. &vaux1 {
  348. regulator-name = "V28";
  349. regulator-min-microvolt = <2800000>;
  350. regulator-max-microvolt = <2800000>;
  351. regulator-initial-mode = <0x0e>; /* RES_STATE_ACTIVE */
  352. regulator-always-on; /* due to battery cover sensor */
  353. };
  354. &vaux2 {
  355. regulator-name = "VCSI";
  356. regulator-min-microvolt = <1800000>;
  357. regulator-max-microvolt = <1800000>;
  358. regulator-initial-mode = <0x0e>; /* RES_STATE_ACTIVE */
  359. };
  360. &vaux3 {
  361. regulator-name = "VMMC2_30";
  362. regulator-min-microvolt = <2800000>;
  363. regulator-max-microvolt = <3000000>;
  364. regulator-initial-mode = <0x0e>; /* RES_STATE_ACTIVE */
  365. };
  366. &vaux4 {
  367. regulator-name = "VCAM_ANA_28";
  368. regulator-min-microvolt = <2800000>;
  369. regulator-max-microvolt = <2800000>;
  370. regulator-initial-mode = <0x0e>; /* RES_STATE_ACTIVE */
  371. };
  372. &vmmc1 {
  373. regulator-name = "VMMC1";
  374. regulator-min-microvolt = <1850000>;
  375. regulator-max-microvolt = <3150000>;
  376. regulator-initial-mode = <0x0e>; /* RES_STATE_ACTIVE */
  377. };
  378. &vmmc2 {
  379. regulator-name = "V28_A";
  380. regulator-min-microvolt = <2800000>;
  381. regulator-max-microvolt = <3000000>;
  382. regulator-initial-mode = <0x0e>; /* RES_STATE_ACTIVE */
  383. regulator-always-on; /* due VIO leak to AIC34 VDDs */
  384. };
  385. &vpll1 {
  386. regulator-name = "VPLL";
  387. regulator-min-microvolt = <1800000>;
  388. regulator-max-microvolt = <1800000>;
  389. regulator-initial-mode = <0x0e>; /* RES_STATE_ACTIVE */
  390. regulator-always-on;
  391. };
  392. &vpll2 {
  393. regulator-name = "VSDI_CSI";
  394. regulator-min-microvolt = <1800000>;
  395. regulator-max-microvolt = <1800000>;
  396. regulator-initial-mode = <0x0e>; /* RES_STATE_ACTIVE */
  397. regulator-always-on;
  398. };
  399. &vsim {
  400. regulator-name = "VMMC2_IO_18";
  401. regulator-min-microvolt = <1800000>;
  402. regulator-max-microvolt = <1800000>;
  403. regulator-initial-mode = <0x0e>; /* RES_STATE_ACTIVE */
  404. };
  405. &vio {
  406. regulator-name = "VIO";
  407. regulator-min-microvolt = <1800000>;
  408. regulator-max-microvolt = <1800000>;
  409. };
  410. &vintana1 {
  411. regulator-name = "VINTANA1";
  412. /* fixed to 1500000 */
  413. regulator-always-on;
  414. };
  415. &vintana2 {
  416. regulator-name = "VINTANA2";
  417. regulator-min-microvolt = <2750000>;
  418. regulator-max-microvolt = <2750000>;
  419. regulator-always-on;
  420. };
  421. &vintdig {
  422. regulator-name = "VINTDIG";
  423. /* fixed to 1500000 */
  424. regulator-always-on;
  425. };
  426. /* First two dma channels are reserved on secure omap3 */
  427. &sdma {
  428. dma-channel-mask = <0xfffffffc>;
  429. };
  430. &twl {
  431. twl_audio: audio {
  432. compatible = "ti,twl4030-audio";
  433. ti,enable-vibra = <1>;
  434. };
  435. twl_power: power {
  436. compatible = "ti,twl4030-power-n900", "ti,twl4030-power-idle-osc-off";
  437. ti,use_poweroff;
  438. };
  439. };
  440. &twl_keypad {
  441. linux,keymap = < MATRIX_KEY(0x00, 0x00, KEY_Q)
  442. MATRIX_KEY(0x00, 0x01, KEY_O)
  443. MATRIX_KEY(0x00, 0x02, KEY_P)
  444. MATRIX_KEY(0x00, 0x03, KEY_COMMA)
  445. MATRIX_KEY(0x00, 0x04, KEY_BACKSPACE)
  446. MATRIX_KEY(0x00, 0x06, KEY_A)
  447. MATRIX_KEY(0x00, 0x07, KEY_S)
  448. MATRIX_KEY(0x01, 0x00, KEY_W)
  449. MATRIX_KEY(0x01, 0x01, KEY_D)
  450. MATRIX_KEY(0x01, 0x02, KEY_F)
  451. MATRIX_KEY(0x01, 0x03, KEY_G)
  452. MATRIX_KEY(0x01, 0x04, KEY_H)
  453. MATRIX_KEY(0x01, 0x05, KEY_J)
  454. MATRIX_KEY(0x01, 0x06, KEY_K)
  455. MATRIX_KEY(0x01, 0x07, KEY_L)
  456. MATRIX_KEY(0x02, 0x00, KEY_E)
  457. MATRIX_KEY(0x02, 0x01, KEY_DOT)
  458. MATRIX_KEY(0x02, 0x02, KEY_UP)
  459. MATRIX_KEY(0x02, 0x03, KEY_ENTER)
  460. MATRIX_KEY(0x02, 0x05, KEY_Z)
  461. MATRIX_KEY(0x02, 0x06, KEY_X)
  462. MATRIX_KEY(0x02, 0x07, KEY_C)
  463. MATRIX_KEY(0x02, 0x08, KEY_F9)
  464. MATRIX_KEY(0x03, 0x00, KEY_R)
  465. MATRIX_KEY(0x03, 0x01, KEY_V)
  466. MATRIX_KEY(0x03, 0x02, KEY_B)
  467. MATRIX_KEY(0x03, 0x03, KEY_N)
  468. MATRIX_KEY(0x03, 0x04, KEY_M)
  469. MATRIX_KEY(0x03, 0x05, KEY_SPACE)
  470. MATRIX_KEY(0x03, 0x06, KEY_SPACE)
  471. MATRIX_KEY(0x03, 0x07, KEY_LEFT)
  472. MATRIX_KEY(0x04, 0x00, KEY_T)
  473. MATRIX_KEY(0x04, 0x01, KEY_DOWN)
  474. MATRIX_KEY(0x04, 0x02, KEY_RIGHT)
  475. MATRIX_KEY(0x04, 0x04, KEY_LEFTCTRL)
  476. MATRIX_KEY(0x04, 0x05, KEY_RIGHTALT)
  477. MATRIX_KEY(0x04, 0x06, KEY_LEFTSHIFT)
  478. MATRIX_KEY(0x04, 0x08, KEY_F10)
  479. MATRIX_KEY(0x05, 0x00, KEY_Y)
  480. MATRIX_KEY(0x05, 0x08, KEY_F11)
  481. MATRIX_KEY(0x06, 0x00, KEY_U)
  482. MATRIX_KEY(0x07, 0x00, KEY_I)
  483. MATRIX_KEY(0x07, 0x01, KEY_F7)
  484. MATRIX_KEY(0x07, 0x02, KEY_F8)
  485. >;
  486. };
  487. &twl_gpio {
  488. ti,pullups = <0x0>;
  489. ti,pulldowns = <0x03ff3f>; /* BIT(0..5) | BIT(8..17) */
  490. };
  491. &i2c2 {
  492. pinctrl-names = "default";
  493. pinctrl-0 = <&i2c2_pins>;
  494. clock-frequency = <100000>;
  495. tlv320aic3x: tlv320aic3x@18 {
  496. compatible = "ti,tlv320aic3x";
  497. reg = <0x18>;
  498. reset-gpios = <&gpio2 28 GPIO_ACTIVE_LOW>; /* 60 */
  499. ai3x-gpio-func = <
  500. 0 /* AIC3X_GPIO1_FUNC_DISABLED */
  501. 5 /* AIC3X_GPIO2_FUNC_DIGITAL_MIC_INPUT */
  502. >;
  503. AVDD-supply = <&vmmc2>;
  504. DRVDD-supply = <&vmmc2>;
  505. IOVDD-supply = <&vio>;
  506. DVDD-supply = <&vio>;
  507. ai3x-micbias-vg = <1>;
  508. };
  509. tlv320aic3x_aux: tlv320aic3x@19 {
  510. compatible = "ti,tlv320aic3x";
  511. reg = <0x19>;
  512. reset-gpios = <&gpio2 28 GPIO_ACTIVE_LOW>; /* 60 */
  513. AVDD-supply = <&vmmc2>;
  514. DRVDD-supply = <&vmmc2>;
  515. IOVDD-supply = <&vio>;
  516. DVDD-supply = <&vio>;
  517. ai3x-micbias-vg = <2>;
  518. };
  519. tsl2563: tsl2563@29 {
  520. compatible = "amstaos,tsl2563";
  521. reg = <0x29>;
  522. amstaos,cover-comp-gain = <16>;
  523. };
  524. adp1653: led-controller@30 {
  525. compatible = "adi,adp1653";
  526. reg = <0x30>;
  527. enable-gpios = <&gpio3 24 GPIO_ACTIVE_HIGH>; /* 88 */
  528. flash {
  529. flash-timeout-us = <500000>;
  530. flash-max-microamp = <320000>;
  531. led-max-microamp = <50000>;
  532. };
  533. indicator {
  534. led-max-microamp = <17500>;
  535. };
  536. };
  537. lp5523: lp5523@32 {
  538. #address-cells = <1>;
  539. #size-cells = <0>;
  540. compatible = "national,lp5523";
  541. reg = <0x32>;
  542. clock-mode = /bits/ 8 <0>; /* LP55XX_CLOCK_AUTO */
  543. enable-gpios = <&gpio2 9 GPIO_ACTIVE_HIGH>; /* 41 */
  544. led@0 {
  545. reg = <0>;
  546. chan-name = "lp5523:kb1";
  547. led-cur = /bits/ 8 <50>;
  548. max-cur = /bits/ 8 <100>;
  549. color = <LED_COLOR_ID_WHITE>;
  550. function = LED_FUNCTION_KBD_BACKLIGHT;
  551. };
  552. led@1 {
  553. reg = <1>;
  554. chan-name = "lp5523:kb2";
  555. led-cur = /bits/ 8 <50>;
  556. max-cur = /bits/ 8 <100>;
  557. color = <LED_COLOR_ID_WHITE>;
  558. function = LED_FUNCTION_KBD_BACKLIGHT;
  559. };
  560. led@2 {
  561. reg = <2>;
  562. chan-name = "lp5523:kb3";
  563. led-cur = /bits/ 8 <50>;
  564. max-cur = /bits/ 8 <100>;
  565. color = <LED_COLOR_ID_WHITE>;
  566. function = LED_FUNCTION_KBD_BACKLIGHT;
  567. };
  568. led@3 {
  569. reg = <3>;
  570. chan-name = "lp5523:kb4";
  571. led-cur = /bits/ 8 <50>;
  572. max-cur = /bits/ 8 <100>;
  573. color = <LED_COLOR_ID_WHITE>;
  574. function = LED_FUNCTION_KBD_BACKLIGHT;
  575. };
  576. led@4 {
  577. reg = <4>;
  578. chan-name = "lp5523:b";
  579. led-cur = /bits/ 8 <50>;
  580. max-cur = /bits/ 8 <100>;
  581. color = <LED_COLOR_ID_BLUE>;
  582. function = LED_FUNCTION_STATUS;
  583. };
  584. led@5 {
  585. reg = <5>;
  586. chan-name = "lp5523:g";
  587. led-cur = /bits/ 8 <50>;
  588. max-cur = /bits/ 8 <100>;
  589. color = <LED_COLOR_ID_GREEN>;
  590. function = LED_FUNCTION_STATUS;
  591. };
  592. led@6 {
  593. reg = <6>;
  594. chan-name = "lp5523:r";
  595. led-cur = /bits/ 8 <50>;
  596. max-cur = /bits/ 8 <100>;
  597. color = <LED_COLOR_ID_RED>;
  598. function = LED_FUNCTION_STATUS;
  599. };
  600. led@7 {
  601. reg = <7>;
  602. chan-name = "lp5523:kb5";
  603. led-cur = /bits/ 8 <50>;
  604. max-cur = /bits/ 8 <100>;
  605. color = <LED_COLOR_ID_WHITE>;
  606. function = LED_FUNCTION_KBD_BACKLIGHT;
  607. };
  608. led@8 {
  609. reg = <8>;
  610. chan-name = "lp5523:kb6";
  611. led-cur = /bits/ 8 <50>;
  612. max-cur = /bits/ 8 <100>;
  613. color = <LED_COLOR_ID_WHITE>;
  614. function = LED_FUNCTION_KBD_BACKLIGHT;
  615. };
  616. };
  617. bq27200: bq27200@55 {
  618. compatible = "ti,bq27200";
  619. reg = <0x55>;
  620. power-supplies = <&bq24150a>;
  621. };
  622. /* Stereo headphone amplifier */
  623. tpa6130a2: tpa6130a2@60 {
  624. compatible = "ti,tpa6130a2";
  625. reg = <0x60>;
  626. Vdd-supply = <&vmmc2>;
  627. power-gpio = <&gpio4 2 GPIO_ACTIVE_HIGH>; /* 98 */
  628. };
  629. si4713: si4713@63 {
  630. compatible = "silabs,si4713";
  631. reg = <0x63>;
  632. interrupts-extended = <&gpio2 21 IRQ_TYPE_EDGE_FALLING>; /* 53 */
  633. reset-gpios = <&gpio6 3 GPIO_ACTIVE_HIGH>; /* 163 */
  634. vio-supply = <&vio>;
  635. vdd-supply = <&vaux1>;
  636. };
  637. bq24150a: bq24150a@6b {
  638. compatible = "ti,bq24150a";
  639. reg = <0x6b>;
  640. ti,current-limit = <100>;
  641. ti,weak-battery-voltage = <3400>;
  642. ti,battery-regulation-voltage = <4200>;
  643. ti,charge-current = <650>;
  644. ti,termination-current = <100>;
  645. ti,resistor-sense = <68>;
  646. ti,usb-charger-detection = <&isp1707>;
  647. };
  648. };
  649. &i2c3 {
  650. pinctrl-names = "default";
  651. pinctrl-0 = <&i2c3_pins>;
  652. clock-frequency = <400000>;
  653. lis302dl: lis3lv02d@1d {
  654. compatible = "st,lis3lv02d";
  655. reg = <0x1d>;
  656. Vdd-supply = <&vaux1>;
  657. Vdd_IO-supply = <&vio>;
  658. interrupt-parent = <&gpio6>;
  659. interrupts = <21 20>; /* 181 and 180 */
  660. /* click flags */
  661. st,click-single-x;
  662. st,click-single-y;
  663. st,click-single-z;
  664. /* Limits are 0.5g * value */
  665. st,click-threshold-x = <8>;
  666. st,click-threshold-y = <8>;
  667. st,click-threshold-z = <10>;
  668. /* Click must be longer than time limit */
  669. st,click-time-limit = <9>;
  670. /* Kind of debounce filter */
  671. st,click-latency = <50>;
  672. /* Interrupt line 2 for click detection */
  673. st,irq2-click;
  674. st,wakeup-x-hi;
  675. st,wakeup-y-hi;
  676. st,wakeup-threshold = <(800/18)>; /* millig-value / 18 to get HW values */
  677. st,wakeup2-z-hi;
  678. st,wakeup2-threshold = <(900/18)>; /* millig-value / 18 to get HW values */
  679. st,hipass1-disable;
  680. st,hipass2-disable;
  681. st,axis-x = <1>; /* LIS3_DEV_X */
  682. st,axis-y = <(-2)>; /* LIS3_INV_DEV_Y */
  683. st,axis-z = <(-3)>; /* LIS3_INV_DEV_Z */
  684. st,min-limit-x = <(-32)>;
  685. st,min-limit-y = <3>;
  686. st,min-limit-z = <3>;
  687. st,max-limit-x = <(-3)>;
  688. st,max-limit-y = <32>;
  689. st,max-limit-z = <32>;
  690. };
  691. cam1: camera@3e {
  692. compatible = "toshiba,et8ek8";
  693. reg = <0x3e>;
  694. vana-supply = <&vaux4>;
  695. clocks = <&isp 0>;
  696. clock-names = "extclk";
  697. clock-frequency = <9600000>;
  698. reset-gpio = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* 102 */
  699. lens-focus = <&ad5820>;
  700. port {
  701. csi_cam1: endpoint {
  702. bus-type = <3>; /* CCP2 */
  703. strobe = <1>;
  704. clock-inv = <0>;
  705. crc = <1>;
  706. remote-endpoint = <&csi_isp>;
  707. };
  708. };
  709. };
  710. /* D/A converter for auto-focus */
  711. ad5820: dac@c {
  712. compatible = "adi,ad5820";
  713. reg = <0x0c>;
  714. VANA-supply = <&vaux4>;
  715. #io-channel-cells = <0>;
  716. };
  717. };
  718. &mmc1 {
  719. pinctrl-names = "default";
  720. pinctrl-0 = <&mmc1_pins>;
  721. vmmc-supply = <&vmmc1>;
  722. bus-width = <4>;
  723. };
  724. /* most boards use vaux3, only some old versions use vmmc2 instead */
  725. &mmc2 {
  726. pinctrl-names = "default";
  727. pinctrl-0 = <&mmc2_pins>;
  728. vmmc-supply = <&vaux3>;
  729. vqmmc-supply = <&vsim>;
  730. bus-width = <8>;
  731. non-removable;
  732. no-sdio;
  733. no-sd;
  734. };
  735. &mmc3 {
  736. status = "disabled";
  737. };
  738. &gpmc {
  739. ranges = <0 0 0x01000000 0x01000000>, /* 16 MB for OneNAND */
  740. <1 0 0x02000000 0x01000000>; /* 16 MB for smc91c96 */
  741. pinctrl-names = "default";
  742. pinctrl-0 = <&gpmc_pins>;
  743. /* sys_ndmareq1 could be used by the driver, not as gpio65 though */
  744. onenand@0,0 {
  745. #address-cells = <1>;
  746. #size-cells = <1>;
  747. compatible = "ti,omap2-onenand";
  748. reg = <0 0 0x20000>; /* CS0, offset 0, IO size 128K */
  749. /*
  750. * These timings are based on CONFIG_OMAP_GPMC_DEBUG=y reported
  751. * bootloader set values when booted with v5.1
  752. * (OneNAND Manufacturer: Samsung):
  753. *
  754. * cs0 GPMC_CS_CONFIG1: 0xfb001202
  755. * cs0 GPMC_CS_CONFIG2: 0x00111100
  756. * cs0 GPMC_CS_CONFIG3: 0x00020200
  757. * cs0 GPMC_CS_CONFIG4: 0x11001102
  758. * cs0 GPMC_CS_CONFIG5: 0x03101616
  759. * cs0 GPMC_CS_CONFIG6: 0x90060000
  760. */
  761. gpmc,sync-read;
  762. gpmc,sync-write;
  763. gpmc,burst-length = <16>;
  764. gpmc,burst-read;
  765. gpmc,burst-wrap;
  766. gpmc,burst-write;
  767. gpmc,device-width = <2>;
  768. gpmc,mux-add-data = <2>;
  769. gpmc,cs-on-ns = <0>;
  770. gpmc,cs-rd-off-ns = <102>;
  771. gpmc,cs-wr-off-ns = <102>;
  772. gpmc,adv-on-ns = <0>;
  773. gpmc,adv-rd-off-ns = <12>;
  774. gpmc,adv-wr-off-ns = <12>;
  775. gpmc,oe-on-ns = <12>;
  776. gpmc,oe-off-ns = <102>;
  777. gpmc,we-on-ns = <0>;
  778. gpmc,we-off-ns = <102>;
  779. gpmc,rd-cycle-ns = <132>;
  780. gpmc,wr-cycle-ns = <132>;
  781. gpmc,access-ns = <96>;
  782. gpmc,page-burst-access-ns = <18>;
  783. gpmc,bus-turnaround-ns = <0>;
  784. gpmc,cycle2cycle-delay-ns = <0>;
  785. gpmc,wait-monitoring-ns = <0>;
  786. gpmc,clk-activation-ns = <6>;
  787. gpmc,wr-data-mux-bus-ns = <36>;
  788. gpmc,wr-access-ns = <96>;
  789. gpmc,sync-clk-ps = <15000>;
  790. /*
  791. * MTD partition table corresponding to Nokia's
  792. * Maemo 5 (Fremantle) release.
  793. */
  794. partition@0 {
  795. label = "bootloader";
  796. reg = <0x00000000 0x00020000>;
  797. read-only;
  798. };
  799. partition@1 {
  800. label = "config";
  801. reg = <0x00020000 0x00060000>;
  802. };
  803. partition@2 {
  804. label = "log";
  805. reg = <0x00080000 0x00040000>;
  806. };
  807. partition@3 {
  808. label = "kernel";
  809. reg = <0x000c0000 0x00200000>;
  810. };
  811. partition@4 {
  812. label = "initfs";
  813. reg = <0x002c0000 0x00200000>;
  814. };
  815. partition@5 {
  816. label = "rootfs";
  817. reg = <0x004c0000 0x0fb40000>;
  818. };
  819. };
  820. /* Ethernet is on some early development boards and qemu */
  821. ethernet@gpmc {
  822. compatible = "smsc,lan91c94";
  823. interrupt-parent = <&gpio2>;
  824. interrupts = <22 IRQ_TYPE_LEVEL_HIGH>; /* gpio54 */
  825. reg = <1 0 0xf>; /* 16 byte IO range */
  826. bank-width = <2>;
  827. pinctrl-names = "default";
  828. pinctrl-0 = <&ethernet_pins>;
  829. power-gpios = <&gpio3 22 GPIO_ACTIVE_HIGH>; /* gpio86 */
  830. reset-gpios = <&gpio6 4 GPIO_ACTIVE_HIGH>; /* gpio164 */
  831. gpmc,device-width = <2>;
  832. gpmc,sync-clk-ps = <0>;
  833. gpmc,cs-on-ns = <0>;
  834. gpmc,cs-rd-off-ns = <48>;
  835. gpmc,cs-wr-off-ns = <24>;
  836. gpmc,adv-on-ns = <0>;
  837. gpmc,adv-rd-off-ns = <0>;
  838. gpmc,adv-wr-off-ns = <0>;
  839. gpmc,we-on-ns = <12>;
  840. gpmc,we-off-ns = <18>;
  841. gpmc,oe-on-ns = <12>;
  842. gpmc,oe-off-ns = <48>;
  843. gpmc,page-burst-access-ns = <0>;
  844. gpmc,access-ns = <42>;
  845. gpmc,rd-cycle-ns = <180>;
  846. gpmc,wr-cycle-ns = <180>;
  847. gpmc,bus-turnaround-ns = <0>;
  848. gpmc,cycle2cycle-delay-ns = <0>;
  849. gpmc,wait-monitoring-ns = <0>;
  850. gpmc,clk-activation-ns = <0>;
  851. gpmc,wr-access-ns = <0>;
  852. gpmc,wr-data-mux-bus-ns = <12>;
  853. };
  854. };
  855. &mcspi1 {
  856. /*
  857. * For some reason, touchscreen is necessary for screen to work at
  858. * all on real hw. It works well without it on emulator.
  859. *
  860. * Also... order in the device tree actually matters here.
  861. */
  862. tsc2005@0 {
  863. compatible = "ti,tsc2005";
  864. spi-max-frequency = <6000000>;
  865. reg = <0>;
  866. vio-supply = <&vio>;
  867. reset-gpios = <&gpio4 8 GPIO_ACTIVE_HIGH>; /* 104 */
  868. interrupts-extended = <&gpio4 4 IRQ_TYPE_EDGE_RISING>; /* 100 */
  869. touchscreen-fuzz-x = <4>;
  870. touchscreen-fuzz-y = <7>;
  871. touchscreen-fuzz-pressure = <2>;
  872. touchscreen-size-x = <4096>;
  873. touchscreen-size-y = <4096>;
  874. touchscreen-max-pressure = <2048>;
  875. ti,x-plate-ohms = <280>;
  876. ti,esd-recovery-timeout-ms = <8000>;
  877. };
  878. lcd: acx565akm@2 {
  879. compatible = "sony,acx565akm";
  880. spi-max-frequency = <6000000>;
  881. reg = <2>;
  882. pinctrl-names = "default";
  883. pinctrl-0 = <&acx565akm_pins>;
  884. label = "lcd";
  885. reset-gpios = <&gpio3 26 GPIO_ACTIVE_HIGH>; /* 90 */
  886. port {
  887. lcd_in: endpoint {
  888. remote-endpoint = <&sdi_out>;
  889. };
  890. };
  891. };
  892. };
  893. &mcspi4 {
  894. pinctrl-names = "default";
  895. pinctrl-0 = <&mcspi4_pins>;
  896. wl1251@0 {
  897. pinctrl-names = "default";
  898. pinctrl-0 = <&wl1251_pins>;
  899. vio-supply = <&vio>;
  900. compatible = "ti,wl1251";
  901. reg = <0>;
  902. spi-max-frequency = <48000000>;
  903. spi-cpol;
  904. spi-cpha;
  905. ti,power-gpio = <&gpio3 23 GPIO_ACTIVE_HIGH>; /* 87 */
  906. interrupt-parent = <&gpio2>;
  907. interrupts = <10 IRQ_TYPE_NONE>; /* gpio line 42 */
  908. clocks = <&vctcxo>;
  909. };
  910. };
  911. /* RNG not directly accessible on n900, see omap3-rom-rng instead */
  912. &rng_target {
  913. status = "disabled";
  914. };
  915. &usb_otg_hs {
  916. interface-type = <0>;
  917. usb-phy = <&usb2_phy>;
  918. phys = <&usb2_phy>;
  919. phy-names = "usb2-phy";
  920. mode = <2>;
  921. power = <50>;
  922. };
  923. &uart1 {
  924. status = "disabled";
  925. };
  926. &uart2 {
  927. pinctrl-names = "default";
  928. pinctrl-0 = <&uart2_pins>;
  929. bcm2048: bluetooth {
  930. compatible = "brcm,bcm2048-nokia", "nokia,h4p-bluetooth";
  931. reset-gpios = <&gpio3 27 GPIO_ACTIVE_LOW>; /* 91 */
  932. host-wakeup-gpios = <&gpio4 5 GPIO_ACTIVE_HIGH>; /* 101 */
  933. bluetooth-wakeup-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>; /* 37 */
  934. clocks = <&vctcxo>;
  935. clock-names = "sysclk";
  936. };
  937. };
  938. &uart3 {
  939. interrupts-extended = <&intc 74 &omap3_pmx_core OMAP3_UART3_RX>;
  940. pinctrl-names = "default";
  941. pinctrl-0 = <&uart3_pins>;
  942. };
  943. &dss {
  944. status = "okay";
  945. pinctrl-names = "default";
  946. pinctrl-0 = <&dss_sdi_pins>;
  947. vdds_sdi-supply = <&vaux1>;
  948. ports {
  949. #address-cells = <1>;
  950. #size-cells = <0>;
  951. port@1 {
  952. reg = <1>;
  953. sdi_out: endpoint {
  954. remote-endpoint = <&lcd_in>;
  955. datapairs = <2>;
  956. };
  957. };
  958. };
  959. };
  960. &venc {
  961. status = "okay";
  962. vdda-supply = <&vdac>;
  963. port {
  964. venc_out: endpoint {
  965. remote-endpoint = <&tv_connector_in>;
  966. ti,channels = <1>;
  967. };
  968. };
  969. };
  970. &mcbsp2 {
  971. status = "okay";
  972. };
  973. &ssi_port1 {
  974. pinctrl-names = "default";
  975. pinctrl-0 = <&ssi_pins>;
  976. ti,ssi-cawake-gpio = <&gpio5 23 GPIO_ACTIVE_HIGH>; /* 151 */
  977. modem: hsi-client {
  978. compatible = "nokia,n900-modem";
  979. pinctrl-names = "default";
  980. pinctrl-0 = <&modem_pins>;
  981. hsi-channel-ids = <0>, <1>, <2>, <3>;
  982. hsi-channel-names = "mcsaab-control",
  983. "speech-control",
  984. "speech-data",
  985. "mcsaab-data";
  986. hsi-speed-kbps = <55000>;
  987. hsi-mode = "frame";
  988. hsi-flow = "synchronized";
  989. hsi-arb-mode = "round-robin";
  990. interrupts-extended = <&gpio3 8 IRQ_TYPE_EDGE_FALLING>; /* 72 */
  991. gpios = <&gpio3 6 GPIO_ACTIVE_HIGH>, /* 70 */
  992. <&gpio3 9 GPIO_ACTIVE_HIGH>, /* 73 */
  993. <&gpio3 10 GPIO_ACTIVE_HIGH>, /* 74 */
  994. <&gpio3 11 GPIO_ACTIVE_HIGH>, /* 75 */
  995. <&gpio5 29 GPIO_ACTIVE_HIGH>; /* 157 */
  996. gpio-names = "cmt_apeslpx",
  997. "cmt_rst_rq",
  998. "cmt_en",
  999. "cmt_rst",
  1000. "cmt_bsi";
  1001. };
  1002. };
  1003. &ssi_port2 {
  1004. status = "disabled";
  1005. };