msm8974-cdp.dtsi 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792
  1. /* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved.
  2. *
  3. * This program is free software; you can redistribute it and/or modify
  4. * it under the terms of the GNU General Public License version 2 and
  5. * only version 2 as published by the Free Software Foundation.
  6. *
  7. * This program is distributed in the hope that it will be useful,
  8. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. * GNU General Public License for more details.
  11. */
  12. /include/ "msm8974-leds.dtsi"
  13. /include/ "msm8974-camera-sensor-cdp.dtsi"
  14. / {
  15. aliases {
  16. serial0 = &blsp1_uart1;
  17. };
  18. };
  19. &soc {
  20. serial@f991e000 {
  21. status = "ok";
  22. };
  23. qcom,mdss_dsi@fd922800 {
  24. qcom,dsi-pref-prim-pan = <&dsi_tosh_720_vid>;
  25. };
  26. qcom,mdss_mdp@fd900000 {
  27. qcom,mdss-pref-prim-intf = "dsi";
  28. };
  29. qcom,mdss_dsi_orise_720p_video {
  30. status = "disable";
  31. };
  32. qcom,hdmi_tx@fd922100 {
  33. status = "ok";
  34. };
  35. i2c@f9924000 {
  36. synaptics@20 {
  37. compatible = "synaptics,rmi4";
  38. reg = <0x20>;
  39. interrupt-parent = <&msmgpio>;
  40. interrupts = <61 0x2008>;
  41. vdd-supply = <&pm8941_l18>;
  42. vcc_i2c-supply = <&pm8941_lvs1>;
  43. synaptics,reset-gpio = <&msmgpio 60 0x00>;
  44. synaptics,irq-gpio = <&msmgpio 61 0x2008>;
  45. synaptics,display-coords = <0 0 1079 1919>;
  46. synaptics,i2c-pull-up;
  47. synaptics,power-down;
  48. synaptics,disable-gpios;
  49. synaptics,do-lockdown;
  50. };
  51. atmel_mxt_ts@4a {
  52. compatible = "atmel,mxt-ts";
  53. reg = <0x4a>;
  54. interrupt-parent = <&msmgpio>;
  55. interrupts = <61 0x2>;
  56. vdd_ana-supply = <&pm8941_l18>;
  57. vcc_i2c-supply = <&pm8941_lvs1>;
  58. atmel,reset-gpio = <&msmgpio 60 0x00>;
  59. atmel,irq-gpio = <&msmgpio 61 0x00>;
  60. atmel,panel-coords = <0 0 760 1424>;
  61. atmel,display-coords = <0 0 720 1280>;
  62. atmel,i2c-pull-up;
  63. atmel,no-force-update;
  64. atmel,cfg_1 {
  65. atmel,fw-name = "atmel_8974_fluid_v1_0_AA.hex";
  66. atmel,family-id = <0x82>;
  67. atmel,variant-id = <0x19>;
  68. atmel,version = <0x10>;
  69. atmel,build = <0xaa>;
  70. atmel,config = [
  71. /* Object 6, Instance = 0 */
  72. 00 00 00 00 00 00
  73. /* Object 38, Instance = 0 */
  74. 15 01 00 03 0A 0C 00 00
  75. /* Object 7, Instance = 0 */
  76. 20 08 32 03
  77. /* Object 8, Instance = 0 */
  78. 0F 00 0A 0A 00 00 0A 0A 00 00
  79. /* Object 9, Instance = 0 */
  80. 83 00 00 18 0E 00 70 46 02 01
  81. 00 0A 03 31 04 05 0A 0A 90 05
  82. F8 02 05 F1 F1 0F 00 00 08 2D
  83. 12 06 00 00 00 01
  84. /* Object 15, Instance = 0 */
  85. 00 00 00 00 00 00 00 00 00 00
  86. 00
  87. /* Object 18, Instance = 0 */
  88. 00 00
  89. /* Object 19, Instance = 0 */
  90. 00 00 00 00 00 00
  91. /* Object 23, Instance = 0 */
  92. 00 00 00 00 00 00 00 00 00 00
  93. 00 00 00 00 00
  94. /* Object 25, Instance = 0 */
  95. 00 00 00 00 00 00 00 00 00 00
  96. 00 00 00 00 00
  97. /* Object 40, Instance = 0 */
  98. 00 00 00 00 00
  99. /* Object 42, Instance = 0 */
  100. 33 1E 19 10 80 00 00 00 FF 00
  101. /* Object 46, Instance = 0 */
  102. 00 00 10 10 00 00 03 00 00 01
  103. /* Object 47, Instance = 0 */
  104. 08 0A 28 0A 02 0A 00 8C 00 20
  105. 00 00 00
  106. /* Object 55, Instance = 0 */
  107. 00 00 00 00 00 00
  108. /* Object 56, Instance = 0 */
  109. 00 00 00 18 05 05 05 05 05 05
  110. 05 05 05 05 05 05 05 05 05 05
  111. 05 05 05 05 05 05 05 05 00 00
  112. 00 00 00 00 00 00 00 00 00 00
  113. 00 00
  114. /* Object 57, Instance = 0 */
  115. 00 00 00
  116. /* Object 61, Instance = 0 */
  117. 00 00 00 00 00
  118. /* Object 62, Instance = 0 */
  119. 01 2A 00 16 00 00 00 00 0B 01
  120. 02 03 04 08 00 00 08 10 18 05
  121. 00 0A 05 05 50 14 19 34 1A 7F
  122. 00 00 00 00 00 00 00 00 00 30
  123. 05 02 00 01 00 05 00 00 00 00
  124. 00 00 00 00
  125. ];
  126. };
  127. };
  128. };
  129. gen-vkeys {
  130. compatible = "qcom,gen-vkeys";
  131. label = "atmel_mxt_ts";
  132. qcom,disp-maxx = <720>;
  133. qcom,disp-maxy = <1280>;
  134. qcom,panel-maxx = <760>;
  135. qcom,panel-maxy = <1424>;
  136. qcom,key-codes = <158 139 102 217>;
  137. };
  138. i2c@f9967000 {
  139. isa1200@48 {
  140. status = "okay";
  141. reg = <0x48>;
  142. vcc_i2c-supply = <&pm8941_s3>;
  143. compatible = "imagis,isa1200";
  144. label = "vibrator";
  145. imagis,chip-en;
  146. imagis,smart-en;
  147. imagis,need-pwm-clk;
  148. imagis,ext-clk-en;
  149. imagis,hap-en-gpio = <&msmgpio 86 0x00>;
  150. imagis,max-timeout = <15000>;
  151. imagis,pwm-div = <256>;
  152. imagis,mode-ctrl = <2>;
  153. imagis,regulator {
  154. regulator-name = "vcc_i2c";
  155. regulator-min-microvolt = <1800000>;
  156. regulator-max-microvolt = <1800000>;
  157. regulator-max-microamp = <9360>;
  158. };
  159. };
  160. };
  161. gpio_keys {
  162. compatible = "gpio-keys";
  163. input-name = "gpio-keys";
  164. camera_snapshot {
  165. label = "camera_snapshot";
  166. gpios = <&pm8941_gpios 3 0x1>;
  167. linux,input-type = <1>;
  168. linux,code = <0x2fe>;
  169. gpio-key,wakeup;
  170. debounce-interval = <15>;
  171. };
  172. camera_focus {
  173. label = "camera_focus";
  174. gpios = <&pm8941_gpios 4 0x1>;
  175. linux,input-type = <1>;
  176. linux,code = <0x210>;
  177. gpio-key,wakeup;
  178. debounce-interval = <15>;
  179. };
  180. vol_up {
  181. label = "volume_up";
  182. gpios = <&pm8941_gpios 5 0x1>;
  183. linux,input-type = <1>;
  184. linux,code = <115>;
  185. gpio-key,wakeup;
  186. debounce-interval = <15>;
  187. };
  188. };
  189. spi@f9923000 {
  190. ethernet-switch@2 {
  191. compatible = "micrel,ks8851";
  192. reg = <2>;
  193. interrupt-parent = <&msmgpio>;
  194. interrupts = <94 0>;
  195. spi-max-frequency = <4800000>;
  196. rst-gpio = <&pm8941_mpps 6 0>;
  197. vdd-io-supply = <&spi_eth_vreg>;
  198. vdd-phy-supply = <&spi_eth_vreg>;
  199. };
  200. };
  201. sound {
  202. qcom,model = "msm8974-taiko-cdp-snd-card";
  203. qcom,hdmi-audio-rx;
  204. qcom,us-euro-gpios = <&pm8941_gpios 20 0>;
  205. qcom,cdc-micbias2-headset-only;
  206. qcom,mbhc-audio-jack-type = "6-pole-jack";
  207. };
  208. usb2_otg_sw: regulator-tpd4s214 {
  209. compatible = "regulator-fixed";
  210. regulator-name = "usb2_otg_sw";
  211. gpio = <&pm8941_gpios 18 0>;
  212. parent-supply = <&pm8941_boost>;
  213. startup-delay-us = <17000>;
  214. enable-active-high;
  215. };
  216. hsic_host: hsic@f9a00000 {
  217. compatible = "qcom,hsic-host";
  218. reg = <0xf9a00000 0x400>;
  219. #address-cells = <0>;
  220. interrupt-parent = <&hsic_host>;
  221. interrupts = <0 1 2>;
  222. #interrupt-cells = <1>;
  223. interrupt-map-mask = <0xffffffff>;
  224. interrupt-map = <0 &intc 0 136 0
  225. 1 &intc 0 148 0
  226. 2 &msmgpio 144 0x8>;
  227. interrupt-names = "core_irq", "async_irq", "wakeup";
  228. hsic_vdd_dig-supply = <&pm8841_s2_corner>;
  229. HSIC_GDSC-supply = <&gdsc_usb_hsic>;
  230. hsic,strobe-gpio = <&msmgpio 144 0x00>;
  231. hsic,data-gpio = <&msmgpio 145 0x00>;
  232. hsic,resume-gpio = <&msmgpio 80 0x00>;
  233. hsic,ignore-cal-pad-config;
  234. hsic,strobe-pad-offset = <0x2050>;
  235. hsic,data-pad-offset = <0x2054>;
  236. qcom,phy-susp-sof-workaround;
  237. hsic,vdd-voltage-level = <1 5 7>;
  238. qcom,msm-bus,name = "hsic";
  239. qcom,msm-bus,num-cases = <2>;
  240. qcom,msm-bus,num-paths = <1>;
  241. qcom,msm-bus,vectors-KBps =
  242. <85 512 0 0>,
  243. <85 512 40000 160000>;
  244. };
  245. wlan0: qca,wlan {
  246. compatible = "qca,ar6004-hsic";
  247. qcom,msm-bus,name = "wlan";
  248. qcom,msm-bus,num-cases = <5>;
  249. qcom,msm-bus,active-only = <0>;
  250. qcom,msm-bus,num-paths = <1>;
  251. qcom,msm-bus,vectors-KBps =
  252. <85 512 0 0>,
  253. <85 512 40000 160000>,
  254. <85 512 40000 320000>,
  255. <85 512 40000 480000>,
  256. <85 512 40000 800000>;
  257. };
  258. };
  259. &pm8941_lsid1 {
  260. qcom,leds@d800 {
  261. status = "okay";
  262. qcom,wled_0 {
  263. label = "wled";
  264. linux,name = "wled:backlight";
  265. linux,default-trigger = "bkl-trigger";
  266. qcom,cs-out-en;
  267. qcom,op-fdbck = <1>;
  268. qcom,default-state = "on";
  269. qcom,max-current = <25>;
  270. qcom,ctrl-delay-us = <0>;
  271. qcom,boost-curr-lim = <5>;
  272. qcom,cp-sel = <0>;
  273. qcom,switch-freq = <11>;
  274. qcom,ovp-val = <2>;
  275. qcom,num-strings = <3>;
  276. qcom,id = <0>;
  277. };
  278. };
  279. qcom,leds@d900 {
  280. status = "disabled";
  281. };
  282. qcom,leds@da00 {
  283. status = "disabled";
  284. };
  285. qcom,leds@db00 {
  286. status = "disabled";
  287. };
  288. qcom,leds@dc00 {
  289. status = "disabled";
  290. };
  291. qcom,leds@dd00 {
  292. status = "disabled";
  293. };
  294. qcom,leds@de00 {
  295. status = "disabled";
  296. };
  297. qcom,leds@df00 {
  298. status = "disabled";
  299. };
  300. qcom,leds@e000 {
  301. status = "disabled";
  302. };
  303. qcom,leds@e100 {
  304. status = "disabled";
  305. };
  306. };
  307. &sdcc1 {
  308. status = "disabled";
  309. };
  310. &sdcc2 {
  311. #address-cells = <0>;
  312. interrupt-parent = <&sdcc2>;
  313. interrupts = <0 1 2>;
  314. #interrupt-cells = <1>;
  315. interrupt-map-mask = <0xffffffff>;
  316. interrupt-map = <0 &intc 0 125 0
  317. 1 &intc 0 220 0
  318. 2 &msmgpio 62 0x3>;
  319. interrupt-names = "core_irq", "bam_irq", "status_irq";
  320. cd-gpios = <&msmgpio 62 0x1>;
  321. wp-gpios = <&pm8941_gpios 29 0x1>;
  322. status = "disabled";
  323. };
  324. &sdhc_1 {
  325. vdd-supply = <&pm8941_l20>;
  326. vdd-io-supply = <&pm8941_s3>;
  327. qcom,vdd-always-on;
  328. qcom,vdd-lpm-sup;
  329. qcom,vdd-voltage-level = <2950000 2950000>;
  330. qcom,vdd-current-level = <800 500000>;
  331. qcom,vdd-io-always-on;
  332. qcom,vdd-io-voltage-level = <1800000 1800000>;
  333. qcom,vdd-io-current-level = <250 154000>;
  334. qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
  335. qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
  336. qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */
  337. qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */
  338. qcom,nonremovable;
  339. status = "ok";
  340. };
  341. &sdhc_2 {
  342. #address-cells = <0>;
  343. interrupt-parent = <&sdhc_2>;
  344. interrupts = <0 1 2>;
  345. #interrupt-cells = <1>;
  346. interrupt-map-mask = <0xffffffff>;
  347. interrupt-map = <0 &intc 0 125 0
  348. 1 &intc 0 221 0
  349. 2 &msmgpio 62 0x3>;
  350. interrupt-names = "hc_irq", "pwr_irq", "status_irq";
  351. cd-gpios = <&msmgpio 62 0x1>;
  352. vdd-supply = <&pm8941_l21>;
  353. vdd-io-supply = <&pm8941_l13>;
  354. qcom,vdd-voltage-level = <2950000 2950000>;
  355. qcom,vdd-current-level = <9000 800000>;
  356. qcom,vdd-io-voltage-level = <1800000 2950000>;
  357. qcom,vdd-io-current-level = <6 22000>;
  358. qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
  359. qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
  360. qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */
  361. qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */
  362. status = "ok";
  363. };
  364. /* Drive strength recommendations for clock line from hardware team is 10 mA.
  365. * But since the driver has been been using the below values from the start
  366. * without any problems, continue to use those.
  367. */
  368. &sdcc1 {
  369. qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */
  370. };
  371. &sdcc2 {
  372. qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */
  373. };
  374. &sdhc_1 {
  375. qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */
  376. };
  377. &sdhc_2 {
  378. qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */
  379. };
  380. &uart7 {
  381. status = "ok";
  382. qcom,tx-gpio = <&msmgpio 41 0x00>;
  383. qcom,rx-gpio = <&msmgpio 42 0x00>;
  384. qcom,cts-gpio = <&msmgpio 43 0x00>;
  385. qcom,rfr-gpio = <&msmgpio 44 0x00>;
  386. qcom,inject-rx-on-wakeup = <1>;
  387. qcom,rx-char-to-inject = <0xFD>;
  388. };
  389. &usb3 {
  390. qcom,otg-capability;
  391. };
  392. &pm8941_chg {
  393. status = "ok";
  394. qcom,chgr@1000 {
  395. status = "ok";
  396. };
  397. qcom,buck@1100 {
  398. status = "ok";
  399. };
  400. qcom,usb-chgpth@1300 {
  401. status = "ok";
  402. };
  403. qcom,dc-chgpth@1400 {
  404. status = "ok";
  405. };
  406. qcom,boost@1500 {
  407. status = "ok";
  408. };
  409. qcom,chg-misc@1600 {
  410. status = "ok";
  411. };
  412. };
  413. &pm8941_gpios {
  414. gpio@c000 { /* GPIO 1 */
  415. };
  416. gpio@c100 { /* GPIO 2 */
  417. };
  418. gpio@c200 { /* GPIO 3 */
  419. qcom,mode = <0>;
  420. qcom,pull = <0>;
  421. qcom,vin-sel = <2>;
  422. qcom,src-sel = <0>;
  423. };
  424. gpio@c300 { /* GPIO 4 */
  425. qcom,mode = <0>;
  426. qcom,pull = <0>;
  427. qcom,vin-sel = <2>;
  428. qcom,src-sel = <0>;
  429. };
  430. gpio@c400 { /* GPIO 5 */
  431. qcom,mode = <0>;
  432. qcom,pull = <0>;
  433. qcom,vin-sel = <2>;
  434. qcom,src-sel = <0>;
  435. };
  436. gpio@c500 { /* GPIO 6 */
  437. };
  438. gpio@c600 { /* GPIO 7 */
  439. };
  440. gpio@c700 { /* GPIO 8 */
  441. };
  442. gpio@c800 { /* GPIO 9 */
  443. };
  444. gpio@c900 { /* GPIO 10 */
  445. };
  446. gpio@ca00 { /* GPIO 11 */
  447. };
  448. gpio@cb00 { /* GPIO 12 */
  449. };
  450. gpio@cc00 { /* GPIO 13 */
  451. };
  452. gpio@cd00 { /* GPIO 14 */
  453. };
  454. gpio@ce00 { /* GPIO 15 */
  455. qcom,mode = <1>;
  456. qcom,output-type = <0>;
  457. qcom,pull = <5>;
  458. qcom,vin-sel = <2>;
  459. qcom,out-strength = <1>;
  460. qcom,src-sel = <2>;
  461. qcom,master-en = <1>;
  462. };
  463. gpio@cf00 { /* GPIO 16 */
  464. qcom,mode = <1>;
  465. qcom,output-type = <0>;
  466. qcom,pull = <2>;
  467. qcom,vin-sel = <2>;
  468. qcom,out-strength = <2>;
  469. qcom,src-sel = <2>;
  470. qcom,master-en = <1>;
  471. };
  472. gpio@d000 { /* GPIO 17 */
  473. };
  474. gpio@d100 { /* GPIO 18 */
  475. /* usb2_otg_sw regulator enable */
  476. qcom,mode = <1>; /* Digital output */
  477. qcom,output-type = <0>; /* CMOS logic */
  478. qcom,invert = <0>; /* Output low initially */
  479. qcom,vin-sel = <2>; /* PM8941 S3 = 1.8 V */
  480. qcom,src-sel = <0>; /* Constant */
  481. qcom,out-strength = <2>; /* Medium drive strength */
  482. qcom,master-en = <1>; /* Enable GPIO */
  483. };
  484. gpio@d200 { /* GPIO 19 */
  485. qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */
  486. qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */
  487. qcom,pull = <5>; /* QPNP_PIN_PULL_NO */
  488. qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */
  489. qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */
  490. qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */
  491. qcom,master-en = <1>;
  492. };
  493. gpio@d300 { /* GPIO 20 */
  494. qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */
  495. qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */
  496. qcom,invert = <0>; /* Output low initially */
  497. qcom,pull = <5>; /* QPNP_PIN_PULL_NO */
  498. qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */
  499. qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */
  500. qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */
  501. qcom,master-en = <1>;
  502. };
  503. gpio@d400 { /* GPIO 21 */
  504. };
  505. gpio@d500 { /* GPIO 22 */
  506. };
  507. gpio@d600 { /* GPIO 23 */
  508. };
  509. gpio@d700 { /* GPIO 24 */
  510. };
  511. gpio@d800 { /* GPIO 25 */
  512. };
  513. gpio@d900 { /* GPIO 26 */
  514. };
  515. gpio@da00 { /* GPIO 27 */
  516. };
  517. gpio@db00 { /* GPIO 28 */
  518. };
  519. gpio@dc00 { /* GPIO 29 */
  520. qcom,pull = <0>; /* set to default pull */
  521. qcom,master-en = <1>;
  522. qcom,vin-sel = <2>; /* select 1.8 V source */
  523. };
  524. gpio@dd00 { /* GPIO 30 */
  525. };
  526. gpio@de00 { /* GPIO 31 */
  527. };
  528. gpio@df00 { /* GPIO 32 */
  529. };
  530. gpio@e000 { /* GPIO 33 */
  531. };
  532. gpio@e100 { /* GPIO 34 */
  533. };
  534. gpio@e200 { /* GPIO 35 */
  535. };
  536. gpio@e300 { /* GPIO 36 */
  537. qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */
  538. qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */
  539. qcom,pull = <5>; /* QPNP_PIN_PULL_NO */
  540. qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */
  541. qcom,out-strength = <3>; /* QPNP_PIN_OUT_STRENGTH_HIGH */
  542. qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */
  543. qcom,master-en = <1>;
  544. };
  545. };
  546. &pm8941_mpps {
  547. mpp@a000 { /* MPP 1 */
  548. status = "disabled";
  549. };
  550. mpp@a100 { /* MPP 2 */
  551. };
  552. mpp@a200 { /* MPP 3 */
  553. };
  554. mpp@a300 { /* MPP 4 */
  555. };
  556. mpp@a400 { /* MPP 5 */
  557. /* SPI_ETH config */
  558. qcom,mode = <1>; /* DIG_OUT */
  559. qcom,output-type = <0>; /* CMOS */
  560. qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */
  561. qcom,src-sel = <0>; /* CONSTANT */
  562. qcom,master-en = <1>; /* ENABLE MPP */
  563. };
  564. mpp@a500 { /* MPP 6 */
  565. /* SPI_ETH_RST config */
  566. qcom,mode = <1>; /* DIG_OUT */
  567. qcom,output-type = <0>; /* CMOS */
  568. qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */
  569. qcom,src-sel = <0>; /* CONSTANT */
  570. qcom,master-en = <1>; /* ENABLE MPP */
  571. };
  572. mpp@a600 { /* MPP 7 */
  573. };
  574. mpp@a700 { /* MPP 8 */
  575. };
  576. };
  577. &pm8841_mpps {
  578. mpp@a000 { /* MPP 1 */
  579. };
  580. mpp@a100 { /* MPP 2 */
  581. };
  582. mpp@a200 { /* MPP 3 */
  583. };
  584. mpp@a300 { /* MPP 4 */
  585. };
  586. };
  587. /* CoreSight */
  588. &tpiu {
  589. qcom,seta-gpios = <&msmgpio 31 0>,
  590. <&msmgpio 32 0>,
  591. <&msmgpio 33 0>,
  592. <&msmgpio 34 0>,
  593. <&msmgpio 35 0>,
  594. <&msmgpio 36 0>,
  595. <&msmgpio 37 0>,
  596. <&msmgpio 38 0>,
  597. <&msmgpio 39 0>,
  598. <&msmgpio 40 0>,
  599. <&msmgpio 41 0>,
  600. <&msmgpio 42 0>,
  601. <&msmgpio 43 0>,
  602. <&msmgpio 44 0>,
  603. <&msmgpio 45 0>,
  604. <&msmgpio 46 0>,
  605. <&msmgpio 47 0>,
  606. <&msmgpio 48 0>;
  607. qcom,seta-gpios-func = <4 4 4 3 4 4 4 3 4 3 5 5 5 5 4 4 5 5>;
  608. qcom,seta-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>;
  609. qcom,seta-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>;
  610. qcom,seta-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>;
  611. qcom,setb-gpios = <&msmgpio 15 0>,
  612. <&msmgpio 16 0>,
  613. <&msmgpio 17 0>,
  614. <&msmgpio 18 0>,
  615. <&msmgpio 19 0>,
  616. <&msmgpio 20 0>,
  617. <&msmgpio 21 0>,
  618. <&msmgpio 22 0>,
  619. <&msmgpio 23 0>,
  620. <&msmgpio 24 0>,
  621. <&msmgpio 25 0>,
  622. <&msmgpio 26 0>,
  623. <&msmgpio 27 0>,
  624. <&msmgpio 28 0>,
  625. <&msmgpio 89 0>,
  626. <&msmgpio 90 0>,
  627. <&msmgpio 91 0>,
  628. <&msmgpio 92 0>;
  629. qcom,setb-gpios-func = <2 2 2 2 5 5 5 5 6 6 6 7 7 5 2 3 3 3>;
  630. qcom,setb-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>;
  631. qcom,setb-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>;
  632. qcom,setb-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>;
  633. };
  634. &slim_msm {
  635. taiko_codec {
  636. qcom,cdc-micbias1-ext-cap;
  637. qcom,cdc-micbias3-ext-cap;
  638. qcom,cdc-micbias4-ext-cap;
  639. /* If boot isn't available, vph_pwr_vreg can be used instead */
  640. cdc-vdd-spkdrv-supply = <&pm8941_boost>;
  641. qcom,cdc-vdd-spkdrv-voltage = <5000000 5000000>;
  642. qcom,cdc-vdd-spkdrv-current = <1250000>;
  643. qcom,cdc-on-demand-supplies = "cdc-vdd-spkdrv";
  644. };
  645. };
  646. &dsi_tosh_720_vid {
  647. qcom,cont-splash-enabled;
  648. };
  649. &dsi_generic_720p_cmd {
  650. qcom,cont-splash-enabled;
  651. };
  652. &dsi_jdi_1080_vid {
  653. qcom,cont-splash-enabled;
  654. };
  655. &dsi_dual_jdi_video_0 {
  656. qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_pwm";
  657. qcom,mdss-dsi-bl-pmic-pwm-frequency = <100>;
  658. qcom,mdss-dsi-bl-pmic-bank-select = <7>;
  659. qcom,cont-splash-enabled;
  660. };
  661. &dsi_dual_jdi_video_1 {
  662. qcom,cont-splash-enabled;
  663. };
  664. &dsi_dual_jdi_cmd_0 {
  665. qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_pwm";
  666. qcom,mdss-dsi-bl-pmic-pwm-frequency = <100>;
  667. qcom,mdss-dsi-bl-pmic-bank-select = <7>;
  668. qcom,cont-splash-enabled;
  669. };
  670. &dsi_dual_jdi_cmd_1 {
  671. qcom,cont-splash-enabled;
  672. };