summaryrefslogtreecommitdiff
path: root/board/cyan/lfw/gpio.inc
blob: d1bb19cfcb24a1d2ad521fe273a870b7eced1d11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* -*- 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.
 *
 * Minimal set of GPIOs needed for LFW loader
 */

GPIO(PVT_CS0,           PORT(14), 6, GPIO_ODR_HIGH)                 /* SPI PVT Chip select */

/* Alternate functions GPIO definition */
ALTERNATE(PORT(16),     0x24,   1,      MODULE_UART,            0)                      /* UART0 */
ALTERNATE(PORT(5),      0x10,   1,      MODULE_SPI,             0)
ALTERNATE(PORT(16),     0x10,   1,      MODULE_SPI,             0)
ALTERNATE(PORT(15),     0x08,   1,      MODULE_SPI,             0)                      /* 153: CLK */