exynos7-pinctrl.dtsi 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691
  1. /*
  2. * Samsung's Exynos7 SoC pin-mux and pin-config device tree source
  3. *
  4. * Copyright (c) 2014 Samsung Electronics Co., Ltd.
  5. * http://www.samsung.com
  6. *
  7. * Samsung's Exynos7 SoC pin-mux and pin-config options are listed as
  8. * device tree nodes in this file.
  9. *
  10. * This program is free software; you can redistribute it and/or modify
  11. * it under the terms of the GNU General Public License version 2 as
  12. * published by the Free Software Foundation.
  13. */
  14. &pinctrl_alive {
  15. gpa0: gpa0 {
  16. gpio-controller;
  17. #gpio-cells = <2>;
  18. interrupt-controller;
  19. interrupt-parent = <&gic>;
  20. #interrupt-cells = <2>;
  21. interrupts = <0 0 0>, <0 1 0>, <0 2 0>, <0 3 0>,
  22. <0 4 0>, <0 5 0>, <0 6 0>, <0 7 0>;
  23. };
  24. gpa1: gpa1 {
  25. gpio-controller;
  26. #gpio-cells = <2>;
  27. interrupt-controller;
  28. interrupt-parent = <&gic>;
  29. #interrupt-cells = <2>;
  30. interrupts = <0 8 0>, <0 9 0>, <0 10 0>, <0 11 0>,
  31. <0 12 0>, <0 13 0>, <0 14 0>, <0 15 0>;
  32. };
  33. gpa2: gpa2 {
  34. gpio-controller;
  35. #gpio-cells = <2>;
  36. interrupt-controller;
  37. #interrupt-cells = <2>;
  38. };
  39. gpa3: gpa3 {
  40. gpio-controller;
  41. #gpio-cells = <2>;
  42. interrupt-controller;
  43. #interrupt-cells = <2>;
  44. };
  45. };
  46. &pinctrl_bus0 {
  47. gpb0: gpb0 {
  48. gpio-controller;
  49. #gpio-cells = <2>;
  50. interrupt-controller;
  51. #interrupt-cells = <2>;
  52. };
  53. gpc0: gpc0 {
  54. gpio-controller;
  55. #gpio-cells = <2>;
  56. interrupt-controller;
  57. #interrupt-cells = <2>;
  58. };
  59. gpc1: gpc1 {
  60. gpio-controller;
  61. #gpio-cells = <2>;
  62. interrupt-controller;
  63. #interrupt-cells = <2>;
  64. };
  65. gpc2: gpc2 {
  66. gpio-controller;
  67. #gpio-cells = <2>;
  68. interrupt-controller;
  69. #interrupt-cells = <2>;
  70. };
  71. gpc3: gpc3 {
  72. gpio-controller;
  73. #gpio-cells = <2>;
  74. interrupt-controller;
  75. #interrupt-cells = <2>;
  76. };
  77. gpd0: gpd0 {
  78. gpio-controller;
  79. #gpio-cells = <2>;
  80. interrupt-controller;
  81. #interrupt-cells = <2>;
  82. };
  83. gpd1: gpd1 {
  84. gpio-controller;
  85. #gpio-cells = <2>;
  86. interrupt-controller;
  87. #interrupt-cells = <2>;
  88. };
  89. gpd2: gpd2 {
  90. gpio-controller;
  91. #gpio-cells = <2>;
  92. interrupt-controller;
  93. #interrupt-cells = <2>;
  94. };
  95. gpd4: gpd4 {
  96. gpio-controller;
  97. #gpio-cells = <2>;
  98. interrupt-controller;
  99. #interrupt-cells = <2>;
  100. };
  101. gpd5: gpd5 {
  102. gpio-controller;
  103. #gpio-cells = <2>;
  104. interrupt-controller;
  105. #interrupt-cells = <2>;
  106. };
  107. gpd6: gpd6 {
  108. gpio-controller;
  109. #gpio-cells = <2>;
  110. interrupt-controller;
  111. #interrupt-cells = <2>;
  112. };
  113. gpd7: gpd7 {
  114. gpio-controller;
  115. #gpio-cells = <2>;
  116. interrupt-controller;
  117. #interrupt-cells = <2>;
  118. };
  119. gpd8: gpd8 {
  120. gpio-controller;
  121. #gpio-cells = <2>;
  122. interrupt-controller;
  123. #interrupt-cells = <2>;
  124. };
  125. gpg0: gpg0 {
  126. gpio-controller;
  127. #gpio-cells = <2>;
  128. interrupt-controller;
  129. #interrupt-cells = <2>;
  130. };
  131. gpg3: gpg3 {
  132. gpio-controller;
  133. #gpio-cells = <2>;
  134. interrupt-controller;
  135. #interrupt-cells = <2>;
  136. };
  137. hs_i2c10_bus: hs-i2c10-bus {
  138. samsung,pins = "gpb0-1", "gpb0-0";
  139. samsung,pin-function = <2>;
  140. samsung,pin-pud = <3>;
  141. samsung,pin-drv = <0>;
  142. };
  143. hs_i2c11_bus: hs-i2c11-bus {
  144. samsung,pins = "gpb0-3", "gpb0-2";
  145. samsung,pin-function = <2>;
  146. samsung,pin-pud = <3>;
  147. samsung,pin-drv = <0>;
  148. };
  149. hs_i2c2_bus: hs-i2c2-bus {
  150. samsung,pins = "gpd0-3", "gpd0-2";
  151. samsung,pin-function = <3>;
  152. samsung,pin-pud = <3>;
  153. samsung,pin-drv = <0>;
  154. };
  155. uart0_data: uart0-data {
  156. samsung,pins = "gpd0-0", "gpd0-1";
  157. samsung,pin-function = <2>;
  158. samsung,pin-pud = <0>;
  159. samsung,pin-drv = <0>;
  160. };
  161. uart0_fctl: uart0-fctl {
  162. samsung,pins = "gpd0-2", "gpd0-3";
  163. samsung,pin-function = <2>;
  164. samsung,pin-pud = <0>;
  165. samsung,pin-drv = <0>;
  166. };
  167. uart2_data: uart2-data {
  168. samsung,pins = "gpd1-4", "gpd1-5";
  169. samsung,pin-function = <2>;
  170. samsung,pin-pud = <0>;
  171. samsung,pin-drv = <0>;
  172. };
  173. hs_i2c3_bus: hs-i2c3-bus {
  174. samsung,pins = "gpd1-3", "gpd1-2";
  175. samsung,pin-function = <3>;
  176. samsung,pin-pud = <3>;
  177. samsung,pin-drv = <0>;
  178. };
  179. uart1_data: uart1-data {
  180. samsung,pins = "gpd1-0", "gpd1-1";
  181. samsung,pin-function = <2>;
  182. samsung,pin-pud = <0>;
  183. samsung,pin-drv = <0>;
  184. };
  185. uart1_fctl: uart1-fctl {
  186. samsung,pins = "gpd1-2", "gpd1-3";
  187. samsung,pin-function = <2>;
  188. samsung,pin-pud = <0>;
  189. samsung,pin-drv = <0>;
  190. };
  191. hs_i2c0_bus: hs-i2c0-bus {
  192. samsung,pins = "gpd2-1", "gpd2-0";
  193. samsung,pin-function = <2>;
  194. samsung,pin-pud = <3>;
  195. samsung,pin-drv = <0>;
  196. };
  197. hs_i2c1_bus: hs-i2c1-bus {
  198. samsung,pins = "gpd2-3", "gpd2-2";
  199. samsung,pin-function = <2>;
  200. samsung,pin-pud = <3>;
  201. samsung,pin-drv = <0>;
  202. };
  203. hs_i2c9_bus: hs-i2c9-bus {
  204. samsung,pins = "gpd2-7", "gpd2-6";
  205. samsung,pin-function = <3>;
  206. samsung,pin-pud = <3>;
  207. samsung,pin-drv = <0>;
  208. };
  209. pwm0_out: pwm0-out {
  210. samsung,pins = "gpd2-4";
  211. samsung,pin-function = <2>;
  212. samsung,pin-pud = <0>;
  213. samsung,pin-drv = <0>;
  214. };
  215. pwm1_out: pwm1-out {
  216. samsung,pins = "gpd2-5";
  217. samsung,pin-function = <2>;
  218. samsung,pin-pud = <0>;
  219. samsung,pin-drv = <0>;
  220. };
  221. pwm2_out: pwm2-out {
  222. samsung,pins = "gpd2-6";
  223. samsung,pin-function = <2>;
  224. samsung,pin-pud = <0>;
  225. samsung,pin-drv = <0>;
  226. };
  227. pwm3_out: pwm3-out {
  228. samsung,pins = "gpd2-7";
  229. samsung,pin-function = <2>;
  230. samsung,pin-pud = <0>;
  231. samsung,pin-drv = <0>;
  232. };
  233. hs_i2c8_bus: hs-i2c8-bus {
  234. samsung,pins = "gpd5-3", "gpd5-2";
  235. samsung,pin-function = <3>;
  236. samsung,pin-pud = <3>;
  237. samsung,pin-drv = <0>;
  238. };
  239. uart3_data: uart3-data {
  240. samsung,pins = "gpd5-0", "gpd5-1";
  241. samsung,pin-function = <3>;
  242. samsung,pin-pud = <0>;
  243. samsung,pin-drv = <0>;
  244. };
  245. spi2_bus: spi2-bus {
  246. samsung,pins = "gpd5-0", "gpd5-1", "gpd5-2", "gpd5-3";
  247. samsung,pin-function = <2>;
  248. samsung,pin-pud = <3>;
  249. samsung,pin-drv = <0>;
  250. };
  251. spi1_bus: spi1-bus {
  252. samsung,pins = "gpd6-2", "gpd6-3", "gpd6-4", "gpd6-5";
  253. samsung,pin-function = <2>;
  254. samsung,pin-pud = <3>;
  255. samsung,pin-drv = <0>;
  256. };
  257. spi0_bus: spi0-bus {
  258. samsung,pins = "gpd8-0", "gpd8-1", "gpd6-0", "gpd6-1";
  259. samsung,pin-function = <2>;
  260. samsung,pin-pud = <3>;
  261. samsung,pin-drv = <0>;
  262. };
  263. hs_i2c4_bus: hs-i2c4-bus {
  264. samsung,pins = "gpg3-1", "gpg3-0";
  265. samsung,pin-function = <2>;
  266. samsung,pin-pud = <3>;
  267. samsung,pin-drv = <0>;
  268. };
  269. hs_i2c5_bus: hs-i2c5-bus {
  270. samsung,pins = "gpg3-3", "gpg3-2";
  271. samsung,pin-function = <2>;
  272. samsung,pin-pud = <3>;
  273. samsung,pin-drv = <0>;
  274. };
  275. };
  276. &pinctrl_nfc {
  277. gpj0: gpj0 {
  278. gpio-controller;
  279. #gpio-cells = <2>;
  280. interrupt-controller;
  281. #interrupt-cells = <2>;
  282. };
  283. hs_i2c6_bus: hs-i2c6-bus {
  284. samsung,pins = "gpj0-1", "gpj0-0";
  285. samsung,pin-function = <2>;
  286. samsung,pin-pud = <3>;
  287. samsung,pin-drv = <0>;
  288. };
  289. };
  290. &pinctrl_touch {
  291. gpj1: gpj1 {
  292. gpio-controller;
  293. #gpio-cells = <2>;
  294. interrupt-controller;
  295. #interrupt-cells = <2>;
  296. };
  297. hs_i2c7_bus: hs-i2c7-bus {
  298. samsung,pins = "gpj1-1", "gpj1-0";
  299. samsung,pin-function = <2>;
  300. samsung,pin-pud = <3>;
  301. samsung,pin-drv = <0>;
  302. };
  303. };
  304. &pinctrl_ff {
  305. gpg4: gpg4 {
  306. gpio-controller;
  307. #gpio-cells = <2>;
  308. interrupt-controller;
  309. #interrupt-cells = <2>;
  310. };
  311. spi3_bus: spi3-bus {
  312. samsung,pins = "gpg4-0", "gpg4-1", "gpg4-2", "gpg4-3";
  313. samsung,pin-function = <2>;
  314. samsung,pin-pud = <3>;
  315. samsung,pin-drv = <0>;
  316. };
  317. };
  318. &pinctrl_ese {
  319. gpv7: gpv7 {
  320. gpio-controller;
  321. #gpio-cells = <2>;
  322. interrupt-controller;
  323. #interrupt-cells = <2>;
  324. };
  325. spi4_bus: spi4-bus {
  326. samsung,pins = "gpv7-0", "gpv7-1", "gpv7-2", "gpv7-3";
  327. samsung,pin-function = <2>;
  328. samsung,pin-pud = <3>;
  329. samsung,pin-drv = <0>;
  330. };
  331. };
  332. &pinctrl_fsys0 {
  333. gpr4: gpr4 {
  334. gpio-controller;
  335. #gpio-cells = <2>;
  336. interrupt-controller;
  337. #interrupt-cells = <2>;
  338. };
  339. sd2_clk: sd2-clk {
  340. samsung,pins = "gpr4-0";
  341. samsung,pin-function = <2>;
  342. samsung,pin-pud = <0>;
  343. samsung,pin-drv = <3>;
  344. };
  345. sd2_cmd: sd2-cmd {
  346. samsung,pins = "gpr4-1";
  347. samsung,pin-function = <2>;
  348. samsung,pin-pud = <0>;
  349. samsung,pin-drv = <3>;
  350. };
  351. sd2_cd: sd2-cd {
  352. samsung,pins = "gpr4-2";
  353. samsung,pin-function = <2>;
  354. samsung,pin-pud = <3>;
  355. samsung,pin-drv = <3>;
  356. };
  357. sd2_bus1: sd2-bus-width1 {
  358. samsung,pins = "gpr4-3";
  359. samsung,pin-function = <2>;
  360. samsung,pin-pud = <3>;
  361. samsung,pin-drv = <3>;
  362. };
  363. sd2_bus4: sd2-bus-width4 {
  364. samsung,pins = "gpr4-4", "gpr4-5", "gpr4-6";
  365. samsung,pin-function = <2>;
  366. samsung,pin-pud = <3>;
  367. samsung,pin-drv = <3>;
  368. };
  369. };
  370. &pinctrl_fsys1 {
  371. gpr0: gpr0 {
  372. gpio-controller;
  373. #gpio-cells = <2>;
  374. interrupt-controller;
  375. #interrupt-cells = <2>;
  376. };
  377. gpr1: gpr1 {
  378. gpio-controller;
  379. #gpio-cells = <2>;
  380. interrupt-controller;
  381. #interrupt-cells = <2>;
  382. };
  383. gpr2: gpr2 {
  384. gpio-controller;
  385. #gpio-cells = <2>;
  386. interrupt-controller;
  387. #interrupt-cells = <2>;
  388. };
  389. gpr3: gpr3 {
  390. gpio-controller;
  391. #gpio-cells = <2>;
  392. interrupt-controller;
  393. #interrupt-cells = <2>;
  394. };
  395. sd0_clk: sd0-clk {
  396. samsung,pins = "gpr0-0";
  397. samsung,pin-function = <2>;
  398. samsung,pin-pud = <0>;
  399. samsung,pin-drv = <3>;
  400. };
  401. sd0_cmd: sd0-cmd {
  402. samsung,pins = "gpr0-1";
  403. samsung,pin-function = <2>;
  404. samsung,pin-pud = <3>;
  405. samsung,pin-drv = <3>;
  406. };
  407. sd0_ds: sd0-ds {
  408. samsung,pins = "gpr0-2";
  409. samsung,pin-function = <2>;
  410. samsung,pin-pud = <1>;
  411. samsung,pin-drv = <3>;
  412. };
  413. sd0_qrdy: sd0-qrdy {
  414. samsung,pins = "gpr0-3";
  415. samsung,pin-function = <2>;
  416. samsung,pin-pud = <1>;
  417. samsung,pin-drv = <3>;
  418. };
  419. sd0_bus1: sd0-bus-width1 {
  420. samsung,pins = "gpr1-0";
  421. samsung,pin-function = <2>;
  422. samsung,pin-pud = <3>;
  423. samsung,pin-drv = <3>;
  424. };
  425. sd0_bus4: sd0-bus-width4 {
  426. samsung,pins = "gpr1-1", "gpr1-2", "gpr1-3";
  427. samsung,pin-function = <2>;
  428. samsung,pin-pud = <3>;
  429. samsung,pin-drv = <3>;
  430. };
  431. sd0_bus8: sd0-bus-width8 {
  432. samsung,pins = "gpr1-4", "gpr1-5", "gpr1-6", "gpr1-7";
  433. samsung,pin-function = <2>;
  434. samsung,pin-pud = <3>;
  435. samsung,pin-drv = <3>;
  436. };
  437. sd1_clk: sd1-clk {
  438. samsung,pins = "gpr2-0";
  439. samsung,pin-function = <2>;
  440. samsung,pin-pud = <0>;
  441. samsung,pin-drv = <2>;
  442. };
  443. sd1_cmd: sd1-cmd {
  444. samsung,pins = "gpr2-1";
  445. samsung,pin-function = <2>;
  446. samsung,pin-pud = <0>;
  447. samsung,pin-drv = <2>;
  448. };
  449. sd1_ds: sd1-ds {
  450. samsung,pins = "gpr2-2";
  451. samsung,pin-function = <2>;
  452. samsung,pin-pud = <1>;
  453. samsung,pin-drv = <6>;
  454. };
  455. sd1_qrdy: sd1-qrdy {
  456. samsung,pins = "gpr2-3";
  457. samsung,pin-function = <2>;
  458. samsung,pin-pud = <1>;
  459. samsung,pin-drv = <6>;
  460. };
  461. sd1_int: sd1-int {
  462. samsung,pins = "gpr2-4";
  463. samsung,pin-function = <2>;
  464. samsung,pin-pud = <1>;
  465. samsung,pin-drv = <6>;
  466. };
  467. sd1_bus1: sd1-bus-width1 {
  468. samsung,pins = "gpr3-0";
  469. samsung,pin-function = <2>;
  470. samsung,pin-pud = <3>;
  471. samsung,pin-drv = <2>;
  472. };
  473. sd1_bus4: sd1-bus-width4 {
  474. samsung,pins = "gpr3-1", "gpr3-2", "gpr3-3";
  475. samsung,pin-function = <2>;
  476. samsung,pin-pud = <3>;
  477. samsung,pin-drv = <2>;
  478. };
  479. sd1_bus8: sd1-bus-width8 {
  480. samsung,pins = "gpr3-4", "gpr3-5", "gpr3-6", "gpr3-7";
  481. samsung,pin-function = <2>;
  482. samsung,pin-pud = <3>;
  483. samsung,pin-drv = <2>;
  484. };
  485. };
  486. &pinctrl_bus1 {
  487. gpf0: gpf0 {
  488. gpio-controller;
  489. #gpio-cells = <2>;
  490. interrupt-controller;
  491. #interrupt-cells = <2>;
  492. };
  493. gpf1: gpf1 {
  494. gpio-controller;
  495. #gpio-cells = <2>;
  496. interrupt-controller;
  497. #interrupt-cells = <2>;
  498. };
  499. gpf2: gpf2 {
  500. gpio-controller;
  501. #gpio-cells = <2>;
  502. interrupt-controller;
  503. #interrupt-cells = <2>;
  504. };
  505. gpf3: gpf3 {
  506. gpio-controller;
  507. #gpio-cells = <2>;
  508. interrupt-controller;
  509. #interrupt-cells = <2>;
  510. };
  511. gpf4: gpf4 {
  512. gpio-controller;
  513. #gpio-cells = <2>;
  514. interrupt-controller;
  515. #interrupt-cells = <2>;
  516. };
  517. gpf5: gpf5 {
  518. gpio-controller;
  519. #gpio-cells = <2>;
  520. interrupt-controller;
  521. #interrupt-cells = <2>;
  522. };
  523. gpg1: gpg1 {
  524. gpio-controller;
  525. #gpio-cells = <2>;
  526. interrupt-controller;
  527. #interrupt-cells = <2>;
  528. };
  529. gpg2: gpg2 {
  530. gpio-controller;
  531. #gpio-cells = <2>;
  532. interrupt-controller;
  533. #interrupt-cells = <2>;
  534. };
  535. gph1: gph1 {
  536. gpio-controller;
  537. #gpio-cells = <2>;
  538. interrupt-controller;
  539. #interrupt-cells = <2>;
  540. };
  541. gpv6: gpv6 {
  542. gpio-controller;
  543. #gpio-cells = <2>;
  544. interrupt-controller;
  545. #interrupt-cells = <2>;
  546. };
  547. spi5_bus: spi5-bus {
  548. samsung,pins = "gpf2-0", "gpf2-1", "gpf2-2", "gpf2-3";
  549. samsung,pin-function = <2>;
  550. samsung,pin-pud = <3>;
  551. samsung,pin-drv = <0>;
  552. };
  553. ufs_refclk_out: ufs-refclk-out {
  554. samsung,pins = "gpg2-4";
  555. samsung,pin-function = <2>;
  556. samsung,pin-pud = <0>;
  557. samsung,pin-drv = <2>;
  558. };
  559. ufs_rst_n: ufs-rst-n {
  560. samsung,pins = "gph1-5";
  561. samsung,pin-function = <2>;
  562. samsung,pin-pud = <3>;
  563. samsung,pin-drv = <0>;
  564. };
  565. };