msm8916-pins.dtsi 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502
  1. /*
  2. * Copyright (c) 2013-2015, 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_uart1_default: blsp1_uart1_default {
  15. pinmux {
  16. function = "blsp_uart1";
  17. pins = "gpio0", "gpio1";
  18. };
  19. pinconf {
  20. pins = "gpio0", "gpio1";
  21. drive-strength = <16>;
  22. bias-disable;
  23. };
  24. };
  25. blsp1_uart1_sleep: blsp1_uart1_sleep {
  26. pinmux {
  27. function = "gpio";
  28. pins = "gpio0", "gpio1";
  29. };
  30. pinconf {
  31. pins = "gpio0", "gpio1";
  32. drive-strength = <2>;
  33. bias-pull-down;
  34. };
  35. };
  36. blsp1_uart2_default: blsp1_uart2_default {
  37. pinmux {
  38. function = "blsp_uart2";
  39. pins = "gpio4", "gpio5";
  40. };
  41. pinconf {
  42. pins = "gpio4", "gpio5";
  43. drive-strength = <16>;
  44. bias-disable;
  45. };
  46. };
  47. blsp1_uart2_sleep: blsp1_uart2_sleep {
  48. pinmux {
  49. function = "gpio";
  50. pins = "gpio4", "gpio5";
  51. };
  52. pinconf {
  53. pins = "gpio4", "gpio5";
  54. drive-strength = <2>;
  55. bias-pull-down;
  56. };
  57. };
  58. spi1_default: spi1_default {
  59. pinmux {
  60. function = "blsp_spi1";
  61. pins = "gpio0", "gpio1", "gpio3";
  62. };
  63. pinmux_cs {
  64. function = "gpio";
  65. pins = "gpio2";
  66. };
  67. pinconf {
  68. pins = "gpio0", "gpio1", "gpio3";
  69. drive-strength = <12>;
  70. bias-disable;
  71. };
  72. pinconf_cs {
  73. pins = "gpio2";
  74. drive-strength = <2>;
  75. bias-disable;
  76. output-high;
  77. };
  78. };
  79. spi1_sleep: spi1_sleep {
  80. pinmux {
  81. function = "gpio";
  82. pins = "gpio0", "gpio1", "gpio2", "gpio3";
  83. };
  84. pinconf {
  85. pins = "gpio0", "gpio1", "gpio2", "gpio3";
  86. drive-strength = <2>;
  87. bias-pull-down;
  88. };
  89. };
  90. spi2_default: spi2_default {
  91. pinmux {
  92. function = "blsp_spi2";
  93. pins = "gpio4", "gpio5", "gpio7";
  94. };
  95. pinmux_cs {
  96. function = "gpio";
  97. pins = "gpio6";
  98. };
  99. pinconf {
  100. pins = "gpio4", "gpio5", "gpio6", "gpio7";
  101. drive-strength = <12>;
  102. bias-disable;
  103. };
  104. pinconf_cs {
  105. pins = "gpio6";
  106. drive-strength = <2>;
  107. bias-disable;
  108. output-high;
  109. };
  110. };
  111. spi2_sleep: spi2_sleep {
  112. pinmux {
  113. function = "gpio";
  114. pins = "gpio4", "gpio5", "gpio6", "gpio7";
  115. };
  116. pinconf {
  117. pins = "gpio4", "gpio5", "gpio6", "gpio7";
  118. drive-strength = <2>;
  119. bias-pull-down;
  120. };
  121. };
  122. spi3_default: spi3_default {
  123. pinmux {
  124. function = "blsp_spi3";
  125. pins = "gpio8", "gpio9", "gpio11";
  126. };
  127. pinmux_cs {
  128. function = "gpio";
  129. pins = "gpio10";
  130. };
  131. pinconf {
  132. pins = "gpio8", "gpio9", "gpio10", "gpio11";
  133. drive-strength = <12>;
  134. bias-disable;
  135. };
  136. pinconf_cs {
  137. pins = "gpio10";
  138. drive-strength = <2>;
  139. bias-disable;
  140. output-high;
  141. };
  142. };
  143. spi3_sleep: spi3_sleep {
  144. pinmux {
  145. function = "gpio";
  146. pins = "gpio8", "gpio9", "gpio10", "gpio11";
  147. };
  148. pinconf {
  149. pins = "gpio8", "gpio9", "gpio10", "gpio11";
  150. drive-strength = <2>;
  151. bias-pull-down;
  152. };
  153. };
  154. spi4_default: spi4_default {
  155. pinmux {
  156. function = "blsp_spi4";
  157. pins = "gpio12", "gpio13", "gpio15";
  158. };
  159. pinmux_cs {
  160. function = "gpio";
  161. pins = "gpio14";
  162. };
  163. pinconf {
  164. pins = "gpio12", "gpio13", "gpio14", "gpio15";
  165. drive-strength = <12>;
  166. bias-disable;
  167. };
  168. pinconf_cs {
  169. pins = "gpio14";
  170. drive-strength = <2>;
  171. bias-disable;
  172. output-high;
  173. };
  174. };
  175. spi4_sleep: spi4_sleep {
  176. pinmux {
  177. function = "gpio";
  178. pins = "gpio12", "gpio13", "gpio14", "gpio15";
  179. };
  180. pinconf {
  181. pins = "gpio12", "gpio13", "gpio14", "gpio15";
  182. drive-strength = <2>;
  183. bias-pull-down;
  184. };
  185. };
  186. spi5_default: spi5_default {
  187. pinmux {
  188. function = "blsp_spi5";
  189. pins = "gpio16", "gpio17", "gpio19";
  190. };
  191. pinmux_cs {
  192. function = "gpio";
  193. pins = "gpio18";
  194. };
  195. pinconf {
  196. pins = "gpio16", "gpio17", "gpio18", "gpio19";
  197. drive-strength = <12>;
  198. bias-disable;
  199. };
  200. pinconf_cs {
  201. pins = "gpio18";
  202. drive-strength = <2>;
  203. bias-disable;
  204. output-high;
  205. };
  206. };
  207. spi5_sleep: spi5_sleep {
  208. pinmux {
  209. function = "gpio";
  210. pins = "gpio16", "gpio17", "gpio18", "gpio19";
  211. };
  212. pinconf {
  213. pins = "gpio16", "gpio17", "gpio18", "gpio19";
  214. drive-strength = <2>;
  215. bias-pull-down;
  216. };
  217. };
  218. spi6_default: spi6_default {
  219. pinmux {
  220. function = "blsp_spi6";
  221. pins = "gpio20", "gpio21", "gpio23";
  222. };
  223. pinmux_cs {
  224. function = "gpio";
  225. pins = "gpio22";
  226. };
  227. pinconf {
  228. pins = "gpio20", "gpio21", "gpio22", "gpio23";
  229. drive-strength = <12>;
  230. bias-disable;
  231. };
  232. pinconf_cs {
  233. pins = "gpio22";
  234. drive-strength = <2>;
  235. bias-disable;
  236. output-high;
  237. };
  238. };
  239. spi6_sleep: spi6_sleep {
  240. pinmux {
  241. function = "gpio";
  242. pins = "gpio20", "gpio21", "gpio22", "gpio23";
  243. };
  244. pinconf {
  245. pins = "gpio20", "gpio21", "gpio22", "gpio23";
  246. drive-strength = <2>;
  247. bias-pull-down;
  248. };
  249. };
  250. i2c2_default: i2c2_default {
  251. pinmux {
  252. function = "blsp_i2c2";
  253. pins = "gpio6", "gpio7";
  254. };
  255. pinconf {
  256. pins = "gpio6", "gpio7";
  257. drive-strength = <2>;
  258. bias-disable = <0>;
  259. };
  260. };
  261. i2c2_sleep: i2c2_sleep {
  262. pinmux {
  263. function = "gpio";
  264. pins = "gpio6", "gpio7";
  265. };
  266. pinconf {
  267. pins = "gpio6", "gpio7";
  268. drive-strength = <2>;
  269. bias-disable = <0>;
  270. };
  271. };
  272. i2c4_default: i2c4_default {
  273. pinmux {
  274. function = "blsp_i2c4";
  275. pins = "gpio14", "gpio15";
  276. };
  277. pinconf {
  278. pins = "gpio14", "gpio15";
  279. drive-strength = <2>;
  280. bias-disable = <0>;
  281. };
  282. };
  283. i2c4_sleep: i2c4_sleep {
  284. pinmux {
  285. function = "gpio";
  286. pins = "gpio14", "gpio15";
  287. };
  288. pinconf {
  289. pins = "gpio14", "gpio15";
  290. drive-strength = <2>;
  291. bias-disable = <0>;
  292. };
  293. };
  294. i2c6_default: i2c6_default {
  295. pinmux {
  296. function = "blsp_i2c6";
  297. pins = "gpio22", "gpio23";
  298. };
  299. pinconf {
  300. pins = "gpio22", "gpio23";
  301. drive-strength = <2>;
  302. bias-disable = <0>;
  303. };
  304. };
  305. i2c6_sleep: i2c6_sleep {
  306. pinmux {
  307. function = "gpio";
  308. pins = "gpio22", "gpio23";
  309. };
  310. pinconf {
  311. pins = "gpio22", "gpio23";
  312. drive-strength = <2>;
  313. bias-disable = <0>;
  314. };
  315. };
  316. sdhc2_cd_pin {
  317. sdc2_cd_on: cd_on {
  318. pinmux {
  319. function = "gpio";
  320. pins = "gpio38";
  321. };
  322. pinconf {
  323. pins = "gpio38";
  324. drive-strength = <2>;
  325. bias-pull-up;
  326. };
  327. };
  328. sdc2_cd_off: cd_off {
  329. pinmux {
  330. function = "gpio";
  331. pins = "gpio38";
  332. };
  333. pinconf {
  334. pins = "gpio38";
  335. drive-strength = <2>;
  336. bias-disable;
  337. };
  338. };
  339. };
  340. pmx_sdc1_clk {
  341. sdc1_clk_on: clk_on {
  342. pinmux {
  343. pins = "sdc1_clk";
  344. };
  345. pinconf {
  346. pins = "sdc1_clk";
  347. bias-disable;
  348. drive-strength = <16>;
  349. };
  350. };
  351. sdc1_clk_off: clk_off {
  352. pinmux {
  353. pins = "sdc1_clk";
  354. };
  355. pinconf {
  356. pins = "sdc1_clk";
  357. bias-disable;
  358. drive-strength = <2>;
  359. };
  360. };
  361. };
  362. pmx_sdc1_cmd {
  363. sdc1_cmd_on: cmd_on {
  364. pinmux {
  365. pins = "sdc1_cmd";
  366. };
  367. pinconf {
  368. pins = "sdc1_cmd";
  369. bias-pull-up;
  370. drive-strength = <10>;
  371. };
  372. };
  373. sdc1_cmd_off: cmd_off {
  374. pinmux {
  375. pins = "sdc1_cmd";
  376. };
  377. pinconf {
  378. pins = "sdc1_cmd";
  379. bias-pull-up;
  380. drive-strength = <2>;
  381. };
  382. };
  383. };
  384. pmx_sdc1_data {
  385. sdc1_data_on: data_on {
  386. pinmux {
  387. pins = "sdc1_data";
  388. };
  389. pinconf {
  390. pins = "sdc1_data";
  391. bias-pull-up;
  392. drive-strength = <10>;
  393. };
  394. };
  395. sdc1_data_off: data_off {
  396. pinmux {
  397. pins = "sdc1_data";
  398. };
  399. pinconf {
  400. pins = "sdc1_data";
  401. bias-pull-up;
  402. drive-strength = <2>;
  403. };
  404. };
  405. };
  406. pmx_sdc2_clk {
  407. sdc2_clk_on: clk_on {
  408. pinmux {
  409. pins = "sdc2_clk";
  410. };
  411. pinconf {
  412. pins = "sdc2_clk";
  413. bias-disable;
  414. drive-strength = <16>;
  415. };
  416. };
  417. sdc2_clk_off: clk_off {
  418. pinmux {
  419. pins = "sdc2_clk";
  420. };
  421. pinconf {
  422. pins = "sdc2_clk";
  423. bias-disable;
  424. drive-strength = <2>;
  425. };
  426. };
  427. };
  428. pmx_sdc2_cmd {
  429. sdc2_cmd_on: cmd_on {
  430. pinmux {
  431. pins = "sdc2_cmd";
  432. };
  433. pinconf {
  434. pins = "sdc2_cmd";
  435. bias-pull-up;
  436. drive-strength = <10>;
  437. };
  438. };
  439. sdc2_cmd_off: cmd_off {
  440. pinmux {
  441. pins = "sdc2_cmd";
  442. };
  443. pinconf {
  444. pins = "sdc2_cmd";
  445. bias-pull-up;
  446. drive-strength = <2>;
  447. };
  448. };
  449. };
  450. pmx_sdc2_data {
  451. sdc2_data_on: data_on {
  452. pinmux {
  453. pins = "sdc2_data";
  454. };
  455. pinconf {
  456. pins = "sdc2_data";
  457. bias-pull-up;
  458. drive-strength = <10>;
  459. };
  460. };
  461. sdc2_data_off: data_off {
  462. pinmux {
  463. pins = "sdc2_data";
  464. };
  465. pinconf {
  466. pins = "sdc2_data";
  467. bias-pull-up;
  468. drive-strength = <2>;
  469. };
  470. };
  471. };
  472. };