hirschmann-hellcreek.h 719 B

123456789101112131415161718192021222324
  1. /* SPDX-License-Identifier: (GPL-2.0 or MIT) */
  2. /*
  3. * Hirschmann Hellcreek TSN switch platform data.
  4. *
  5. * Copyright (C) 2020 Linutronix GmbH
  6. * Author Kurt Kanzenbach <[email protected]>
  7. */
  8. #ifndef _HIRSCHMANN_HELLCREEK_H_
  9. #define _HIRSCHMANN_HELLCREEK_H_
  10. #include <linux/types.h>
  11. struct hellcreek_platform_data {
  12. const char *name; /* Switch name */
  13. int num_ports; /* Amount of switch ports */
  14. int is_100_mbits; /* Is it configured to 100 or 1000 mbit/s */
  15. int qbv_support; /* Qbv support on front TSN ports */
  16. int qbv_on_cpu_port; /* Qbv support on the CPU port */
  17. int qbu_support; /* Qbu support on front TSN ports */
  18. u16 module_id; /* Module identificaton */
  19. };
  20. #endif /* _HIRSCHMANN_HELLCREEK_H_ */