blob: 3456e6acdd78c8d4e52de66e24e1822376a999c6 [file] [log] [blame]
David Hendricks09ab8562015-01-16 12:08:38 -08001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright 2014 Google Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
David Hendricks09ab8562015-01-16 12:08:38 -080014 */
15
David Hendricksc3f18da2015-06-03 17:20:54 -070016#ifndef __MAINBOARD_GOOGLE_VEYRON_DANGER_BOARD_H
17#define __MAINBOARD_GOOGLE_VEYRON_DANGER_BOARD_H
David Hendricks09ab8562015-01-16 12:08:38 -080018
19#include <boardid.h>
20#include <gpio.h>
21
huang lin8eb99d02015-03-12 19:29:12 -070022#define GPIO_BACKLIGHT GPIO(7, A, 3)
David Hendricks09ab8562015-01-16 12:08:38 -080023#define GPIO_RESET GPIO(0, B, 5)
David Hendricksc3b0e292015-04-22 15:05:18 -070024#define GPIO_LCDC_BL GPIO(7, A, 7)
David Hendricks09ab8562015-01-16 12:08:38 -080025
David Hendricks14610ec2015-06-03 15:27:07 -070026void sdmmc_power_off(void);
27void sdmmc_power_on(void);
Julius Wernerd37bc752015-01-15 17:00:21 -080028void setup_chromeos_gpios(void);
David Hendricks09ab8562015-01-16 12:08:38 -080029
David Hendricksc3f18da2015-06-03 17:20:54 -070030#endif /* __MAINBOARD_GOOGLE_VEYRON_DANGER_BOARD_H */