Linus Walleij | 3bfdebb | 2013-11-13 10:32:20 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2013 Linaro Ltd. |
| 3 | * |
| 4 | * The code contained herein is licensed under the GNU General Public |
| 5 | * License. You may obtain a copy of the GNU General Public License |
| 6 | * Version 2 or later at the following locations: |
| 7 | * |
| 8 | * http://www.opensource.org/licenses/gpl-license.html |
| 9 | * http://www.gnu.org/copyleft/gpl.html |
| 10 | */ |
| 11 | |
| 12 | #include "ste-nomadik-pinctrl.dtsi" |
| 13 | |
| 14 | / { |
| 15 | soc { |
| 16 | pinctrl { |
| 17 | /* Settings for all UART default and sleep states */ |
| 18 | uart0 { |
| 19 | uart0_default_mode: uart0_default { |
| 20 | default_mux { |
Linus Walleij | 68d41f2 | 2014-09-29 17:21:56 +0200 | [diff] [blame] | 21 | function = "u0"; |
| 22 | groups = "u0_a_1"; |
Linus Walleij | 3bfdebb | 2013-11-13 10:32:20 +0100 | [diff] [blame] | 23 | }; |
| 24 | default_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 25 | pins = "GPIO0_AJ5", "GPIO2_AH4"; /* CTS+RXD */ |
Linus Walleij | 3bfdebb | 2013-11-13 10:32:20 +0100 | [diff] [blame] | 26 | ste,config = <&in_pu>; |
| 27 | }; |
| 28 | |
| 29 | default_cfg2 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 30 | pins = "GPIO1_AJ3", "GPIO3_AH3"; /* RTS+TXD */ |
Linus Walleij | 3bfdebb | 2013-11-13 10:32:20 +0100 | [diff] [blame] | 31 | ste,config = <&out_hi>; |
| 32 | }; |
| 33 | }; |
| 34 | |
| 35 | uart0_sleep_mode: uart0_sleep { |
| 36 | sleep_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 37 | pins = "GPIO0_AJ5", "GPIO2_AH4"; /* CTS+RXD */ |
Linus Walleij | 3bfdebb | 2013-11-13 10:32:20 +0100 | [diff] [blame] | 38 | ste,config = <&slpm_in_wkup_pdis>; |
| 39 | }; |
| 40 | |
| 41 | sleep_cfg2 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 42 | pins = "GPIO1_AJ3"; /* RTS */ |
Linus Walleij | 3bfdebb | 2013-11-13 10:32:20 +0100 | [diff] [blame] | 43 | ste,config = <&slpm_out_hi_wkup_pdis>; |
| 44 | }; |
| 45 | |
| 46 | sleep_cfg3 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 47 | pins = "GPIO3_AH3"; /* TXD */ |
Linus Walleij | 3bfdebb | 2013-11-13 10:32:20 +0100 | [diff] [blame] | 48 | ste,config = <&slpm_out_wkup_pdis>; |
| 49 | }; |
| 50 | }; |
| 51 | }; |
| 52 | |
| 53 | uart1 { |
| 54 | uart1_default_mode: uart1_default { |
| 55 | default_mux { |
Linus Walleij | 68d41f2 | 2014-09-29 17:21:56 +0200 | [diff] [blame] | 56 | function = "u1"; |
| 57 | groups = "u1rxtx_a_1"; |
Linus Walleij | 3bfdebb | 2013-11-13 10:32:20 +0100 | [diff] [blame] | 58 | }; |
| 59 | default_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 60 | pins = "GPIO4_AH6"; /* RXD */ |
Linus Walleij | 3bfdebb | 2013-11-13 10:32:20 +0100 | [diff] [blame] | 61 | ste,config = <&in_pu>; |
| 62 | }; |
| 63 | |
| 64 | default_cfg2 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 65 | pins = "GPIO5_AG6"; /* TXD */ |
Linus Walleij | 3bfdebb | 2013-11-13 10:32:20 +0100 | [diff] [blame] | 66 | ste,config = <&out_hi>; |
| 67 | }; |
| 68 | }; |
| 69 | |
| 70 | uart1_sleep_mode: uart1_sleep { |
| 71 | sleep_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 72 | pins = "GPIO4_AH6"; /* RXD */ |
Linus Walleij | 3bfdebb | 2013-11-13 10:32:20 +0100 | [diff] [blame] | 73 | ste,config = <&slpm_in_wkup_pdis>; |
| 74 | }; |
| 75 | |
| 76 | sleep_cfg2 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 77 | pins = "GPIO5_AG6"; /* TXD */ |
Linus Walleij | 3bfdebb | 2013-11-13 10:32:20 +0100 | [diff] [blame] | 78 | ste,config = <&slpm_out_wkup_pdis>; |
| 79 | }; |
| 80 | }; |
| 81 | }; |
| 82 | |
| 83 | uart2 { |
| 84 | uart2_default_mode: uart2_default { |
| 85 | default_mux { |
Linus Walleij | 68d41f2 | 2014-09-29 17:21:56 +0200 | [diff] [blame] | 86 | function = "u2"; |
| 87 | groups = "u2rxtx_c_1"; |
Linus Walleij | 3bfdebb | 2013-11-13 10:32:20 +0100 | [diff] [blame] | 88 | }; |
| 89 | default_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 90 | pins = "GPIO29_W2"; /* RXD */ |
Linus Walleij | 3bfdebb | 2013-11-13 10:32:20 +0100 | [diff] [blame] | 91 | ste,config = <&in_pu>; |
| 92 | }; |
| 93 | |
| 94 | default_cfg2 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 95 | pins = "GPIO30_W3"; /* TXD */ |
Linus Walleij | 3bfdebb | 2013-11-13 10:32:20 +0100 | [diff] [blame] | 96 | ste,config = <&out_hi>; |
| 97 | }; |
| 98 | }; |
| 99 | |
| 100 | uart2_sleep_mode: uart2_sleep { |
| 101 | sleep_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 102 | pins = "GPIO29_W2"; /* RXD */ |
Linus Walleij | 3bfdebb | 2013-11-13 10:32:20 +0100 | [diff] [blame] | 103 | ste,config = <&in_wkup_pdis>; |
| 104 | }; |
| 105 | |
| 106 | sleep_cfg2 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 107 | pins = "GPIO30_W3"; /* TXD */ |
Linus Walleij | 3bfdebb | 2013-11-13 10:32:20 +0100 | [diff] [blame] | 108 | ste,config = <&out_wkup_pdis>; |
| 109 | }; |
| 110 | }; |
| 111 | }; |
Linus Walleij | 96fee13 | 2013-11-13 11:10:07 +0100 | [diff] [blame] | 112 | |
| 113 | /* Settings for all I2C default and sleep states */ |
| 114 | i2c0 { |
| 115 | i2c0_default_mode: i2c_default { |
| 116 | default_mux { |
Linus Walleij | 68d41f2 | 2014-09-29 17:21:56 +0200 | [diff] [blame] | 117 | function = "i2c0"; |
| 118 | groups = "i2c0_a_1"; |
Linus Walleij | 96fee13 | 2013-11-13 11:10:07 +0100 | [diff] [blame] | 119 | }; |
| 120 | default_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 121 | pins = "GPIO147_C15", "GPIO148_B16"; /* SDA/SCL */ |
Linus Walleij | 96fee13 | 2013-11-13 11:10:07 +0100 | [diff] [blame] | 122 | ste,config = <&in_pu>; |
| 123 | }; |
| 124 | }; |
| 125 | |
| 126 | i2c0_sleep_mode: i2c_sleep { |
| 127 | sleep_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 128 | pins = "GPIO147_C15", "GPIO148_B16"; /* SDA/SCL */ |
Linus Walleij | 96fee13 | 2013-11-13 11:10:07 +0100 | [diff] [blame] | 129 | ste,config = <&slpm_in_wkup_pdis>; |
| 130 | }; |
| 131 | }; |
| 132 | }; |
| 133 | |
| 134 | i2c1 { |
| 135 | i2c1_default_mode: i2c_default { |
| 136 | default_mux { |
Linus Walleij | 68d41f2 | 2014-09-29 17:21:56 +0200 | [diff] [blame] | 137 | function = "i2c1"; |
| 138 | groups = "i2c1_b_2"; |
Linus Walleij | 96fee13 | 2013-11-13 11:10:07 +0100 | [diff] [blame] | 139 | }; |
| 140 | default_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 141 | pins = "GPIO16_AD3", "GPIO17_AD4"; /* SDA/SCL */ |
Linus Walleij | 96fee13 | 2013-11-13 11:10:07 +0100 | [diff] [blame] | 142 | ste,config = <&in_pu>; |
| 143 | }; |
| 144 | }; |
| 145 | |
| 146 | i2c1_sleep_mode: i2c_sleep { |
| 147 | sleep_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 148 | pins = "GPIO16_AD3", "GPIO17_AD4"; /* SDA/SCL */ |
Linus Walleij | 96fee13 | 2013-11-13 11:10:07 +0100 | [diff] [blame] | 149 | ste,config = <&slpm_in_wkup_pdis>; |
| 150 | }; |
| 151 | }; |
| 152 | }; |
| 153 | |
| 154 | i2c2 { |
| 155 | i2c2_default_mode: i2c_default { |
| 156 | default_mux { |
Linus Walleij | 68d41f2 | 2014-09-29 17:21:56 +0200 | [diff] [blame] | 157 | function = "i2c2"; |
| 158 | groups = "i2c2_b_2"; |
Linus Walleij | 96fee13 | 2013-11-13 11:10:07 +0100 | [diff] [blame] | 159 | }; |
| 160 | default_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 161 | pins = "GPIO10_AF5", "GPIO11_AG4"; /* SDA/SCL */ |
Linus Walleij | 96fee13 | 2013-11-13 11:10:07 +0100 | [diff] [blame] | 162 | ste,config = <&in_pu>; |
| 163 | }; |
| 164 | }; |
| 165 | |
| 166 | i2c2_sleep_mode: i2c_sleep { |
| 167 | sleep_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 168 | pins = "GPIO10_AF5", "GPIO11_AG4"; /* SDA/SCL */ |
Linus Walleij | 96fee13 | 2013-11-13 11:10:07 +0100 | [diff] [blame] | 169 | ste,config = <&slpm_in_wkup_pdis>; |
| 170 | }; |
| 171 | }; |
| 172 | }; |
| 173 | |
| 174 | i2c3 { |
| 175 | i2c3_default_mode: i2c_default { |
| 176 | default_mux { |
Linus Walleij | 68d41f2 | 2014-09-29 17:21:56 +0200 | [diff] [blame] | 177 | function = "i2c3"; |
| 178 | groups = "i2c3_c_2"; |
Linus Walleij | 96fee13 | 2013-11-13 11:10:07 +0100 | [diff] [blame] | 179 | }; |
| 180 | default_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 181 | pins = "GPIO229_AG7", "GPIO230_AF7"; /* SDA/SCL */ |
Linus Walleij | 96fee13 | 2013-11-13 11:10:07 +0100 | [diff] [blame] | 182 | ste,config = <&in_pu>; |
| 183 | }; |
| 184 | }; |
| 185 | |
| 186 | i2c3_sleep_mode: i2c_sleep { |
| 187 | sleep_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 188 | pins = "GPIO229_AG7", "GPIO230_AF7"; /* SDA/SCL */ |
Linus Walleij | 96fee13 | 2013-11-13 11:10:07 +0100 | [diff] [blame] | 189 | ste,config = <&slpm_in_wkup_pdis>; |
| 190 | }; |
| 191 | }; |
| 192 | }; |
| 193 | |
| 194 | /* |
| 195 | * Activating I2C4 will conflict with UART1 about the same pins so do not |
| 196 | * enable I2C4 and UART1 at the same time. |
| 197 | */ |
| 198 | i2c4 { |
| 199 | i2c4_default_mode: i2c_default { |
| 200 | default_mux { |
Linus Walleij | 68d41f2 | 2014-09-29 17:21:56 +0200 | [diff] [blame] | 201 | function = "i2c4"; |
| 202 | groups = "i2c4_b_1"; |
Linus Walleij | 96fee13 | 2013-11-13 11:10:07 +0100 | [diff] [blame] | 203 | }; |
| 204 | default_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 205 | pins = "GPIO4_AH6", "GPIO5_AG6"; /* SDA/SCL */ |
Linus Walleij | 96fee13 | 2013-11-13 11:10:07 +0100 | [diff] [blame] | 206 | ste,config = <&in_pu>; |
| 207 | }; |
| 208 | }; |
| 209 | |
| 210 | i2c4_sleep_mode: i2c_sleep { |
| 211 | sleep_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 212 | pins = "GPIO4_AH6", "GPIO5_AG6"; /* SDA/SCL */ |
Linus Walleij | 96fee13 | 2013-11-13 11:10:07 +0100 | [diff] [blame] | 213 | ste,config = <&slpm_in_wkup_pdis>; |
| 214 | }; |
| 215 | }; |
| 216 | }; |
Linus Walleij | 1e66235 | 2013-11-13 13:46:57 +0100 | [diff] [blame] | 217 | |
Linus Walleij | 3865682 | 2013-11-14 10:27:40 +0100 | [diff] [blame] | 218 | /* Settings for all SPI default and sleep states */ |
| 219 | spi2 { |
| 220 | spi2_default_mode: spi_default { |
| 221 | default_mux { |
Linus Walleij | 68d41f2 | 2014-09-29 17:21:56 +0200 | [diff] [blame] | 222 | function = "spi2"; |
| 223 | groups = "spi2_oc1_2"; |
Linus Walleij | 3865682 | 2013-11-14 10:27:40 +0100 | [diff] [blame] | 224 | }; |
| 225 | default_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 226 | pins = "GPIO216_AG12"; /* FRM */ |
Linus Walleij | 3865682 | 2013-11-14 10:27:40 +0100 | [diff] [blame] | 227 | ste,config = <&gpio_out_hi>; |
| 228 | }; |
| 229 | default_cfg2 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 230 | pins = "GPIO218_AH11"; /* RXD */ |
Linus Walleij | 3865682 | 2013-11-14 10:27:40 +0100 | [diff] [blame] | 231 | ste,config = <&in_pd>; |
| 232 | }; |
| 233 | default_cfg3 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 234 | pins = |
Linus Walleij | 3865682 | 2013-11-14 10:27:40 +0100 | [diff] [blame] | 235 | "GPIO215_AH13", /* TXD */ |
| 236 | "GPIO217_AH12"; /* CLK */ |
| 237 | ste,config = <&out_lo>; |
| 238 | }; |
| 239 | }; |
| 240 | |
| 241 | spi2_idle_mode: spi_idle { |
| 242 | /* |
| 243 | * The idle mode is basically sleep mode sans wakeups. Also |
| 244 | * note that we have muxes the pins off the function here |
| 245 | * as we do not state any muxing. |
| 246 | */ |
| 247 | idle_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 248 | pins = "GPIO218_AH11"; /* RXD */ |
Linus Walleij | 3865682 | 2013-11-14 10:27:40 +0100 | [diff] [blame] | 249 | ste,config = <&slpm_in_pdis>; |
| 250 | }; |
| 251 | idle_cfg2 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 252 | pins = "GPIO215_AH13"; /* TXD */ |
Linus Walleij | 3865682 | 2013-11-14 10:27:40 +0100 | [diff] [blame] | 253 | ste,config = <&slpm_out_lo_pdis>; |
| 254 | }; |
| 255 | idle_cfg3 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 256 | pins = "GPIO217_AH12"; /* CLK */ |
Linus Walleij | 3865682 | 2013-11-14 10:27:40 +0100 | [diff] [blame] | 257 | ste,config = <&slpm_pdis>; |
| 258 | }; |
| 259 | }; |
| 260 | |
| 261 | spi2_sleep_mode: spi_sleep { |
| 262 | sleep_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 263 | pins = |
Linus Walleij | 3865682 | 2013-11-14 10:27:40 +0100 | [diff] [blame] | 264 | "GPIO216_AG12", /* FRM */ |
| 265 | "GPIO218_AH11"; /* RXD */ |
| 266 | ste,config = <&slpm_in_wkup_pdis>; |
| 267 | }; |
| 268 | sleep_cfg2 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 269 | pins = "GPIO215_AH13"; /* TXD */ |
Linus Walleij | 3865682 | 2013-11-14 10:27:40 +0100 | [diff] [blame] | 270 | ste,config = <&slpm_out_lo_wkup_pdis>; |
| 271 | }; |
| 272 | sleep_cfg3 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 273 | pins = "GPIO217_AH12"; /* CLK */ |
Linus Walleij | 3865682 | 2013-11-14 10:27:40 +0100 | [diff] [blame] | 274 | ste,config = <&slpm_wkup_pdis>; |
| 275 | }; |
| 276 | }; |
| 277 | }; |
| 278 | |
Linus Walleij | 1e66235 | 2013-11-13 13:46:57 +0100 | [diff] [blame] | 279 | /* Settings for all MMC/SD/SDIO default and sleep states */ |
| 280 | sdi0 { |
| 281 | /* This is the external SD card slot, 4 bits wide */ |
| 282 | sdi0_default_mode: sdi0_default { |
| 283 | default_mux { |
Linus Walleij | 68d41f2 | 2014-09-29 17:21:56 +0200 | [diff] [blame] | 284 | function = "mc0"; |
| 285 | groups = "mc0_a_1"; |
Linus Walleij | 1e66235 | 2013-11-13 13:46:57 +0100 | [diff] [blame] | 286 | }; |
| 287 | default_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 288 | pins = |
Linus Walleij | 1e66235 | 2013-11-13 13:46:57 +0100 | [diff] [blame] | 289 | "GPIO18_AC2", /* CMDDIR */ |
| 290 | "GPIO19_AC1", /* DAT0DIR */ |
| 291 | "GPIO20_AB4"; /* DAT2DIR */ |
| 292 | ste,config = <&out_hi>; |
| 293 | }; |
| 294 | default_cfg2 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 295 | pins = "GPIO22_AA3"; /* FBCLK */ |
Linus Walleij | 1e66235 | 2013-11-13 13:46:57 +0100 | [diff] [blame] | 296 | ste,config = <&in_nopull>; |
| 297 | }; |
| 298 | default_cfg3 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 299 | pins = "GPIO23_AA4"; /* CLK */ |
Linus Walleij | 1e66235 | 2013-11-13 13:46:57 +0100 | [diff] [blame] | 300 | ste,config = <&out_lo>; |
| 301 | }; |
| 302 | default_cfg4 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 303 | pins = |
Linus Walleij | 1e66235 | 2013-11-13 13:46:57 +0100 | [diff] [blame] | 304 | "GPIO24_AB2", /* CMD */ |
| 305 | "GPIO25_Y4", /* DAT0 */ |
| 306 | "GPIO26_Y2", /* DAT1 */ |
| 307 | "GPIO27_AA2", /* DAT2 */ |
| 308 | "GPIO28_AA1"; /* DAT3 */ |
| 309 | ste,config = <&in_pu>; |
| 310 | }; |
| 311 | }; |
| 312 | |
| 313 | sdi0_sleep_mode: sdi0_sleep { |
| 314 | sleep_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 315 | pins = |
Linus Walleij | 1e66235 | 2013-11-13 13:46:57 +0100 | [diff] [blame] | 316 | "GPIO18_AC2", /* CMDDIR */ |
| 317 | "GPIO19_AC1", /* DAT0DIR */ |
| 318 | "GPIO20_AB4"; /* DAT2DIR */ |
| 319 | ste,config = <&slpm_out_hi_wkup_pdis>; |
| 320 | }; |
| 321 | sleep_cfg2 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 322 | pins = |
Linus Walleij | 1e66235 | 2013-11-13 13:46:57 +0100 | [diff] [blame] | 323 | "GPIO22_AA3", /* FBCLK */ |
| 324 | "GPIO24_AB2", /* CMD */ |
| 325 | "GPIO25_Y4", /* DAT0 */ |
| 326 | "GPIO26_Y2", /* DAT1 */ |
| 327 | "GPIO27_AA2", /* DAT2 */ |
| 328 | "GPIO28_AA1"; /* DAT3 */ |
| 329 | ste,config = <&slpm_in_wkup_pdis>; |
| 330 | }; |
| 331 | sleep_cfg3 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 332 | pins = "GPIO23_AA4"; /* CLK */ |
Linus Walleij | 1e66235 | 2013-11-13 13:46:57 +0100 | [diff] [blame] | 333 | ste,config = <&slpm_out_lo_wkup_pdis>; |
| 334 | }; |
| 335 | }; |
| 336 | }; |
| 337 | |
| 338 | sdi1 { |
| 339 | /* This is the WLAN SDIO 4 bits wide */ |
| 340 | sdi1_default_mode: sdi1_default { |
| 341 | default_mux { |
Linus Walleij | 68d41f2 | 2014-09-29 17:21:56 +0200 | [diff] [blame] | 342 | function = "mc1"; |
| 343 | groups = "mc1_a_1"; |
Linus Walleij | 1e66235 | 2013-11-13 13:46:57 +0100 | [diff] [blame] | 344 | }; |
| 345 | default_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 346 | pins = "GPIO208_AH16"; /* CLK */ |
Linus Walleij | 1e66235 | 2013-11-13 13:46:57 +0100 | [diff] [blame] | 347 | ste,config = <&out_lo>; |
| 348 | }; |
| 349 | default_cfg2 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 350 | pins = "GPIO209_AG15"; /* FBCLK */ |
Linus Walleij | 1e66235 | 2013-11-13 13:46:57 +0100 | [diff] [blame] | 351 | ste,config = <&in_nopull>; |
| 352 | }; |
| 353 | default_cfg3 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 354 | pins = |
Linus Walleij | 1e66235 | 2013-11-13 13:46:57 +0100 | [diff] [blame] | 355 | "GPIO210_AJ15", /* CMD */ |
| 356 | "GPIO211_AG14", /* DAT0 */ |
| 357 | "GPIO212_AF13", /* DAT1 */ |
| 358 | "GPIO213_AG13", /* DAT2 */ |
| 359 | "GPIO214_AH15"; /* DAT3 */ |
| 360 | ste,config = <&in_pu>; |
| 361 | }; |
| 362 | }; |
| 363 | |
| 364 | sdi1_sleep_mode: sdi1_sleep { |
| 365 | sleep_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 366 | pins = "GPIO208_AH16"; /* CLK */ |
Linus Walleij | 1e66235 | 2013-11-13 13:46:57 +0100 | [diff] [blame] | 367 | ste,config = <&slpm_out_lo_wkup_pdis>; |
| 368 | }; |
| 369 | sleep_cfg2 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 370 | pins = |
Linus Walleij | 1e66235 | 2013-11-13 13:46:57 +0100 | [diff] [blame] | 371 | "GPIO209_AG15", /* FBCLK */ |
| 372 | "GPIO210_AJ15", /* CMD */ |
| 373 | "GPIO211_AG14", /* DAT0 */ |
| 374 | "GPIO212_AF13", /* DAT1 */ |
| 375 | "GPIO213_AG13", /* DAT2 */ |
| 376 | "GPIO214_AH15"; /* DAT3 */ |
| 377 | ste,config = <&slpm_in_wkup_pdis>; |
| 378 | }; |
| 379 | }; |
| 380 | }; |
| 381 | |
| 382 | sdi2 { |
| 383 | /* This is the eMMC 8 bits wide, usually PoP eMMC */ |
| 384 | sdi2_default_mode: sdi2_default { |
| 385 | default_mux { |
Linus Walleij | 68d41f2 | 2014-09-29 17:21:56 +0200 | [diff] [blame] | 386 | function = "mc2"; |
| 387 | groups = "mc2_a_1"; |
Linus Walleij | 1e66235 | 2013-11-13 13:46:57 +0100 | [diff] [blame] | 388 | }; |
| 389 | default_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 390 | pins = "GPIO128_A5"; /* CLK */ |
Linus Walleij | 1e66235 | 2013-11-13 13:46:57 +0100 | [diff] [blame] | 391 | ste,config = <&out_lo>; |
| 392 | }; |
| 393 | default_cfg2 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 394 | pins = "GPIO130_C8"; /* FBCLK */ |
Linus Walleij | 1e66235 | 2013-11-13 13:46:57 +0100 | [diff] [blame] | 395 | ste,config = <&in_nopull>; |
| 396 | }; |
| 397 | default_cfg3 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 398 | pins = |
Linus Walleij | 1e66235 | 2013-11-13 13:46:57 +0100 | [diff] [blame] | 399 | "GPIO129_B4", /* CMD */ |
| 400 | "GPIO131_A12", /* DAT0 */ |
| 401 | "GPIO132_C10", /* DAT1 */ |
| 402 | "GPIO133_B10", /* DAT2 */ |
| 403 | "GPIO134_B9", /* DAT3 */ |
| 404 | "GPIO135_A9", /* DAT4 */ |
| 405 | "GPIO136_C7", /* DAT5 */ |
| 406 | "GPIO137_A7", /* DAT6 */ |
| 407 | "GPIO138_C5"; /* DAT7 */ |
| 408 | ste,config = <&in_pu>; |
| 409 | }; |
| 410 | }; |
| 411 | |
| 412 | sdi2_sleep_mode: sdi2_sleep { |
| 413 | sleep_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 414 | pins = "GPIO128_A5"; /* CLK */ |
Linus Walleij | 1e66235 | 2013-11-13 13:46:57 +0100 | [diff] [blame] | 415 | ste,config = <&out_lo_wkup_pdis>; |
| 416 | }; |
| 417 | sleep_cfg2 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 418 | pins = |
Linus Walleij | 1e66235 | 2013-11-13 13:46:57 +0100 | [diff] [blame] | 419 | "GPIO130_C8", /* FBCLK */ |
| 420 | "GPIO129_B4"; /* CMD */ |
| 421 | ste,config = <&in_wkup_pdis_en>; |
| 422 | }; |
| 423 | sleep_cfg3 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 424 | pins = |
Linus Walleij | 1e66235 | 2013-11-13 13:46:57 +0100 | [diff] [blame] | 425 | "GPIO131_A12", /* DAT0 */ |
| 426 | "GPIO132_C10", /* DAT1 */ |
| 427 | "GPIO133_B10", /* DAT2 */ |
| 428 | "GPIO134_B9", /* DAT3 */ |
| 429 | "GPIO135_A9", /* DAT4 */ |
| 430 | "GPIO136_C7", /* DAT5 */ |
| 431 | "GPIO137_A7", /* DAT6 */ |
| 432 | "GPIO138_C5"; /* DAT7 */ |
| 433 | ste,config = <&in_wkup_pdis>; |
| 434 | }; |
| 435 | }; |
| 436 | }; |
| 437 | |
| 438 | sdi4 { |
| 439 | /* This is the eMMC 8 bits wide, usually PCB-mounted eMMC */ |
| 440 | sdi4_default_mode: sdi4_default { |
| 441 | default_mux { |
Linus Walleij | 68d41f2 | 2014-09-29 17:21:56 +0200 | [diff] [blame] | 442 | function = "mc4"; |
| 443 | groups = "mc4_a_1"; |
Linus Walleij | 1e66235 | 2013-11-13 13:46:57 +0100 | [diff] [blame] | 444 | }; |
| 445 | default_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 446 | pins = "GPIO203_AE23"; /* CLK */ |
Linus Walleij | 1e66235 | 2013-11-13 13:46:57 +0100 | [diff] [blame] | 447 | ste,config = <&out_lo>; |
| 448 | }; |
| 449 | default_cfg2 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 450 | pins = "GPIO202_AF25"; /* FBCLK */ |
Linus Walleij | 1e66235 | 2013-11-13 13:46:57 +0100 | [diff] [blame] | 451 | ste,config = <&in_nopull>; |
| 452 | }; |
| 453 | default_cfg3 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 454 | pins = |
Linus Walleij | 1e66235 | 2013-11-13 13:46:57 +0100 | [diff] [blame] | 455 | "GPIO201_AF24", /* CMD */ |
| 456 | "GPIO200_AH26", /* DAT0 */ |
| 457 | "GPIO199_AH23", /* DAT1 */ |
| 458 | "GPIO198_AG25", /* DAT2 */ |
| 459 | "GPIO197_AH24", /* DAT3 */ |
| 460 | "GPIO207_AJ23", /* DAT4 */ |
| 461 | "GPIO206_AG24", /* DAT5 */ |
| 462 | "GPIO205_AG23", /* DAT6 */ |
| 463 | "GPIO204_AF23"; /* DAT7 */ |
| 464 | ste,config = <&in_pu>; |
| 465 | }; |
| 466 | }; |
| 467 | |
| 468 | sdi4_sleep_mode: sdi4_sleep { |
| 469 | sleep_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 470 | pins = "GPIO203_AE23"; /* CLK */ |
Linus Walleij | 1e66235 | 2013-11-13 13:46:57 +0100 | [diff] [blame] | 471 | ste,config = <&out_lo_wkup_pdis>; |
| 472 | }; |
| 473 | sleep_cfg2 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 474 | pins = |
Linus Walleij | 1e66235 | 2013-11-13 13:46:57 +0100 | [diff] [blame] | 475 | "GPIO202_AF25", /* FBCLK */ |
| 476 | "GPIO201_AF24", /* CMD */ |
| 477 | "GPIO200_AH26", /* DAT0 */ |
| 478 | "GPIO199_AH23", /* DAT1 */ |
| 479 | "GPIO198_AG25", /* DAT2 */ |
| 480 | "GPIO197_AH24", /* DAT3 */ |
| 481 | "GPIO207_AJ23", /* DAT4 */ |
| 482 | "GPIO206_AG24", /* DAT5 */ |
| 483 | "GPIO205_AG23", /* DAT6 */ |
| 484 | "GPIO204_AF23"; /* DAT7 */ |
| 485 | ste,config = <&slpm_in_wkup_pdis>; |
| 486 | }; |
| 487 | }; |
| 488 | }; |
Linus Walleij | 70b41ab | 2013-11-13 14:45:06 +0100 | [diff] [blame] | 489 | |
| 490 | /* |
| 491 | * Multi-rate serial ports (MSPs) - MSP3 output is internal and |
| 492 | * cannot be muxed onto any pins. |
| 493 | */ |
| 494 | msp0 { |
| 495 | msp0_default_mode: msp0_default { |
| 496 | default_msp0_mux { |
Linus Walleij | 68d41f2 | 2014-09-29 17:21:56 +0200 | [diff] [blame] | 497 | function = "msp0"; |
| 498 | groups = "msp0txrx_a_1", "msp0tfstck_a_1"; |
Linus Walleij | 70b41ab | 2013-11-13 14:45:06 +0100 | [diff] [blame] | 499 | }; |
| 500 | default_msp0_cfg { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 501 | pins = |
Linus Walleij | 70b41ab | 2013-11-13 14:45:06 +0100 | [diff] [blame] | 502 | "GPIO12_AC4", /* TXD */ |
| 503 | "GPIO15_AC3", /* RXD */ |
| 504 | "GPIO13_AF3", /* TFS */ |
| 505 | "GPIO14_AE3"; /* TCK */ |
| 506 | ste,config = <&in_nopull>; |
| 507 | }; |
| 508 | }; |
| 509 | }; |
| 510 | |
| 511 | msp1 { |
| 512 | msp1_default_mode: msp1_default { |
| 513 | default_mux { |
Linus Walleij | 68d41f2 | 2014-09-29 17:21:56 +0200 | [diff] [blame] | 514 | function = "msp1"; |
| 515 | groups = "msp1txrx_a_1", "msp1_a_1"; |
Linus Walleij | 70b41ab | 2013-11-13 14:45:06 +0100 | [diff] [blame] | 516 | }; |
| 517 | default_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 518 | pins = "GPIO33_AF2"; |
Linus Walleij | 70b41ab | 2013-11-13 14:45:06 +0100 | [diff] [blame] | 519 | ste,config = <&out_lo>; |
| 520 | }; |
| 521 | default_cfg2 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 522 | pins = |
Linus Walleij | 70b41ab | 2013-11-13 14:45:06 +0100 | [diff] [blame] | 523 | "GPIO34_AE1", |
| 524 | "GPIO35_AE2", |
| 525 | "GPIO36_AG2"; |
| 526 | ste,config = <&in_nopull>; |
| 527 | }; |
| 528 | |
| 529 | }; |
| 530 | }; |
| 531 | |
| 532 | msp2 { |
| 533 | msp2_default_mode: msp2_default { |
| 534 | /* MSP2 usually used for HDMI audio */ |
| 535 | default_mux { |
Linus Walleij | 68d41f2 | 2014-09-29 17:21:56 +0200 | [diff] [blame] | 536 | function = "msp2"; |
| 537 | groups = "msp2_a_1"; |
Linus Walleij | 70b41ab | 2013-11-13 14:45:06 +0100 | [diff] [blame] | 538 | }; |
| 539 | default_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 540 | pins = |
Linus Walleij | 70b41ab | 2013-11-13 14:45:06 +0100 | [diff] [blame] | 541 | "GPIO193_AH27", /* TXD */ |
| 542 | "GPIO194_AF27", /* TCK */ |
| 543 | "GPIO195_AG28"; /* TFS */ |
| 544 | ste,config = <&in_pd>; |
| 545 | }; |
| 546 | default_cfg2 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 547 | pins = "GPIO196_AG26"; /* RXD */ |
Linus Walleij | 70b41ab | 2013-11-13 14:45:06 +0100 | [diff] [blame] | 548 | ste,config = <&out_lo>; |
| 549 | }; |
| 550 | }; |
| 551 | }; |
Linus Walleij | a12f703 | 2013-11-13 15:59:40 +0100 | [diff] [blame] | 552 | |
| 553 | |
| 554 | musb { |
| 555 | musb_default_mode: musb_default { |
| 556 | default_mux { |
Linus Walleij | 68d41f2 | 2014-09-29 17:21:56 +0200 | [diff] [blame] | 557 | function = "usb"; |
| 558 | groups = "usb_a_1"; |
Linus Walleij | a12f703 | 2013-11-13 15:59:40 +0100 | [diff] [blame] | 559 | }; |
| 560 | default_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 561 | pins = |
Linus Walleij | a12f703 | 2013-11-13 15:59:40 +0100 | [diff] [blame] | 562 | "GPIO256_AF28", /* NXT */ |
| 563 | "GPIO258_AD29", /* XCLK */ |
| 564 | "GPIO259_AC29", /* DIR */ |
| 565 | "GPIO260_AD28", /* DAT7 */ |
| 566 | "GPIO261_AD26", /* DAT6 */ |
| 567 | "GPIO262_AE26", /* DAT5 */ |
| 568 | "GPIO263_AG29", /* DAT4 */ |
| 569 | "GPIO264_AE27", /* DAT3 */ |
| 570 | "GPIO265_AD27", /* DAT2 */ |
| 571 | "GPIO266_AC28", /* DAT1 */ |
| 572 | "GPIO267_AC27"; /* DAT0 */ |
| 573 | ste,config = <&in_nopull>; |
| 574 | }; |
| 575 | default_cfg2 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 576 | pins = "GPIO257_AE29"; /* STP */ |
Linus Walleij | a12f703 | 2013-11-13 15:59:40 +0100 | [diff] [blame] | 577 | ste,config = <&out_hi>; |
| 578 | }; |
| 579 | }; |
| 580 | |
| 581 | musb_sleep_mode: musb_sleep { |
| 582 | sleep_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 583 | pins = |
Linus Walleij | a12f703 | 2013-11-13 15:59:40 +0100 | [diff] [blame] | 584 | "GPIO256_AF28", /* NXT */ |
| 585 | "GPIO258_AD29", /* XCLK */ |
| 586 | "GPIO259_AC29"; /* DIR */ |
| 587 | ste,config = <&slpm_wkup_pdis_en>; |
| 588 | }; |
| 589 | sleep_cfg2 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 590 | pins = "GPIO257_AE29"; /* STP */ |
Linus Walleij | a12f703 | 2013-11-13 15:59:40 +0100 | [diff] [blame] | 591 | ste,config = <&slpm_out_hi_wkup_pdis>; |
| 592 | }; |
| 593 | sleep_cfg3 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 594 | pins = |
Linus Walleij | a12f703 | 2013-11-13 15:59:40 +0100 | [diff] [blame] | 595 | "GPIO260_AD28", /* DAT7 */ |
| 596 | "GPIO261_AD26", /* DAT6 */ |
| 597 | "GPIO262_AE26", /* DAT5 */ |
| 598 | "GPIO263_AG29", /* DAT4 */ |
| 599 | "GPIO264_AE27", /* DAT3 */ |
| 600 | "GPIO265_AD27", /* DAT2 */ |
| 601 | "GPIO266_AC28", /* DAT1 */ |
| 602 | "GPIO267_AC27"; /* DAT0 */ |
| 603 | ste,config = <&slpm_in_wkup_pdis_en>; |
| 604 | }; |
| 605 | }; |
| 606 | }; |
Linus Walleij | 817a5b9 | 2013-11-14 15:23:20 +0100 | [diff] [blame] | 607 | |
| 608 | mcde { |
| 609 | lcd_default_mode: lcd_default { |
| 610 | default_mux { |
| 611 | /* Mux in VSI0 and all the data lines */ |
Linus Walleij | 68d41f2 | 2014-09-29 17:21:56 +0200 | [diff] [blame] | 612 | function = "lcd"; |
| 613 | groups = |
Linus Walleij | 817a5b9 | 2013-11-14 15:23:20 +0100 | [diff] [blame] | 614 | "lcdvsi0_a_1", /* VSI0 for LCD */ |
| 615 | "lcd_d0_d7_a_1", /* Data lines */ |
| 616 | "lcd_d8_d11_a_1", /* TV-out */ |
| 617 | "lcdaclk_b_1", /* Clock line for TV-out */ |
| 618 | "lcdvsi1_a_1"; /* VSI1 for HDMI */ |
| 619 | }; |
| 620 | default_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 621 | pins = |
Linus Walleij | 817a5b9 | 2013-11-14 15:23:20 +0100 | [diff] [blame] | 622 | "GPIO68_E1", /* VSI0 */ |
| 623 | "GPIO69_E2"; /* VSI1 */ |
| 624 | ste,config = <&in_pu>; |
| 625 | }; |
| 626 | }; |
| 627 | lcd_sleep_mode: lcd_sleep { |
| 628 | sleep_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 629 | pins = "GPIO69_E2"; /* VSI1 */ |
Linus Walleij | 817a5b9 | 2013-11-14 15:23:20 +0100 | [diff] [blame] | 630 | ste,config = <&slpm_in_wkup_pdis>; |
| 631 | }; |
| 632 | }; |
| 633 | }; |
Linus Walleij | 2795713 | 2013-11-15 09:20:28 +0100 | [diff] [blame] | 634 | |
| 635 | ske { |
| 636 | /* SKE keys on position 2 in an 8x8 matrix */ |
| 637 | ske_kpa2_default_mode: ske_kpa2_default { |
| 638 | default_mux { |
Linus Walleij | 68d41f2 | 2014-09-29 17:21:56 +0200 | [diff] [blame] | 639 | function = "kp"; |
| 640 | groups = "kp_a_2"; |
Linus Walleij | 2795713 | 2013-11-15 09:20:28 +0100 | [diff] [blame] | 641 | }; |
| 642 | default_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 643 | pins = |
Linus Walleij | 2795713 | 2013-11-15 09:20:28 +0100 | [diff] [blame] | 644 | "GPIO153_B17", /* I7 */ |
| 645 | "GPIO154_C16", /* I6 */ |
| 646 | "GPIO155_C19", /* I5 */ |
| 647 | "GPIO156_C17", /* I4 */ |
| 648 | "GPIO161_D21", /* I3 */ |
| 649 | "GPIO162_D20", /* I2 */ |
| 650 | "GPIO163_C20", /* I1 */ |
| 651 | "GPIO164_B21"; /* I0 */ |
| 652 | ste,config = <&in_pd>; |
| 653 | }; |
| 654 | default_cfg2 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 655 | pins = |
Linus Walleij | 2795713 | 2013-11-15 09:20:28 +0100 | [diff] [blame] | 656 | "GPIO157_A18", /* O7 */ |
| 657 | "GPIO158_C18", /* O6 */ |
| 658 | "GPIO159_B19", /* O5 */ |
| 659 | "GPIO160_B20", /* O4 */ |
| 660 | "GPIO165_C21", /* O3 */ |
| 661 | "GPIO166_A22", /* O2 */ |
| 662 | "GPIO167_B24", /* O1 */ |
| 663 | "GPIO168_C22"; /* O0 */ |
| 664 | ste,config = <&out_lo>; |
| 665 | }; |
| 666 | }; |
| 667 | ske_kpa2_sleep_mode: ske_kpa2_sleep { |
| 668 | sleep_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 669 | pins = |
Linus Walleij | 2795713 | 2013-11-15 09:20:28 +0100 | [diff] [blame] | 670 | "GPIO153_B17", /* I7 */ |
| 671 | "GPIO154_C16", /* I6 */ |
| 672 | "GPIO155_C19", /* I5 */ |
| 673 | "GPIO156_C17", /* I4 */ |
| 674 | "GPIO161_D21", /* I3 */ |
| 675 | "GPIO162_D20", /* I2 */ |
| 676 | "GPIO163_C20", /* I1 */ |
| 677 | "GPIO164_B21"; /* I0 */ |
| 678 | ste,config = <&slpm_in_pu_wkup_pdis_en>; |
| 679 | }; |
| 680 | sleep_cfg2 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 681 | pins = |
Linus Walleij | 2795713 | 2013-11-15 09:20:28 +0100 | [diff] [blame] | 682 | "GPIO157_A18", /* O7 */ |
| 683 | "GPIO158_C18", /* O6 */ |
| 684 | "GPIO159_B19", /* O5 */ |
| 685 | "GPIO160_B20", /* O4 */ |
| 686 | "GPIO165_C21", /* O3 */ |
| 687 | "GPIO166_A22", /* O2 */ |
| 688 | "GPIO167_B24", /* O1 */ |
| 689 | "GPIO168_C22"; /* O0 */ |
| 690 | ste,config = <&slpm_out_lo_pdis>; |
| 691 | }; |
| 692 | }; |
| 693 | /* |
| 694 | * SKE keys on position 1 and "other C1" combi giving |
| 695 | * six rows of six keys. |
| 696 | */ |
| 697 | ske_kpaoc1_default_mode: ske_kpaoc1_default { |
| 698 | default_mux { |
Linus Walleij | 68d41f2 | 2014-09-29 17:21:56 +0200 | [diff] [blame] | 699 | function = "kp"; |
| 700 | groups = "kp_a_1", "kp_oc1_1"; |
Linus Walleij | 2795713 | 2013-11-15 09:20:28 +0100 | [diff] [blame] | 701 | }; |
| 702 | default_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 703 | pins = |
Linus Walleij | 2795713 | 2013-11-15 09:20:28 +0100 | [diff] [blame] | 704 | "GPIO91_B6", /* KP_O0 */ |
| 705 | "GPIO90_A3", /* KP_O1 */ |
| 706 | "GPIO87_B3", /* KP_O2 */ |
| 707 | "GPIO86_C6", /* KP_O3 */ |
| 708 | "GPIO96_D8", /* KP_O6 */ |
| 709 | "GPIO94_D7"; /* KP_O7 */ |
| 710 | ste,config = <&out_lo>; |
| 711 | }; |
| 712 | default_cfg2 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 713 | pins = |
Linus Walleij | 2795713 | 2013-11-15 09:20:28 +0100 | [diff] [blame] | 714 | "GPIO93_B7", /* KP_I0 */ |
| 715 | "GPIO92_D6", /* KP_I1 */ |
| 716 | "GPIO89_E6", /* KP_I2 */ |
| 717 | "GPIO88_C4", /* KP_I3 */ |
| 718 | "GPIO97_D9", /* KP_I6 */ |
| 719 | "GPIO95_E8"; /* KP_I7 */ |
| 720 | ste,config = <&in_pu>; |
| 721 | }; |
| 722 | }; |
| 723 | }; |
Linus Walleij | 5026119 | 2013-11-15 14:06:00 +0100 | [diff] [blame] | 724 | |
| 725 | wlan { |
| 726 | wlan_default_mode: wlan_default { |
| 727 | /* |
| 728 | * Activate this mode with the WLAN chip. |
| 729 | * These are plain GPIO pins used by WLAN |
| 730 | */ |
| 731 | default_cfg1 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 732 | pins = |
Linus Walleij | 5026119 | 2013-11-15 14:06:00 +0100 | [diff] [blame] | 733 | "GPIO226_AF8", /* WLAN_PMU_EN */ |
| 734 | "GPIO85_D5"; /* WLAN_ENA */ |
| 735 | ste,config = <&gpio_out_lo>; |
| 736 | }; |
| 737 | default_cfg2 { |
Linus Walleij | 1637d48 | 2014-09-30 12:16:25 +0200 | [diff] [blame] | 738 | pins = "GPIO4_AH6"; /* WLAN_IRQ on UART1 */ |
Linus Walleij | 5026119 | 2013-11-15 14:06:00 +0100 | [diff] [blame] | 739 | ste,config = <&gpio_in_pu>; |
| 740 | }; |
| 741 | }; |
| 742 | }; |
Linus Walleij | 3bfdebb | 2013-11-13 10:32:20 +0100 | [diff] [blame] | 743 | }; |
| 744 | }; |
| 745 | }; |