1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later 2*f126890aSEmmanuel Vadot/* 3*f126890aSEmmanuel Vadot * Copyright 2013 Linaro Ltd. 4*f126890aSEmmanuel Vadot */ 5*f126890aSEmmanuel Vadot 6*f126890aSEmmanuel Vadot#include "ste-nomadik-pinctrl.dtsi" 7*f126890aSEmmanuel Vadot 8*f126890aSEmmanuel Vadot&pinctrl { 9*f126890aSEmmanuel Vadot /* Settings for all UART default and sleep states */ 10*f126890aSEmmanuel Vadot uart0 { 11*f126890aSEmmanuel Vadot u0_a_1_default: u0_a_1_default { 12*f126890aSEmmanuel Vadot default_mux { 13*f126890aSEmmanuel Vadot function = "u0"; 14*f126890aSEmmanuel Vadot groups = "u0_a_1"; 15*f126890aSEmmanuel Vadot }; 16*f126890aSEmmanuel Vadot default_cfg1 { 17*f126890aSEmmanuel Vadot pins = "GPIO0_AJ5", "GPIO2_AH4"; /* CTS+RXD */ 18*f126890aSEmmanuel Vadot ste,config = <&in_pu>; 19*f126890aSEmmanuel Vadot }; 20*f126890aSEmmanuel Vadot default_cfg2 { 21*f126890aSEmmanuel Vadot pins = "GPIO1_AJ3", "GPIO3_AH3"; /* RTS+TXD */ 22*f126890aSEmmanuel Vadot ste,config = <&out_hi>; 23*f126890aSEmmanuel Vadot }; 24*f126890aSEmmanuel Vadot }; 25*f126890aSEmmanuel Vadot 26*f126890aSEmmanuel Vadot u0_a_1_sleep: u0_a_1_sleep { 27*f126890aSEmmanuel Vadot sleep_cfg1 { 28*f126890aSEmmanuel Vadot pins = "GPIO0_AJ5", "GPIO2_AH4"; /* CTS+RXD */ 29*f126890aSEmmanuel Vadot ste,config = <&slpm_in_wkup_pdis>; 30*f126890aSEmmanuel Vadot }; 31*f126890aSEmmanuel Vadot sleep_cfg2 { 32*f126890aSEmmanuel Vadot pins = "GPIO1_AJ3"; /* RTS */ 33*f126890aSEmmanuel Vadot ste,config = <&slpm_out_hi_wkup_pdis>; 34*f126890aSEmmanuel Vadot }; 35*f126890aSEmmanuel Vadot sleep_cfg3 { 36*f126890aSEmmanuel Vadot pins = "GPIO3_AH3"; /* TXD */ 37*f126890aSEmmanuel Vadot ste,config = <&slpm_out_wkup_pdis>; 38*f126890aSEmmanuel Vadot }; 39*f126890aSEmmanuel Vadot }; 40*f126890aSEmmanuel Vadot }; 41*f126890aSEmmanuel Vadot 42*f126890aSEmmanuel Vadot uart1 { 43*f126890aSEmmanuel Vadot u1rxtx_a_1_default: u1rxtx_a_1_default { 44*f126890aSEmmanuel Vadot default_mux { 45*f126890aSEmmanuel Vadot function = "u1"; 46*f126890aSEmmanuel Vadot groups = "u1rxtx_a_1"; 47*f126890aSEmmanuel Vadot }; 48*f126890aSEmmanuel Vadot default_cfg1 { 49*f126890aSEmmanuel Vadot pins = "GPIO4_AH6"; /* RXD */ 50*f126890aSEmmanuel Vadot ste,config = <&in_pu>; 51*f126890aSEmmanuel Vadot }; 52*f126890aSEmmanuel Vadot default_cfg2 { 53*f126890aSEmmanuel Vadot pins = "GPIO5_AG6"; /* TXD */ 54*f126890aSEmmanuel Vadot ste,config = <&out_hi>; 55*f126890aSEmmanuel Vadot }; 56*f126890aSEmmanuel Vadot }; 57*f126890aSEmmanuel Vadot 58*f126890aSEmmanuel Vadot u1rxtx_a_1_sleep: u1rxtx_a_1_sleep { 59*f126890aSEmmanuel Vadot sleep_cfg1 { 60*f126890aSEmmanuel Vadot pins = "GPIO4_AH6"; /* RXD */ 61*f126890aSEmmanuel Vadot ste,config = <&slpm_in_wkup_pdis>; 62*f126890aSEmmanuel Vadot }; 63*f126890aSEmmanuel Vadot sleep_cfg2 { 64*f126890aSEmmanuel Vadot pins = "GPIO5_AG6"; /* TXD */ 65*f126890aSEmmanuel Vadot ste,config = <&slpm_out_wkup_pdis>; 66*f126890aSEmmanuel Vadot }; 67*f126890aSEmmanuel Vadot }; 68*f126890aSEmmanuel Vadot 69*f126890aSEmmanuel Vadot u1ctsrts_a_1_default: u1ctsrts_a_1_default { 70*f126890aSEmmanuel Vadot default_mux { 71*f126890aSEmmanuel Vadot function = "u1"; 72*f126890aSEmmanuel Vadot groups = "u1ctsrts_a_1"; 73*f126890aSEmmanuel Vadot }; 74*f126890aSEmmanuel Vadot default_cfg1 { 75*f126890aSEmmanuel Vadot pins = "GPIO6_AF6"; /* CTS */ 76*f126890aSEmmanuel Vadot ste,config = <&in_pu>; 77*f126890aSEmmanuel Vadot }; 78*f126890aSEmmanuel Vadot default_cfg2 { 79*f126890aSEmmanuel Vadot pins = "GPIO7_AG5"; /* RTS */ 80*f126890aSEmmanuel Vadot ste,config = <&out_hi>; 81*f126890aSEmmanuel Vadot }; 82*f126890aSEmmanuel Vadot }; 83*f126890aSEmmanuel Vadot 84*f126890aSEmmanuel Vadot u1ctsrts_a_1_sleep: u1ctsrts_a_1_sleep { 85*f126890aSEmmanuel Vadot sleep_cfg1 { 86*f126890aSEmmanuel Vadot pins = "GPIO6_AF6"; /* CTS */ 87*f126890aSEmmanuel Vadot ste,config = <&slpm_in_wkup_pdis>; 88*f126890aSEmmanuel Vadot }; 89*f126890aSEmmanuel Vadot sleep_cfg2 { 90*f126890aSEmmanuel Vadot pins = "GPIO7_AG5"; /* RTS */ 91*f126890aSEmmanuel Vadot ste,config = <&slpm_out_hi_wkup_pdis>; 92*f126890aSEmmanuel Vadot }; 93*f126890aSEmmanuel Vadot }; 94*f126890aSEmmanuel Vadot }; 95*f126890aSEmmanuel Vadot 96*f126890aSEmmanuel Vadot uart2 { 97*f126890aSEmmanuel Vadot u2rxtx_c_1_default: u2rxtx_c_1_default { 98*f126890aSEmmanuel Vadot default_mux { 99*f126890aSEmmanuel Vadot function = "u2"; 100*f126890aSEmmanuel Vadot groups = "u2rxtx_c_1"; 101*f126890aSEmmanuel Vadot }; 102*f126890aSEmmanuel Vadot default_cfg1 { 103*f126890aSEmmanuel Vadot pins = "GPIO29_W2"; /* RXD */ 104*f126890aSEmmanuel Vadot ste,config = <&in_pu>; 105*f126890aSEmmanuel Vadot }; 106*f126890aSEmmanuel Vadot default_cfg2 { 107*f126890aSEmmanuel Vadot pins = "GPIO30_W3"; /* TXD */ 108*f126890aSEmmanuel Vadot ste,config = <&out_hi>; 109*f126890aSEmmanuel Vadot }; 110*f126890aSEmmanuel Vadot }; 111*f126890aSEmmanuel Vadot 112*f126890aSEmmanuel Vadot u2rxtx_c_1_sleep: u2rxtx_c_1_sleep { 113*f126890aSEmmanuel Vadot sleep_cfg1 { 114*f126890aSEmmanuel Vadot pins = "GPIO29_W2"; /* RXD */ 115*f126890aSEmmanuel Vadot ste,config = <&in_wkup_pdis>; 116*f126890aSEmmanuel Vadot }; 117*f126890aSEmmanuel Vadot sleep_cfg2 { 118*f126890aSEmmanuel Vadot pins = "GPIO30_W3"; /* TXD */ 119*f126890aSEmmanuel Vadot ste,config = <&out_wkup_pdis>; 120*f126890aSEmmanuel Vadot }; 121*f126890aSEmmanuel Vadot }; 122*f126890aSEmmanuel Vadot }; 123*f126890aSEmmanuel Vadot 124*f126890aSEmmanuel Vadot /* Settings for all I2C default and sleep states */ 125*f126890aSEmmanuel Vadot i2c0 { 126*f126890aSEmmanuel Vadot i2c0_a_1_default: i2c0_a_1_default { 127*f126890aSEmmanuel Vadot default_mux { 128*f126890aSEmmanuel Vadot function = "i2c0"; 129*f126890aSEmmanuel Vadot groups = "i2c0_a_1"; 130*f126890aSEmmanuel Vadot }; 131*f126890aSEmmanuel Vadot default_cfg1 { 132*f126890aSEmmanuel Vadot pins = "GPIO147_C15", "GPIO148_B16"; /* SDA/SCL */ 133*f126890aSEmmanuel Vadot ste,config = <&in_nopull>; 134*f126890aSEmmanuel Vadot }; 135*f126890aSEmmanuel Vadot }; 136*f126890aSEmmanuel Vadot 137*f126890aSEmmanuel Vadot i2c0_a_1_sleep: i2c0_a_1_sleep { 138*f126890aSEmmanuel Vadot sleep_cfg1 { 139*f126890aSEmmanuel Vadot pins = "GPIO147_C15", "GPIO148_B16"; /* SDA/SCL */ 140*f126890aSEmmanuel Vadot ste,config = <&slpm_in_wkup_pdis>; 141*f126890aSEmmanuel Vadot }; 142*f126890aSEmmanuel Vadot }; 143*f126890aSEmmanuel Vadot }; 144*f126890aSEmmanuel Vadot 145*f126890aSEmmanuel Vadot i2c1 { 146*f126890aSEmmanuel Vadot i2c1_b_2_default: i2c1_b_2_default { 147*f126890aSEmmanuel Vadot default_mux { 148*f126890aSEmmanuel Vadot function = "i2c1"; 149*f126890aSEmmanuel Vadot groups = "i2c1_b_2"; 150*f126890aSEmmanuel Vadot }; 151*f126890aSEmmanuel Vadot default_cfg1 { 152*f126890aSEmmanuel Vadot pins = "GPIO16_AD3", "GPIO17_AD4"; /* SDA/SCL */ 153*f126890aSEmmanuel Vadot ste,config = <&in_nopull>; 154*f126890aSEmmanuel Vadot }; 155*f126890aSEmmanuel Vadot }; 156*f126890aSEmmanuel Vadot 157*f126890aSEmmanuel Vadot i2c1_b_2_sleep: i2c1_b_2_sleep { 158*f126890aSEmmanuel Vadot sleep_cfg1 { 159*f126890aSEmmanuel Vadot pins = "GPIO16_AD3", "GPIO17_AD4"; /* SDA/SCL */ 160*f126890aSEmmanuel Vadot ste,config = <&slpm_in_wkup_pdis>; 161*f126890aSEmmanuel Vadot }; 162*f126890aSEmmanuel Vadot }; 163*f126890aSEmmanuel Vadot }; 164*f126890aSEmmanuel Vadot 165*f126890aSEmmanuel Vadot i2c2 { 166*f126890aSEmmanuel Vadot i2c2_b_1_default: i2c2_b_1_default { 167*f126890aSEmmanuel Vadot default_mux { 168*f126890aSEmmanuel Vadot function = "i2c2"; 169*f126890aSEmmanuel Vadot groups = "i2c2_b_1"; 170*f126890aSEmmanuel Vadot }; 171*f126890aSEmmanuel Vadot default_cfg1 { 172*f126890aSEmmanuel Vadot pins = "GPIO8_AD5", "GPIO9_AE4"; /* SDA/SCL */ 173*f126890aSEmmanuel Vadot ste,config = <&in_nopull>; 174*f126890aSEmmanuel Vadot }; 175*f126890aSEmmanuel Vadot }; 176*f126890aSEmmanuel Vadot 177*f126890aSEmmanuel Vadot i2c2_b_1_sleep: i2c2_b_1_sleep { 178*f126890aSEmmanuel Vadot sleep_cfg1 { 179*f126890aSEmmanuel Vadot pins = "GPIO8_AD5", "GPIO9_AE4"; /* SDA/SCL */ 180*f126890aSEmmanuel Vadot ste,config = <&slpm_in_wkup_pdis>; 181*f126890aSEmmanuel Vadot }; 182*f126890aSEmmanuel Vadot }; 183*f126890aSEmmanuel Vadot 184*f126890aSEmmanuel Vadot i2c2_b_2_default: i2c2_b_2_default { 185*f126890aSEmmanuel Vadot default_mux { 186*f126890aSEmmanuel Vadot function = "i2c2"; 187*f126890aSEmmanuel Vadot groups = "i2c2_b_2"; 188*f126890aSEmmanuel Vadot }; 189*f126890aSEmmanuel Vadot default_cfg1 { 190*f126890aSEmmanuel Vadot pins = "GPIO10_AF5", "GPIO11_AG4"; /* SDA/SCL */ 191*f126890aSEmmanuel Vadot ste,config = <&in_nopull>; 192*f126890aSEmmanuel Vadot }; 193*f126890aSEmmanuel Vadot }; 194*f126890aSEmmanuel Vadot 195*f126890aSEmmanuel Vadot i2c2_b_2_sleep: i2c2_b_2_sleep { 196*f126890aSEmmanuel Vadot sleep_cfg1 { 197*f126890aSEmmanuel Vadot pins = "GPIO10_AF5", "GPIO11_AG4"; /* SDA/SCL */ 198*f126890aSEmmanuel Vadot ste,config = <&slpm_in_wkup_pdis>; 199*f126890aSEmmanuel Vadot }; 200*f126890aSEmmanuel Vadot }; 201*f126890aSEmmanuel Vadot }; 202*f126890aSEmmanuel Vadot 203*f126890aSEmmanuel Vadot i2c3 { 204*f126890aSEmmanuel Vadot i2c3_c_2_default: i2c3_c_2_default { 205*f126890aSEmmanuel Vadot default_mux { 206*f126890aSEmmanuel Vadot function = "i2c3"; 207*f126890aSEmmanuel Vadot groups = "i2c3_c_2"; 208*f126890aSEmmanuel Vadot }; 209*f126890aSEmmanuel Vadot default_cfg1 { 210*f126890aSEmmanuel Vadot pins = "GPIO229_AG7", "GPIO230_AF7"; /* SDA/SCL */ 211*f126890aSEmmanuel Vadot ste,config = <&in_nopull>; 212*f126890aSEmmanuel Vadot }; 213*f126890aSEmmanuel Vadot }; 214*f126890aSEmmanuel Vadot 215*f126890aSEmmanuel Vadot i2c3_c_2_sleep: i2c3_c_2_sleep { 216*f126890aSEmmanuel Vadot sleep_cfg1 { 217*f126890aSEmmanuel Vadot pins = "GPIO229_AG7", "GPIO230_AF7"; /* SDA/SCL */ 218*f126890aSEmmanuel Vadot ste,config = <&slpm_in_wkup_pdis>; 219*f126890aSEmmanuel Vadot }; 220*f126890aSEmmanuel Vadot }; 221*f126890aSEmmanuel Vadot }; 222*f126890aSEmmanuel Vadot 223*f126890aSEmmanuel Vadot /* 224*f126890aSEmmanuel Vadot * Activating I2C4 will conflict with UART1 about the same pins so do not 225*f126890aSEmmanuel Vadot * enable I2C4 and UART1 at the same time. 226*f126890aSEmmanuel Vadot */ 227*f126890aSEmmanuel Vadot i2c4 { 228*f126890aSEmmanuel Vadot i2c4_b_1_default: i2c4_b_1_default { 229*f126890aSEmmanuel Vadot default_mux { 230*f126890aSEmmanuel Vadot function = "i2c4"; 231*f126890aSEmmanuel Vadot groups = "i2c4_b_1"; 232*f126890aSEmmanuel Vadot }; 233*f126890aSEmmanuel Vadot default_cfg1 { 234*f126890aSEmmanuel Vadot pins = "GPIO4_AH6", "GPIO5_AG6"; /* SDA/SCL */ 235*f126890aSEmmanuel Vadot ste,config = <&in_nopull>; 236*f126890aSEmmanuel Vadot }; 237*f126890aSEmmanuel Vadot }; 238*f126890aSEmmanuel Vadot 239*f126890aSEmmanuel Vadot i2c4_b_1_sleep: i2c4_b_1_sleep { 240*f126890aSEmmanuel Vadot sleep_cfg1 { 241*f126890aSEmmanuel Vadot pins = "GPIO4_AH6", "GPIO5_AG6"; /* SDA/SCL */ 242*f126890aSEmmanuel Vadot ste,config = <&slpm_in_wkup_pdis>; 243*f126890aSEmmanuel Vadot }; 244*f126890aSEmmanuel Vadot }; 245*f126890aSEmmanuel Vadot }; 246*f126890aSEmmanuel Vadot 247*f126890aSEmmanuel Vadot /* Settings for all MMC/SD/SDIO default and sleep states */ 248*f126890aSEmmanuel Vadot sdi0 { 249*f126890aSEmmanuel Vadot /* This is the external SD card slot, 4 bits wide */ 250*f126890aSEmmanuel Vadot mc0_a_1_default: mc0_a_1_default { 251*f126890aSEmmanuel Vadot default_mux { 252*f126890aSEmmanuel Vadot function = "mc0"; 253*f126890aSEmmanuel Vadot groups = "mc0_a_1"; 254*f126890aSEmmanuel Vadot }; 255*f126890aSEmmanuel Vadot default_cfg1 { 256*f126890aSEmmanuel Vadot pins = 257*f126890aSEmmanuel Vadot "GPIO18_AC2", /* CMDDIR */ 258*f126890aSEmmanuel Vadot "GPIO19_AC1", /* DAT0DIR */ 259*f126890aSEmmanuel Vadot "GPIO20_AB4"; /* DAT2DIR */ 260*f126890aSEmmanuel Vadot ste,config = <&out_hi>; 261*f126890aSEmmanuel Vadot }; 262*f126890aSEmmanuel Vadot default_cfg2 { 263*f126890aSEmmanuel Vadot pins = "GPIO22_AA3"; /* FBCLK */ 264*f126890aSEmmanuel Vadot ste,config = <&in_nopull>; 265*f126890aSEmmanuel Vadot }; 266*f126890aSEmmanuel Vadot default_cfg3 { 267*f126890aSEmmanuel Vadot pins = "GPIO23_AA4"; /* CLK */ 268*f126890aSEmmanuel Vadot ste,config = <&out_lo>; 269*f126890aSEmmanuel Vadot }; 270*f126890aSEmmanuel Vadot default_cfg4 { 271*f126890aSEmmanuel Vadot pins = 272*f126890aSEmmanuel Vadot "GPIO24_AB2", /* CMD */ 273*f126890aSEmmanuel Vadot "GPIO25_Y4", /* DAT0 */ 274*f126890aSEmmanuel Vadot "GPIO26_Y2", /* DAT1 */ 275*f126890aSEmmanuel Vadot "GPIO27_AA2", /* DAT2 */ 276*f126890aSEmmanuel Vadot "GPIO28_AA1"; /* DAT3 */ 277*f126890aSEmmanuel Vadot ste,config = <&in_pu>; 278*f126890aSEmmanuel Vadot }; 279*f126890aSEmmanuel Vadot }; 280*f126890aSEmmanuel Vadot 281*f126890aSEmmanuel Vadot mc0_a_1_sleep: mc0_a_1_sleep { 282*f126890aSEmmanuel Vadot sleep_cfg1 { 283*f126890aSEmmanuel Vadot pins = 284*f126890aSEmmanuel Vadot "GPIO18_AC2", /* CMDDIR */ 285*f126890aSEmmanuel Vadot "GPIO19_AC1", /* DAT0DIR */ 286*f126890aSEmmanuel Vadot "GPIO20_AB4"; /* DAT2DIR */ 287*f126890aSEmmanuel Vadot ste,config = <&slpm_out_hi_wkup_pdis>; 288*f126890aSEmmanuel Vadot }; 289*f126890aSEmmanuel Vadot sleep_cfg2 { 290*f126890aSEmmanuel Vadot pins = 291*f126890aSEmmanuel Vadot "GPIO22_AA3", /* FBCLK */ 292*f126890aSEmmanuel Vadot "GPIO24_AB2", /* CMD */ 293*f126890aSEmmanuel Vadot "GPIO25_Y4", /* DAT0 */ 294*f126890aSEmmanuel Vadot "GPIO26_Y2", /* DAT1 */ 295*f126890aSEmmanuel Vadot "GPIO27_AA2", /* DAT2 */ 296*f126890aSEmmanuel Vadot "GPIO28_AA1"; /* DAT3 */ 297*f126890aSEmmanuel Vadot ste,config = <&slpm_in_wkup_pdis>; 298*f126890aSEmmanuel Vadot }; 299*f126890aSEmmanuel Vadot sleep_cfg3 { 300*f126890aSEmmanuel Vadot pins = "GPIO23_AA4"; /* CLK */ 301*f126890aSEmmanuel Vadot ste,config = <&slpm_out_lo_wkup_pdis>; 302*f126890aSEmmanuel Vadot }; 303*f126890aSEmmanuel Vadot }; 304*f126890aSEmmanuel Vadot 305*f126890aSEmmanuel Vadot mc0_a_2_default: mc0_a_2_default { 306*f126890aSEmmanuel Vadot default_mux { 307*f126890aSEmmanuel Vadot function = "mc0"; 308*f126890aSEmmanuel Vadot groups = "mc0_a_2"; 309*f126890aSEmmanuel Vadot }; 310*f126890aSEmmanuel Vadot default_cfg1 { 311*f126890aSEmmanuel Vadot pins = "GPIO22_AA3"; /* FBCLK */ 312*f126890aSEmmanuel Vadot ste,config = <&in_nopull>; 313*f126890aSEmmanuel Vadot }; 314*f126890aSEmmanuel Vadot default_cfg2 { 315*f126890aSEmmanuel Vadot pins = "GPIO23_AA4"; /* CLK */ 316*f126890aSEmmanuel Vadot ste,config = <&out_lo>; 317*f126890aSEmmanuel Vadot }; 318*f126890aSEmmanuel Vadot default_cfg3 { 319*f126890aSEmmanuel Vadot pins = 320*f126890aSEmmanuel Vadot "GPIO24_AB2", /* CMD */ 321*f126890aSEmmanuel Vadot "GPIO25_Y4", /* DAT0 */ 322*f126890aSEmmanuel Vadot "GPIO26_Y2", /* DAT1 */ 323*f126890aSEmmanuel Vadot "GPIO27_AA2", /* DAT2 */ 324*f126890aSEmmanuel Vadot "GPIO28_AA1"; /* DAT3 */ 325*f126890aSEmmanuel Vadot ste,config = <&in_pu>; 326*f126890aSEmmanuel Vadot }; 327*f126890aSEmmanuel Vadot }; 328*f126890aSEmmanuel Vadot 329*f126890aSEmmanuel Vadot mc0_a_2_sleep: mc0_a_2_sleep { 330*f126890aSEmmanuel Vadot sleep_cfg1 { 331*f126890aSEmmanuel Vadot pins = 332*f126890aSEmmanuel Vadot "GPIO22_AA3", /* FBCLK */ 333*f126890aSEmmanuel Vadot "GPIO24_AB2", /* CMD */ 334*f126890aSEmmanuel Vadot "GPIO25_Y4", /* DAT0 */ 335*f126890aSEmmanuel Vadot "GPIO26_Y2", /* DAT1 */ 336*f126890aSEmmanuel Vadot "GPIO27_AA2", /* DAT2 */ 337*f126890aSEmmanuel Vadot "GPIO28_AA1"; /* DAT3 */ 338*f126890aSEmmanuel Vadot ste,config = <&slpm_in_wkup_pdis>; 339*f126890aSEmmanuel Vadot }; 340*f126890aSEmmanuel Vadot sleep_cfg2 { 341*f126890aSEmmanuel Vadot pins = "GPIO23_AA4"; /* CLK */ 342*f126890aSEmmanuel Vadot ste,config = <&slpm_out_lo_wkup_pdis>; 343*f126890aSEmmanuel Vadot }; 344*f126890aSEmmanuel Vadot }; 345*f126890aSEmmanuel Vadot }; 346*f126890aSEmmanuel Vadot 347*f126890aSEmmanuel Vadot sdi1 { 348*f126890aSEmmanuel Vadot /* This is the WLAN SDIO 4 bits wide */ 349*f126890aSEmmanuel Vadot mc1_a_1_default: mc1_a_1_default { 350*f126890aSEmmanuel Vadot default_mux { 351*f126890aSEmmanuel Vadot function = "mc1"; 352*f126890aSEmmanuel Vadot groups = "mc1_a_1"; 353*f126890aSEmmanuel Vadot }; 354*f126890aSEmmanuel Vadot default_cfg1 { 355*f126890aSEmmanuel Vadot pins = "GPIO208_AH16"; /* CLK */ 356*f126890aSEmmanuel Vadot ste,config = <&out_lo>; 357*f126890aSEmmanuel Vadot }; 358*f126890aSEmmanuel Vadot default_cfg2 { 359*f126890aSEmmanuel Vadot pins = "GPIO209_AG15"; /* FBCLK */ 360*f126890aSEmmanuel Vadot ste,config = <&in_nopull>; 361*f126890aSEmmanuel Vadot }; 362*f126890aSEmmanuel Vadot default_cfg3 { 363*f126890aSEmmanuel Vadot pins = 364*f126890aSEmmanuel Vadot "GPIO210_AJ15", /* CMD */ 365*f126890aSEmmanuel Vadot "GPIO211_AG14", /* DAT0 */ 366*f126890aSEmmanuel Vadot "GPIO212_AF13", /* DAT1 */ 367*f126890aSEmmanuel Vadot "GPIO213_AG13", /* DAT2 */ 368*f126890aSEmmanuel Vadot "GPIO214_AH15"; /* DAT3 */ 369*f126890aSEmmanuel Vadot ste,config = <&in_pu>; 370*f126890aSEmmanuel Vadot }; 371*f126890aSEmmanuel Vadot }; 372*f126890aSEmmanuel Vadot 373*f126890aSEmmanuel Vadot mc1_a_1_sleep: mc1_a_1_sleep { 374*f126890aSEmmanuel Vadot sleep_cfg1 { 375*f126890aSEmmanuel Vadot pins = "GPIO208_AH16"; /* CLK */ 376*f126890aSEmmanuel Vadot ste,config = <&slpm_out_lo_wkup_pdis>; 377*f126890aSEmmanuel Vadot }; 378*f126890aSEmmanuel Vadot sleep_cfg2 { 379*f126890aSEmmanuel Vadot pins = 380*f126890aSEmmanuel Vadot "GPIO209_AG15", /* FBCLK */ 381*f126890aSEmmanuel Vadot "GPIO210_AJ15", /* CMD */ 382*f126890aSEmmanuel Vadot "GPIO211_AG14", /* DAT0 */ 383*f126890aSEmmanuel Vadot "GPIO212_AF13", /* DAT1 */ 384*f126890aSEmmanuel Vadot "GPIO213_AG13", /* DAT2 */ 385*f126890aSEmmanuel Vadot "GPIO214_AH15"; /* DAT3 */ 386*f126890aSEmmanuel Vadot ste,config = <&slpm_in_wkup_pdis>; 387*f126890aSEmmanuel Vadot }; 388*f126890aSEmmanuel Vadot }; 389*f126890aSEmmanuel Vadot 390*f126890aSEmmanuel Vadot mc1_a_2_default: mc1_a_2_default { 391*f126890aSEmmanuel Vadot default_mux { 392*f126890aSEmmanuel Vadot function = "mc1"; 393*f126890aSEmmanuel Vadot groups = "mc1_a_2"; 394*f126890aSEmmanuel Vadot }; 395*f126890aSEmmanuel Vadot default_cfg1 { 396*f126890aSEmmanuel Vadot pins = "GPIO208_AH16"; /* CLK */ 397*f126890aSEmmanuel Vadot ste,config = <&out_lo>; 398*f126890aSEmmanuel Vadot }; 399*f126890aSEmmanuel Vadot default_cfg2 { 400*f126890aSEmmanuel Vadot pins = 401*f126890aSEmmanuel Vadot "GPIO210_AJ15", /* CMD */ 402*f126890aSEmmanuel Vadot "GPIO211_AG14", /* DAT0 */ 403*f126890aSEmmanuel Vadot "GPIO212_AF13", /* DAT1 */ 404*f126890aSEmmanuel Vadot "GPIO213_AG13", /* DAT2 */ 405*f126890aSEmmanuel Vadot "GPIO214_AH15"; /* DAT3 */ 406*f126890aSEmmanuel Vadot ste,config = <&in_pu>; 407*f126890aSEmmanuel Vadot }; 408*f126890aSEmmanuel Vadot }; 409*f126890aSEmmanuel Vadot 410*f126890aSEmmanuel Vadot mc1_a_2_sleep: mc1_a_2_sleep { 411*f126890aSEmmanuel Vadot sleep_cfg1 { 412*f126890aSEmmanuel Vadot pins = "GPIO208_AH16"; /* CLK */ 413*f126890aSEmmanuel Vadot ste,config = <&slpm_out_lo_wkup_pdis>; 414*f126890aSEmmanuel Vadot }; 415*f126890aSEmmanuel Vadot sleep_cfg2 { 416*f126890aSEmmanuel Vadot pins = 417*f126890aSEmmanuel Vadot "GPIO210_AJ15", /* CMD */ 418*f126890aSEmmanuel Vadot "GPIO211_AG14", /* DAT0 */ 419*f126890aSEmmanuel Vadot "GPIO212_AF13", /* DAT1 */ 420*f126890aSEmmanuel Vadot "GPIO213_AG13", /* DAT2 */ 421*f126890aSEmmanuel Vadot "GPIO214_AH15"; /* DAT3 */ 422*f126890aSEmmanuel Vadot ste,config = <&slpm_in_wkup_pdis>; 423*f126890aSEmmanuel Vadot }; 424*f126890aSEmmanuel Vadot }; 425*f126890aSEmmanuel Vadot }; 426*f126890aSEmmanuel Vadot 427*f126890aSEmmanuel Vadot sdi2 { 428*f126890aSEmmanuel Vadot /* This is the eMMC 8 bits wide, usually PoP eMMC */ 429*f126890aSEmmanuel Vadot mc2_a_1_default: mc2_a_1_default { 430*f126890aSEmmanuel Vadot default_mux { 431*f126890aSEmmanuel Vadot function = "mc2"; 432*f126890aSEmmanuel Vadot groups = "mc2_a_1"; 433*f126890aSEmmanuel Vadot }; 434*f126890aSEmmanuel Vadot default_cfg1 { 435*f126890aSEmmanuel Vadot pins = "GPIO128_A5"; /* CLK */ 436*f126890aSEmmanuel Vadot ste,config = <&out_lo>; 437*f126890aSEmmanuel Vadot }; 438*f126890aSEmmanuel Vadot default_cfg2 { 439*f126890aSEmmanuel Vadot pins = "GPIO130_C8"; /* FBCLK */ 440*f126890aSEmmanuel Vadot ste,config = <&in_nopull>; 441*f126890aSEmmanuel Vadot }; 442*f126890aSEmmanuel Vadot default_cfg3 { 443*f126890aSEmmanuel Vadot pins = 444*f126890aSEmmanuel Vadot "GPIO129_B4", /* CMD */ 445*f126890aSEmmanuel Vadot "GPIO131_A12", /* DAT0 */ 446*f126890aSEmmanuel Vadot "GPIO132_C10", /* DAT1 */ 447*f126890aSEmmanuel Vadot "GPIO133_B10", /* DAT2 */ 448*f126890aSEmmanuel Vadot "GPIO134_B9", /* DAT3 */ 449*f126890aSEmmanuel Vadot "GPIO135_A9", /* DAT4 */ 450*f126890aSEmmanuel Vadot "GPIO136_C7", /* DAT5 */ 451*f126890aSEmmanuel Vadot "GPIO137_A7", /* DAT6 */ 452*f126890aSEmmanuel Vadot "GPIO138_C5"; /* DAT7 */ 453*f126890aSEmmanuel Vadot ste,config = <&in_pu>; 454*f126890aSEmmanuel Vadot }; 455*f126890aSEmmanuel Vadot }; 456*f126890aSEmmanuel Vadot 457*f126890aSEmmanuel Vadot mc2_a_1_sleep: mc2_a_1_sleep { 458*f126890aSEmmanuel Vadot sleep_cfg1 { 459*f126890aSEmmanuel Vadot pins = "GPIO128_A5"; /* CLK */ 460*f126890aSEmmanuel Vadot ste,config = <&out_lo_wkup_pdis>; 461*f126890aSEmmanuel Vadot }; 462*f126890aSEmmanuel Vadot sleep_cfg2 { 463*f126890aSEmmanuel Vadot pins = 464*f126890aSEmmanuel Vadot "GPIO130_C8", /* FBCLK */ 465*f126890aSEmmanuel Vadot "GPIO129_B4"; /* CMD */ 466*f126890aSEmmanuel Vadot ste,config = <&in_wkup_pdis_en>; 467*f126890aSEmmanuel Vadot }; 468*f126890aSEmmanuel Vadot sleep_cfg3 { 469*f126890aSEmmanuel Vadot pins = 470*f126890aSEmmanuel Vadot "GPIO131_A12", /* DAT0 */ 471*f126890aSEmmanuel Vadot "GPIO132_C10", /* DAT1 */ 472*f126890aSEmmanuel Vadot "GPIO133_B10", /* DAT2 */ 473*f126890aSEmmanuel Vadot "GPIO134_B9", /* DAT3 */ 474*f126890aSEmmanuel Vadot "GPIO135_A9", /* DAT4 */ 475*f126890aSEmmanuel Vadot "GPIO136_C7", /* DAT5 */ 476*f126890aSEmmanuel Vadot "GPIO137_A7", /* DAT6 */ 477*f126890aSEmmanuel Vadot "GPIO138_C5"; /* DAT7 */ 478*f126890aSEmmanuel Vadot ste,config = <&in_wkup_pdis>; 479*f126890aSEmmanuel Vadot }; 480*f126890aSEmmanuel Vadot }; 481*f126890aSEmmanuel Vadot }; 482*f126890aSEmmanuel Vadot 483*f126890aSEmmanuel Vadot sdi4 { 484*f126890aSEmmanuel Vadot /* This is the eMMC 8 bits wide, usually PCB-mounted eMMC */ 485*f126890aSEmmanuel Vadot mc4_a_1_default: mc4_a_1_default { 486*f126890aSEmmanuel Vadot default_mux { 487*f126890aSEmmanuel Vadot function = "mc4"; 488*f126890aSEmmanuel Vadot groups = "mc4_a_1"; 489*f126890aSEmmanuel Vadot }; 490*f126890aSEmmanuel Vadot default_cfg1 { 491*f126890aSEmmanuel Vadot pins = "GPIO203_AE23"; /* CLK */ 492*f126890aSEmmanuel Vadot ste,config = <&out_lo>; 493*f126890aSEmmanuel Vadot }; 494*f126890aSEmmanuel Vadot default_cfg2 { 495*f126890aSEmmanuel Vadot pins = "GPIO202_AF25"; /* FBCLK */ 496*f126890aSEmmanuel Vadot ste,config = <&in_nopull>; 497*f126890aSEmmanuel Vadot }; 498*f126890aSEmmanuel Vadot default_cfg3 { 499*f126890aSEmmanuel Vadot pins = 500*f126890aSEmmanuel Vadot "GPIO201_AF24", /* CMD */ 501*f126890aSEmmanuel Vadot "GPIO200_AH26", /* DAT0 */ 502*f126890aSEmmanuel Vadot "GPIO199_AH23", /* DAT1 */ 503*f126890aSEmmanuel Vadot "GPIO198_AG25", /* DAT2 */ 504*f126890aSEmmanuel Vadot "GPIO197_AH24", /* DAT3 */ 505*f126890aSEmmanuel Vadot "GPIO207_AJ23", /* DAT4 */ 506*f126890aSEmmanuel Vadot "GPIO206_AG24", /* DAT5 */ 507*f126890aSEmmanuel Vadot "GPIO205_AG23", /* DAT6 */ 508*f126890aSEmmanuel Vadot "GPIO204_AF23"; /* DAT7 */ 509*f126890aSEmmanuel Vadot ste,config = <&in_pu>; 510*f126890aSEmmanuel Vadot }; 511*f126890aSEmmanuel Vadot }; 512*f126890aSEmmanuel Vadot 513*f126890aSEmmanuel Vadot mc4_a_1_sleep: mc4_a_1_sleep { 514*f126890aSEmmanuel Vadot sleep_cfg1 { 515*f126890aSEmmanuel Vadot pins = "GPIO203_AE23"; /* CLK */ 516*f126890aSEmmanuel Vadot ste,config = <&out_lo_wkup_pdis>; 517*f126890aSEmmanuel Vadot }; 518*f126890aSEmmanuel Vadot sleep_cfg2 { 519*f126890aSEmmanuel Vadot pins = 520*f126890aSEmmanuel Vadot "GPIO202_AF25", /* FBCLK */ 521*f126890aSEmmanuel Vadot "GPIO201_AF24", /* CMD */ 522*f126890aSEmmanuel Vadot "GPIO200_AH26", /* DAT0 */ 523*f126890aSEmmanuel Vadot "GPIO199_AH23", /* DAT1 */ 524*f126890aSEmmanuel Vadot "GPIO198_AG25", /* DAT2 */ 525*f126890aSEmmanuel Vadot "GPIO197_AH24", /* DAT3 */ 526*f126890aSEmmanuel Vadot "GPIO207_AJ23", /* DAT4 */ 527*f126890aSEmmanuel Vadot "GPIO206_AG24", /* DAT5 */ 528*f126890aSEmmanuel Vadot "GPIO205_AG23", /* DAT6 */ 529*f126890aSEmmanuel Vadot "GPIO204_AF23"; /* DAT7 */ 530*f126890aSEmmanuel Vadot ste,config = <&slpm_in_wkup_pdis>; 531*f126890aSEmmanuel Vadot }; 532*f126890aSEmmanuel Vadot }; 533*f126890aSEmmanuel Vadot }; 534*f126890aSEmmanuel Vadot 535*f126890aSEmmanuel Vadot /* 536*f126890aSEmmanuel Vadot * Multi-rate serial ports (MSPs) - MSP3 output is internal and 537*f126890aSEmmanuel Vadot * cannot be muxed onto any pins. 538*f126890aSEmmanuel Vadot */ 539*f126890aSEmmanuel Vadot msp0 { 540*f126890aSEmmanuel Vadot msp0txrxtfstck_a_1_default: msp0txrxtfstck_a_1_default { 541*f126890aSEmmanuel Vadot default_msp0_mux { 542*f126890aSEmmanuel Vadot function = "msp0"; 543*f126890aSEmmanuel Vadot groups = "msp0txrx_a_1", "msp0tfstck_a_1"; 544*f126890aSEmmanuel Vadot }; 545*f126890aSEmmanuel Vadot default_msp0_cfg { 546*f126890aSEmmanuel Vadot pins = 547*f126890aSEmmanuel Vadot "GPIO12_AC4", /* TXD */ 548*f126890aSEmmanuel Vadot "GPIO15_AC3", /* RXD */ 549*f126890aSEmmanuel Vadot "GPIO13_AF3", /* TFS */ 550*f126890aSEmmanuel Vadot "GPIO14_AE3"; /* TCK */ 551*f126890aSEmmanuel Vadot ste,config = <&in_nopull>; 552*f126890aSEmmanuel Vadot }; 553*f126890aSEmmanuel Vadot }; 554*f126890aSEmmanuel Vadot }; 555*f126890aSEmmanuel Vadot 556*f126890aSEmmanuel Vadot msp1 { 557*f126890aSEmmanuel Vadot msp1txrx_a_1_default: msp1txrx_a_1_default { 558*f126890aSEmmanuel Vadot default_mux { 559*f126890aSEmmanuel Vadot function = "msp1"; 560*f126890aSEmmanuel Vadot groups = "msp1txrx_a_1", "msp1_a_1"; 561*f126890aSEmmanuel Vadot }; 562*f126890aSEmmanuel Vadot default_cfg1 { 563*f126890aSEmmanuel Vadot pins = "GPIO33_AF2"; 564*f126890aSEmmanuel Vadot ste,config = <&out_lo>; 565*f126890aSEmmanuel Vadot }; 566*f126890aSEmmanuel Vadot default_cfg2 { 567*f126890aSEmmanuel Vadot pins = 568*f126890aSEmmanuel Vadot "GPIO34_AE1", 569*f126890aSEmmanuel Vadot "GPIO35_AE2", 570*f126890aSEmmanuel Vadot "GPIO36_AG2"; 571*f126890aSEmmanuel Vadot ste,config = <&in_nopull>; 572*f126890aSEmmanuel Vadot }; 573*f126890aSEmmanuel Vadot }; 574*f126890aSEmmanuel Vadot }; 575*f126890aSEmmanuel Vadot 576*f126890aSEmmanuel Vadot msp2 { 577*f126890aSEmmanuel Vadot msp2_a_1_default: msp2_a_1_default { 578*f126890aSEmmanuel Vadot /* MSP2 usually used for HDMI audio */ 579*f126890aSEmmanuel Vadot default_mux { 580*f126890aSEmmanuel Vadot function = "msp2"; 581*f126890aSEmmanuel Vadot groups = "msp2_a_1"; 582*f126890aSEmmanuel Vadot }; 583*f126890aSEmmanuel Vadot default_cfg1 { 584*f126890aSEmmanuel Vadot pins = 585*f126890aSEmmanuel Vadot "GPIO193_AH27", /* TXD */ 586*f126890aSEmmanuel Vadot "GPIO194_AF27", /* TCK */ 587*f126890aSEmmanuel Vadot "GPIO195_AG28"; /* TFS */ 588*f126890aSEmmanuel Vadot ste,config = <&in_pd>; 589*f126890aSEmmanuel Vadot }; 590*f126890aSEmmanuel Vadot default_cfg2 { 591*f126890aSEmmanuel Vadot pins = "GPIO196_AG26"; /* RXD */ 592*f126890aSEmmanuel Vadot ste,config = <&out_lo>; 593*f126890aSEmmanuel Vadot }; 594*f126890aSEmmanuel Vadot }; 595*f126890aSEmmanuel Vadot }; 596*f126890aSEmmanuel Vadot 597*f126890aSEmmanuel Vadot musb { 598*f126890aSEmmanuel Vadot usb_a_1_default: usb_a_1_default { 599*f126890aSEmmanuel Vadot default_mux { 600*f126890aSEmmanuel Vadot function = "usb"; 601*f126890aSEmmanuel Vadot groups = "usb_a_1"; 602*f126890aSEmmanuel Vadot }; 603*f126890aSEmmanuel Vadot default_cfg1 { 604*f126890aSEmmanuel Vadot pins = 605*f126890aSEmmanuel Vadot "GPIO256_AF28", /* NXT */ 606*f126890aSEmmanuel Vadot "GPIO258_AD29", /* XCLK */ 607*f126890aSEmmanuel Vadot "GPIO259_AC29", /* DIR */ 608*f126890aSEmmanuel Vadot "GPIO260_AD28", /* DAT7 */ 609*f126890aSEmmanuel Vadot "GPIO261_AD26", /* DAT6 */ 610*f126890aSEmmanuel Vadot "GPIO262_AE26", /* DAT5 */ 611*f126890aSEmmanuel Vadot "GPIO263_AG29", /* DAT4 */ 612*f126890aSEmmanuel Vadot "GPIO264_AE27", /* DAT3 */ 613*f126890aSEmmanuel Vadot "GPIO265_AD27", /* DAT2 */ 614*f126890aSEmmanuel Vadot "GPIO266_AC28", /* DAT1 */ 615*f126890aSEmmanuel Vadot "GPIO267_AC27"; /* DAT0 */ 616*f126890aSEmmanuel Vadot ste,config = <&in_nopull>; 617*f126890aSEmmanuel Vadot }; 618*f126890aSEmmanuel Vadot default_cfg2 { 619*f126890aSEmmanuel Vadot pins = "GPIO257_AE29"; /* STP */ 620*f126890aSEmmanuel Vadot ste,config = <&out_hi>; 621*f126890aSEmmanuel Vadot }; 622*f126890aSEmmanuel Vadot }; 623*f126890aSEmmanuel Vadot 624*f126890aSEmmanuel Vadot usb_a_1_sleep: usb_a_1_sleep { 625*f126890aSEmmanuel Vadot sleep_cfg1 { 626*f126890aSEmmanuel Vadot pins = 627*f126890aSEmmanuel Vadot "GPIO256_AF28", /* NXT */ 628*f126890aSEmmanuel Vadot "GPIO258_AD29", /* XCLK */ 629*f126890aSEmmanuel Vadot "GPIO259_AC29"; /* DIR */ 630*f126890aSEmmanuel Vadot ste,config = <&slpm_wkup_pdis_en>; 631*f126890aSEmmanuel Vadot }; 632*f126890aSEmmanuel Vadot sleep_cfg2 { 633*f126890aSEmmanuel Vadot pins = "GPIO257_AE29"; /* STP */ 634*f126890aSEmmanuel Vadot ste,config = <&slpm_out_hi_wkup_pdis>; 635*f126890aSEmmanuel Vadot }; 636*f126890aSEmmanuel Vadot sleep_cfg3 { 637*f126890aSEmmanuel Vadot pins = 638*f126890aSEmmanuel Vadot "GPIO260_AD28", /* DAT7 */ 639*f126890aSEmmanuel Vadot "GPIO261_AD26", /* DAT6 */ 640*f126890aSEmmanuel Vadot "GPIO262_AE26", /* DAT5 */ 641*f126890aSEmmanuel Vadot "GPIO263_AG29", /* DAT4 */ 642*f126890aSEmmanuel Vadot "GPIO264_AE27", /* DAT3 */ 643*f126890aSEmmanuel Vadot "GPIO265_AD27", /* DAT2 */ 644*f126890aSEmmanuel Vadot "GPIO266_AC28", /* DAT1 */ 645*f126890aSEmmanuel Vadot "GPIO267_AC27"; /* DAT0 */ 646*f126890aSEmmanuel Vadot ste,config = <&slpm_in_wkup_pdis_en>; 647*f126890aSEmmanuel Vadot }; 648*f126890aSEmmanuel Vadot }; 649*f126890aSEmmanuel Vadot }; 650*f126890aSEmmanuel Vadot}; 651