| /freebsd/sys/contrib/device-tree/Bindings/net/ |
| H A D | microchip,lan966x-switch.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/net/microchip,lan966x-switch.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Microchip Lan966x Ethernet switch controller 10 - Horatiu Vultur <horatiu.vultur@microchip.com> 13 The lan966x switch is a multi-port Gigabit AVB/TSN Ethernet Switch with 14 two integrated 10/100/1000Base-T PHYs. In addition to the integrated PHYs, 15 it supports up to 2RGMII/RMII, up to 3BASE-X/SERDES/2.5GBASE-X and up to 16 2 Quad-SGMII/Quad-USGMII interfaces. [all …]
|
| H A D | xlnx,axi-ethernet.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/xlnx,axi-ethernet.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 interfaces: MII, GMII, RGMII, SGMII, 1000BaseX. It also includes two 22 - Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com> 27 - xlnx,axi-ethernet-1.00.a 28 - xlnx,axi-ethernet-1.01.a 29 - xlnx,axi-ethernet-2.01.a 35 axistream-connected is specified, in which case the reg [all …]
|
| H A D | xilinx_axienet.txt | 2 -------------------------------------------------------- 6 interfaces: MII, GMII, RGMII, SGMII, 1000BaseX. It also includes two 18 - compatible : Must be one of "xlnx,axi-ethernet-1.00.a", 19 "xlnx,axi-ethernet-1.01.a", "xlnx,axi-ethernet-2.01.a" 20 - reg : Address and length of the IO space, as well as the address 22 axistream-connected is specified, in which case the reg 24 - interrupts : Should be a list of 2 or 3 interrupts: TX DMA, RX DMA, 25 and optionally Ethernet core. If axistream-connected is 29 - phy-handle : Should point to the external phy device if exists. Pointing 32 - xlnx,rxmem : Set to allocated memory buffer for Rx/Tx in the hardware [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/net/dsa/ |
| H A D | mscc,ocelot.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Microchip Ocelot Switch Family 10 - Vladimir Oltean <vladimir.oltean@nxp.com> 11 - Claudiu Manoil <claudiu.manoil@nxp.com> 12 - Alexandre Belloni <alexandre.belloni@bootlin.com> 13 - UNGLinuxDriver@microchip.com 16 There are multiple switches which are either part of the Ocelot-1 family, or 20 them performs packet I/O primarily through an Ethernet port of the switch [all …]
|
| H A D | ocelot.txt | 1 Microchip Ocelot switch driver family 5 ----- 9 - VSC9959 (Felix) 10 - VSC9953 (Seville) 12 The VSC9959 switch is found in the NXP LS1028A. It is a PCI device, part of the 13 larger ENETC root complex. As a result, the ethernet-switch node is a sub-node 25 For the external switch ports, depending on board configuration, "phy-mode" and 26 "phy-handle" are populated by board specific device tree instances. Ports 4 and 32 By default, in fsl-ls1028a.dtsi, the NPI port is assigned to the internal 34 use case. Moving the NPI port to an external switch port is hardware possible, [all …]
|
| H A D | mediatek,mt7530.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Arınç ÜNAL <arinc.unal@arinc9.com> 11 - Landen Chao <Landen.Chao@mediatek.com> 12 - DENG Qingfang <dqfext@gmail.com> 13 - Sean Wang <sean.wang@mediatek.com> 14 - Daniel Golle <daniel@makrotopia.org> 17 There are three versions of MT7530, standalone, in a multi-chip module and 18 built-into a SoC. [all …]
|
| H A D | mt7530.txt | 1 Mediatek MT7530 Ethernet switch 6 - compatible: may be compatible = "mediatek,mt7530" 9 - #address-cells: Must be 1. 10 - #size-cells: Must be 0. 11 - mediatek,mcm: Boolean; if defined, indicates that either MT7530 is the part 12 on multi-chip module belong to MT7623A has or the remotely standalone 17 - core-supply: Phandle to the regulator node necessary for the core power. 18 - io-supply: Phandle to the regulator node necessary for the I/O power. 19 See Documentation/devicetree/bindings/regulator/mt6323-regulator.txt 24 - reset-gpios: Should be a gpio specifier for a reset line. [all …]
|
| /freebsd/sys/dev/e1000/ |
| H A D | e1000_82575.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 121 * e1000_sgmii_uses_mdio_82575 - Determine if I2C pins are for external MDIO 134 switch (hw->mac.type) { in e1000_sgmii_uses_mdio_82575() 155 * e1000_init_phy_params_82575 - Initialize PHY function ptrs 160 struct e1000_phy_info *phy = &hw->phy; in e1000_init_phy_params_82575() 166 phy->ops.read_i2c_byte = e1000_read_i2c_byte_generic; in e1000_init_phy_params_82575() 167 phy->ops.write_i2c_byte = e1000_write_i2c_byte_generic; in e1000_init_phy_params_82575() 169 if (hw->phy.media_type != e1000_media_type_copper) { in e1000_init_phy_params_82575() 170 phy->type = e1000_phy_none; in e1000_init_phy_params_82575() [all …]
|
| /freebsd/sys/dev/etherswitch/arswitch/ |
| H A D | arswitch_8327.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2011-2012 Stefan Bethke. 73 * switch config. Otherwise the default is "all ports in one vlangroup", 117 if (arswitch_waitreg(sc->sc_dev, AR8327_REG_VTU_FUNC1, in ar8327_vlan_op() 126 err = arswitch_writereg(sc->sc_dev, AR8327_REG_VTU_FUNC0, data); in ar8327_vlan_op() 140 arswitch_writereg(sc->sc_dev, AR8327_REG_VTU_FUNC1, op); in ar8327_vlan_op() 143 * Finally - wait for it to load. in ar8327_vlan_op() 145 if (arswitch_waitreg(sc->sc_dev, AR8327_REG_VTU_FUNC1, in ar8327_vlan_op() 156 device_printf(sc->sc_dev, in ar8327_phy_fixup() [all …]
|
| /freebsd/sys/dev/etherswitch/e6000sw/ |
| H A D | e6000sw.c | 1 /*- 4 * Copyright (c) 2018-2019, Rubicon Communications, LLC (Netgate) 63 MALLOC_DEFINE(M_E6000SW, "e6000sw", "e6000sw switch"); 65 #define E6000SW_LOCK(_sc) sx_xlock(&(_sc)->sx) 66 #define E6000SW_UNLOCK(_sc) sx_unlock(&(_sc)->sx) 67 #define E6000SW_LOCK_ASSERT(_sc, _what) sx_assert(&(_sc)->sx, (_what)) 68 #define E6000SW_TRYLOCK(_sc) sx_tryxlock(&(_sc)->sx) 69 #define E6000SW_LOCKED(_sc) sx_xlocked(&(_sc)->sx) 110 .es_name = "Marvell 6000 series switch" 225 sc->dev = dev; in e6000sw_probe() [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm/nxp/vf/ |
| H A D | vf610-zii-dev-rev-b.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 7 #include "vf610-zii-dev.dtsi" 11 compatible = "zii,vf610dev-b", "zii,vf610dev", "fsl,vf610"; 13 mdio-mux { 14 compatible = "mdio-mux-gpi [all...] |
| /freebsd/sys/contrib/device-tree/src/arm/marvell/ |
| H A D | armada-385-clearfog-gtr-l8.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 #include "armada-385-clearfog-gtr.dtsi" 7 compatible = "solidrun,clearfog-gtr-l8", "marvell,armada385", 11 sfp1: sfp-1 { 13 pinctrl-0 = <&cf_gtr_sfp1_pins>; 14 pinctrl-names = "default"; 15 i2c-bus = <&i2c0>; 16 mod-def0-gpio = <&gpio0 24 GPIO_ACTIVE_LOW>; 17 tx-disable-gpio = <&gpio1 22 GPIO_ACTIVE_HIGH>; 22 switch0: ethernet-switch@4 { [all …]
|
| H A D | armada-385-clearfog-gtr.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 * Rabeeh Khoury <rabeeh@solid-run.com>, based on Russell King clearfog work 9 SERDES mapping - 10 0. SATA1 on CON18, or optionally mini PCIe CON3 - PCIe0 11 1. 6141 switch (2.5Gbps capable) 12 2. SATA0 on CON17, or optionally mini PCIe CON4 - PCIe1 14 4. mini PCIe CON2 - PCIe2 15 5. SFP connector, or optionally SGMII Ethernet 1512 PHY 17 USB 2.0 mapping - 18 0. USB 2.0 - 0 USB pins header CON12 [all …]
|
| /freebsd/sys/contrib/device-tree/src/powerpc/ |
| H A D | xcalibur1501.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * XCalibur1501 6U CompactPCI single-board computer based on MPC8572E 9 /dts-v1/; 13 #address-cells = <2>; 14 #size-cells = <2>; 27 #address-cells = <1>; 28 #size-cells = <0>; 33 d-cache-line-size = <32>; // 32 bytes 34 i-cache-line-size = <32>; // 32 bytes 35 d-cache-size = <0x8000>; // L1, 32K [all …]
|
| H A D | xpedite5370.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * XPedite5370 3U VPX single-board computer based on MPC8572E 9 /dts-v1/; 13 #address-cells = <2>; 14 #size-cells = <2>; 26 #address-cells = <1>; 27 #size-cells = <0>; 32 d-cache-line-size = <32>; // 32 bytes 33 i-cache-line-size = <32>; // 32 bytes 34 d-cache-size = <0x8000>; // L1, 32K [all …]
|
| H A D | xpedite5301.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 9 /dts-v1/; 13 #address-cells = <2>; 14 #size-cells = <2>; 15 form-factor = "PMC/XMC"; 16 boot-bank = <0x0>; /* 0: Primary flash, 1: Secondary flash */ 28 #address-cells = <1>; 29 #size-cells = <0>; 34 d-cache-line-size = <32>; // 32 bytes 35 i-cache-line-size = <32>; // 32 bytes [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm64/freescale/ |
| H A D | fsl-lx2160a-bluebox3.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 // Copyright 2020-2021 NXP 7 /dts-v1/; 9 #include "fsl-lx2160a.dtsi" 13 compatible = "fsl,lx2160a-bluebox3", "fsl,lx2160a"; 23 stdout-path = "serial0:115200n8"; 26 sb_3v3: regulator-sb3v3 { 27 compatible = "regulator-fixed"; 28 regulator-name = "MC34717-3.3VSB"; 29 regulator-min-microvolt = <3300000>; [all …]
|
| /freebsd/sys/dev/axgbe/ |
| H A D | xgbe-mdio.c | 4 * Copyright (c) 2014-2016,2020 Advanced Micro Devices, Inc. 116 #include "xgbe-common.h" 179 switch (pdata->an_mode) { in xgbe_an_enable_interrupts() 204 pdata->hw_if.set_speed(pdata, SPEED_10000); in xgbe_kr_mode() 207 pdata->phy_if.phy_impl.set_mode(pdata, XGBE_MODE_KR); in xgbe_kr_mode() 214 pdata->hw_if.set_speed(pdata, SPEED_2500); in xgbe_kx_2500_mode() 217 pdata->phy_if.phy_impl.set_mode(pdata, XGBE_MODE_KX_2500); in xgbe_kx_2500_mode() 224 pdata->hw_if.set_speed(pdata, SPEED_1000); in xgbe_kx_1000_mode() 227 pdata->phy_if.phy_impl.set_mode(pdata, XGBE_MODE_KX_1000); in xgbe_kx_1000_mode() 233 /* If a KR re-driver is present, change to KR mode instead */ in xgbe_sfi_mode() [all …]
|
| H A D | xgbe-phy-v2.c | 116 #include "xgbe-common.h" 142 /* Rate-change complete wait/retry count */ 275 * Optical specification compliance - denotes wavelength 306 ((_x)->extd[XGBE_SFP_EXTD_SFF_8472] && \ 307 !((_x)->extd[XGBE_SFP_EXTD_DIAG] & XGBE_SFP_EXTD_DIAG_ADDR_CHANGE)) 314 #define XGBE_BEL_FUSE_VENDOR "BEL-FUSE " 315 #define XGBE_BEL_FUSE_PARTNO "1GBT-SFP06 " 334 /* Re-driver related definitions */ 407 /* Re-driver support */ 429 return (pdata->i2c_if.i2c_xfer(pdata, i2c_op)); in xgbe_phy_i2c_xfer() [all …]
|
| /freebsd/sys/contrib/alpine-hal/eth/ |
| H A D | al_hal_eth_main.c | 1 /*- 10 found at http://www.gnu.org/licenses/gpl-2.0.html 98 /* tx Meta Descriptor defines - MacSec */ 105 #define AL_ETH_TX_MACSEC_SECURED_PYLD_LEN_LSB_SHIFT 10 /* Secure Payload Length (0x3FFF for non-S… 323 switch(mode) { in al_eth_mac_mode_str() 327 return "SGMII"; in al_eth_mac_mode_str() 364 al_warn("[%s] warn: failed to change state, error %d\n", dma->name, rc); in al_udma_state_set_wait() 376 if (count-- == 0) { in al_udma_state_set_wait() 378 dma->name, al_udma_states_name[new_state]); in al_udma_state_set_wait() 379 return -ETIMEDOUT; in al_udma_state_set_wait() [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm64/marvell/ |
| H A D | armada-3720-turris-mox.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include <dt-bindings/bus/moxtet.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 12 #include "armada-372x.dtsi" 16 compatible = "cznic,turris-mox", "marvell,armada3720", 28 stdout-path = "serial0:115200n8"; 37 compatible = "gpio-leds"; 41 linux,default-trigger = "default-on"; [all …]
|
| H A D | armada-8040-clearfog-gt-8k.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 #include "armada-8040.dtsi" 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/gpio/gpio.h> 16 compatible = "solidrun,clearfog-gt-8k", "marvell,armada8040", 17 "marvell,armada-ap806-qua [all...] |
| /freebsd/sys/dev/mii/ |
| H A D | mii_fdt.c | 1 /*- 66 {MII_CONTYPE_SGMII, "sgmii"}, 69 {MII_CONTYPE_REVMII, "rev-mii"}, 72 {MII_CONTYPE_RGMII_ID, "rgmii-id"}, 73 {MII_CONTYPE_RGMII_RXID, "rgmii-rxid"}, 74 {MII_CONTYPE_RGMII_TXID, "rgmii-txid"}, 79 {MII_CONTYPE_2000BX, "2000base-x"}, 80 {MII_CONTYPE_2500BX, "2500base-x"}, 88 "phy-handle", "phy", "phy-device" in mii_fdt_get_phynode() 97 return (-1); in mii_fdt_get_phynode() [all …]
|
| /freebsd/sys/dev/bxe/ |
| H A D | bxe_elink.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2007-2017 QLogic Corporation. All rights reserved. 508 /* When this pin is active high during reset, 10GBASE-T core is power 509 * down, When it is active low the 10GBASE-T is power up 774 #define I2C_WA_PWR_ITER (I2C_WA_RETRY_CNT - 1) 936 (_phy)->def_md_devad, \ 942 (_phy)->def_md_devad, \ 970 * elink_check_lfa - This function checks if link reinitialization is required, 982 struct bxe_softc *sc = params->sc; in elink_check_lfa() [all …]
|
| /freebsd/sys/dev/dpaa2/ |
| H A D | dpaa2_mac.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright © 2021-2022 Dmitry Salychev 84 /* --- */ 86 /* --- */ 123 sc->dev = dev; in dpaa2_mac_attach() 125 memset(sc->addr, 0, ETHER_ADDR_LEN); in dpaa2_mac_attach() 127 error = bus_alloc_resources(sc->dev, dpaa2_mac_spec, sc->res); in dpaa2_mac_attach() 135 mcp_dev = (device_t) rman_get_start(sc->res[MCP_RID(0)]); in dpaa2_mac_attach() 137 dinfo->portal = mcp_dinfo->portal; in dpaa2_mac_attach() [all …]
|