David Hendricks | 09ab856 | 2015-01-16 12:08:38 -0800 | [diff] [blame] | 1 | /* |
| 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 Hendricks | 09ab856 | 2015-01-16 12:08:38 -0800 | [diff] [blame] | 14 | */ |
| 15 | |
David Hendricks | c3f18da | 2015-06-03 17:20:54 -0700 | [diff] [blame] | 16 | #ifndef __MAINBOARD_GOOGLE_VEYRON_DANGER_BOARD_H |
| 17 | #define __MAINBOARD_GOOGLE_VEYRON_DANGER_BOARD_H |
David Hendricks | 09ab856 | 2015-01-16 12:08:38 -0800 | [diff] [blame] | 18 | |
| 19 | #include <boardid.h> |
| 20 | #include <gpio.h> |
| 21 | |
huang lin | 8eb99d0 | 2015-03-12 19:29:12 -0700 | [diff] [blame] | 22 | #define GPIO_BACKLIGHT GPIO(7, A, 3) |
David Hendricks | 09ab856 | 2015-01-16 12:08:38 -0800 | [diff] [blame] | 23 | #define GPIO_RESET GPIO(0, B, 5) |
David Hendricks | c3b0e29 | 2015-04-22 15:05:18 -0700 | [diff] [blame] | 24 | #define GPIO_LCDC_BL GPIO(7, A, 7) |
David Hendricks | 09ab856 | 2015-01-16 12:08:38 -0800 | [diff] [blame] | 25 | |
David Hendricks | 14610ec | 2015-06-03 15:27:07 -0700 | [diff] [blame] | 26 | void sdmmc_power_off(void); |
| 27 | void sdmmc_power_on(void); |
Julius Werner | d37bc75 | 2015-01-15 17:00:21 -0800 | [diff] [blame] | 28 | void setup_chromeos_gpios(void); |
David Hendricks | 09ab856 | 2015-01-16 12:08:38 -0800 | [diff] [blame] | 29 | |
David Hendricks | c3f18da | 2015-06-03 17:20:54 -0700 | [diff] [blame] | 30 | #endif /* __MAINBOARD_GOOGLE_VEYRON_DANGER_BOARD_H */ |