&pinctrl_alive {
pinctrl-names = "default";
- pinctrl-0 = <&initial_alive>;
+ pinctrl-0 = <&initial_alive &sleep_alive>;
initial_alive: initial-state {
PIN(IN, gpa0-0, DOWN, LV1); /* CLK_REQ */
PIN(IN, gpf5-7, DOWN, LV1); /* COMPANION_RSTN */
};
+ sleep_alive: sleep-state {
+ PIN_SLP(gpf2-2, INPUT, UP); /* MCU_AP_INT_2_1.8V */
+ PIN_SLP(gpf2-3, OUT0, DOWN); /* AP_MCU_INT_1.8V */
+ };
+
nfc_n5_en: nfc-n5-en {
samsung,pins = "gpf1-4";
samsung,pin-function = <1>;
PIN_SLP(gpc0-1, PREV, DOWN); /* FLASH_LED_STROBE */
PIN_SLP(gpc0-2, INPUT, DOWN); /* FLASH_LED_TORCH */
PIN_SLP(gpd4-0, PREV, DOWN); /* BT_EN */
+
+ PIN_SLP(gpd8-0, OUT1, UP); /* SHUB_SPI_SCK */
+ PIN_SLP(gpd8-1, OUT1, UP); /* SHUB_SPI_SSN */
+ PIN_SLP(gpd6-0, INPUT, DOWN); /* SHUB_SPI_MISO */
+ PIN_SLP(gpd6-1, OUT1, UP); /* SHUB_SPI_MOSI */
+ PIN_SLP(gpg2-0, PREV, NONE); /* GPS_HUB_EN */
};
fimc_is_ois_hsi2c_on: fimc-is-ois-hsi2c-on {
&pinctrl_alive {
pinctrl-names = "default";
- pinctrl-0 = <&initial_alive>;
+ pinctrl-0 = <&initial_alive &sleep_alive>;
initial_alive: initial-state {
PIN(IN, gpa0-0, DOWN, LV1); /* CLK_REQ */
PIN(IN, gpf5-7, DOWN, LV1); /* COMPANION_RSTN */
};
+ sleep_alive: sleep-state {
+ PIN_SLP(gpf2-2, INPUT, UP); /* MCU_AP_INT_2_1.8V */
+ PIN_SLP(gpf2-3, OUT0, DOWN); /* AP_MCU_INT_1.8V */
+ };
+
nfc_n5_en: nfc-n5-en {
samsung,pins = "gpf1-4";
samsung,pin-function = <1>;
PIN_SLP(gpc0-1, PREV, DOWN); /* FLASH_LED_STROBE */
PIN_SLP(gpc0-2, INPUT, DOWN); /* FLASH_LED_TORCH */
PIN_SLP(gpd4-0, PREV, DOWN); /* BT_EN */
+
+ PIN_SLP(gpd8-0, OUT1, UP); /* SHUB_SPI_SCK */
+ PIN_SLP(gpd8-1, OUT1, UP); /* SHUB_SPI_SSN */
+ PIN_SLP(gpd6-0, INPUT, DOWN); /* SHUB_SPI_MISO */
+ PIN_SLP(gpd6-1, OUT1, UP); /* SHUB_SPI_MOSI */
+ PIN_SLP(gpg2-0, PREV, NONE); /* GPS_HUB_EN */
};
fimc_is_ois_hsi2c_on: fimc-is-ois-hsi2c-on {