ste,abx500.txt 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318
  1. ST Ericsson abx500 pinmux controller
  2. Required properties:
  3. - compatible: "stericsson,ab8500-gpio", "stericsson,ab8540-gpio",
  4. "stericsson,ab8505-gpio", "stericsson,ab9540-gpio",
  5. Please refer to pinctrl-bindings.txt in this directory for details of the
  6. common pinctrl bindings used by client devices, including the meaning of the
  7. phrase "pin configuration node".
  8. ST Ericsson's pin configuration nodes use the generic pin multiplexing
  9. and pin configuration bindings, see pinctrl-bindings.txt
  10. Example board file extract:
  11. &pinctrl_abx500 {
  12. pinctrl-names = "default";
  13. pinctrl-0 = <&sysclkreq2_default_mode>, <&sysclkreq3_default_mode>, <&gpio3_default_mode>, <&sysclkreq6_default_mode>, <&pwmout1_default_mode>, <&pwmout2_default_mode>, <&pwmout3_default_mode>, <&adi1_default_mode>, <&dmic12_default_mode>, <&dmic34_default_mode>, <&dmic56_default_mode>, <&sysclkreq5_default_mode>, <&batremn_default_mode>, <&service_default_mode>, <&pwrctrl0_default_mode>, <&pwrctrl1_default_mode>, <&pwmextvibra1_default_mode>, <&pwmextvibra2_default_mode>, <&gpio51_default_mode>, <&gpio52_default_mode>, <&gpio53_default_mode>, <&gpio54_default_mode>, <&pdmclkdat_default_mode>;
  14. sysclkreq2 {
  15. sysclkreq2_default_mode: sysclkreq2_default {
  16. default_mux {
  17. function = "sysclkreq";
  18. groups = "sysclkreq2_d_1";
  19. };
  20. default_cfg {
  21. pins = "GPIO1";
  22. bias-disable;
  23. };
  24. };
  25. };
  26. sysclkreq3 {
  27. sysclkreq3_default_mode: sysclkreq3_default {
  28. default_mux {
  29. function = "sysclkreq";
  30. groups = "sysclkreq3_d_1";
  31. };
  32. default_cfg {
  33. pins = "GPIO2";
  34. output-low;
  35. };
  36. };
  37. };
  38. gpio3 {
  39. gpio3_default_mode: gpio3_default {
  40. default_mux {
  41. function = "gpio";
  42. groups = "gpio3_a_1";
  43. };
  44. default_cfg {
  45. pins = "GPIO3";
  46. output-low;
  47. };
  48. };
  49. };
  50. sysclkreq6 {
  51. sysclkreq6_default_mode: sysclkreq6_default {
  52. default_mux {
  53. function = "sysclkreq";
  54. groups = "sysclkreq6_d_1";
  55. };
  56. default_cfg {
  57. pins = "GPIO4";
  58. bias-disable;
  59. };
  60. };
  61. };
  62. pwmout1 {
  63. pwmout1_default_mode: pwmout1_default {
  64. default_mux {
  65. function = "pwmout";
  66. groups = "pwmout1_d_1";
  67. };
  68. default_cfg {
  69. pins = "GPIO14";
  70. output-low;
  71. };
  72. };
  73. };
  74. pwmout2 {
  75. pwmout2_default_mode: pwmout2_default {
  76. pwmout2_default_mux {
  77. function = "pwmout";
  78. groups = "pwmout2_d_1";
  79. };
  80. pwmout2_default_cfg {
  81. pins = "GPIO15";
  82. output-low;
  83. };
  84. };
  85. };
  86. pwmout3 {
  87. pwmout3_default_mode: pwmout3_default {
  88. pwmout3_default_mux {
  89. function = "pwmout";
  90. groups = "pwmout3_d_1";
  91. };
  92. pwmout3_default_cfg {
  93. pins = "GPIO16";
  94. output-low;
  95. };
  96. };
  97. };
  98. adi1 {
  99. adi1_default_mode: adi1_default {
  100. adi1_default_mux {
  101. function = "adi1";
  102. groups = "adi1_d_1";
  103. };
  104. adi1_default_cfg1 {
  105. pins = "GPIO17","GPIO19","GPIO20";
  106. bias-disable;
  107. };
  108. adi1_default_cfg2 {
  109. pins = "GPIO18";
  110. output-low;
  111. };
  112. };
  113. };
  114. dmic12 {
  115. dmic12_default_mode: dmic12_default {
  116. dmic12_default_mux {
  117. function = "dmic";
  118. groups = "dmic12_d_1";
  119. };
  120. dmic12_default_cfg1 {
  121. pins = "GPIO27";
  122. output-low;
  123. };
  124. dmic12_default_cfg2 {
  125. pins = "GPIO28";
  126. bias-disable;
  127. };
  128. };
  129. };
  130. dmic34 {
  131. dmic34_default_mode: dmic34_default {
  132. dmic34_default_mux {
  133. function = "dmic";
  134. groups = "dmic34_d_1";
  135. };
  136. dmic34_default_cfg1 {
  137. pins = "GPIO29";
  138. output-low;
  139. };
  140. dmic34_default_cfg2 {
  141. pins = "GPIO30";
  142. bias-disable;{
  143. };
  144. };
  145. };
  146. dmic56 {
  147. dmic56_default_mode: dmic56_default {
  148. dmic56_default_mux {
  149. function = "dmic";
  150. groups = "dmic56_d_1";
  151. };
  152. dmic56_default_cfg1 {
  153. pins = "GPIO31";
  154. output-low;
  155. };
  156. dmic56_default_cfg2 {
  157. pins = "GPIO32";
  158. bias-disable;
  159. };
  160. };
  161. };
  162. sysclkreq5 {
  163. sysclkreq5_default_mode: sysclkreq5_default {
  164. sysclkreq5_default_mux {
  165. function = "sysclkreq";
  166. groups = "sysclkreq5_d_1";
  167. };
  168. sysclkreq5_default_cfg {
  169. pins = "GPIO42";
  170. output-low;
  171. };
  172. };
  173. };
  174. batremn {
  175. batremn_default_mode: batremn_default {
  176. batremn_default_mux {
  177. function = "batremn";
  178. groups = "batremn_d_1";
  179. };
  180. batremn_default_cfg {
  181. pins = "GPIO43";
  182. bias-disable;
  183. };
  184. };
  185. };
  186. service {
  187. service_default_mode: service_default {
  188. service_default_mux {
  189. function = "service";
  190. groups = "service_d_1";
  191. };
  192. service_default_cfg {
  193. pins = "GPIO44";
  194. bias-disable;
  195. };
  196. };
  197. };
  198. pwrctrl0 {
  199. pwrctrl0_default_mux: pwrctrl0_mux {
  200. pwrctrl0_default_mux {
  201. function = "pwrctrl";
  202. groups = "pwrctrl0_d_1";
  203. };
  204. };
  205. pwrctrl0_default_mode: pwrctrl0_default {
  206. pwrctrl0_default_cfg {
  207. pins = "GPIO45";
  208. bias-disable;
  209. };
  210. };
  211. };
  212. pwrctrl1 {
  213. pwrctrl1_default_mux: pwrctrl1_mux {
  214. pwrctrl1_default_mux {
  215. function = "pwrctrl";
  216. groups = "pwrctrl1_d_1";
  217. };
  218. };
  219. pwrctrl1_default_mode: pwrctrl1_default {
  220. pwrctrl1_default_cfg {
  221. pins = "GPIO46";
  222. bias-disable;
  223. };
  224. };
  225. };
  226. pwmextvibra1 {
  227. pwmextvibra1_default_mode: pwmextvibra1_default {
  228. pwmextvibra1_default_mux {
  229. function = "pwmextvibra";
  230. groups = "pwmextvibra1_d_1";
  231. };
  232. pwmextvibra1_default_cfg {
  233. pins = "GPIO47";
  234. bias-disable;
  235. };
  236. };
  237. };
  238. pwmextvibra2 {
  239. pwmextvibra2_default_mode: pwmextvibra2_default {
  240. pwmextvibra2_default_mux {
  241. function = "pwmextvibra";
  242. groups = "pwmextvibra2_d_1";
  243. };
  244. pwmextvibra1_default_cfg {
  245. pins = "GPIO48";
  246. bias-disable;
  247. };
  248. };
  249. };
  250. gpio51 {
  251. gpio51_default_mode: gpio51_default {
  252. gpio51_default_mux {
  253. function = "gpio";
  254. groups = "gpio51_a_1";
  255. };
  256. gpio51_default_cfg {
  257. pins = "GPIO51";
  258. output-low;
  259. };
  260. };
  261. };
  262. gpio52 {
  263. gpio52_default_mode: gpio52_default {
  264. gpio52_default_mux {
  265. function = "gpio";
  266. groups = "gpio52_a_1";
  267. };
  268. gpio52_default_cfg {
  269. pins = "GPIO52";
  270. bias-pull-down;
  271. };
  272. };
  273. };
  274. gpio53 {
  275. gpio53_default_mode: gpio53_default {
  276. gpio53_default_mux {
  277. function = "gpio";
  278. groups = "gpio53_a_1";
  279. };
  280. gpio53_default_cfg {
  281. pins = "GPIO53";
  282. bias-pull-down;
  283. };
  284. };
  285. };
  286. gpio54 {
  287. gpio54_default_mode: gpio54_default {
  288. gpio54_default_mux {
  289. function = "gpio";
  290. groups = "gpio54_a_1";
  291. };
  292. gpio54_default_cfg {
  293. pins = "GPIO54";
  294. output-low;
  295. };
  296. };
  297. };
  298. pdmclkdat {
  299. pdmclkdat_default_mode: pdmclkdat_default {
  300. pdmclkdat_default_mux {
  301. function = "pdm";
  302. groups = "pdmclkdat_d_1";
  303. };
  304. pdmclkdat_default_cfg {
  305. pins = "GPIO55", "GPIO56";
  306. bias-disable;
  307. };
  308. };
  309. };
  310. };