hikey-pinctrl.dtsi 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * pinctrl dts fils for Hislicon HiKey development board
  4. *
  5. */
  6. #include <dt-bindings/pinctrl/hisi.h>
  7. / {
  8. soc {
  9. pmx0: pinmux@f7010000 {
  10. pinctrl-names = "default";
  11. pinctrl-0 = <
  12. &boot_sel_pmx_func
  13. &hkadc_ssi_pmx_func
  14. &codec_clk_pmx_func
  15. &pwm_in_pmx_func
  16. &bl_pwm_pmx_func
  17. >;
  18. boot_sel_pmx_func: boot_sel_pmx_func {
  19. pinctrl-single,pins = <
  20. 0x0 MUX_M0 /* BOOT_SEL (IOMG000) */
  21. >;
  22. };
  23. emmc_pmx_func: emmc_pmx_func {
  24. pinctrl-single,pins = <
  25. 0x100 MUX_M0 /* EMMC_CLK (IOMG064) */
  26. 0x104 MUX_M0 /* EMMC_CMD (IOMG065) */
  27. 0x108 MUX_M0 /* EMMC_DATA0 (IOMG066) */
  28. 0x10c MUX_M0 /* EMMC_DATA1 (IOMG067) */
  29. 0x110 MUX_M0 /* EMMC_DATA2 (IOMG068) */
  30. 0x114 MUX_M0 /* EMMC_DATA3 (IOMG069) */
  31. 0x118 MUX_M0 /* EMMC_DATA4 (IOMG070) */
  32. 0x11c MUX_M0 /* EMMC_DATA5 (IOMG071) */
  33. 0x120 MUX_M0 /* EMMC_DATA6 (IOMG072) */
  34. 0x124 MUX_M0 /* EMMC_DATA7 (IOMG073) */
  35. >;
  36. };
  37. sd_pmx_func: sd_pmx_func {
  38. pinctrl-single,pins = <
  39. 0xc MUX_M0 /* SD_CLK (IOMG003) */
  40. 0x10 MUX_M0 /* SD_CMD (IOMG004) */
  41. 0x14 MUX_M0 /* SD_DATA0 (IOMG005) */
  42. 0x18 MUX_M0 /* SD_DATA1 (IOMG006) */
  43. 0x1c MUX_M0 /* SD_DATA2 (IOMG007) */
  44. 0x20 MUX_M0 /* SD_DATA3 (IOMG008) */
  45. >;
  46. };
  47. sd_pmx_idle: sd_pmx_idle {
  48. pinctrl-single,pins = <
  49. 0xc MUX_M1 /* SD_CLK (IOMG003) */
  50. 0x10 MUX_M1 /* SD_CMD (IOMG004) */
  51. 0x14 MUX_M1 /* SD_DATA0 (IOMG005) */
  52. 0x18 MUX_M1 /* SD_DATA1 (IOMG006) */
  53. 0x1c MUX_M1 /* SD_DATA2 (IOMG007) */
  54. 0x20 MUX_M1 /* SD_DATA3 (IOMG008) */
  55. >;
  56. };
  57. sdio_pmx_func: sdio_pmx_func {
  58. pinctrl-single,pins = <
  59. 0x128 MUX_M0 /* SDIO_CLK (IOMG074) */
  60. 0x12c MUX_M0 /* SDIO_CMD (IOMG075) */
  61. 0x130 MUX_M0 /* SDIO_DATA0 (IOMG076) */
  62. 0x134 MUX_M0 /* SDIO_DATA1 (IOMG077) */
  63. 0x138 MUX_M0 /* SDIO_DATA2 (IOMG078) */
  64. 0x13c MUX_M0 /* SDIO_DATA3 (IOMG079) */
  65. >;
  66. };
  67. sdio_pmx_idle: sdio_pmx_idle {
  68. pinctrl-single,pins = <
  69. 0x128 MUX_M1 /* SDIO_CLK (IOMG074) */
  70. 0x12c MUX_M1 /* SDIO_CMD (IOMG075) */
  71. 0x130 MUX_M1 /* SDIO_DATA0 (IOMG076) */
  72. 0x134 MUX_M1 /* SDIO_DATA1 (IOMG077) */
  73. 0x138 MUX_M1 /* SDIO_DATA2 (IOMG078) */
  74. 0x13c MUX_M1 /* SDIO_DATA3 (IOMG079) */
  75. >;
  76. };
  77. isp_pmx_func: isp_pmx_func {
  78. pinctrl-single,pins = <
  79. 0x24 MUX_M0 /* ISP_PWDN0 (IOMG009) */
  80. 0x28 MUX_M0 /* ISP_PWDN1 (IOMG010) */
  81. 0x2c MUX_M0 /* ISP_PWDN2 (IOMG011) */
  82. 0x30 MUX_M1 /* ISP_SHUTTER0 (IOMG012) */
  83. 0x34 MUX_M1 /* ISP_SHUTTER1 (IOMG013) */
  84. 0x38 MUX_M1 /* ISP_PWM (IOMG014) */
  85. 0x3c MUX_M0 /* ISP_CCLK0 (IOMG015) */
  86. 0x40 MUX_M0 /* ISP_CCLK1 (IOMG016) */
  87. 0x44 MUX_M0 /* ISP_RESETB0 (IOMG017) */
  88. 0x48 MUX_M0 /* ISP_RESETB1 (IOMG018) */
  89. 0x4c MUX_M1 /* ISP_STROBE0 (IOMG019) */
  90. 0x50 MUX_M1 /* ISP_STROBE1 (IOMG020) */
  91. 0x54 MUX_M0 /* ISP_SDA0 (IOMG021) */
  92. 0x58 MUX_M0 /* ISP_SCL0 (IOMG022) */
  93. 0x5c MUX_M0 /* ISP_SDA1 (IOMG023) */
  94. 0x60 MUX_M0 /* ISP_SCL1 (IOMG024) */
  95. >;
  96. };
  97. hkadc_ssi_pmx_func: hkadc_ssi_pmx_func {
  98. pinctrl-single,pins = <
  99. 0x68 MUX_M0 /* HKADC_SSI (IOMG026) */
  100. >;
  101. };
  102. codec_clk_pmx_func: codec_clk_pmx_func {
  103. pinctrl-single,pins = <
  104. 0x6c MUX_M0 /* CODEC_CLK (IOMG027) */
  105. >;
  106. };
  107. codec_pmx_func: codec_pmx_func {
  108. pinctrl-single,pins = <
  109. 0x70 MUX_M1 /* DMIC_CLK (IOMG028) */
  110. 0x74 MUX_M0 /* CODEC_SYNC (IOMG029) */
  111. 0x78 MUX_M0 /* CODEC_DI (IOMG030) */
  112. 0x7c MUX_M0 /* CODEC_DO (IOMG031) */
  113. >;
  114. };
  115. fm_pmx_func: fm_pmx_func {
  116. pinctrl-single,pins = <
  117. 0x80 MUX_M1 /* FM_XCLK (IOMG032) */
  118. 0x84 MUX_M1 /* FM_XFS (IOMG033) */
  119. 0x88 MUX_M1 /* FM_DI (IOMG034) */
  120. 0x8c MUX_M1 /* FM_DO (IOMG035) */
  121. >;
  122. };
  123. bt_pmx_func: bt_pmx_func {
  124. pinctrl-single,pins = <
  125. 0x90 MUX_M0 /* BT_XCLK (IOMG036) */
  126. 0x94 MUX_M0 /* BT_XFS (IOMG037) */
  127. 0x98 MUX_M0 /* BT_DI (IOMG038) */
  128. 0x9c MUX_M0 /* BT_DO (IOMG039) */
  129. >;
  130. };
  131. pwm_in_pmx_func: pwm_in_pmx_func {
  132. pinctrl-single,pins = <
  133. 0xb8 MUX_M1 /* PWM_IN (IOMG046) */
  134. >;
  135. };
  136. bl_pwm_pmx_func: bl_pwm_pmx_func {
  137. pinctrl-single,pins = <
  138. 0xbc MUX_M1 /* BL_PWM (IOMG047) */
  139. >;
  140. };
  141. uart0_pmx_func: uart0_pmx_func {
  142. pinctrl-single,pins = <
  143. 0xc0 MUX_M0 /* UART0_RXD (IOMG048) */
  144. 0xc4 MUX_M0 /* UART0_TXD (IOMG049) */
  145. >;
  146. };
  147. uart1_pmx_func: uart1_pmx_func {
  148. pinctrl-single,pins = <
  149. 0xc8 MUX_M0 /* UART1_CTS_N (IOMG050) */
  150. 0xcc MUX_M0 /* UART1_RTS_N (IOMG051) */
  151. 0xd0 MUX_M0 /* UART1_RXD (IOMG052) */
  152. 0xd4 MUX_M0 /* UART1_TXD (IOMG053) */
  153. >;
  154. };
  155. uart2_pmx_func: uart2_pmx_func {
  156. pinctrl-single,pins = <
  157. 0xd8 MUX_M0 /* UART2_CTS_N (IOMG054) */
  158. 0xdc MUX_M0 /* UART2_RTS_N (IOMG055) */
  159. 0xe0 MUX_M0 /* UART2_RXD (IOMG056) */
  160. 0xe4 MUX_M0 /* UART2_TXD (IOMG057) */
  161. >;
  162. };
  163. uart3_pmx_func: uart3_pmx_func {
  164. pinctrl-single,pins = <
  165. 0x180 MUX_M1 /* UART3_CTS_N (IOMG096) */
  166. 0x184 MUX_M1 /* UART3_RTS_N (IOMG097) */
  167. 0x188 MUX_M1 /* UART3_RXD (IOMG098) */
  168. 0x18c MUX_M1 /* UART3_TXD (IOMG099) */
  169. >;
  170. };
  171. uart4_pmx_func: uart4_pmx_func {
  172. pinctrl-single,pins = <
  173. 0x1d0 MUX_M1 /* UART4_CTS_N (IOMG116) */
  174. 0x1d4 MUX_M1 /* UART4_RTS_N (IOMG117) */
  175. 0x1d8 MUX_M1 /* UART4_RXD (IOMG118) */
  176. 0x1dc MUX_M1 /* UART4_TXD (IOMG119) */
  177. >;
  178. };
  179. uart5_pmx_func: uart5_pmx_func {
  180. pinctrl-single,pins = <
  181. 0x1c8 MUX_M1 /* UART5_RXD (IOMG114) */
  182. 0x1cc MUX_M1 /* UART5_TXD (IOMG115) */
  183. >;
  184. };
  185. i2c0_pmx_func: i2c0_pmx_func {
  186. pinctrl-single,pins = <
  187. 0xe8 MUX_M0 /* I2C0_SCL (IOMG058) */
  188. 0xec MUX_M0 /* I2C0_SDA (IOMG059) */
  189. >;
  190. };
  191. i2c1_pmx_func: i2c1_pmx_func {
  192. pinctrl-single,pins = <
  193. 0xf0 MUX_M0 /* I2C1_SCL (IOMG060) */
  194. 0xf4 MUX_M0 /* I2C1_SDA (IOMG061) */
  195. >;
  196. };
  197. i2c2_pmx_func: i2c2_pmx_func {
  198. pinctrl-single,pins = <
  199. 0xf8 MUX_M0 /* I2C2_SCL (IOMG062) */
  200. 0xfc MUX_M0 /* I2C2_SDA (IOMG063) */
  201. >;
  202. };
  203. spi0_pmx_func: spi0_pmx_func {
  204. pinctrl-single,pins = <
  205. 0x1a0 MUX_M1 /* SPI0_DI (IOMG104) */
  206. 0x1a4 MUX_M1 /* SPI0_DO (IOMG105) */
  207. 0x1a8 MUX_M1 /* SPI0_CS_N (IOMG106) */
  208. 0x1ac MUX_M1 /* SPI0_CLK (IOMG107) */
  209. >;
  210. };
  211. };
  212. pmx1: pinmux@f7010800 {
  213. pinctrl-names = "default";
  214. pinctrl-0 = <
  215. &boot_sel_cfg_func
  216. &hkadc_ssi_cfg_func
  217. &codec_clk_cfg_func
  218. &pwm_in_cfg_func
  219. &bl_pwm_cfg_func
  220. >;
  221. boot_sel_cfg_func: boot_sel_cfg_func {
  222. pinctrl-single,pins = <
  223. 0x0 0x0 /* BOOT_SEL (IOCFG000) */
  224. >;
  225. pinctrl-single,bias-pulldown = <PULL_DIS PULL_DOWN PULL_DIS PULL_DOWN>;
  226. pinctrl-single,bias-pullup = <PULL_UP PULL_UP PULL_DIS PULL_UP>;
  227. pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
  228. };
  229. hkadc_ssi_cfg_func: hkadc_ssi_cfg_func {
  230. pinctrl-single,pins = <
  231. 0x6c 0x0 /* HKADC_SSI (IOCFG027) */
  232. >;
  233. pinctrl-single,bias-pulldown = <PULL_DIS PULL_DOWN PULL_DIS PULL_DOWN>;
  234. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  235. pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
  236. };
  237. emmc_clk_cfg_func: emmc_clk_cfg_func {
  238. pinctrl-single,pins = <
  239. 0x104 0x0 /* EMMC_CLK (IOCFG065) */
  240. >;
  241. pinctrl-single,bias-pulldown = <PULL_DIS PULL_DOWN PULL_DIS PULL_DOWN>;
  242. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  243. pinctrl-single,drive-strength = <DRIVE1_08MA DRIVE_MASK>;
  244. };
  245. emmc_cfg_func: emmc_cfg_func {
  246. pinctrl-single,pins = <
  247. 0x108 0x0 /* EMMC_CMD (IOCFG066) */
  248. 0x10c 0x0 /* EMMC_DATA0 (IOCFG067) */
  249. 0x110 0x0 /* EMMC_DATA1 (IOCFG068) */
  250. 0x114 0x0 /* EMMC_DATA2 (IOCFG069) */
  251. 0x118 0x0 /* EMMC_DATA3 (IOCFG070) */
  252. 0x11c 0x0 /* EMMC_DATA4 (IOCFG071) */
  253. 0x120 0x0 /* EMMC_DATA5 (IOCFG072) */
  254. 0x124 0x0 /* EMMC_DATA6 (IOCFG073) */
  255. 0x128 0x0 /* EMMC_DATA7 (IOCFG074) */
  256. >;
  257. pinctrl-single,bias-pulldown = <PULL_DIS PULL_DOWN PULL_DIS PULL_DOWN>;
  258. pinctrl-single,bias-pullup = <PULL_UP PULL_UP PULL_DIS PULL_UP>;
  259. pinctrl-single,drive-strength = <DRIVE1_04MA DRIVE_MASK>;
  260. };
  261. emmc_rst_cfg_func: emmc_rst_cfg_func {
  262. pinctrl-single,pins = <
  263. 0x12c 0x0 /* EMMC_RST_N (IOCFG075) */
  264. >;
  265. pinctrl-single,bias-pulldown = <PULL_DIS PULL_DOWN PULL_DIS PULL_DOWN>;
  266. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  267. pinctrl-single,drive-strength = <DRIVE1_04MA DRIVE_MASK>;
  268. };
  269. sd_clk_cfg_func: sd_clk_cfg_func {
  270. pinctrl-single,pins = <
  271. 0xc 0x0 /* SD_CLK (IOCFG003) */
  272. >;
  273. pinctrl-single,bias-pulldown = <PULL_DIS PULL_DOWN PULL_DIS PULL_DOWN>;
  274. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  275. pinctrl-single,drive-strength = <DRIVE1_10MA DRIVE_MASK>;
  276. };
  277. sd_clk_cfg_idle: sd_clk_cfg_idle {
  278. pinctrl-single,pins = <
  279. 0xc 0x0 /* SD_CLK (IOCFG003) */
  280. >;
  281. pinctrl-single,bias-pulldown = <PULL_DOWN PULL_DOWN PULL_DIS PULL_DOWN>;
  282. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  283. pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
  284. };
  285. sd_cfg_func: sd_cfg_func {
  286. pinctrl-single,pins = <
  287. 0x10 0x0 /* SD_CMD (IOCFG004) */
  288. 0x14 0x0 /* SD_DATA0 (IOCFG005) */
  289. 0x18 0x0 /* SD_DATA1 (IOCFG006) */
  290. 0x1c 0x0 /* SD_DATA2 (IOCFG007) */
  291. 0x20 0x0 /* SD_DATA3 (IOCFG008) */
  292. >;
  293. pinctrl-single,bias-pulldown = <PULL_DIS PULL_DOWN PULL_DIS PULL_DOWN>;
  294. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  295. pinctrl-single,drive-strength = <DRIVE1_08MA DRIVE_MASK>;
  296. };
  297. sd_cfg_idle: sd_cfg_idle {
  298. pinctrl-single,pins = <
  299. 0x10 0x0 /* SD_CMD (IOCFG004) */
  300. 0x14 0x0 /* SD_DATA0 (IOCFG005) */
  301. 0x18 0x0 /* SD_DATA1 (IOCFG006) */
  302. 0x1c 0x0 /* SD_DATA2 (IOCFG007) */
  303. 0x20 0x0 /* SD_DATA3 (IOCFG008) */
  304. >;
  305. pinctrl-single,bias-pulldown = <PULL_DOWN PULL_DOWN PULL_DIS PULL_DOWN>;
  306. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  307. pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
  308. };
  309. sdio_clk_cfg_func: sdio_clk_cfg_func {
  310. pinctrl-single,pins = <
  311. 0x134 0x0 /* SDIO_CLK (IOCFG077) */
  312. >;
  313. pinctrl-single,bias-pulldown = <PULL_DIS PULL_DOWN PULL_DIS PULL_DOWN>;
  314. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  315. pinctrl-single,drive-strength = <DRIVE1_08MA DRIVE_MASK>;
  316. };
  317. sdio_clk_cfg_idle: sdio_clk_cfg_idle {
  318. pinctrl-single,pins = <
  319. 0x134 0x0 /* SDIO_CLK (IOCFG077) */
  320. >;
  321. pinctrl-single,bias-pulldown = <PULL_DOWN PULL_DOWN PULL_DIS PULL_DOWN>;
  322. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  323. pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
  324. };
  325. sdio_cfg_func: sdio_cfg_func {
  326. pinctrl-single,pins = <
  327. 0x138 0x0 /* SDIO_CMD (IOCFG078) */
  328. 0x13c 0x0 /* SDIO_DATA0 (IOCFG079) */
  329. 0x140 0x0 /* SDIO_DATA1 (IOCFG080) */
  330. 0x144 0x0 /* SDIO_DATA2 (IOCFG081) */
  331. 0x148 0x0 /* SDIO_DATA3 (IOCFG082) */
  332. >;
  333. pinctrl-single,bias-pulldown = <PULL_DIS PULL_DOWN PULL_DIS PULL_DOWN>;
  334. pinctrl-single,bias-pullup = <PULL_UP PULL_UP PULL_DIS PULL_UP>;
  335. pinctrl-single,drive-strength = <DRIVE1_04MA DRIVE_MASK>;
  336. };
  337. sdio_cfg_idle: sdio_cfg_idle {
  338. pinctrl-single,pins = <
  339. 0x138 0x0 /* SDIO_CMD (IOCFG078) */
  340. 0x13c 0x0 /* SDIO_DATA0 (IOCFG079) */
  341. 0x140 0x0 /* SDIO_DATA1 (IOCFG080) */
  342. 0x144 0x0 /* SDIO_DATA2 (IOCFG081) */
  343. 0x148 0x0 /* SDIO_DATA3 (IOCFG082) */
  344. >;
  345. pinctrl-single,bias-pulldown = <PULL_DIS PULL_DOWN PULL_DIS PULL_DOWN>;
  346. pinctrl-single,bias-pullup = <PULL_UP PULL_UP PULL_DIS PULL_UP>;
  347. pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
  348. };
  349. isp_cfg_func1: isp_cfg_func1 {
  350. pinctrl-single,pins = <
  351. 0x28 0x0 /* ISP_PWDN0 (IOCFG010) */
  352. 0x2c 0x0 /* ISP_PWDN1 (IOCFG011) */
  353. 0x30 0x0 /* ISP_PWDN2 (IOCFG012) */
  354. 0x34 0x0 /* ISP_SHUTTER0 (IOCFG013) */
  355. 0x38 0x0 /* ISP_SHUTTER1 (IOCFG014) */
  356. 0x3c 0x0 /* ISP_PWM (IOCFG015) */
  357. 0x40 0x0 /* ISP_CCLK0 (IOCFG016) */
  358. 0x44 0x0 /* ISP_CCLK1 (IOCFG017) */
  359. 0x48 0x0 /* ISP_RESETB0 (IOCFG018) */
  360. 0x4c 0x0 /* ISP_RESETB1 (IOCFG019) */
  361. 0x50 0x0 /* ISP_STROBE0 (IOCFG020) */
  362. 0x58 0x0 /* ISP_SDA0 (IOCFG022) */
  363. 0x5c 0x0 /* ISP_SCL0 (IOCFG023) */
  364. 0x60 0x0 /* ISP_SDA1 (IOCFG024) */
  365. 0x64 0x0 /* ISP_SCL1 (IOCFG025) */
  366. >;
  367. pinctrl-single,bias-pulldown = <PULL_DIS PULL_DOWN PULL_DIS PULL_DOWN>;
  368. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  369. pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
  370. };
  371. isp_cfg_idle1: isp_cfg_idle1 {
  372. pinctrl-single,pins = <
  373. 0x34 0x0 /* ISP_SHUTTER0 (IOCFG013) */
  374. 0x38 0x0 /* ISP_SHUTTER1 (IOCFG014) */
  375. >;
  376. pinctrl-single,bias-pulldown = <PULL_DOWN PULL_DOWN PULL_DIS PULL_DOWN>;
  377. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  378. pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
  379. };
  380. isp_cfg_func2: isp_cfg_func2 {
  381. pinctrl-single,pins = <
  382. 0x54 0x0 /* ISP_STROBE1 (IOCFG021) */
  383. >;
  384. pinctrl-single,bias-pulldown = <PULL_DOWN PULL_DOWN PULL_DIS PULL_DOWN>;
  385. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  386. pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
  387. };
  388. codec_clk_cfg_func: codec_clk_cfg_func {
  389. pinctrl-single,pins = <
  390. 0x70 0x0 /* CODEC_CLK (IOCFG028) */
  391. >;
  392. pinctrl-single,bias-pulldown = <PULL_DIS PULL_DOWN PULL_DIS PULL_DOWN>;
  393. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  394. pinctrl-single,drive-strength = <DRIVE1_04MA DRIVE_MASK>;
  395. };
  396. codec_clk_cfg_idle: codec_clk_cfg_idle {
  397. pinctrl-single,pins = <
  398. 0x70 0x0 /* CODEC_CLK (IOCFG028) */
  399. >;
  400. pinctrl-single,bias-pulldown = <PULL_DIS PULL_DOWN PULL_DIS PULL_DOWN>;
  401. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  402. pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
  403. };
  404. codec_cfg_func1: codec_cfg_func1 {
  405. pinctrl-single,pins = <
  406. 0x74 0x0 /* DMIC_CLK (IOCFG029) */
  407. >;
  408. pinctrl-single,bias-pulldown = <PULL_DOWN PULL_DOWN PULL_DIS PULL_DOWN>;
  409. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  410. pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
  411. };
  412. codec_cfg_func2: codec_cfg_func2 {
  413. pinctrl-single,pins = <
  414. 0x78 0x0 /* CODEC_SYNC (IOCFG030) */
  415. 0x7c 0x0 /* CODEC_DI (IOCFG031) */
  416. 0x80 0x0 /* CODEC_DO (IOCFG032) */
  417. >;
  418. pinctrl-single,bias-pulldown = <PULL_DIS PULL_DOWN PULL_DIS PULL_DOWN>;
  419. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  420. pinctrl-single,drive-strength = <DRIVE1_04MA DRIVE_MASK>;
  421. };
  422. codec_cfg_idle2: codec_cfg_idle2 {
  423. pinctrl-single,pins = <
  424. 0x78 0x0 /* CODEC_SYNC (IOCFG030) */
  425. 0x7c 0x0 /* CODEC_DI (IOCFG031) */
  426. 0x80 0x0 /* CODEC_DO (IOCFG032) */
  427. >;
  428. pinctrl-single,bias-pulldown = <PULL_DIS PULL_DOWN PULL_DIS PULL_DOWN>;
  429. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  430. pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
  431. };
  432. fm_cfg_func: fm_cfg_func {
  433. pinctrl-single,pins = <
  434. 0x84 0x0 /* FM_XCLK (IOCFG033) */
  435. 0x88 0x0 /* FM_XFS (IOCFG034) */
  436. 0x8c 0x0 /* FM_DI (IOCFG035) */
  437. 0x90 0x0 /* FM_DO (IOCFG036) */
  438. >;
  439. pinctrl-single,bias-pulldown = <PULL_DOWN PULL_DOWN PULL_DIS PULL_DOWN>;
  440. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  441. pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
  442. };
  443. bt_cfg_func: bt_cfg_func {
  444. pinctrl-single,pins = <
  445. 0x94 0x0 /* BT_XCLK (IOCFG037) */
  446. 0x98 0x0 /* BT_XFS (IOCFG038) */
  447. 0x9c 0x0 /* BT_DI (IOCFG039) */
  448. 0xa0 0x0 /* BT_DO (IOCFG040) */
  449. >;
  450. pinctrl-single,bias-pulldown = <PULL_DIS PULL_DOWN PULL_DIS PULL_DOWN>;
  451. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  452. pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
  453. };
  454. bt_cfg_idle: bt_cfg_idle {
  455. pinctrl-single,pins = <
  456. 0x94 0x0 /* BT_XCLK (IOCFG037) */
  457. 0x98 0x0 /* BT_XFS (IOCFG038) */
  458. 0x9c 0x0 /* BT_DI (IOCFG039) */
  459. 0xa0 0x0 /* BT_DO (IOCFG040) */
  460. >;
  461. pinctrl-single,bias-pulldown = <PULL_DOWN PULL_DOWN PULL_DIS PULL_DOWN>;
  462. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  463. pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
  464. };
  465. pwm_in_cfg_func: pwm_in_cfg_func {
  466. pinctrl-single,pins = <
  467. 0xbc 0x0 /* PWM_IN (IOCFG047) */
  468. >;
  469. pinctrl-single,bias-pulldown = <PULL_DOWN PULL_DOWN PULL_DIS PULL_DOWN>;
  470. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  471. pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
  472. };
  473. bl_pwm_cfg_func: bl_pwm_cfg_func {
  474. pinctrl-single,pins = <
  475. 0xc0 0x0 /* BL_PWM (IOCFG048) */
  476. >;
  477. pinctrl-single,bias-pulldown = <PULL_DOWN PULL_DOWN PULL_DIS PULL_DOWN>;
  478. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  479. pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
  480. };
  481. uart0_cfg_func1: uart0_cfg_func1 {
  482. pinctrl-single,pins = <
  483. 0xc4 0x0 /* UART0_RXD (IOCFG049) */
  484. >;
  485. pinctrl-single,bias-pulldown = <PULL_DIS PULL_DOWN PULL_DIS PULL_DOWN>;
  486. pinctrl-single,bias-pullup = <PULL_UP PULL_UP PULL_DIS PULL_UP>;
  487. pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
  488. };
  489. uart0_cfg_func2: uart0_cfg_func2 {
  490. pinctrl-single,pins = <
  491. 0xc8 0x0 /* UART0_TXD (IOCFG050) */
  492. >;
  493. pinctrl-single,bias-pulldown = <PULL_DIS PULL_DOWN PULL_DIS PULL_DOWN>;
  494. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  495. pinctrl-single,drive-strength = <DRIVE1_04MA DRIVE_MASK>;
  496. };
  497. uart1_cfg_func1: uart1_cfg_func1 {
  498. pinctrl-single,pins = <
  499. 0xcc 0x0 /* UART1_CTS_N (IOCFG051) */
  500. 0xd4 0x0 /* UART1_RXD (IOCFG053) */
  501. >;
  502. pinctrl-single,bias-pulldown = <PULL_DIS PULL_DOWN PULL_DIS PULL_DOWN>;
  503. pinctrl-single,bias-pullup = <PULL_UP PULL_UP PULL_DIS PULL_UP>;
  504. pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
  505. };
  506. uart1_cfg_func2: uart1_cfg_func2 {
  507. pinctrl-single,pins = <
  508. 0xd0 0x0 /* UART1_RTS_N (IOCFG052) */
  509. 0xd8 0x0 /* UART1_TXD (IOCFG054) */
  510. >;
  511. pinctrl-single,bias-pulldown = <PULL_DIS PULL_DOWN PULL_DIS PULL_DOWN>;
  512. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  513. pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
  514. };
  515. uart2_cfg_func: uart2_cfg_func {
  516. pinctrl-single,pins = <
  517. 0xdc 0x0 /* UART2_CTS_N (IOCFG055) */
  518. 0xe0 0x0 /* UART2_RTS_N (IOCFG056) */
  519. 0xe4 0x0 /* UART2_RXD (IOCFG057) */
  520. 0xe8 0x0 /* UART2_TXD (IOCFG058) */
  521. >;
  522. pinctrl-single,bias-pulldown = <PULL_DIS PULL_DOWN PULL_DIS PULL_DOWN>;
  523. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  524. pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
  525. };
  526. uart3_cfg_func: uart3_cfg_func {
  527. pinctrl-single,pins = <
  528. 0x190 0x0 /* UART3_CTS_N (IOCFG100) */
  529. 0x194 0x0 /* UART3_RTS_N (IOCFG101) */
  530. 0x198 0x0 /* UART3_RXD (IOCFG102) */
  531. 0x19c 0x0 /* UART3_TXD (IOCFG103) */
  532. >;
  533. pinctrl-single,bias-pulldown = <PULL_DOWN PULL_DOWN PULL_DIS PULL_DOWN>;
  534. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  535. pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
  536. };
  537. uart4_cfg_func: uart4_cfg_func {
  538. pinctrl-single,pins = <
  539. 0x1e0 0x0 /* UART4_CTS_N (IOCFG120) */
  540. 0x1e4 0x0 /* UART4_RTS_N (IOCFG121) */
  541. 0x1e8 0x0 /* UART4_RXD (IOCFG122) */
  542. 0x1ec 0x0 /* UART4_TXD (IOCFG123) */
  543. >;
  544. pinctrl-single,bias-pulldown = <PULL_DOWN PULL_DOWN PULL_DIS PULL_DOWN>;
  545. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  546. pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
  547. };
  548. uart5_cfg_func: uart5_cfg_func {
  549. pinctrl-single,pins = <
  550. 0x1d8 0x0 /* UART4_RXD (IOCFG118) */
  551. 0x1dc 0x0 /* UART4_TXD (IOCFG119) */
  552. >;
  553. pinctrl-single,bias-pulldown = <PULL_DOWN PULL_DOWN PULL_DIS PULL_DOWN>;
  554. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  555. pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
  556. };
  557. i2c0_cfg_func: i2c0_cfg_func {
  558. pinctrl-single,pins = <
  559. 0xec 0x0 /* I2C0_SCL (IOCFG059) */
  560. 0xf0 0x0 /* I2C0_SDA (IOCFG060) */
  561. >;
  562. pinctrl-single,bias-pulldown = <PULL_DIS PULL_DOWN PULL_DIS PULL_DOWN>;
  563. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  564. pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
  565. };
  566. i2c1_cfg_func: i2c1_cfg_func {
  567. pinctrl-single,pins = <
  568. 0xf4 0x0 /* I2C1_SCL (IOCFG061) */
  569. 0xf8 0x0 /* I2C1_SDA (IOCFG062) */
  570. >;
  571. pinctrl-single,bias-pulldown = <PULL_DIS PULL_DOWN PULL_DIS PULL_DOWN>;
  572. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  573. pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
  574. };
  575. i2c2_cfg_func: i2c2_cfg_func {
  576. pinctrl-single,pins = <
  577. 0xfc 0x0 /* I2C2_SCL (IOCFG063) */
  578. 0x100 0x0 /* I2C2_SDA (IOCFG064) */
  579. >;
  580. pinctrl-single,bias-pulldown = <PULL_DIS PULL_DOWN PULL_DIS PULL_DOWN>;
  581. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  582. pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
  583. };
  584. spi0_cfg_func: spi0_cfg_func {
  585. pinctrl-single,pins = <
  586. 0x1b0 0x0 /* SPI0_DI (IOCFG108) */
  587. 0x1b4 0x0 /* SPI0_DO (IOCFG109) */
  588. 0x1b8 0x0 /* SPI0_CS_N (IOCFG110) */
  589. 0x1bc 0x0 /* SPI0_CLK (IOCFG111) */
  590. >;
  591. pinctrl-single,bias-pulldown = <PULL_DIS PULL_DOWN PULL_DIS PULL_DOWN>;
  592. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  593. pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
  594. };
  595. };
  596. pmx2: pinmux@f8001800 {
  597. pinctrl-names = "default";
  598. pinctrl-0 = <
  599. &rstout_n_cfg_func
  600. >;
  601. rstout_n_cfg_func: rstout_n_cfg_func {
  602. pinctrl-single,pins = <
  603. 0x0 0x0 /* RSTOUT_N (IOCFG000) */
  604. >;
  605. pinctrl-single,bias-pulldown = <PULL_DIS PULL_DOWN PULL_DIS PULL_DOWN>;
  606. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  607. pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
  608. };
  609. pmu_peri_en_cfg_func: pmu_peri_en_cfg_func {
  610. pinctrl-single,pins = <
  611. 0x4 0x0 /* PMU_PERI_EN (IOCFG001) */
  612. >;
  613. pinctrl-single,bias-pulldown = <PULL_DIS PULL_DOWN PULL_DIS PULL_DOWN>;
  614. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  615. pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
  616. };
  617. sysclk0_en_cfg_func: sysclk0_en_cfg_func {
  618. pinctrl-single,pins = <
  619. 0x8 0x0 /* SYSCLK0_EN (IOCFG002) */
  620. >;
  621. pinctrl-single,bias-pulldown = <PULL_DIS PULL_DOWN PULL_DIS PULL_DOWN>;
  622. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  623. pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
  624. };
  625. jtag_tdo_cfg_func: jtag_tdo_cfg_func {
  626. pinctrl-single,pins = <
  627. 0xc 0x0 /* JTAG_TDO (IOCFG003) */
  628. >;
  629. pinctrl-single,bias-pulldown = <PULL_DIS PULL_DOWN PULL_DIS PULL_DOWN>;
  630. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  631. pinctrl-single,drive-strength = <DRIVE1_08MA DRIVE_MASK>;
  632. };
  633. rf_reset_cfg_func: rf_reset_cfg_func {
  634. pinctrl-single,pins = <
  635. 0x70 0x0 /* RF_RESET0 (IOCFG028) */
  636. 0x74 0x0 /* RF_RESET1 (IOCFG029) */
  637. >;
  638. pinctrl-single,bias-pulldown = <PULL_DIS PULL_DOWN PULL_DIS PULL_DOWN>;
  639. pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>;
  640. pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
  641. };
  642. };
  643. };
  644. };