Simon Guinot | 72198a3 | 2011-11-21 19:25:46 +0530 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2011 Simon Guinot <sguinot@lacie.com> |
| 3 | * |
| 4 | * Based on Kirkwood support: |
| 5 | * (C) Copyright 2009 |
| 6 | * Marvell Semiconductor <www.marvell.com> |
| 7 | * Written-by: Prafulla Wadaskar <prafulla@marvell.com> |
| 8 | * |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 9 | * SPDX-License-Identifier: GPL-2.0+ |
Simon Guinot | 72198a3 | 2011-11-21 19:25:46 +0530 | [diff] [blame] | 10 | */ |
| 11 | |
| 12 | #ifndef NET2BIG_V2_H |
| 13 | #define NET2BIG_V2_H |
| 14 | |
| 15 | /* GPIO configuration */ |
| 16 | #define NET2BIG_V2_OE_LOW 0x0600E000 |
| 17 | #define NET2BIG_V2_OE_HIGH 0x00000134 |
| 18 | #define NET2BIG_V2_OE_VAL_LOW 0x10030000 |
| 19 | #define NET2BIG_V2_OE_VAL_HIGH 0x00000000 |
| 20 | |
| 21 | /* Buttons */ |
| 22 | #define NET2BIG_V2_GPIO_PUSH_BUTTON 34 |
| 23 | |
Simon Guinot | 1dd67e6 | 2013-06-18 15:14:48 +0200 | [diff] [blame] | 24 | /* GMT G762 registers (I2C fan controller) */ |
| 25 | #define G762_REG_SET_CNT 0x00 |
| 26 | #define G762_REG_SET_OUT 0x03 |
| 27 | #define G762_REG_FAN_CMD1 0x04 |
| 28 | |
Simon Guinot | 72198a3 | 2011-11-21 19:25:46 +0530 | [diff] [blame] | 29 | #endif /* NET2BIG_V2_H */ |