blob: 8dead8914ca3948f1f28e0b512cfbec991604751 [file] [log] [blame]
Simon Guinot5628fb72011-11-21 19:25:46 +05301/*
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 Denk1a459662013-07-08 09:37:19 +02009 * SPDX-License-Identifier: GPL-2.0+
Simon Guinot5628fb72011-11-21 19:25:46 +053010 */
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 Guinot2af4d0f2013-06-18 15:14:48 +020024/* 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 Guinot5628fb72011-11-21 19:25:46 +053029#endif /* NET2BIG_V2_H */