From fec7a0ca5b89c78b0a8f74ad0d1f2f72d6f7ca24 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Wed, 11 Aug 2010 15:23:50 -0700 Subject: [PATCH] [ARM] tegra: stingray: Configure SYS_RESTART_B gpio Change-Id: I8ccdf18a0b34877a5689a968ad253b2eb7a7a4f3 Signed-off-by: Colin Cross --- arch/arm/mach-tegra/board-stingray.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-tegra/board-stingray.c b/arch/arm/mach-tegra/board-stingray.c index 18e14a670a0f..338fb0dc5c96 100644 --- a/arch/arm/mach-tegra/board-stingray.c +++ b/arch/arm/mach-tegra/board-stingray.c @@ -828,6 +828,10 @@ static void __init tegra_stingray_init(void) gpio_request(TEGRA_GPIO_PV4, "usb_data_en"); gpio_direction_output(TEGRA_GPIO_PV4, 1); + tegra_gpio_enable(TEGRA_GPIO_PG3); + gpio_request(TEGRA_GPIO_PG3, "sys_restart_b"); + gpio_direction_output(TEGRA_GPIO_PG3, 1); + /* Enable charging */ tegra_gpio_enable(TEGRA_GPIO_PV5); gpio_request(TEGRA_GPIO_PV5, "chg_stat1"); -- 2.34.1