net2big_v2.h 709 B

12345678910111213141516171819202122232425262728
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  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>
  9. */
  10. #ifndef NET2BIG_V2_H
  11. #define NET2BIG_V2_H
  12. /* GPIO configuration */
  13. #define NET2BIG_V2_OE_LOW 0x0600E000
  14. #define NET2BIG_V2_OE_HIGH 0x00000134
  15. #define NET2BIG_V2_OE_VAL_LOW 0x10030000
  16. #define NET2BIG_V2_OE_VAL_HIGH 0x00000000
  17. /* Buttons */
  18. #define NET2BIG_V2_GPIO_PUSH_BUTTON 34
  19. /* GMT G762 registers (I2C fan controller) */
  20. #define G762_REG_SET_CNT 0x00
  21. #define G762_REG_SET_OUT 0x03
  22. #define G762_REG_FAN_CMD1 0x04
  23. #endif /* NET2BIG_V2_H */