netspace_v2.h 565 B

12345678910111213141516171819202122
  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 NETSPACE_V2_H
  11. #define NETSPACE_V2_H
  12. /* GPIO configuration */
  13. #define NETSPACE_V2_OE_LOW 0x06004000
  14. #define NETSPACE_V2_OE_HIGH 0x00000031
  15. #define NETSPACE_V2_OE_VAL_LOW 0x10030000
  16. #define NETSPACE_V2_OE_VAL_HIGH 0x00000000
  17. #define NETSPACE_V2_GPIO_BUTTON 32
  18. #endif /* NETSPACE_V2_H */