Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: (GPL-2.0 or MIT) */
0002 /*
0003  * Hirschmann Hellcreek TSN switch platform data.
0004  *
0005  * Copyright (C) 2020 Linutronix GmbH
0006  * Author Kurt Kanzenbach <kurt@linutronix.de>
0007  */
0008 
0009 #ifndef _HIRSCHMANN_HELLCREEK_H_
0010 #define _HIRSCHMANN_HELLCREEK_H_
0011 
0012 #include <linux/types.h>
0013 
0014 struct hellcreek_platform_data {
0015     const char *name;   /* Switch name */
0016     int num_ports;      /* Amount of switch ports */
0017     int is_100_mbits;   /* Is it configured to 100 or 1000 mbit/s */
0018     int qbv_support;    /* Qbv support on front TSN ports */
0019     int qbv_on_cpu_port;    /* Qbv support on the CPU port */
0020     int qbu_support;    /* Qbu support on front TSN ports */
0021     u16 module_id;      /* Module identificaton */
0022 };
0023 
0024 #endif /* _HIRSCHMANN_HELLCREEK_H_ */