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 <kurt@linutronix.de>
7  */
8 
9 #ifndef _HIRSCHMANN_HELLCREEK_H_
10 #define _HIRSCHMANN_HELLCREEK_H_
11 
12 #include <linux/types.h>
13 
14 struct hellcreek_platform_data {
15 	int num_ports;		/* Amount of switch ports */
16 	int is_100_mbits;	/* Is it configured to 100 or 1000 mbit/s */
17 	int qbv_support;	/* Qbv support on front TSN ports */
18 	int qbv_on_cpu_port;	/* Qbv support on the CPU port */
19 	int qbu_support;	/* Qbu support on front TSN ports */
20 	u16 module_id;		/* Module identificaton */
21 };
22 
23 #endif /* _HIRSCHMANN_HELLCREEK_H_ */
24