Merge tag 'iommu-updates-v5.15' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / include / linux / platform_data / hirschmann-hellcreek.h
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         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 */
22 };
23
24 #endif /* _HIRSCHMANN_HELLCREEK_H_ */