diff options
author | Horatiu Vultur <horatiu.vultur@microchip.com> | 2019-05-01 13:17:00 +0200 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2019-05-03 16:46:36 +0200 |
commit | 5c629b1b69f780540e6e3bcc57d29438749f97c5 (patch) | |
tree | 2d039baab25f480ac4f2f70e90daef8ae11b93d3 /include/dt-bindings/mscc | |
parent | bd9216e29b81ff2e35d203668f319aaaf396e018 (diff) |
net: mscc: ocelot: Update DTS for Luton pcb90
Update device tree for luton to add support for luton pcb90.
This pcb has 24 ports from which 12 ports are connected to
SerDes6G.
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Diffstat (limited to 'include/dt-bindings/mscc')
-rw-r--r-- | include/dt-bindings/mscc/luton_data.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/dt-bindings/mscc/luton_data.h b/include/dt-bindings/mscc/luton_data.h new file mode 100644 index 0000000000..e488567729 --- /dev/null +++ b/include/dt-bindings/mscc/luton_data.h @@ -0,0 +1,17 @@ +/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ +/* + * Copyright (c) 2019 Microsemi Corporation + */ + +#ifndef _LUTON_DATA_H_ +#define _LUTON_DATA_H_ + +#define SERDES6G(x) (x) +#define SERDES6G_MAX SERDES6G(5) +#define SERDES_MAX (SERDES6G_MAX) + +/* similar with phy_interface_t */ +#define PHY_MODE_SGMII 2 +#define PHY_MODE_QSGMII 4 + +#endif |