hikey960-pinctrl.dtsi 21 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * pinctrl dts fils for Hislicon HiKey960 development board
  4. *
  5. */
  6. #include <dt-bindings/pinctrl/hisi.h>
  7. / {
  8. soc {
  9. /* [IOMG_000, IOMG_123] */
  10. range: gpio-range {
  11. #pinctrl-single,gpio-range-cells = <3>;
  12. };
  13. pmx0: pinmux@e896c000 {
  14. compatible = "pinctrl-single";
  15. reg = <0x0 0xe896c000 0x0 0x1f0>;
  16. #pinctrl-cells = <1>;
  17. #gpio-range-cells = <0x3>;
  18. pinctrl-single,register-width = <0x20>;
  19. pinctrl-single,function-mask = <0x7>;
  20. /* pin base, nr pins & gpio function */
  21. pinctrl-single,gpio-range = <
  22. &range 0 7 0
  23. &range 8 116 0>;
  24. pmu_pmx_func: pmu_pmx_func {
  25. pinctrl-single,pins = <
  26. 0x008 MUX_M1 /* PMU1_SSI */
  27. 0x00c MUX_M1 /* PMU2_SSI */
  28. 0x010 MUX_M1 /* PMU_CLKOUT */
  29. 0x100 MUX_M1 /* PMU_HKADC_SSI */
  30. >;
  31. };
  32. csi0_pwd_n_pmx_func: csi0_pwd_n_pmx_func {
  33. pinctrl-single,pins = <
  34. 0x044 MUX_M0 /* CSI0_PWD_N */
  35. >;
  36. };
  37. csi1_pwd_n_pmx_func: csi1_pwd_n_pmx_func {
  38. pinctrl-single,pins = <
  39. 0x04c MUX_M0 /* CSI1_PWD_N */
  40. >;
  41. };
  42. isp0_pmx_func: isp0_pmx_func {
  43. pinctrl-single,pins = <
  44. 0x058 MUX_M1 /* ISP_CLK0 */
  45. 0x064 MUX_M1 /* ISP_SCL0 */
  46. 0x068 MUX_M1 /* ISP_SDA0 */
  47. >;
  48. };
  49. isp1_pmx_func: isp1_pmx_func {
  50. pinctrl-single,pins = <
  51. 0x05c MUX_M1 /* ISP_CLK1 */
  52. 0x06c MUX_M1 /* ISP_SCL1 */
  53. 0x070 MUX_M1 /* ISP_SDA1 */
  54. >;
  55. };
  56. pwr_key_pmx_func: pwr_key_pmx_func {
  57. pinctrl-single,pins = <
  58. 0x080 MUX_M0 /* GPIO_034 */
  59. >;
  60. };
  61. i2c3_pmx_func: i2c3_pmx_func {
  62. pinctrl-single,pins = <
  63. 0x02c MUX_M1 /* I2C3_SCL */
  64. 0x030 MUX_M1 /* I2C3_SDA */
  65. >;
  66. };
  67. i2c4_pmx_func: i2c4_pmx_func {
  68. pinctrl-single,pins = <
  69. 0x090 MUX_M1 /* I2C4_SCL */
  70. 0x094 MUX_M1 /* I2C4_SDA */
  71. >;
  72. };
  73. pcie_perstn_pmx_func: pcie_perstn_pmx_func {
  74. pinctrl-single,pins = <
  75. 0x15c MUX_M1 /* PCIE_PERST_N */
  76. >;
  77. };
  78. usbhub5734_pmx_func: usbhub5734_pmx_func {
  79. pinctrl-single,pins = <
  80. 0x11c MUX_M0 /* GPIO_073 */
  81. 0x120 MUX_M0 /* GPIO_074 */
  82. >;
  83. };
  84. uart0_pmx_func: uart0_pmx_func {
  85. pinctrl-single,pins = <
  86. 0x0cc MUX_M2 /* UART0_RXD */
  87. 0x0d0 MUX_M2 /* UART0_TXD */
  88. >;
  89. };
  90. uart1_pmx_func: uart1_pmx_func {
  91. pinctrl-single,pins = <
  92. 0x0b0 MUX_M2 /* UART1_CTS_N */
  93. 0x0b4 MUX_M2 /* UART1_RTS_N */
  94. 0x0a8 MUX_M2 /* UART1_RXD */
  95. 0x0ac MUX_M2 /* UART1_TXD */
  96. >;
  97. };
  98. uart2_pmx_func: uart2_pmx_func {
  99. pinctrl-single,pins = <
  100. 0x0bc MUX_M2 /* UART2_CTS_N */
  101. 0x0c0 MUX_M2 /* UART2_RTS_N */
  102. 0x0c8 MUX_M2 /* UART2_RXD */
  103. 0x0c4 MUX_M2 /* UART2_TXD */
  104. >;
  105. };
  106. uart3_pmx_func: uart3_pmx_func {
  107. pinctrl-single,pins = <
  108. 0x0dc MUX_M1 /* UART3_CTS_N */
  109. 0x0e0 MUX_M1 /* UART3_RTS_N */
  110. 0x0e4 MUX_M1 /* UART3_RXD */
  111. 0x0e8 MUX_M1 /* UART3_TXD */
  112. >;
  113. };
  114. uart4_pmx_func: uart4_pmx_func {
  115. pinctrl-single,pins = <
  116. 0x0ec MUX_M1 /* UART4_CTS_N */
  117. 0x0f0 MUX_M1 /* UART4_RTS_N */
  118. 0x0f4 MUX_M1 /* UART4_RXD */
  119. 0x0f8 MUX_M1 /* UART4_TXD */
  120. >;
  121. };
  122. uart5_pmx_func: uart5_pmx_func {
  123. pinctrl-single,pins = <
  124. 0x0c4 MUX_M3 /* UART5_CTS_N */
  125. 0x0c8 MUX_M3 /* UART5_RTS_N */
  126. 0x0bc MUX_M3 /* UART5_RXD */
  127. 0x0c0 MUX_M3 /* UART5_TXD */
  128. >;
  129. };
  130. uart6_pmx_func: uart6_pmx_func {
  131. pinctrl-single,pins = <
  132. 0x0cc MUX_M1 /* UART6_CTS_N */
  133. 0x0d0 MUX_M1 /* UART6_RTS_N */
  134. 0x0d4 MUX_M1 /* UART6_RXD */
  135. 0x0d8 MUX_M1 /* UART6_TXD */
  136. >;
  137. };
  138. cam0_rst_pmx_func: cam0_rst_pmx_func {
  139. pinctrl-single,pins = <
  140. 0x0c8 MUX_M0 /* CAM0_RST */
  141. >;
  142. };
  143. cam1_rst_pmx_func: cam1_rst_pmx_func {
  144. pinctrl-single,pins = <
  145. 0x124 MUX_M0 /* CAM1_RST */
  146. >;
  147. };
  148. };
  149. /* [IOMG_MMC0_000, IOMG_MMC0_005] */
  150. pmx1: pinmux@ff37e000 {
  151. compatible = "pinctrl-single";
  152. reg = <0x0 0xff37e000 0x0 0x18>;
  153. #gpio-range-cells = <0x3>;
  154. #pinctrl-cells = <1>;
  155. pinctrl-single,register-width = <0x20>;
  156. pinctrl-single,function-mask = <0x7>;
  157. /* pin base, nr pins & gpio function */
  158. pinctrl-single,gpio-range = <&range 0 6 0>;
  159. sd_pmx_func: sd_pmx_func {
  160. pinctrl-single,pins = <
  161. 0x000 MUX_M1 /* SD_CLK */
  162. 0x004 MUX_M1 /* SD_CMD */
  163. 0x008 MUX_M1 /* SD_DATA0 */
  164. 0x00c MUX_M1 /* SD_DATA1 */
  165. 0x010 MUX_M1 /* SD_DATA2 */
  166. 0x014 MUX_M1 /* SD_DATA3 */
  167. >;
  168. };
  169. };
  170. /* [IOMG_FIX_000, IOMG_FIX_011] */
  171. pmx2: pinmux@ff3b6000 {
  172. compatible = "pinctrl-single";
  173. reg = <0x0 0xff3b6000 0x0 0x30>;
  174. #pinctrl-cells = <1>;
  175. #gpio-range-cells = <0x3>;
  176. pinctrl-single,register-width = <0x20>;
  177. pinctrl-single,function-mask = <0x7>;
  178. /* pin base, nr pins & gpio function */
  179. pinctrl-single,gpio-range = <&range 0 12 0>;
  180. ufs_pmx_func: ufs_pmx_func {
  181. pinctrl-single,pins = <
  182. 0x000 MUX_M1 /* UFS_REF_CLK */
  183. 0x004 MUX_M1 /* UFS_RST_N */
  184. >;
  185. };
  186. spi3_pmx_func: spi3_pmx_func {
  187. pinctrl-single,pins = <
  188. 0x008 MUX_M1 /* SPI3_CLK */
  189. 0x00c MUX_M1 /* SPI3_DI */
  190. 0x010 MUX_M1 /* SPI3_DO */
  191. 0x014 MUX_M1 /* SPI3_CS0_N */
  192. >;
  193. };
  194. };
  195. /* [IOMG_MMC1_000, IOMG_MMC1_005] */
  196. pmx3: pinmux@ff3fd000 {
  197. compatible = "pinctrl-single";
  198. reg = <0x0 0xff3fd000 0x0 0x18>;
  199. #pinctrl-cells = <1>;
  200. #gpio-range-cells = <0x3>;
  201. pinctrl-single,register-width = <0x20>;
  202. pinctrl-single,function-mask = <0x7>;
  203. /* pin base, nr pins & gpio function */
  204. pinctrl-single,gpio-range = <&range 0 6 0>;
  205. sdio_pmx_func: sdio_pmx_func {
  206. pinctrl-single,pins = <
  207. 0x000 MUX_M1 /* SDIO_CLK */
  208. 0x004 MUX_M1 /* SDIO_CMD */
  209. 0x008 MUX_M1 /* SDIO_DATA0 */
  210. 0x00c MUX_M1 /* SDIO_DATA1 */
  211. 0x010 MUX_M1 /* SDIO_DATA2 */
  212. 0x014 MUX_M1 /* SDIO_DATA3 */
  213. >;
  214. };
  215. };
  216. /* [IOMG_AO_000, IOMG_AO_041] */
  217. pmx4: pinmux@fff11000 {
  218. compatible = "pinctrl-single";
  219. reg = <0x0 0xfff11000 0x0 0xa8>;
  220. #pinctrl-cells = <1>;
  221. #gpio-range-cells = <0x3>;
  222. pinctrl-single,register-width = <0x20>;
  223. pinctrl-single,function-mask = <0x7>;
  224. /* pin base in node, nr pins & gpio function */
  225. pinctrl-single,gpio-range = <&range 0 42 0>;
  226. i2s2_pmx_func: i2s2_pmx_func {
  227. pinctrl-single,pins = <
  228. 0x044 MUX_M1 /* I2S2_DI */
  229. 0x048 MUX_M1 /* I2S2_DO */
  230. 0x04c MUX_M1 /* I2S2_XCLK */
  231. 0x050 MUX_M1 /* I2S2_XFS */
  232. >;
  233. };
  234. slimbus_pmx_func: slimbus_pmx_func {
  235. pinctrl-single,pins = <
  236. 0x02c MUX_M1 /* SLIMBUS_CLK */
  237. 0x030 MUX_M1 /* SLIMBUS_DATA */
  238. >;
  239. };
  240. i2c0_pmx_func: i2c0_pmx_func {
  241. pinctrl-single,pins = <
  242. 0x014 MUX_M1 /* I2C0_SCL */
  243. 0x018 MUX_M1 /* I2C0_SDA */
  244. >;
  245. };
  246. i2c1_pmx_func: i2c1_pmx_func {
  247. pinctrl-single,pins = <
  248. 0x01c MUX_M1 /* I2C1_SCL */
  249. 0x020 MUX_M1 /* I2C1_SDA */
  250. >;
  251. };
  252. i2c7_pmx_func: i2c7_pmx_func {
  253. pinctrl-single,pins = <
  254. 0x024 MUX_M3 /* I2C7_SCL */
  255. 0x028 MUX_M3 /* I2C7_SDA */
  256. >;
  257. };
  258. pcie_pmx_func: pcie_pmx_func {
  259. pinctrl-single,pins = <
  260. 0x084 MUX_M1 /* PCIE_CLKREQ_N */
  261. 0x088 MUX_M1 /* PCIE_WAKE_N */
  262. >;
  263. };
  264. spi2_pmx_func: spi2_pmx_func {
  265. pinctrl-single,pins = <
  266. 0x08c MUX_M1 /* SPI2_CLK */
  267. 0x090 MUX_M1 /* SPI2_DI */
  268. 0x094 MUX_M1 /* SPI2_DO */
  269. 0x098 MUX_M1 /* SPI2_CS0_N */
  270. >;
  271. };
  272. i2s0_pmx_func: i2s0_pmx_func {
  273. pinctrl-single,pins = <
  274. 0x034 MUX_M1 /* I2S0_DI */
  275. 0x038 MUX_M1 /* I2S0_DO */
  276. 0x03c MUX_M1 /* I2S0_XCLK */
  277. 0x040 MUX_M1 /* I2S0_XFS */
  278. >;
  279. };
  280. };
  281. pmx5: pinmux@e896c800 {
  282. compatible = "pinconf-single";
  283. reg = <0x0 0xe896c800 0x0 0x200>;
  284. #pinctrl-cells = <1>;
  285. pinctrl-single,register-width = <0x20>;
  286. pmu_cfg_func: pmu_cfg_func {
  287. pinctrl-single,pins = <
  288. 0x010 0x0 /* PMU1_SSI */
  289. 0x014 0x0 /* PMU2_SSI */
  290. 0x018 0x0 /* PMU_CLKOUT */
  291. 0x10c 0x0 /* PMU_HKADC_SSI */
  292. >;
  293. pinctrl-single,bias-pulldown = <
  294. PULL_DIS
  295. PULL_DOWN
  296. PULL_DIS
  297. PULL_DOWN
  298. >;
  299. pinctrl-single,bias-pullup = <
  300. PULL_DIS
  301. PULL_UP
  302. PULL_DIS
  303. PULL_UP
  304. >;
  305. pinctrl-single,drive-strength = <
  306. DRIVE7_06MA DRIVE6_MASK
  307. >;
  308. };
  309. i2c3_cfg_func: i2c3_cfg_func {
  310. pinctrl-single,pins = <
  311. 0x038 0x0 /* I2C3_SCL */
  312. 0x03c 0x0 /* I2C3_SDA */
  313. >;
  314. pinctrl-single,bias-pulldown = <
  315. PULL_DIS
  316. PULL_DOWN
  317. PULL_DIS
  318. PULL_DOWN
  319. >;
  320. pinctrl-single,bias-pullup = <
  321. PULL_DIS
  322. PULL_UP
  323. PULL_DIS
  324. PULL_UP
  325. >;
  326. pinctrl-single,drive-strength = <
  327. DRIVE7_02MA DRIVE6_MASK
  328. >;
  329. };
  330. csi0_pwd_n_cfg_func: csi0_pwd_n_cfg_func {
  331. pinctrl-single,pins = <
  332. 0x050 0x0 /* CSI0_PWD_N */
  333. >;
  334. pinctrl-single,bias-pulldown = <
  335. PULL_DIS
  336. PULL_DOWN
  337. PULL_DIS
  338. PULL_DOWN
  339. >;
  340. pinctrl-single,bias-pullup = <
  341. PULL_DIS
  342. PULL_UP
  343. PULL_DIS
  344. PULL_UP
  345. >;
  346. pinctrl-single,drive-strength = <
  347. DRIVE7_04MA DRIVE6_MASK
  348. >;
  349. };
  350. csi1_pwd_n_cfg_func: csi1_pwd_n_cfg_func {
  351. pinctrl-single,pins = <
  352. 0x058 0x0 /* CSI1_PWD_N */
  353. >;
  354. pinctrl-single,bias-pulldown = <
  355. PULL_DIS
  356. PULL_DOWN
  357. PULL_DIS
  358. PULL_DOWN
  359. >;
  360. pinctrl-single,bias-pullup = <
  361. PULL_DIS
  362. PULL_UP
  363. PULL_DIS
  364. PULL_UP
  365. >;
  366. pinctrl-single,drive-strength = <
  367. DRIVE7_04MA DRIVE6_MASK
  368. >;
  369. };
  370. isp0_cfg_func: isp0_cfg_func {
  371. pinctrl-single,pins = <
  372. 0x064 0x0 /* ISP_CLK0 */
  373. 0x070 0x0 /* ISP_SCL0 */
  374. 0x074 0x0 /* ISP_SDA0 */
  375. >;
  376. pinctrl-single,bias-pulldown = <
  377. PULL_DIS
  378. PULL_DOWN
  379. PULL_DIS
  380. PULL_DOWN
  381. >;
  382. pinctrl-single,bias-pullup = <
  383. PULL_DIS
  384. PULL_UP
  385. PULL_DIS
  386. PULL_UP
  387. >;
  388. pinctrl-single,drive-strength = <
  389. DRIVE7_04MA DRIVE6_MASK>;
  390. };
  391. isp1_cfg_func: isp1_cfg_func {
  392. pinctrl-single,pins = <
  393. 0x068 0x0 /* ISP_CLK1 */
  394. 0x078 0x0 /* ISP_SCL1 */
  395. 0x07c 0x0 /* ISP_SDA1 */
  396. >;
  397. pinctrl-single,bias-pulldown = <
  398. PULL_DIS
  399. PULL_DOWN
  400. PULL_DIS
  401. PULL_DOWN
  402. >;
  403. pinctrl-single,bias-pullup = <
  404. PULL_DIS
  405. PULL_UP
  406. PULL_DIS
  407. PULL_UP
  408. >;
  409. pinctrl-single,drive-strength = <
  410. DRIVE7_04MA DRIVE6_MASK
  411. >;
  412. };
  413. pwr_key_cfg_func: pwr_key_cfg_func {
  414. pinctrl-single,pins = <
  415. 0x08c 0x0 /* GPIO_034 */
  416. >;
  417. pinctrl-single,bias-pulldown = <
  418. PULL_DIS
  419. PULL_DOWN
  420. PULL_DIS
  421. PULL_DOWN
  422. >;
  423. pinctrl-single,bias-pullup = <
  424. PULL_DIS
  425. PULL_UP
  426. PULL_DIS
  427. PULL_UP
  428. >;
  429. pinctrl-single,drive-strength = <
  430. DRIVE7_02MA DRIVE6_MASK
  431. >;
  432. };
  433. uart1_cfg_func: uart1_cfg_func {
  434. pinctrl-single,pins = <
  435. 0x0b4 0x0 /* UART1_RXD */
  436. 0x0b8 0x0 /* UART1_TXD */
  437. 0x0bc 0x0 /* UART1_CTS_N */
  438. 0x0c0 0x0 /* UART1_RTS_N */
  439. >;
  440. pinctrl-single,bias-pulldown = <
  441. PULL_DIS
  442. PULL_DOWN
  443. PULL_DIS
  444. PULL_DOWN
  445. >;
  446. pinctrl-single,bias-pullup = <
  447. PULL_DIS
  448. PULL_UP
  449. PULL_DIS
  450. PULL_UP
  451. >;
  452. pinctrl-single,drive-strength = <
  453. DRIVE7_02MA DRIVE6_MASK
  454. >;
  455. };
  456. uart2_cfg_func: uart2_cfg_func {
  457. pinctrl-single,pins = <
  458. 0x0c8 0x0 /* UART2_CTS_N */
  459. 0x0cc 0x0 /* UART2_RTS_N */
  460. 0x0d0 0x0 /* UART2_TXD */
  461. 0x0d4 0x0 /* UART2_RXD */
  462. >;
  463. pinctrl-single,bias-pulldown = <
  464. PULL_DIS
  465. PULL_DOWN
  466. PULL_DIS
  467. PULL_DOWN
  468. >;
  469. pinctrl-single,bias-pullup = <
  470. PULL_DIS
  471. PULL_UP
  472. PULL_DIS
  473. PULL_UP
  474. >;
  475. pinctrl-single,drive-strength = <
  476. DRIVE7_02MA DRIVE6_MASK
  477. >;
  478. };
  479. uart5_cfg_func: uart5_cfg_func {
  480. pinctrl-single,pins = <
  481. 0x0c8 0x0 /* UART5_RXD */
  482. 0x0cc 0x0 /* UART5_TXD */
  483. 0x0d0 0x0 /* UART5_CTS_N */
  484. 0x0d4 0x0 /* UART5_RTS_N */
  485. >;
  486. pinctrl-single,bias-pulldown = <
  487. PULL_DIS
  488. PULL_DOWN
  489. PULL_DIS
  490. PULL_DOWN
  491. >;
  492. pinctrl-single,bias-pullup = <
  493. PULL_DIS
  494. PULL_UP
  495. PULL_DIS
  496. PULL_UP
  497. >;
  498. pinctrl-single,drive-strength = <
  499. DRIVE7_02MA DRIVE6_MASK
  500. >;
  501. };
  502. cam0_rst_cfg_func: cam0_rst_cfg_func {
  503. pinctrl-single,pins = <
  504. 0x0d4 0x0 /* CAM0_RST */
  505. >;
  506. pinctrl-single,bias-pulldown = <
  507. PULL_DIS
  508. PULL_DOWN
  509. PULL_DIS
  510. PULL_DOWN
  511. >;
  512. pinctrl-single,bias-pullup = <
  513. PULL_DIS
  514. PULL_UP
  515. PULL_DIS
  516. PULL_UP
  517. >;
  518. pinctrl-single,drive-strength = <
  519. DRIVE7_04MA DRIVE6_MASK
  520. >;
  521. };
  522. uart0_cfg_func: uart0_cfg_func {
  523. pinctrl-single,pins = <
  524. 0x0d8 0x0 /* UART0_RXD */
  525. 0x0dc 0x0 /* UART0_TXD */
  526. >;
  527. pinctrl-single,bias-pulldown = <
  528. PULL_DIS
  529. PULL_DOWN
  530. PULL_DIS
  531. PULL_DOWN
  532. >;
  533. pinctrl-single,bias-pullup = <
  534. PULL_DIS
  535. PULL_UP
  536. PULL_DIS
  537. PULL_UP
  538. >;
  539. pinctrl-single,drive-strength = <
  540. DRIVE7_02MA DRIVE6_MASK
  541. >;
  542. };
  543. uart6_cfg_func: uart6_cfg_func {
  544. pinctrl-single,pins = <
  545. 0x0d8 0x0 /* UART6_CTS_N */
  546. 0x0dc 0x0 /* UART6_RTS_N */
  547. 0x0e0 0x0 /* UART6_RXD */
  548. 0x0e4 0x0 /* UART6_TXD */
  549. >;
  550. pinctrl-single,bias-pulldown = <
  551. PULL_DIS
  552. PULL_DOWN
  553. PULL_DIS
  554. PULL_DOWN
  555. >;
  556. pinctrl-single,bias-pullup = <
  557. PULL_DIS
  558. PULL_UP
  559. PULL_DIS
  560. PULL_UP
  561. >;
  562. pinctrl-single,drive-strength = <
  563. DRIVE7_02MA DRIVE6_MASK
  564. >;
  565. };
  566. uart3_cfg_func: uart3_cfg_func {
  567. pinctrl-single,pins = <
  568. 0x0e8 0x0 /* UART3_CTS_N */
  569. 0x0ec 0x0 /* UART3_RTS_N */
  570. 0x0f0 0x0 /* UART3_RXD */
  571. 0x0f4 0x0 /* UART3_TXD */
  572. >;
  573. pinctrl-single,bias-pulldown = <
  574. PULL_DIS
  575. PULL_DOWN
  576. PULL_DIS
  577. PULL_DOWN
  578. >;
  579. pinctrl-single,bias-pullup = <
  580. PULL_DIS
  581. PULL_UP
  582. PULL_DIS
  583. PULL_UP
  584. >;
  585. pinctrl-single,drive-strength = <
  586. DRIVE7_02MA DRIVE6_MASK
  587. >;
  588. };
  589. uart4_cfg_func: uart4_cfg_func {
  590. pinctrl-single,pins = <
  591. 0x0f8 0x0 /* UART4_CTS_N */
  592. 0x0fc 0x0 /* UART4_RTS_N */
  593. 0x100 0x0 /* UART4_RXD */
  594. 0x104 0x0 /* UART4_TXD */
  595. >;
  596. pinctrl-single,bias-pulldown = <
  597. PULL_DIS
  598. PULL_DOWN
  599. PULL_DIS
  600. PULL_DOWN
  601. >;
  602. pinctrl-single,bias-pullup = <
  603. PULL_DIS
  604. PULL_UP
  605. PULL_DIS
  606. PULL_UP
  607. >;
  608. pinctrl-single,drive-strength = <
  609. DRIVE7_02MA DRIVE6_MASK
  610. >;
  611. };
  612. cam1_rst_cfg_func: cam1_rst_cfg_func {
  613. pinctrl-single,pins = <
  614. 0x130 0x0 /* CAM1_RST */
  615. >;
  616. pinctrl-single,bias-pulldown = <
  617. PULL_DIS
  618. PULL_DOWN
  619. PULL_DIS
  620. PULL_DOWN
  621. >;
  622. pinctrl-single,bias-pullup = <
  623. PULL_DIS
  624. PULL_UP
  625. PULL_DIS
  626. PULL_UP
  627. >;
  628. pinctrl-single,drive-strength = <
  629. DRIVE7_04MA DRIVE6_MASK
  630. >;
  631. };
  632. };
  633. pmx6: pinmux@ff3b6800 {
  634. compatible = "pinconf-single";
  635. reg = <0x0 0xff3b6800 0x0 0x18>;
  636. #pinctrl-cells = <1>;
  637. pinctrl-single,register-width = <0x20>;
  638. ufs_cfg_func: ufs_cfg_func {
  639. pinctrl-single,pins = <
  640. 0x000 0x0 /* UFS_REF_CLK */
  641. 0x004 0x0 /* UFS_RST_N */
  642. >;
  643. pinctrl-single,bias-pulldown = <
  644. PULL_DIS
  645. PULL_DOWN
  646. PULL_DIS
  647. PULL_DOWN
  648. >;
  649. pinctrl-single,bias-pullup = <
  650. PULL_DIS
  651. PULL_UP
  652. PULL_DIS
  653. PULL_UP
  654. >;
  655. pinctrl-single,drive-strength = <
  656. DRIVE7_08MA DRIVE6_MASK
  657. >;
  658. };
  659. spi3_cfg_func: spi3_cfg_func {
  660. pinctrl-single,pins = <
  661. 0x008 0x0 /* SPI3_CLK */
  662. 0x0 /* SPI3_DI */
  663. 0x010 0x0 /* SPI3_DO */
  664. 0x014 0x0 /* SPI3_CS0_N */
  665. >;
  666. pinctrl-single,bias-pulldown = <
  667. PULL_DIS
  668. PULL_DOWN
  669. PULL_DIS
  670. PULL_DOWN
  671. >;
  672. pinctrl-single,bias-pullup = <
  673. PULL_DIS
  674. PULL_UP
  675. PULL_DIS
  676. PULL_UP
  677. >;
  678. pinctrl-single,drive-strength = <
  679. DRIVE7_02MA DRIVE6_MASK
  680. >;
  681. };
  682. };
  683. pmx7: pinmux@ff3fd800 {
  684. compatible = "pinconf-single";
  685. reg = <0x0 0xff3fd800 0x0 0x18>;
  686. #pinctrl-cells = <1>;
  687. pinctrl-single,register-width = <0x20>;
  688. sdio_clk_cfg_func: sdio_clk_cfg_func {
  689. pinctrl-single,pins = <
  690. 0x000 0x0 /* SDIO_CLK */
  691. >;
  692. pinctrl-single,bias-pulldown = <
  693. PULL_DIS
  694. PULL_DOWN
  695. PULL_DIS
  696. PULL_DOWN
  697. >;
  698. pinctrl-single,bias-pullup = <
  699. PULL_DIS
  700. PULL_UP
  701. PULL_DIS
  702. PULL_UP
  703. >;
  704. pinctrl-single,drive-strength = <
  705. DRIVE6_32MA DRIVE6_MASK
  706. >;
  707. };
  708. sdio_cfg_func: sdio_cfg_func {
  709. pinctrl-single,pins = <
  710. 0x004 0x0 /* SDIO_CMD */
  711. 0x008 0x0 /* SDIO_DATA0 */
  712. 0x00c 0x0 /* SDIO_DATA1 */
  713. 0x010 0x0 /* SDIO_DATA2 */
  714. 0x014 0x0 /* SDIO_DATA3 */
  715. >;
  716. pinctrl-single,bias-pulldown = <
  717. PULL_DIS
  718. PULL_DOWN
  719. PULL_DIS
  720. PULL_DOWN
  721. >;
  722. pinctrl-single,bias-pullup = <
  723. PULL_UP
  724. PULL_UP
  725. PULL_DIS
  726. PULL_UP
  727. >;
  728. pinctrl-single,drive-strength = <
  729. DRIVE6_19MA DRIVE6_MASK
  730. >;
  731. };
  732. };
  733. pmx8: pinmux@ff37e800 {
  734. compatible = "pinconf-single";
  735. reg = <0x0 0xff37e800 0x0 0x18>;
  736. #pinctrl-cells = <1>;
  737. pinctrl-single,register-width = <0x20>;
  738. sd_clk_cfg_func: sd_clk_cfg_func {
  739. pinctrl-single,pins = <
  740. 0x000 0x0 /* SD_CLK */
  741. >;
  742. pinctrl-single,bias-pulldown = <
  743. PULL_DIS
  744. PULL_DOWN
  745. PULL_DIS
  746. PULL_DOWN
  747. >;
  748. pinctrl-single,bias-pullup = <
  749. PULL_DIS
  750. PULL_UP
  751. PULL_DIS
  752. PULL_UP
  753. >;
  754. pinctrl-single,drive-strength = <
  755. DRIVE6_32MA
  756. DRIVE6_MASK
  757. >;
  758. };
  759. sd_cfg_func: sd_cfg_func {
  760. pinctrl-single,pins = <
  761. 0x004 0x0 /* SD_CMD */
  762. 0x008 0x0 /* SD_DATA0 */
  763. 0x00c 0x0 /* SD_DATA1 */
  764. 0x010 0x0 /* SD_DATA2 */
  765. 0x014 0x0 /* SD_DATA3 */
  766. >;
  767. pinctrl-single,bias-pulldown = <
  768. PULL_DIS
  769. PULL_DOWN
  770. PULL_DIS
  771. PULL_DOWN
  772. >;
  773. pinctrl-single,bias-pullup = <
  774. PULL_UP
  775. PULL_UP
  776. PULL_DIS
  777. PULL_UP
  778. >;
  779. pinctrl-single,drive-strength = <
  780. DRIVE6_19MA
  781. DRIVE6_MASK
  782. >;
  783. };
  784. };
  785. pmx9: pinmux@fff11800 {
  786. compatible = "pinconf-single";
  787. reg = <0x0 0xfff11800 0x0 0xbc>;
  788. #pinctrl-cells = <1>;
  789. pinctrl-single,register-width = <0x20>;
  790. i2c0_cfg_func: i2c0_cfg_func {
  791. pinctrl-single,pins = <
  792. 0x01c 0x0 /* I2C0_SCL */
  793. 0x020 0x0 /* I2C0_SDA */
  794. >;
  795. pinctrl-single,bias-pulldown = <
  796. PULL_DIS
  797. PULL_DOWN
  798. PULL_DIS
  799. PULL_DOWN
  800. >;
  801. pinctrl-single,bias-pullup = <
  802. PULL_UP
  803. PULL_UP
  804. PULL_DIS
  805. PULL_UP
  806. >;
  807. pinctrl-single,drive-strength = <
  808. DRIVE7_02MA DRIVE6_MASK
  809. >;
  810. };
  811. i2c1_cfg_func: i2c1_cfg_func {
  812. pinctrl-single,pins = <
  813. 0x024 0x0 /* I2C1_SCL */
  814. 0x028 0x0 /* I2C1_SDA */
  815. >;
  816. pinctrl-single,bias-pulldown = <
  817. PULL_DIS
  818. PULL_DOWN
  819. PULL_DIS
  820. PULL_DOWN
  821. >;
  822. pinctrl-single,bias-pullup = <
  823. PULL_UP
  824. PULL_UP
  825. PULL_DIS
  826. PULL_UP
  827. >;
  828. pinctrl-single,drive-strength = <
  829. DRIVE7_02MA DRIVE6_MASK
  830. >;
  831. };
  832. i2c7_cfg_func: i2c7_cfg_func {
  833. pinctrl-single,pins = <
  834. 0x02c 0x0 /* I2C7_SCL */
  835. 0x030 0x0 /* I2C7_SDA */
  836. >;
  837. pinctrl-single,bias-pulldown = <
  838. PULL_DIS
  839. PULL_DOWN
  840. PULL_DIS
  841. PULL_DOWN
  842. >;
  843. pinctrl-single,bias-pullup = <
  844. PULL_UP
  845. PULL_UP
  846. PULL_DIS
  847. PULL_UP
  848. >;
  849. pinctrl-single,drive-strength = <
  850. DRIVE7_02MA DRIVE6_MASK
  851. >;
  852. };
  853. slimbus_cfg_func: slimbus_cfg_func {
  854. pinctrl-single,pins = <
  855. 0x034 0x0 /* SLIMBUS_CLK */
  856. 0x038 0x0 /* SLIMBUS_DATA */
  857. >;
  858. pinctrl-single,bias-pulldown = <
  859. PULL_DIS
  860. PULL_DOWN
  861. PULL_DIS
  862. PULL_DOWN
  863. >;
  864. pinctrl-single,bias-pullup = <
  865. PULL_UP
  866. PULL_UP
  867. PULL_DIS
  868. PULL_UP
  869. >;
  870. pinctrl-single,drive-strength = <
  871. DRIVE7_02MA DRIVE6_MASK
  872. >;
  873. };
  874. i2s0_cfg_func: i2s0_cfg_func {
  875. pinctrl-single,pins = <
  876. 0x040 0x0 /* I2S0_DI */
  877. 0x044 0x0 /* I2S0_DO */
  878. 0x048 0x0 /* I2S0_XCLK */
  879. 0x04c 0x0 /* I2S0_XFS */
  880. >;
  881. pinctrl-single,bias-pulldown = <
  882. PULL_DIS
  883. PULL_DOWN
  884. PULL_DIS
  885. PULL_DOWN
  886. >;
  887. pinctrl-single,bias-pullup = <
  888. PULL_UP
  889. PULL_UP
  890. PULL_DIS
  891. PULL_UP
  892. >;
  893. pinctrl-single,drive-strength = <
  894. DRIVE7_02MA DRIVE6_MASK
  895. >;
  896. };
  897. i2s2_cfg_func: i2s2_cfg_func {
  898. pinctrl-single,pins = <
  899. 0x050 0x0 /* I2S2_DI */
  900. 0x054 0x0 /* I2S2_DO */
  901. 0x058 0x0 /* I2S2_XCLK */
  902. 0x05c 0x0 /* I2S2_XFS */
  903. >;
  904. pinctrl-single,bias-pulldown = <
  905. PULL_DIS
  906. PULL_DOWN
  907. PULL_DIS
  908. PULL_DOWN
  909. >;
  910. pinctrl-single,bias-pullup = <
  911. PULL_UP
  912. PULL_UP
  913. PULL_DIS
  914. PULL_UP
  915. >;
  916. pinctrl-single,drive-strength = <
  917. DRIVE7_02MA DRIVE6_MASK
  918. >;
  919. };
  920. pcie_cfg_func: pcie_cfg_func {
  921. pinctrl-single,pins = <
  922. 0x094 0x0 /* PCIE_CLKREQ_N */
  923. 0x098 0x0 /* PCIE_WAKE_N */
  924. >;
  925. pinctrl-single,bias-pulldown = <
  926. PULL_DIS
  927. PULL_DOWN
  928. PULL_DIS
  929. PULL_DOWN
  930. >;
  931. pinctrl-single,bias-pullup = <
  932. PULL_UP
  933. PULL_UP
  934. PULL_DIS
  935. PULL_UP
  936. >;
  937. pinctrl-single,drive-strength = <
  938. DRIVE7_02MA DRIVE6_MASK
  939. >;
  940. };
  941. spi2_cfg_func: spi2_cfg_func {
  942. pinctrl-single,pins = <
  943. 0x09c 0x0 /* SPI2_CLK */
  944. 0x0a0 0x0 /* SPI2_DI */
  945. 0x0a4 0x0 /* SPI2_DO */
  946. 0x0a8 0x0 /* SPI2_CS0_N */
  947. >;
  948. pinctrl-single,bias-pulldown = <
  949. PULL_DIS
  950. PULL_DOWN
  951. PULL_DIS
  952. PULL_DOWN
  953. >;
  954. pinctrl-single,bias-pullup = <
  955. PULL_UP
  956. PULL_UP
  957. PULL_DIS
  958. PULL_UP
  959. >;
  960. pinctrl-single,drive-strength = <
  961. DRIVE7_02MA DRIVE6_MASK
  962. >;
  963. };
  964. usb_cfg_func: usb_cfg_func {
  965. pinctrl-single,pins = <
  966. 0x0ac 0x0 /* GPIO_219 */
  967. >;
  968. pinctrl-single,bias-pulldown = <
  969. PULL_DIS
  970. PULL_DOWN
  971. PULL_DIS
  972. PULL_DOWN
  973. >;
  974. pinctrl-single,bias-pullup = <
  975. PULL_UP
  976. PULL_UP
  977. PULL_DIS
  978. PULL_UP
  979. >;
  980. pinctrl-single,drive-strength = <
  981. DRIVE7_02MA DRIVE6_MASK
  982. >;
  983. };
  984. };
  985. };
  986. };