qcom-msm8974pro-samsung-klte.dts 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815
  1. // SPDX-License-Identifier: GPL-2.0
  2. #include "qcom-msm8974pro.dtsi"
  3. #include "qcom-pma8084.dtsi"
  4. #include <dt-bindings/input/input.h>
  5. #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
  6. #include <dt-bindings/leds/common.h>
  7. / {
  8. model = "Samsung Galaxy S5";
  9. compatible = "samsung,klte", "qcom,msm8974";
  10. aliases {
  11. serial0 = &blsp1_uart1;
  12. mmc0 = &sdhc_1; /* SDC1 eMMC slot */
  13. mmc1 = &sdhc_3; /* SDC2 SD card slot */
  14. };
  15. chosen {
  16. stdout-path = "serial0:115200n8";
  17. };
  18. gpio-keys {
  19. compatible = "gpio-keys";
  20. pinctrl-names = "default";
  21. pinctrl-0 = <&gpio_keys_pin_a>;
  22. key-volume-down {
  23. label = "volume_down";
  24. gpios = <&pma8084_gpios 2 GPIO_ACTIVE_LOW>;
  25. linux,input-type = <1>;
  26. linux,code = <KEY_VOLUMEDOWN>;
  27. debounce-interval = <15>;
  28. };
  29. key-home {
  30. label = "home_key";
  31. gpios = <&pma8084_gpios 3 GPIO_ACTIVE_LOW>;
  32. linux,input-type = <1>;
  33. linux,code = <KEY_HOMEPAGE>;
  34. wakeup-source;
  35. debounce-interval = <15>;
  36. };
  37. key-volume-up {
  38. label = "volume_up";
  39. gpios = <&pma8084_gpios 5 GPIO_ACTIVE_LOW>;
  40. linux,input-type = <1>;
  41. linux,code = <KEY_VOLUMEUP>;
  42. debounce-interval = <15>;
  43. };
  44. };
  45. i2c-gpio-touchkey {
  46. compatible = "i2c-gpio";
  47. #address-cells = <1>;
  48. #size-cells = <0>;
  49. sda-gpios = <&tlmm 95 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  50. scl-gpios = <&tlmm 96 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  51. pinctrl-names = "default";
  52. pinctrl-0 = <&i2c_touchkey_pins>;
  53. touchkey@20 {
  54. compatible = "cypress,tm2-touchkey";
  55. reg = <0x20>;
  56. interrupt-parent = <&pma8084_gpios>;
  57. interrupts = <6 IRQ_TYPE_EDGE_FALLING>;
  58. pinctrl-names = "default";
  59. pinctrl-0 = <&touchkey_pin>;
  60. vcc-supply = <&max77826_ldo15>;
  61. vdd-supply = <&pma8084_l19>;
  62. linux,keycodes = <KEY_APPSELECT KEY_BACK>;
  63. };
  64. };
  65. i2c-gpio-led {
  66. compatible = "i2c-gpio";
  67. #address-cells = <1>;
  68. #size-cells = <0>;
  69. scl-gpios = <&tlmm 121 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  70. sda-gpios = <&tlmm 120 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  71. pinctrl-names = "default";
  72. pinctrl-0 = <&i2c_led_gpioex_pins>;
  73. i2c-gpio,delay-us = <2>;
  74. gpio_expander: gpio@20 {
  75. compatible = "nxp,pcal6416";
  76. reg = <0x20>;
  77. gpio-controller;
  78. #gpio-cells = <2>;
  79. vcc-supply = <&pma8084_s4>;
  80. pinctrl-names = "default";
  81. pinctrl-0 = <&gpioex_pin>;
  82. reset-gpios = <&tlmm 145 GPIO_ACTIVE_LOW>;
  83. };
  84. led-controller@30 {
  85. compatible = "panasonic,an30259a";
  86. reg = <0x30>;
  87. #address-cells = <1>;
  88. #size-cells = <0>;
  89. led@1 {
  90. reg = <1>;
  91. function = LED_FUNCTION_STATUS;
  92. color = <LED_COLOR_ID_RED>;
  93. };
  94. led@2 {
  95. reg = <2>;
  96. function = LED_FUNCTION_STATUS;
  97. color = <LED_COLOR_ID_GREEN>;
  98. };
  99. led@3 {
  100. reg = <3>;
  101. function = LED_FUNCTION_STATUS;
  102. color = <LED_COLOR_ID_BLUE>;
  103. };
  104. };
  105. };
  106. vreg_wlan: wlan-regulator {
  107. compatible = "regulator-fixed";
  108. regulator-name = "wl-reg";
  109. regulator-min-microvolt = <3300000>;
  110. regulator-max-microvolt = <3300000>;
  111. gpio = <&gpio_expander 8 GPIO_ACTIVE_HIGH>;
  112. enable-active-high;
  113. };
  114. vreg_panel: panel-regulator {
  115. compatible = "regulator-fixed";
  116. pinctrl-names = "default";
  117. pinctrl-0 = <&panel_en_pin>;
  118. regulator-name = "panel-vddr-reg";
  119. regulator-min-microvolt = <1500000>;
  120. regulator-max-microvolt = <1500000>;
  121. gpio = <&pma8084_gpios 14 GPIO_ACTIVE_HIGH>;
  122. enable-active-high;
  123. };
  124. /delete-node/ vreg-boost;
  125. };
  126. &blsp1_i2c2 {
  127. status = "okay";
  128. touchscreen@20 {
  129. compatible = "syna,rmi4-i2c";
  130. reg = <0x20>;
  131. interrupt-parent = <&pma8084_gpios>;
  132. interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
  133. vdd-supply = <&max77826_ldo13>;
  134. vio-supply = <&pma8084_lvs2>;
  135. pinctrl-names = "default";
  136. pinctrl-0 = <&touch_pin>;
  137. syna,startup-delay-ms = <100>;
  138. #address-cells = <1>;
  139. #size-cells = <0>;
  140. rmi4-f01@1 {
  141. reg = <0x1>;
  142. syna,nosleep-mode = <1>;
  143. };
  144. rmi4-f12@12 {
  145. reg = <0x12>;
  146. syna,sensor-type = <1>;
  147. };
  148. };
  149. };
  150. &blsp1_i2c6 {
  151. status = "okay";
  152. pmic@60 {
  153. reg = <0x60>;
  154. compatible = "maxim,max77826";
  155. regulators {
  156. max77826_ldo1: LDO1 {
  157. regulator-min-microvolt = <1200000>;
  158. regulator-max-microvolt = <1200000>;
  159. };
  160. max77826_ldo2: LDO2 {
  161. regulator-min-microvolt = <1000000>;
  162. regulator-max-microvolt = <1000000>;
  163. };
  164. max77826_ldo3: LDO3 {
  165. regulator-min-microvolt = <1200000>;
  166. regulator-max-microvolt = <1200000>;
  167. };
  168. max77826_ldo4: LDO4 {
  169. regulator-min-microvolt = <1800000>;
  170. regulator-max-microvolt = <1800000>;
  171. };
  172. max77826_ldo5: LDO5 {
  173. regulator-min-microvolt = <1800000>;
  174. regulator-max-microvolt = <1800000>;
  175. };
  176. max77826_ldo6: LDO6 {
  177. regulator-min-microvolt = <1800000>;
  178. regulator-max-microvolt = <3300000>;
  179. };
  180. max77826_ldo7: LDO7 {
  181. regulator-min-microvolt = <1800000>;
  182. regulator-max-microvolt = <1800000>;
  183. };
  184. max77826_ldo8: LDO8 {
  185. regulator-min-microvolt = <1800000>;
  186. regulator-max-microvolt = <3300000>;
  187. };
  188. max77826_ldo9: LDO9 {
  189. regulator-min-microvolt = <1800000>;
  190. regulator-max-microvolt = <1800000>;
  191. };
  192. max77826_ldo10: LDO10 {
  193. regulator-min-microvolt = <2800000>;
  194. regulator-max-microvolt = <2950000>;
  195. };
  196. max77826_ldo11: LDO11 {
  197. regulator-min-microvolt = <2700000>;
  198. regulator-max-microvolt = <2950000>;
  199. };
  200. max77826_ldo12: LDO12 {
  201. regulator-min-microvolt = <2500000>;
  202. regulator-max-microvolt = <3300000>;
  203. };
  204. max77826_ldo13: LDO13 {
  205. regulator-min-microvolt = <3300000>;
  206. regulator-max-microvolt = <3300000>;
  207. };
  208. max77826_ldo14: LDO14 {
  209. regulator-min-microvolt = <3300000>;
  210. regulator-max-microvolt = <3300000>;
  211. };
  212. max77826_ldo15: LDO15 {
  213. regulator-min-microvolt = <1800000>;
  214. regulator-max-microvolt = <1800000>;
  215. };
  216. max77826_buck: BUCK {
  217. regulator-min-microvolt = <1225000>;
  218. regulator-max-microvolt = <1225000>;
  219. };
  220. max77826_buckboost: BUCKBOOST {
  221. regulator-min-microvolt = <3400000>;
  222. regulator-max-microvolt = <3400000>;
  223. };
  224. };
  225. };
  226. };
  227. &blsp1_uart2 {
  228. status = "okay";
  229. };
  230. &blsp2_i2c6 {
  231. status = "okay";
  232. fuelgauge@36 {
  233. compatible = "maxim,max17048";
  234. reg = <0x36>;
  235. maxim,double-soc;
  236. maxim,rcomp = /bits/ 8 <0x56>;
  237. interrupt-parent = <&pma8084_gpios>;
  238. interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
  239. pinctrl-names = "default";
  240. pinctrl-0 = <&fuelgauge_pin>;
  241. };
  242. };
  243. &blsp2_uart2 {
  244. status = "okay";
  245. pinctrl-names = "default", "sleep";
  246. pinctrl-0 = <&blsp2_uart2_pins_active>;
  247. pinctrl-1 = <&blsp2_uart2_pins_sleep>;
  248. bluetooth {
  249. compatible = "brcm,bcm43540-bt";
  250. max-speed = <3000000>;
  251. pinctrl-names = "default";
  252. pinctrl-0 = <&bt_pins>;
  253. device-wakeup-gpios = <&tlmm 91 GPIO_ACTIVE_HIGH>;
  254. shutdown-gpios = <&gpio_expander 9 GPIO_ACTIVE_HIGH>;
  255. interrupt-parent = <&tlmm>;
  256. interrupts = <75 IRQ_TYPE_LEVEL_HIGH>;
  257. interrupt-names = "host-wakeup";
  258. };
  259. };
  260. &dsi0 {
  261. status = "okay";
  262. vdda-supply = <&pma8084_l2>;
  263. vdd-supply = <&pma8084_l22>;
  264. vddio-supply = <&pma8084_l12>;
  265. panel: panel@0 {
  266. reg = <0>;
  267. compatible = "samsung,s6e3fa2";
  268. pinctrl-names = "default";
  269. pinctrl-0 = <&panel_te_pin &panel_rst_pin>;
  270. iovdd-supply = <&pma8084_lvs4>;
  271. vddr-supply = <&vreg_panel>;
  272. reset-gpios = <&pma8084_gpios 17 GPIO_ACTIVE_LOW>;
  273. te-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
  274. port {
  275. panel_in: endpoint {
  276. remote-endpoint = <&dsi0_out>;
  277. };
  278. };
  279. };
  280. };
  281. &dsi0_out {
  282. remote-endpoint = <&panel_in>;
  283. data-lanes = <0 1 2 3>;
  284. };
  285. &dsi0_phy {
  286. status = "okay";
  287. vddio-supply = <&pma8084_l12>;
  288. };
  289. &gpu {
  290. status = "okay";
  291. };
  292. &mdss {
  293. status = "okay";
  294. };
  295. &otg {
  296. status = "okay";
  297. phys = <&usb_hs1_phy>;
  298. phy-select = <&tcsr 0xb000 0>;
  299. hnp-disable;
  300. srp-disable;
  301. adp-disable;
  302. ulpi {
  303. phy@a {
  304. status = "okay";
  305. v1p8-supply = <&pma8084_l6>;
  306. v3p3-supply = <&pma8084_l24>;
  307. qcom,init-seq = /bits/ 8 <0x1 0x64>;
  308. };
  309. };
  310. };
  311. &pma8084_gpios {
  312. gpio_keys_pin_a: gpio-keys-active-state {
  313. pins = "gpio2", "gpio3", "gpio5";
  314. function = "normal";
  315. bias-pull-up;
  316. power-source = <PMA8084_GPIO_S4>;
  317. };
  318. touchkey_pin: touchkey-int-state {
  319. pins = "gpio6";
  320. function = "normal";
  321. bias-disable;
  322. input-enable;
  323. power-source = <PMA8084_GPIO_S4>;
  324. };
  325. touch_pin: touchscreen-int-state {
  326. pins = "gpio8";
  327. function = "normal";
  328. bias-disable;
  329. input-enable;
  330. power-source = <PMA8084_GPIO_S4>;
  331. };
  332. panel_en_pin: panel-en-state {
  333. pins = "gpio14";
  334. function = "normal";
  335. bias-pull-up;
  336. power-source = <PMA8084_GPIO_S4>;
  337. qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
  338. };
  339. wlan_sleep_clk_pin: wlan-sleep-clk-state {
  340. pins = "gpio16";
  341. function = "func2";
  342. output-high;
  343. power-source = <PMA8084_GPIO_S4>;
  344. qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>;
  345. };
  346. panel_rst_pin: panel-rst-state {
  347. pins = "gpio17";
  348. function = "normal";
  349. bias-disable;
  350. power-source = <PMA8084_GPIO_S4>;
  351. qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
  352. };
  353. fuelgauge_pin: fuelgauge-int-state {
  354. pins = "gpio21";
  355. function = "normal";
  356. bias-disable;
  357. input-enable;
  358. power-source = <PMA8084_GPIO_S4>;
  359. };
  360. };
  361. &remoteproc_adsp {
  362. status = "okay";
  363. cx-supply = <&pma8084_s2>;
  364. };
  365. &remoteproc_mss {
  366. status = "okay";
  367. cx-supply = <&pma8084_s2>;
  368. mss-supply = <&pma8084_s6>;
  369. mx-supply = <&pma8084_s1>;
  370. pll-supply = <&pma8084_l12>;
  371. };
  372. &rpm_requests {
  373. pma8084-regulators {
  374. compatible = "qcom,rpm-pma8084-regulators";
  375. pma8084_s1: s1 {
  376. regulator-min-microvolt = <675000>;
  377. regulator-max-microvolt = <1050000>;
  378. regulator-always-on;
  379. };
  380. pma8084_s2: s2 {
  381. regulator-min-microvolt = <500000>;
  382. regulator-max-microvolt = <1050000>;
  383. };
  384. pma8084_s3: s3 {
  385. regulator-min-microvolt = <1300000>;
  386. regulator-max-microvolt = <1300000>;
  387. };
  388. pma8084_s4: s4 {
  389. regulator-min-microvolt = <1800000>;
  390. regulator-max-microvolt = <1800000>;
  391. };
  392. pma8084_s5: s5 {
  393. regulator-min-microvolt = <2150000>;
  394. regulator-max-microvolt = <2150000>;
  395. };
  396. pma8084_s6: s6 {
  397. regulator-min-microvolt = <1050000>;
  398. regulator-max-microvolt = <1050000>;
  399. };
  400. pma8084_l1: l1 {
  401. regulator-min-microvolt = <1225000>;
  402. regulator-max-microvolt = <1225000>;
  403. };
  404. pma8084_l2: l2 {
  405. regulator-min-microvolt = <1200000>;
  406. regulator-max-microvolt = <1200000>;
  407. };
  408. pma8084_l3: l3 {
  409. regulator-min-microvolt = <1050000>;
  410. regulator-max-microvolt = <1200000>;
  411. };
  412. pma8084_l4: l4 {
  413. regulator-min-microvolt = <1200000>;
  414. regulator-max-microvolt = <1225000>;
  415. };
  416. pma8084_l5: l5 {
  417. regulator-min-microvolt = <1800000>;
  418. regulator-max-microvolt = <1800000>;
  419. };
  420. pma8084_l6: l6 {
  421. regulator-min-microvolt = <1800000>;
  422. regulator-max-microvolt = <1800000>;
  423. };
  424. pma8084_l7: l7 {
  425. regulator-min-microvolt = <1800000>;
  426. regulator-max-microvolt = <1800000>;
  427. };
  428. pma8084_l8: l8 {
  429. regulator-min-microvolt = <1800000>;
  430. regulator-max-microvolt = <1800000>;
  431. };
  432. pma8084_l9: l9 {
  433. regulator-min-microvolt = <1800000>;
  434. regulator-max-microvolt = <2950000>;
  435. };
  436. pma8084_l10: l10 {
  437. regulator-min-microvolt = <1800000>;
  438. regulator-max-microvolt = <2950000>;
  439. };
  440. pma8084_l11: l11 {
  441. regulator-min-microvolt = <1300000>;
  442. regulator-max-microvolt = <1300000>;
  443. };
  444. pma8084_l12: l12 {
  445. regulator-min-microvolt = <1800000>;
  446. regulator-max-microvolt = <1800000>;
  447. regulator-always-on;
  448. };
  449. pma8084_l13: l13 {
  450. regulator-min-microvolt = <1800000>;
  451. regulator-max-microvolt = <2950000>;
  452. };
  453. pma8084_l14: l14 {
  454. regulator-min-microvolt = <1800000>;
  455. regulator-max-microvolt = <1800000>;
  456. };
  457. pma8084_l15: l15 {
  458. regulator-min-microvolt = <2050000>;
  459. regulator-max-microvolt = <2050000>;
  460. };
  461. pma8084_l16: l16 {
  462. regulator-min-microvolt = <2700000>;
  463. regulator-max-microvolt = <2700000>;
  464. };
  465. pma8084_l17: l17 {
  466. regulator-min-microvolt = <2850000>;
  467. regulator-max-microvolt = <2850000>;
  468. };
  469. pma8084_l18: l18 {
  470. regulator-min-microvolt = <2850000>;
  471. regulator-max-microvolt = <2850000>;
  472. };
  473. pma8084_l19: l19 {
  474. regulator-min-microvolt = <3300000>;
  475. regulator-max-microvolt = <3300000>;
  476. };
  477. pma8084_l20: l20 {
  478. regulator-min-microvolt = <2950000>;
  479. regulator-max-microvolt = <2950000>;
  480. regulator-system-load = <200000>;
  481. regulator-allow-set-load;
  482. };
  483. pma8084_l21: l21 {
  484. regulator-min-microvolt = <2950000>;
  485. regulator-max-microvolt = <2950000>;
  486. regulator-system-load = <200000>;
  487. regulator-allow-set-load;
  488. };
  489. pma8084_l22: l22 {
  490. regulator-min-microvolt = <3000000>;
  491. regulator-max-microvolt = <3300000>;
  492. };
  493. pma8084_l23: l23 {
  494. regulator-min-microvolt = <3000000>;
  495. regulator-max-microvolt = <3000000>;
  496. };
  497. pma8084_l24: l24 {
  498. regulator-min-microvolt = <3075000>;
  499. regulator-max-microvolt = <3075000>;
  500. };
  501. pma8084_l25: l25 {
  502. regulator-min-microvolt = <2100000>;
  503. regulator-max-microvolt = <2100000>;
  504. };
  505. pma8084_l26: l26 {
  506. regulator-min-microvolt = <1800000>;
  507. regulator-max-microvolt = <2050000>;
  508. };
  509. pma8084_l27: l27 {
  510. regulator-min-microvolt = <1000000>;
  511. regulator-max-microvolt = <1225000>;
  512. };
  513. pma8084_lvs1: lvs1 {};
  514. pma8084_lvs2: lvs2 {};
  515. pma8084_lvs3: lvs3 {};
  516. pma8084_lvs4: lvs4 {};
  517. pma8084_5vs1: 5vs1 {};
  518. };
  519. };
  520. &sdhc_1 {
  521. status = "okay";
  522. vmmc-supply = <&pma8084_l20>;
  523. vqmmc-supply = <&pma8084_s4>;
  524. pinctrl-names = "default", "sleep";
  525. pinctrl-0 = <&sdc1_on>;
  526. pinctrl-1 = <&sdc1_off>;
  527. };
  528. &sdhc_2 {
  529. status = "okay";
  530. max-frequency = <100000000>;
  531. vmmc-supply = <&vreg_wlan>;
  532. vqmmc-supply = <&pma8084_s4>;
  533. non-removable;
  534. pinctrl-names = "default", "sleep";
  535. pinctrl-0 = <&sdc2_on>;
  536. pinctrl-1 = <&sdc2_off>;
  537. wifi@1 {
  538. reg = <1>;
  539. compatible = "brcm,bcm4329-fmac";
  540. interrupt-parent = <&tlmm>;
  541. interrupts = <92 IRQ_TYPE_LEVEL_HIGH>;
  542. interrupt-names = "host-wake";
  543. pinctrl-names = "default";
  544. pinctrl-0 = <&wlan_sleep_clk_pin &wifi_pin>;
  545. };
  546. };
  547. &sdhc_3 {
  548. status = "okay";
  549. max-frequency = <100000000>;
  550. vmmc-supply = <&pma8084_l21>;
  551. vqmmc-supply = <&pma8084_l13>;
  552. /*
  553. * cd-gpio is intentionally disabled. If enabled, an SD card
  554. * present during boot is not initialized correctly. Without
  555. * cd-gpios the driver resorts to polling, so hotplug works.
  556. */
  557. pinctrl-names = "default";
  558. pinctrl-0 = <&sdc3_on /* &sdhc3_cd_pin */>;
  559. /* cd-gpios = <&tlmm 62 GPIO_ACTIVE_LOW>; */
  560. };
  561. &tlmm {
  562. /* This seems suspicious, but somebody with this device should look into it. */
  563. blsp2_uart2_pins_active: blsp2-uart2-pins-active {
  564. pins = "gpio45", "gpio46", "gpio47", "gpio48";
  565. function = "blsp_uart8";
  566. drive-strength = <8>;
  567. bias-disable;
  568. };
  569. blsp2_uart2_pins_sleep: blsp2-uart2-pins-sleep {
  570. pins = "gpio45", "gpio46", "gpio47", "gpio48";
  571. function = "gpio";
  572. drive-strength = <2>;
  573. bias-pull-down;
  574. };
  575. bt_pins: bt-pins {
  576. hostwake {
  577. pins = "gpio75";
  578. function = "gpio";
  579. drive-strength = <16>;
  580. input-enable;
  581. };
  582. devwake {
  583. pins = "gpio91";
  584. function = "gpio";
  585. drive-strength = <2>;
  586. };
  587. };
  588. sdc1_on: sdhc1-on {
  589. clk {
  590. pins = "sdc1_clk";
  591. drive-strength = <4>;
  592. bias-disable;
  593. };
  594. cmd-data {
  595. pins = "sdc1_cmd", "sdc1_data";
  596. drive-strength = <4>;
  597. bias-pull-up;
  598. };
  599. };
  600. sdc3_on: sdc3-on {
  601. pins = "gpio35", "gpio36", "gpio37", "gpio38", "gpio39", "gpio40";
  602. function = "sdc3";
  603. drive-strength = <8>;
  604. bias-disable;
  605. };
  606. sdhc3_cd_pin: sdc3-cd-on {
  607. pins = "gpio62";
  608. function = "gpio";
  609. drive-strength = <2>;
  610. bias-disable;
  611. };
  612. sdc2_on: sdhc2-on {
  613. clk {
  614. pins = "sdc2_clk";
  615. drive-strength = <6>;
  616. bias-disable;
  617. };
  618. cmd-data {
  619. pins = "sdc2_cmd", "sdc2_data";
  620. drive-strength = <6>;
  621. bias-pull-up;
  622. };
  623. };
  624. i2c_touchkey_pins: i2c-touchkey {
  625. pins = "gpio95", "gpio96";
  626. function = "gpio";
  627. input-enable;
  628. bias-pull-up;
  629. };
  630. i2c_led_gpioex_pins: i2c-led-gpioex {
  631. pins = "gpio120", "gpio121";
  632. function = "gpio";
  633. input-enable;
  634. bias-pull-down;
  635. };
  636. gpioex_pin: gpioex {
  637. pins = "gpio145";
  638. function = "gpio";
  639. bias-pull-up;
  640. drive-strength = <2>;
  641. };
  642. wifi_pin: wifi {
  643. pins = "gpio92";
  644. function = "gpio";
  645. input-enable;
  646. bias-pull-down;
  647. };
  648. panel_te_pin: panel {
  649. pins = "gpio12";
  650. function = "mdp_vsync";
  651. drive-strength = <2>;
  652. bias-disable;
  653. };
  654. };