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