/* -*- mode:c -*- * * Copyright (c) 2014 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ GPIO_INT(POWER_BUTTON_L, PIN(E, 4), GPIO_INT_BOTH | GPIO_PULL_UP, power_button_interrupt) GPIO_INT(LID_OPEN, PIN(E, 2), GPIO_INT_BOTH | GPIO_PULL_DOWN, lid_interrupt) GPIO(H_LED0, PIN(A, 0), GPIO_ODR_HIGH) GPIO(H_LED1, PIN(A, 1), GPIO_ODR_HIGH) GPIO(H_LED2, PIN(A, 2), GPIO_ODR_HIGH) GPIO(H_LED3, PIN(A, 3), GPIO_ODR_HIGH) GPIO(H_LED4, PIN(A, 4), GPIO_ODR_HIGH) GPIO(H_LED5, PIN(A, 5), GPIO_ODR_HIGH) GPIO(H_LED6, PIN(A, 6), GPIO_ODR_HIGH) GPIO(L_LED0, PIN(I, 0), GPIO_ODR_HIGH) GPIO(L_LED1, PIN(I, 1), GPIO_ODR_HIGH) GPIO(L_LED2, PIN(I, 2), GPIO_ODR_HIGH) GPIO(L_LED3, PIN(I, 3), GPIO_ODR_HIGH) GPIO(L_LED4, PIN(I, 4), GPIO_ODR_HIGH) GPIO(L_LED5, PIN(I, 5), GPIO_ODR_HIGH) GPIO(L_LED6, PIN(I, 6), GPIO_ODR_HIGH) GPIO(BUSY_LED, PIN(J, 0), GPIO_OUT_LOW) GPIO(GOOD_LED, PIN(J, 1), GPIO_OUT_HIGH) GPIO(FAIL_LED, PIN(J, 2), GPIO_OUT_LOW) GPIO(PCH_PLTRST_L, PIN(E, 3), GPIO_INPUT) GPIO(PCH_SMI_L, PIN(D, 3), GPIO_OUT_HIGH) GPIO(PCH_SCI_L, PIN(D, 4), GPIO_OUT_HIGH) GPIO(GATE_A20_H, PIN(B, 5), GPIO_OUT_HIGH) GPIO(PCH_RCIN_L, PIN(B, 6), GPIO_OUT_HIGH) GPIO(LPC_CLKRUN_L, PIN(H, 0), GPIO_OUT_LOW) /* Unimplemented signals which we need to emulate for now */ UNIMPLEMENTED(ENTERING_RW) ALTERNATE(PIN_MASK(B, 0x03), 1, MODULE_UART, GPIO_PULL_UP) /* UART0 */