Home
last modified time | relevance | path

Searched +full:enet +full:- +full:phy +full:- +full:lane +full:- +full:swap (Results 1 – 15 of 15) sorted by relevance

/kernel/linux/linux-4.19/Documentation/devicetree/bindings/net/
Dphy.txt1 PHY nodes
5 - interrupts : interrupt specifier for the sole interrupt.
6 - reg : The ID number for the phy, usually a small integer
10 - compatible: Compatible list, may contain
11 "ethernet-phy-ieee802.3-c22" or "ethernet-phy-ieee802.3-c45" for
16 If the PHY reports an incorrect ID (or none at all) then the
17 "compatible" list may contain an entry with the correct PHY ID in the
18 form: "ethernet-phy-idAAAA.BBBB" where
19 AAAA - The value of the 16 bit Phy Identifier 1 register as
21 BBBB - The value of the 16 bit Phy Identifier 2 register as
[all …]
/kernel/linux/linux-4.19/arch/arm64/boot/dts/broadcom/stingray/
Dbcm958742t.dts33 /dts-v1/;
35 #include "bcm958742-base.dtsi"
43 enet-phy-lane-swap;
47 mmc-ddr-1_8v;
Dbcm958742k.dts4 * Copyright(c) 2016-2017 Broadcom. All rights reserved.
33 /dts-v1/;
35 #include "bcm958742-base.dtsi"
43 enet-phy-lane-swap;
47 mmc-ddr-1_8v;
59 pinctrl-0 = <&spi0_pins>;
60 pinctrl-names = "default";
61 cs-gpios = <&gpio_hsls 34 0>;
64 spi-flash@0 {
65 compatible = "jedec,spi-nor";
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/broadcom/stingray/
Dbcm958742t.dts33 /dts-v1/;
35 #include "bcm958742-base.dtsi"
43 enet-phy-lane-swap;
47 mmc-ddr-1_8v;
Dbcm958742k.dts4 * Copyright(c) 2016-2017 Broadcom. All rights reserved.
33 /dts-v1/;
35 #include "bcm958742-base.dtsi"
43 enet-phy-lane-swap;
47 mmc-ddr-1_8v;
59 pinctrl-0 = <&spi0_pins>;
60 pinctrl-names = "default";
61 cs-gpios = <&gpio_hsls 34 0>;
64 spi-flash@0 {
65 compatible = "jedec,spi-nor";
[all …]
/kernel/linux/linux-4.19/drivers/net/phy/
Ddp83867.c2 * Driver for the Texas Instruments DP83867 PHY
21 #include <linux/phy.h>
23 #include <dt-bindings/net/ti-dp83867.h>
73 /* PHY CTRL bits */
126 if (phydev->interrupts == PHY_INTERRUPT_ENABLED) { in dp83867_config_intr()
149 (struct dp83867_private *)phydev->priv; in dp83867_config_port_mirroring()
154 if (dp83867->port_mirroring == DP83867_PORT_MIRROING_EN) in dp83867_config_port_mirroring()
167 struct dp83867_private *dp83867 = phydev->priv; in dp83867_of_init()
168 struct device *dev = &phydev->mdio.dev; in dp83867_of_init()
169 struct device_node *of_node = dev->of_node; in dp83867_of_init()
[all …]
Dbroadcom.c2 * drivers/net/phy/broadcom.c
17 #include "bcm-phy-lib.h"
19 #include <linux/phy.h>
24 ((phydev)->drv->phy_id & (phydev)->drv->phy_id_mask)
27 ((phydev)->drv->phy_id & ~((phydev)->drv->phy_id_mask))
29 MODULE_DESCRIPTION("Broadcom PHY driver");
46 if (phydev->dev_flags & PHY_BRCM_EN_MASTER_MODE) { in bcm54210e_config_init()
60 if ((phydev->interface != PHY_INTERFACE_MODE_RGMII_ID) && in bcm54612e_config_init()
61 (phydev->interface != PHY_INTERFACE_MODE_RGMII_TXID)) { in bcm54612e_config_init()
68 if ((phydev->interface != PHY_INTERFACE_MODE_RGMII_ID) && in bcm54612e_config_init()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dethernet-phy.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/net/ethernet-phy.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Ethernet PHY Generic Binding
10 - Andrew Lunn <andrew@lunn.ch>
11 - Florian Fainelli <f.fainelli@gmail.com>
12 - Heiner Kallweit <hkallweit1@gmail.com>
14 # The dt-schema tools will generate a select statement first by using
21 pattern: "^ethernet-phy(@[a-f0-9]+)?$"
[all …]
/kernel/linux/linux-4.19/arch/arm64/boot/dts/broadcom/northstar2/
Dns2-svk.dts33 /dts-v1/;
39 compatible = "brcm,ns2-svk", "brcm,ns2";
49 stdout-path = "serial0:115200n8";
59 &enet {
113 spi-max-frequency = <5000000>;
114 spi-cpha = <1>;
115 spi-cpol = <1>;
118 pl022,slave-tx-disable = <0>;
119 pl022,com-mode = <0>;
120 pl022,rx-level-trig = <1>;
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/broadcom/northstar2/
Dns2-svk.dts33 /dts-v1/;
39 compatible = "brcm,ns2-svk", "brcm,ns2";
49 stdout-path = "serial0:115200n8";
59 &enet {
113 spi-max-frequency = <5000000>;
114 spi-cpha = <1>;
115 spi-cpol = <1>;
118 pl022,slave-tx-disable = <0>;
119 pl022,com-mode = <0>;
120 pl022,rx-level-trig = <1>;
[all …]
/kernel/linux/linux-5.10/drivers/net/phy/
Ddp83867.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Driver for the Texas Instruments DP83867 PHY
12 #include <linux/phy.h>
18 #include <dt-bindings/net/ti-dp83867.h>
98 /* PHY CTRL bits */
123 /* PHY STS bits */
183 struct net_device *ndev = phydev->attached_dev; in dp83867_set_wol()
190 if (wol->wolopts & (WAKE_MAGIC | WAKE_MAGICSECURE | WAKE_UCAST | in dp83867_set_wol()
195 if (wol->wolopts & WAKE_MAGIC) { in dp83867_set_wol()
196 mac = (u8 *)ndev->dev_addr; in dp83867_set_wol()
[all …]
Ddp83869.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Driver for the Texas Instruments DP83869 PHY
12 #include <linux/phy.h>
16 #include <dt-bindings/net/ti-dp83869.h>
69 /* This is the same bit mask as the BMCR so re-use the BMCR default */
157 struct dp83869_private *dp83869 = phydev->priv; in dp83869_read_status()
164 if (linkmode_test_bit(ETHTOOL_LINK_MODE_FIBRE_BIT, phydev->supported)) { in dp83869_read_status()
165 if (phydev->link) { in dp83869_read_status()
166 if (dp83869->mode == DP83869_RGMII_100_BASE) in dp83869_read_status()
167 phydev->speed = SPEED_100; in dp83869_read_status()
[all …]
Dbroadcom.c1 // SPDX-License-Identifier: GPL-2.0+
3 * drivers/net/phy/broadcom.c
13 #include "bcm-phy-lib.h"
15 #include <linux/phy.h>
20 ((phydev)->drv->phy_id & (phydev)->drv->phy_id_mask)
23 ((phydev)->drv->phy_id & ~((phydev)->drv->phy_id_mask))
25 MODULE_DESCRIPTION("Broadcom PHY driver");
33 /* handling PHY's internal RX clock delay */ in bcm54xx_config_clock_delay()
36 if (phydev->interface == PHY_INTERFACE_MODE_RGMII || in bcm54xx_config_clock_delay()
37 phydev->interface == PHY_INTERFACE_MODE_RGMII_TXID) { in bcm54xx_config_clock_delay()
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Drk3288-phycore-som.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Device tree file for Phytec phyCORE-RK3288 SoM
8 #include <dt-bindings/net/ti-dp83867.h>
13 compatible = "phytec,rk3288-phycore-som", "rockchip,rk3288";
29 ext_gmac: external-gmac-clock {
30 compatible = "fixed-clock";
31 #clock-cells = <0>;
32 clock-frequency = <125000000>;
33 clock-output-names = "ext_gmac";
36 leds: user-leds {
[all …]
/kernel/linux/linux-4.19/arch/arm/boot/dts/
Drk3288-phycore-som.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Device tree file for Phytec phyCORE-RK3288 SoM
8 #include <dt-bindings/net/ti-dp83867.h>
13 compatible = "phytec,rk3288-phycore-som", "rockchip,rk3288";
29 ext_gmac: external-gmac-clock {
30 compatible = "fixed-clock";
31 #clock-cells = <0>;
32 clock-frequency = <125000000>;
33 clock-output-names = "ext_gmac";
36 leds: user-leds {
[all …]