luton.h 501 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
  2. /*
  3. * Microsemi Ocelot Switch driver
  4. *
  5. * Copyright (c) 2018 Microsemi Corporation
  6. */
  7. #ifndef _MSCC_OCELOT_H_
  8. #define _MSCC_OCELOT_H_
  9. /*
  10. * Target offset base(s)
  11. */
  12. #define MSCC_IO_ORIGIN1_OFFSET 0x60000000
  13. #define MSCC_IO_ORIGIN1_SIZE 0x01000000
  14. #define MSCC_IO_ORIGIN2_OFFSET 0x70000000
  15. #define MSCC_IO_ORIGIN2_SIZE 0x00200000
  16. #define BASE_CFG ((void __iomem *)0x70000000)
  17. #define BASE_DEVCPU_GCB ((void __iomem *)0x60070000)
  18. #endif