1 /* 2 * Copyright (C) 2018 Marvell International Ltd. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 * https://spdx.org/licenses 6 */ 7 8 #include <a3700_pm.h> 9 #include <plat_marvell.h> 10 11 /* This struct provides the PM wake up src configuration for A3720 Development Board */ 12 static struct pm_wake_up_src_config wake_up_src_cfg = { 13 .wake_up_src_num = 3, 14 .wake_up_src[0] = { 15 .wake_up_src_type = WAKE_UP_SRC_GPIO, 16 .wake_up_data = { 17 .gpio_data.bank_num = 0, /* North Bridge */ 18 .gpio_data.gpio_num = 14 19 } 20 }, 21 .wake_up_src[1] = { 22 .wake_up_src_type = WAKE_UP_SRC_GPIO, 23 .wake_up_data = { 24 .gpio_data.bank_num = 1, /* South Bridge */ 25 .gpio_data.gpio_num = 2 26 } 27 }, 28 .wake_up_src[2] = { 29 .wake_up_src_type = WAKE_UP_SRC_UART1, 30 } 31 }; 32 mv_wake_up_src_config_get(void)33struct pm_wake_up_src_config *mv_wake_up_src_config_get(void) 34 { 35 return &wake_up_src_cfg; 36 } 37 38