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