/Linux-v5.15/include/uapi/linux/ |
D | mdio.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 * Copyright 2006-2009 Solarflare Communications Inc. 25 #define MDIO_MMD_AN 7 /* Auto-Negotiation */ 38 #define MDIO_CTRL2 7 /* 10G control 2 */ 39 #define MDIO_STAT2 8 /* 10G status 2 */ 40 #define MDIO_PMA_TXDIS 9 /* 10G PMA/PMD transmit disable */ 41 #define MDIO_PMA_RXDET 10 /* 10G PMA/PMD receive signal detect */ 42 #define MDIO_PMA_EXTABLE 11 /* 10G PMA/PMD extended ability */ 57 /* Media-dependent registers. */ 58 #define MDIO_PMA_10GBT_SWAPPOL 130 /* 10GBASE-T pair swap & polarity */ [all …]
|
/Linux-v5.15/arch/arm64/boot/dts/freescale/ |
D | fsl-ls2088a-rdb.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 12 /dts-v1/; 14 #include "fsl-ls2088a.dtsi" 15 #include "fsl-ls208xa-rdb.dtsi" 19 compatible = "fsl,ls2088a-rdb", "fsl,ls2088a"; 22 stdout-path = "serial1:115200n8"; 27 phy-handle = <&mdio1_phy1>; 28 phy-connection-type = "10gbase-r"; 32 phy-handle = <&mdio1_phy2>; 33 phy-connection-type = "10gbase-r"; [all …]
|
D | fsl-ls1088a-ten64.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * Based on fsl-ls1088a-rdb.dts 5 * Copyright 2017-2020 NXP 6 * Copyright 2019-2021 Traverse Technologies 11 /dts-v1/; 13 #include "fsl-ls1088a.dtsi" 15 #include <dt-bindings/gpio/gpio.h> 16 #include <dt-bindings/input/input.h> 28 stdout-path = "serial0:115200n8"; 32 compatible = "gpio-keys"; [all …]
|
D | fsl-ls1088a-rdb.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Copyright 2017-2020 NXP 11 /dts-v1/; 13 #include "fsl-ls1088a.dtsi" 17 compatible = "fsl,ls1088a-rdb", "fsl,ls1088a"; 21 phy-handle = <&mdio2_aquantia_phy>; 22 phy-connection-type = "10gbase-r"; 23 pcs-handle = <&pcs2>; 27 phy-handle = <&mdio1_phy5>; 28 phy-connection-type = "qsgmii"; [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/phy/ |
D | microchip,sparx5-serdes.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/microchip,sparx5-serdes.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Steen Hegelund <steen.hegelund@microchip.com> 21 * Rx built-in fault detector (loss-of-lock/loss-of-signal) 22 * Adjustable tx de-emphasis (FFE) 31 The SERDES6G is a high-speed SERDES interface, which can operate at 34 * 100 Mbps (100BASE-FX) 35 * 1.25 Gbps (SGMII/1000BASE-X/1000BASE-KX) [all …]
|
/Linux-v5.15/drivers/net/ethernet/intel/ice/ |
D | ice_devids.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 /* Intel(R) Ethernet Connection E823-L for backplane */ 10 /* Intel(R) Ethernet Connection E823-L for SFP */ 12 /* Intel(R) Ethernet Connection E823-L/X557-AT 10GBASE-T */ 14 /* Intel(R) Ethernet Connection E823-L 1GbE */ 16 /* Intel(R) Ethernet Connection E823-L for QSFP */ 18 /* Intel(R) Ethernet Controller E810-C for backplane */ 20 /* Intel(R) Ethernet Controller E810-C for QSFP */ 22 /* Intel(R) Ethernet Controller E810-C for SFP */ 24 /* Intel(R) Ethernet Controller E810-XXV for backplane */ [all …]
|
/Linux-v5.15/arch/arm64/boot/dts/microchip/ |
D | sparx5_pcb134_board.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 10 gpio-restart { 11 compatible = "gpio-restart"; 17 compatible = "gpio-leds"; 36 gpios = <&sgpio_out0 10 0 GPIO_ACTIVE_LOW>; 40 gpios = <&sgpio_out0 10 1 GPIO_ACTIVE_LOW>; 53 default-state = "off"; 58 default-state = "off"; 60 led@10 { [all …]
|
D | sparx5_pcb135_board.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 10 gpio-restart { 11 compatible = "gpio-restart"; 17 compatible = "gpio-leds"; 21 default-state = "off"; 26 default-state = "off"; 31 default-state = "off"; 36 default-state = "off"; 41 default-state = "off"; [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/net/ |
D | ethernet-controller.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/net/ethernet-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - David S. Miller <davem@davemloft.net> 16 local-mac-address: 19 $ref: /schemas/types.yaml#/definitions/uint8-array 21 - minItems: 6 24 mac-address: 29 local-mac-address property. [all …]
|
D | microchip,sparx5-switch.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/net/microchip,sparx5-switch.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Steen Hegelund <steen.hegelund@microchip.com> 11 - Lars Povlsen <lars.povlsen@microchip.com> 14 The SparX-5 Enterprise Ethernet switch family provides a rich set of 15 Enterprise switching features such as advanced TCAM-based VLAN and 17 security through TCAM-based frame processing using versatile content 25 forwarding (uRPF) tasks. Additional L3 features include VRF-Lite and [all …]
|
/Linux-v5.15/arch/arm64/boot/dts/marvell/ |
D | armada-8040-mcbin.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include "armada-8040-mcbin.dtsi" 11 model = "Marvell 8040 MACCHIATOBin Double-shot"; 12 compatible = "marvell,armada8040-mcbin-doubleshot", 13 "marvell,armada8040-mcbin", "marvell,armada8040", 14 "marvell,armada-ap806-quad", "marvell,armada-ap806"; 20 phy0: ethernet-phy@0 { 21 compatible = "ethernet-phy-ieee802.3-c45"; 26 phy8: ethernet-phy@8 { 27 compatible = "ethernet-phy-ieee802.3-c45"; [all …]
|
D | armada-8040-mcbin-singleshot.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/leds/common.h> 10 #include "armada-8040-mcbin.dtsi" 13 model = "Marvell 8040 MACCHIATOBin Single-shot"; 14 compatible = "marvell,armada8040-mcbin-singleshot", 15 "marvell,armada8040-mcbin", "marvell,armada8040", 16 "marvell,armada-ap806-quad", "marvell,armada-ap806"; 19 compatible = "gpio-leds"; 20 pinctrl-0 = <&cp0_led18_pins>; 21 pinctrl-names = "default"; [all …]
|
D | armada-8040-db.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 9 #include "armada-8040.dtsi" 13 compatible = "marvell,armada8040-db", "marvell,armada8040", 14 "marvell,armada-ap806-quad", "marvell,armada-ap806"; 17 stdout-path = "serial0:115200n8"; 34 cp0_reg_usb3_0_vbus: cp0-usb3-0-vbus { 35 compatible = "regulator-fixed"; 36 regulator-name = "cp0-usb3h0-vbus"; 37 regulator-min-microvolt = <5000000>; [all …]
|
D | armada-8040-puzzle-m801.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 * Device Tree file for IEI Puzzle-M801 9 #include "armada-8040.dtsi" 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/leds/common.h> 15 model = "IEI-Puzzle-M801"; 16 compatible = "marvell,armada8040", "marvell,armada-ap806-quad", "marvell,armada-ap806"; 28 stdout-path = "serial0:115200n8"; 37 v_3_3: regulator-3-3v { 38 compatible = "regulator-fixed"; [all …]
|
D | cn9131-db.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Device tree for the CN9131-DB board. 8 #include "cn9130-db.dtsi" 12 "marvell,armada-ap807-quad", "marvell,armada-ap807"; 22 compatible = "regulator-fixed"; 23 pinctrl-names = "default"; 24 pinctrl-0 = <&cp1_xhci0_vbus_pins>; 25 regulator-name = "cp1-xhci0-vbus"; 26 regulator-min-microvolt = <5000000>; 27 regulator-max-microvolt = <5000000>; [all …]
|
D | cn9132-db.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Device tree for the CN9132-DB board. 8 #include "cn9131-db.dtsi" 12 "marvell,armada-ap807-quad", "marvell,armada-ap807"; 21 compatible = "regulator-fixed"; 22 regulator-name = "cp2-xhci0-vbus"; 23 regulator-min-microvolt = <5000000>; 24 regulator-max-microvolt = <5000000>; 25 enable-active-high; 30 compatible = "usb-nop-xceiv"; [all …]
|
D | cn9130-crb.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 8 #include <dt-bindings/gpio/gpio.h> 12 stdout-path = "serial0:115200n8"; 28 compatible = "regulator-gpio"; 29 regulator-name = "ap0_mmc_vccq"; 30 regulator-min-microvolt = <1800000>; 31 regulator-max-microvolt = <3300000>; 38 compatible = "regulator-fixed"; 39 regulator-name = "cp0-xhci1-vbus"; 40 regulator-min-microvolt = <5000000>; [all …]
|
/Linux-v5.15/Documentation/networking/ |
D | phy.rst | 26 #. Increase code-reuse 27 #. Increase overall code-maintainability 67 for one of the users. (e.g. "git grep fsl,.*-mdio arch/powerpc/boot/dts/") 72 The Reduced Gigabit Medium Independent Interface (RGMII) is a 12-pin 84 or the PCB traces insert the correct 1.5-2ns delay 97 * PHY devices may offer sub-nanosecond granularity in how they allow a 115 PHY_INTERFACE_MODE_RGMII, it should make sure that the MAC-level delays are 130 ----------------------------------------- 144 * Switching to lower speeds such as 10/100Mbits/sec makes the problem go away 197 PHY-specific flags should be set in phydev->dev_flags prior to the call [all …]
|
/Linux-v5.15/drivers/net/ethernet/chelsio/cxgb3/ |
D | ael1002.c | 2 * Copyright (c) 2005-2008 Chelsio, Inc. All rights reserved. 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 88 for (err = 0; rv->mmd_addr && !err; rv++) { in set_phy_regs() 89 if (rv->clear_bits == 0xffff) in set_phy_regs() 90 err = t3_mdio_write(phy, rv->mmd_addr, rv->reg_addr, in set_phy_regs() 91 rv->set_bits); in set_phy_regs() 93 err = t3_mdio_change_bits(phy, rv->mmd_addr, in set_phy_regs() 94 rv->reg_addr, rv->clear_bits, in set_phy_regs() 95 rv->set_bits); in set_phy_regs() [all …]
|
/Linux-v5.15/drivers/net/phy/ |
D | marvell-88x2222.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Marvell 88x2222 dual-port multi-speed ethernet transceiver. 7 * 1000Base-X or 10GBase-R on the line side. 8 * SGMII over 1000Base-X. 39 /* 1000Base-X/SGMII Control Register */ 42 /* 1000BASE-X/SGMII Status Register */ 45 /* 1000Base-X Auto-Negotiation Advertisement Register */ 48 /* 1000Base-X PHY Specific Status Register */ 113 struct mv2222_data *priv = phydev->priv; in mv2222_set_sgmii_speed() 115 switch (phydev->speed) { in mv2222_set_sgmii_speed() [all …]
|
D | marvell10g.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Marvell 10G 88x3310 PHY driver 10 * via observation and experimentation for a setup using single-lane Serdes: 12 * SGMII PHYXS -- BASE-T PCS -- 10G PMA -- AN -- Copper (for <= 1G) 13 * 10GBASE-KR PHYXS -- BASE-T PCS -- 10G PMA -- AN -- Copper (for 10G) 14 * 10GBASE-KR PHYXS -- BASE-R PCS -- Fiber 18 * XAUI PHYXS -- <appropriate PCS as above> 87 /* These registers appear at 0x800X and 0xa00X - the 0xa00X control 91 MV_AN_CTRL1000 = 0x8000, /* 1000base-T control register */ 92 MV_AN_STAT1000 = 0x8001, /* 1000base-T status register */ [all …]
|
D | bcm84881.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Broadcom BCM84881 NBASE-T PHY driver, as found on a SFP+ module. 5 // Like the Marvell 88x3310, the Broadcom 84881 changes its host-side 6 // interface according to the operating speed between 10GBASE-R, 7 // 2500BASE-X and SGMII (but unlike the 88x3310, without the control 34 switch (phydev->interface) { in bcm84881_config_init() 40 return -ENODEV; in bcm84881_config_init() 50 if (!phydev->is_c45 || in bcm84881_probe() 51 (phydev->c45_ids.devices_in_package & mmd_mask) != mmd_mask) in bcm84881_probe() 52 return -ENODEV; in bcm84881_probe() [all …]
|
/Linux-v5.15/drivers/net/dsa/mv88e6xxx/ |
D | serdes.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 23 #define MV88E6352_SERDES_INT_LINK_CHANGE BIT(10) 42 /* 10GBASE-R and 10GBASE-X4/X2 */ 49 /* 1000BASE-X and SGMII */ 59 #define MV88E6390_SGMII_INT_LINK_DOWN BIT(10) 71 #define MV88E6390_SGMII_PHY_STATUS_LINK BIT(10) 175 /* Return the (first) SERDES lane address a port is using, -errno otherwise. */ 179 if (!chip->info->ops->serdes_get_lane) in mv88e6xxx_serdes_get_lane() 180 return -EOPNOTSUPP; in mv88e6xxx_serdes_get_lane() 182 return chip->info->ops->serdes_get_lane(chip, port); in mv88e6xxx_serdes_get_lane() [all …]
|
D | serdes.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 57 state->link = !!(status & MV88E6390_SGMII_PHY_STATUS_LINK); in mv88e6xxx_serdes_pcs_get_state() 58 state->duplex = status & in mv88e6xxx_serdes_pcs_get_state() 63 state->pause |= MLO_PAUSE_TX; in mv88e6xxx_serdes_pcs_get_state() 65 state->pause |= MLO_PAUSE_RX; in mv88e6xxx_serdes_pcs_get_state() 69 if (state->interface == PHY_INTERFACE_MODE_2500BASEX) in mv88e6xxx_serdes_pcs_get_state() 70 state->speed = SPEED_2500; in mv88e6xxx_serdes_pcs_get_state() 72 state->speed = SPEED_1000; in mv88e6xxx_serdes_pcs_get_state() 75 state->speed = SPEED_100; in mv88e6xxx_serdes_pcs_get_state() 78 state->speed = SPEED_10; in mv88e6xxx_serdes_pcs_get_state() [all …]
|
/Linux-v5.15/include/linux/ |
D | phy.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 * Based on code in sungem_phy.c and (long-removed) gianfar_phy.c 73 * Set phydev->irq to PHY_POLL if interrupts are not supported, 77 #define PHY_POLL -1 78 #define PHY_MAC_INTERRUPT -2 86 * enum phy_interface_t - Interface Mode definitions 88 * @PHY_INTERFACE_MODE_NA: Not Applicable - don't touch 90 * @PHY_INTERFACE_MODE_MII: Median-independent interface 91 * @PHY_INTERFACE_MODE_GMII: Gigabit median-independent interface 92 * @PHY_INTERFACE_MODE_SGMII: Serial gigabit media-independent interface [all …]
|