DB8500_PIN_HOG("GPIO226_AF8", gpio_out_hi), /* AC_WAKE0 */ /* RESOUT */ DB8500_PIN_HOG("GPIO84_C2", gpio_in_nopull), /* RESOUT0 */ DB8500_PIN_HOG("GPIO85_D5", gpio_in_nopull), /* RESOUT2 */ /* SD card detect */ DB8500_PIN_HOG("GPIO230_AF7", gpio_in_pu), /* * The following pin sets were known as "runtime pins" before being * converted to the pinctrl model. Here we model them as "default" * states. */ /* Mux in I2C blocks */ DB8500_MUX("i2c0_a_1", "i2c0", "nmk-i2c.0"), /* i2c0 sleep state */ DB8500_PIN_SLEEP("GPIO147_C15", slpm_in_nopull_wkup_pdis, "nmk-i2c.0"), DB8500_PIN_SLEEP("GPIO148_B16", slpm_in_nopull_wkup_pdis, "nmk-i2c.0"), /* Mux in I2C1 blocks, put pins into GPIO in sleepmode no pull-up */ DB8500_MUX("i2c1_b_2", "i2c1", "nmk-i2c.1"), /* i2c1 sleep state */ DB8500_PIN_SLEEP("GPIO16_AD3", slpm_in_nopull_wkup_pdis, "nmk-i2c.1"), DB8500_PIN_SLEEP("GPIO17_AD4", slpm_in_nopull_wkup_pdis, "nmk-i2c.1"), /* Mux in I2C2 blocks, put pins into GPIO in sleepmode no pull-up */ DB8500_MUX("i2c2_b_2", "i2c2", "nmk-i2c.2"), /* i2c2 sleep state */ DB8500_PIN_SLEEP("GPIO10_AF5", slpm_in_nopull_wkup_pdis, "nmk-i2c.2"), DB8500_PIN_SLEEP("GPIO11_AG4", slpm_in_nopull_wkup_pdis, "nmk-i2c.2"),
* UART0, we do not mux in u0 here. * uart-0 pins gpio configuration should be kept intact to prevent * a glitch in tx line when the tty dev is opened. Later these pins * are configured by uart driver */ DB8500_PIN_HOG("GPIO0_AJ5", in_pu), /* CTS */ DB8500_PIN_HOG("GPIO1_AJ3", out_hi), /* RTS */ DB8500_PIN_HOG("GPIO2_AH4", in_pu), /* RXD */ DB8500_PIN_HOG("GPIO3_AH3", out_hi), /* TXD */ /* * Mux in UART2 on altfunction C and set pull-ups. * TODO: is this used on U8500 variants and Snowball really? * The setting on GPIO31 conflicts with magnetometer use on hrefv60 */ /* default state for UART2 */ DB8500_MUX("u2rxtx_c_1", "u2", "uart2"), DB8500_PIN("GPIO29_W2", in_pu, "uart2"), /* RXD */ DB8500_PIN("GPIO30_W3", out_hi, "uart2"), /* TXD */ /* Sleep state for UART2 */ DB8500_PIN_SLEEP("GPIO29_W2", in_wkup_pdis, "uart2"), DB8500_PIN_SLEEP("GPIO30_W3", out_wkup_pdis, "uart2"), /* * The following pin sets were known as "runtime pins" before being * converted to the pinctrl model. Here we model them as "default" * states. */ /* Mux in UART0 after initialization */ DB8500_MUX("u0_a_1", "u0", "uart0"), DB8500_PIN("GPIO0_AJ5", in_pu, "uart0"), /* CTS */ DB8500_PIN("GPIO1_AJ3", out_hi, "uart0"), /* RTS */ DB8500_PIN("GPIO2_AH4", in_pu, "uart0"), /* RXD */