msm8996-pins.dtsi 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499
  1. /*
  2. * Copyright (c) 2013-2016, The Linux Foundation. All rights reserved.
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 and
  6. * only version 2 as published by the Free Software Foundation.
  7. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. */
  13. &msmgpio {
  14. blsp1_spi0_default: blsp1_spi0_default {
  15. pinmux {
  16. function = "blsp_spi1";
  17. pins = "gpio0", "gpio1", "gpio3";
  18. };
  19. pinmux_cs {
  20. function = "gpio";
  21. pins = "gpio2";
  22. };
  23. pinconf {
  24. pins = "gpio0", "gpio1", "gpio3";
  25. drive-strength = <12>;
  26. bias-disable;
  27. };
  28. pinconf_cs {
  29. pins = "gpio2";
  30. drive-strength = <16>;
  31. bias-disable;
  32. output-high;
  33. };
  34. };
  35. blsp1_spi0_sleep: blsp1_spi0_sleep {
  36. pinmux {
  37. function = "gpio";
  38. pins = "gpio0", "gpio1", "gpio2", "gpio3";
  39. };
  40. pinconf {
  41. pins = "gpio0", "gpio1", "gpio2", "gpio3";
  42. drive-strength = <2>;
  43. bias-pull-down;
  44. };
  45. };
  46. blsp1_i2c2_default: blsp1_i2c2_default {
  47. pinmux {
  48. function = "blsp_i2c3";
  49. pins = "gpio47", "gpio48";
  50. };
  51. pinconf {
  52. pins = "gpio47", "gpio48";
  53. drive-strength = <16>;
  54. bias-disable = <0>;
  55. };
  56. };
  57. blsp1_i2c2_sleep: blsp1_i2c2_sleep {
  58. pinmux {
  59. function = "gpio";
  60. pins = "gpio47", "gpio48";
  61. };
  62. pinconf {
  63. pins = "gpio47", "gpio48";
  64. drive-strength = <2>;
  65. bias-disable = <0>;
  66. };
  67. };
  68. blsp2_i2c0_default: blsp2_i2c0 {
  69. pinmux {
  70. function = "blsp_i2c7";
  71. pins = "gpio55", "gpio56";
  72. };
  73. pinconf {
  74. pins = "gpio55", "gpio56";
  75. drive-strength = <16>;
  76. bias-disable;
  77. };
  78. };
  79. blsp2_i2c0_sleep: blsp2_i2c0_sleep {
  80. pinmux {
  81. function = "gpio";
  82. pins = "gpio55", "gpio56";
  83. };
  84. pinconf {
  85. pins = "gpio55", "gpio56";
  86. drive-strength = <2>;
  87. bias-disable;
  88. };
  89. };
  90. blsp2_uart1_2pins_default: blsp2_uart1_2pins {
  91. pinmux {
  92. function = "blsp_uart8";
  93. pins = "gpio4", "gpio5";
  94. };
  95. pinconf {
  96. pins = "gpio4", "gpio5";
  97. drive-strength = <16>;
  98. bias-disable;
  99. };
  100. };
  101. blsp2_uart1_2pins_sleep: blsp2_uart1_2pins_sleep {
  102. pinmux {
  103. function = "gpio";
  104. pins = "gpio4", "gpio5";
  105. };
  106. pinconf {
  107. pins = "gpio4", "gpio5";
  108. drive-strength = <2>;
  109. bias-disable;
  110. };
  111. };
  112. blsp2_uart1_4pins_default: blsp2_uart1_4pins {
  113. pinmux {
  114. function = "blsp_uart8";
  115. pins = "gpio4", "gpio5", "gpio6", "gpio7";
  116. };
  117. pinconf {
  118. pins = "gpio4", "gpio5", "gpio6", "gpio7";
  119. drive-strength = <16>;
  120. bias-disable;
  121. };
  122. };
  123. blsp2_uart1_4pins_sleep: blsp2_uart1_4pins_sleep {
  124. pinmux {
  125. function = "gpio";
  126. pins = "gpio4", "gpio5", "gpio6", "gpio7";
  127. };
  128. pinconf {
  129. pins = "gpio4", "gpiio5", "gpio6", "gpio7";
  130. drive-strength = <2>;
  131. bias-disable;
  132. };
  133. };
  134. blsp2_i2c1_default: blsp2_i2c1 {
  135. pinmux {
  136. function = "blsp_i2c8";
  137. pins = "gpio6", "gpio7";
  138. };
  139. pinconf {
  140. pins = "gpio6", "gpio7";
  141. drive-strength = <16>;
  142. bias-disable;
  143. };
  144. };
  145. blsp2_i2c1_sleep: blsp2_i2c1_sleep {
  146. pinmux {
  147. function = "gpio";
  148. pins = "gpio6", "gpio7";
  149. };
  150. pinconf {
  151. pins = "gpio6", "gpio7";
  152. drive-strength = <2>;
  153. bias-disable;
  154. };
  155. };
  156. blsp2_uart2_2pins_default: blsp2_uart2_2pins {
  157. pinmux {
  158. function = "blsp_uart9";
  159. pins = "gpio49", "gpio50";
  160. };
  161. pinconf {
  162. pins = "gpio49", "gpio50";
  163. drive-strength = <16>;
  164. bias-disable;
  165. };
  166. };
  167. blsp2_uart2_2pins_sleep: blsp2_uart2_2pins_sleep {
  168. pinmux {
  169. function = "gpio";
  170. pins = "gpio49", "gpio50";
  171. };
  172. pinconf {
  173. pins = "gpio49", "gpio50";
  174. drive-strength = <2>;
  175. bias-disable;
  176. };
  177. };
  178. blsp2_uart2_4pins_default: blsp2_uart2_4pins {
  179. pinmux {
  180. function = "blsp_uart9";
  181. pins = "gpio49", "gpio50", "gpio51", "gpio52";
  182. };
  183. pinconf {
  184. pins = "gpio49", "gpio50", "gpio51", "gpio52";
  185. drive-strength = <16>;
  186. bias-disable;
  187. };
  188. };
  189. blsp2_uart2_4pins_sleep: blsp2_uart2_4pins_sleep {
  190. pinmux {
  191. function = "gpio";
  192. pins = "gpio49", "gpio50", "gpio51", "gpio52";
  193. };
  194. pinconf {
  195. pins = "gpio49", "gpio50", "gpio51", "gpio52";
  196. drive-strength = <2>;
  197. bias-disable;
  198. };
  199. };
  200. blsp2_spi5_default: blsp2_spi5_default {
  201. pinmux {
  202. function = "blsp_spi12";
  203. pins = "gpio85", "gpio86", "gpio88";
  204. };
  205. pinmux_cs {
  206. function = "gpio";
  207. pins = "gpio87";
  208. };
  209. pinconf {
  210. pins = "gpio85", "gpio86", "gpio88";
  211. drive-strength = <12>;
  212. bias-disable;
  213. };
  214. pinconf_cs {
  215. pins = "gpio87";
  216. drive-strength = <16>;
  217. bias-disable;
  218. output-high;
  219. };
  220. };
  221. blsp2_spi5_sleep: blsp2_spi5_sleep {
  222. pinmux {
  223. function = "gpio";
  224. pins = "gpio85", "gpio86", "gpio87", "gpio88";
  225. };
  226. pinconf {
  227. pins = "gpio85", "gpio86", "gpio87", "gpio88";
  228. drive-strength = <2>;
  229. bias-pull-down;
  230. };
  231. };
  232. sdc2_clk_on: sdc2_clk_on {
  233. config {
  234. pins = "sdc2_clk";
  235. bias-disable; /* NO pull */
  236. drive-strength = <16>; /* 16 MA */
  237. };
  238. };
  239. sdc2_clk_off: sdc2_clk_off {
  240. config {
  241. pins = "sdc2_clk";
  242. bias-disable; /* NO pull */
  243. drive-strength = <2>; /* 2 MA */
  244. };
  245. };
  246. sdc2_cmd_on: sdc2_cmd_on {
  247. config {
  248. pins = "sdc2_cmd";
  249. bias-pull-up; /* pull up */
  250. drive-strength = <10>; /* 10 MA */
  251. };
  252. };
  253. sdc2_cmd_off: sdc2_cmd_off {
  254. config {
  255. pins = "sdc2_cmd";
  256. bias-pull-up; /* pull up */
  257. drive-strength = <2>; /* 2 MA */
  258. };
  259. };
  260. sdc2_data_on: sdc2_data_on {
  261. config {
  262. pins = "sdc2_data";
  263. bias-pull-up; /* pull up */
  264. drive-strength = <10>; /* 10 MA */
  265. };
  266. };
  267. sdc2_data_off: sdc2_data_off {
  268. config {
  269. pins = "sdc2_data";
  270. bias-pull-up; /* pull up */
  271. drive-strength = <2>; /* 2 MA */
  272. };
  273. };
  274. pcie0_clkreq_default: pcie0_clkreq_default {
  275. mux {
  276. pins = "gpio36";
  277. function = "pci_e0";
  278. };
  279. config {
  280. pins = "gpio36";
  281. drive-strength = <2>;
  282. bias-pull-up;
  283. };
  284. };
  285. pcie0_perst_default: pcie0_perst_default {
  286. mux {
  287. pins = "gpio35";
  288. function = "gpio";
  289. };
  290. config {
  291. pins = "gpio35";
  292. drive-strength = <2>;
  293. bias-pull-down;
  294. };
  295. };
  296. pcie0_wake_default: pcie0_wake_default {
  297. mux {
  298. pins = "gpio37";
  299. function = "gpio";
  300. };
  301. config {
  302. pins = "gpio37";
  303. drive-strength = <2>;
  304. bias-pull-up;
  305. };
  306. };
  307. pcie0_clkreq_sleep: pcie0_clkreq_sleep {
  308. mux {
  309. pins = "gpio36";
  310. function = "gpio";
  311. };
  312. config {
  313. pins = "gpio36";
  314. drive-strength = <2>;
  315. bias-disable;
  316. };
  317. };
  318. pcie0_wake_sleep: pcie0_wake_sleep {
  319. mux {
  320. pins = "gpio37";
  321. function = "gpio";
  322. };
  323. config {
  324. pins = "gpio37";
  325. drive-strength = <2>;
  326. bias-disable;
  327. };
  328. };
  329. pcie1_clkreq_default: pcie1_clkreq_default {
  330. mux {
  331. pins = "gpio131";
  332. function = "pci_e1";
  333. };
  334. config {
  335. pins = "gpio131";
  336. drive-strength = <2>;
  337. bias-pull-up;
  338. };
  339. };
  340. pcie1_perst_default: pcie1_perst_default {
  341. mux {
  342. pins = "gpio130";
  343. function = "gpio";
  344. };
  345. config {
  346. pins = "gpio130";
  347. drive-strength = <2>;
  348. bias-pull-down;
  349. };
  350. };
  351. pcie1_wake_default: pcie1_wake_default {
  352. mux {
  353. pins = "gpio132";
  354. function = "gpio";
  355. };
  356. config {
  357. pins = "gpio132";
  358. drive-strength = <2>;
  359. bias-pull-down;
  360. };
  361. };
  362. pcie1_clkreq_sleep: pcie1_clkreq_sleep {
  363. mux {
  364. pins = "gpio131";
  365. function = "gpio";
  366. };
  367. config {
  368. pins = "gpio131";
  369. drive-strength = <2>;
  370. bias-disable;
  371. };
  372. };
  373. pcie1_wake_sleep: pcie1_wake_sleep {
  374. mux {
  375. pins = "gpio132";
  376. function = "gpio";
  377. };
  378. config {
  379. pins = "gpio132";
  380. drive-strength = <2>;
  381. bias-disable;
  382. };
  383. };
  384. pcie2_clkreq_default: pcie2_clkreq_default {
  385. mux {
  386. pins = "gpio115";
  387. function = "pci_e2";
  388. };
  389. config {
  390. pins = "gpio115";
  391. drive-strength = <2>;
  392. bias-pull-up;
  393. };
  394. };
  395. pcie2_perst_default: pcie2_perst_default {
  396. mux {
  397. pins = "gpio114";
  398. function = "gpio";
  399. };
  400. config {
  401. pins = "gpio114";
  402. drive-strength = <2>;
  403. bias-pull-down;
  404. };
  405. };
  406. pcie2_wake_default: pcie2_wake_default {
  407. mux {
  408. pins = "gpio116";
  409. function = "gpio";
  410. };
  411. config {
  412. pins = "gpio116";
  413. drive-strength = <2>;
  414. bias-pull-down;
  415. };
  416. };
  417. pcie2_clkreq_sleep: pcie2_clkreq_sleep {
  418. mux {
  419. pins = "gpio115";
  420. function = "gpio";
  421. };
  422. config {
  423. pins = "gpio115";
  424. drive-strength = <2>;
  425. bias-disable;
  426. };
  427. };
  428. pcie2_wake_sleep: pcie2_wake_sleep {
  429. mux {
  430. pins = "gpio116";
  431. function = "gpio";
  432. };
  433. config {
  434. pins = "gpio116";
  435. drive-strength = <2>;
  436. bias-disable;
  437. };
  438. };
  439. };