Home
last modified time | relevance | path

Searched +full:fixed +full:- +full:link (Results 1 – 25 of 1055) sorted by relevance

12345678910>>...43

/kernel/linux/linux-4.19/Documentation/devicetree/bindings/net/
Dfixed-link.txt1 Fixed link Device Tree binding
2 ------------------------------
4 Some Ethernet MACs have a "fixed link", and are not connected to a
5 normal MDIO-managed PHY device. For those situations, a Device Tree
6 binding allows to describe a "fixed link".
8 Such a fixed link situation is described by creating a 'fixed-link'
9 sub-node of the Ethernet MAC device node, with the following
12 * 'speed' (integer, mandatory), to indicate the link speed. Accepted
14 * 'full-duplex' (boolean, optional), to indicate that full duplex is
18 * 'asym-pause' (boolean, optional), to indicate that asym_pause should
[all …]
Dbrcm,systemport.txt4 - compatible: should be one of:
5 "brcm,systemport-v1.00"
6 "brcm,systemportlite-v1.00" or
8 - reg: address and length of the register set for the device.
9 - interrupts: interrupts for the device, first cell must be for the rx
11 optional third interrupt cell for Wake-on-LAN can be specified
12 - local-mac-address: Ethernet MAC address (48 bits) of this adapter
13 - phy-mode: Should be a string describing the PHY interface to the
15 - fixed-link: see Documentation/devicetree/bindings/net/fixed-link.txt for
19 - systemport,num-tier2-arb: number of tier 2 arbiters, an integer
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/net/dsa/
Ddsa.txt2 ----------------------------------------------------
8 ---------------
18 - ports : A container for child nodes representing switch ports.
22 - dsa,member : A two element list indicates which DSA cluster, and position
32 - #address-cells : Must be 1
33 - #size-cells : Must be 0
36 - reg : Describes the port address in the switch
41 - link : Should be a list of phandles to other switch's DSA
49 - ethernet : Should be a phandle to a valid Ethernet device node.
55 - label : Describes the label associated with this port, which
[all …]
Dqca8k.txt5 - compatible: should be one of:
9 - #size-cells: must be 0
10 - #address-cells: must be 1
22 - fixed-link : Fixed-link subnode describing a link to a non-MDIO
24 Documentation/devicetree/bindings/net/fixed-link.txt
27 For QCA8K the 'fixed-link' sub-node supports only the following properties:
29 - 'speed' (integer, mandatory), to indicate the link speed. Accepted
31 - 'full-duplex' (boolean, optional), to indicate that full duplex is
60 #address-cells = <1>;
61 #size-cells = <0>;
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dfsl-enetc.txt4 external) there are two supported link modes specified by
9 - reg : Specifies PCIe Device Number and Function
12 - compatible : Should be "fsl,enetc".
18 In this case, the ENETC node should include a "mdio" sub-node
19 that in turn should contain the "ethernet-phy" node describing the
26 - phy-handle : Phandle to a PHY on the MDIO bus.
29 - phy-connection-type : Defined in ethernet.txt.
31 - mdio : "mdio" node, defined in mdio.txt.
33 - ethernet-phy : "ethernet-phy" node, defined in phy.txt.
40 phy-handle = <&sgmii_phy0>;
[all …]
Dnixge.txt4 - compatible: Should be "ni,xge-enet-3.00", but can be "ni,xge-enet-2.00" for
5 older device trees with DMA engines co-located in the address map,
7 - reg: Address and length of the register set for the device. It contains the
8 information of registers in the same order as described by reg-names.
9 - reg-names: Should contain the reg names
12 - interrupts: Should contain tx and rx interrupt
13 - interrupt-names: Should be "rx" and "tx"
14 - phy-mode: See ethernet.txt file in the same directory.
15 - nvmem-cells: Phandle of nvmem cell containing the MAC address
16 - nvmem-cell-names: Should be "address"
[all …]
Dbrcm,systemport.txt4 - compatible: should be one of:
5 "brcm,systemport-v1.00"
6 "brcm,systemportlite-v1.00" or
8 - reg: address and length of the register set for the device.
9 - interrupts: interrupts for the device, first cell must be for the rx
11 optional third interrupt cell for Wake-on-LAN can be specified
12 - local-mac-address: Ethernet MAC address (48 bits) of this adapter
13 - phy-mode: Should be a string describing the PHY interface to the
15 - fixed-link: see Documentation/devicetree/bindings/net/fixed-link.txt for
19 - systemport,num-tier2-arb: number of tier 2 arbiters, an integer
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/dsa/
Dqca8k.txt5 - compatible: should be one of:
9 - #size-cells: must be 0
10 - #address-cells: must be 1
14 - reset-gpios: GPIO to be used to reset the whole device
20 mdio-bus each subnode describing a port needs to have a valid phandle
24 Don't use mixed external and internal mdio-bus configurations, as this is
31 - fixed-link : Fixed-link subnode describing a link to a non-MDIO
33 Documentation/devicetree/bindings/net/fixed-link.txt
36 For QCA8K the 'fixed-link' sub-node supports only the following properties:
38 - 'speed' (integer, mandatory), to indicate the link speed. Accepted
[all …]
Dsja1105.txt6 - compatible:
8 - "nxp,sja1105e"
9 - "nxp,sja1105t"
10 - "nxp,sja1105p"
11 - "nxp,sja1105q"
12 - "nxp,sja1105r"
13 - "nxp,sja1105s"
18 and the non-SGMII devices, while pin-compatible, are not equal in terms
24 - sja1105,role-mac:
25 - sja1105,role-phy:
[all …]
/kernel/linux/linux-5.10/drivers/net/phy/
Dfixed_phy.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Fixed MDIO bus (MDIO bus emulation with fixed PHYs)
8 * Copyright (c) 2006-2007 MontaVista Software, Inc.
51 struct phy_device *phydev = dev->phydev; in fixed_phy_change_carrier()
54 if (!phydev || !phydev->mdio.bus) in fixed_phy_change_carrier()
55 return -EINVAL; in fixed_phy_change_carrier()
57 list_for_each_entry(fp, &fmb->phys, node) { in fixed_phy_change_carrier()
58 if (fp->addr == phydev->mdio.addr) { in fixed_phy_change_carrier()
59 fp->no_carrier = !new_carrier; in fixed_phy_change_carrier()
63 return -EINVAL; in fixed_phy_change_carrier()
[all …]
Dphylink.c1 // SPDX-License-Identifier: GPL-2.0
4 * technologies such as SFP cages where the PHY is hot-pluggable.
38 * struct phylink - internal data type for phylink
55 u8 link_port; /* The current non-phy ethtool port */
58 /* The link configuration settings */
84 if ((pl)->config->type == PHYLINK_NETDEV) \
85 netdev_printk(level, (pl)->netdev, fmt, ##__VA_ARGS__); \
86 else if ((pl)->config->type == PHYLINK_DEV) \
87 dev_printk(level, (pl)->dev, fmt, ##__VA_ARGS__); \
99 if ((pl)->config->type == PHYLINK_NETDEV) \
[all …]
/kernel/linux/linux-5.10/Documentation/networking/
Dsfp-phylink.rst1 .. SPDX-License-Identifier: GPL-2.0
10 phylink is a mechanism to support hot-pluggable networking modules
11 directly connected to a MAC without needing to re-initialise the
12 adapter on hot-plug events.
14 phylink supports conventional phylib-based setups, fixed link setups
25 In PHY mode, we use phylib to read the current link settings from
28 negotiation being enabled on the link.
30 2. Fixed mode
32 Fixed mode is the same as PHY mode as far as the MAC driver is
35 3. In-band mode
[all …]
/kernel/linux/linux-4.19/drivers/net/phy/
Dfixed_phy.c2 * Fixed MDIO bus (MDIO bus emulation with fixed PHYs)
7 * Copyright (c) 2006-2007 MontaVista Software, Inc.
53 if (gpio_is_valid(fp->link_gpio)) in fixed_phy_update()
54 fp->status.link = !!gpio_get_value_cansleep(fp->link_gpio); in fixed_phy_update()
59 struct fixed_mdio_bus *fmb = bus->priv; in fixed_mdio_read()
62 list_for_each_entry(fp, &fmb->phys, node) { in fixed_mdio_read()
63 if (fp->addr == phy_addr) { in fixed_mdio_read()
68 s = read_seqcount_begin(&fp->seqcount); in fixed_mdio_read()
70 if (fp->link_update) in fixed_mdio_read()
71 fp->link_update(fp->phydev->attached_dev, in fixed_mdio_read()
[all …]
Dphylink.c3 * technologies such as SFP cages where the PHY is hot-pluggable.
41 * struct phylink - internal data type for phylink
52 u8 link_port; /* The current non-phy ethtool port */
55 /* The link configuration settings */
103 * phylink_set_port_modes() - set the port type modes in the ethtool mask
104 * @mask: ethtool link mode mask
138 [MLO_AN_FIXED] = "fixed", in phylink_an_mode_str()
148 pl->ops->validate(pl->netdev, supported, state); in phylink_validate()
150 return phylink_is_empty_linkmode(supported) ? -EINVAL : 0; in phylink_validate()
162 fixed_node = fwnode_get_named_child_node(fwnode, "fixed-link"); in phylink_parse_fixedlink()
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dvf610-zii-dev-rev-b.dts1 // 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-gpio";
15 pinctrl-0 = <&pinctrl_mdio_mux>;
16 pinctrl-names = "default";
21 mdio-parent-bus = <&mdio1>;
22 #address-cells = <1>;
[all …]
Dimx53-kp-hsc.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
8 #include "imx53-kp.dtsi"
12 compatible = "kiebackpeter,imx53-hsc", "fsl,imx53";
18 fixed-link { /* RMII fixed link to LAN9303 */
20 full-duplex;
26 compatible = "smsc,lan9303-i2c";
28 reset-gpios = <&gpio7 6 GPIO_ACTIVE_LOW>;
29 reset-duration = <400>;
32 #address-cells = <1>;
[all …]
Dkirkwood-l-50.dts1 // SPDX-License-Identifier: GPL-2.0
3 * Check Point L-50 Board Description
7 /dts-v1/;
10 #include "kirkwood-6281.dtsi"
13 model = "Check Point L-50";
14 compatible = "checkpoint,l-50", "marvell,kirkwood-88f6281", "marvell,kirkwood";
23 stdout-path = &uart0;
27 pinctrl: pin-controller@10000 {
28 pinctrl-0 = <&pmx_led38 &pmx_sysrst &pmx_button29>;
29 pinctrl-names = "default";
[all …]
/kernel/linux/linux-4.19/arch/arm/boot/dts/
Dvf610-zii-dev-rev-b.dts4 * Based on an original 'vf610-twr.dts' which is Copyright 2015,
7 * This file is dual-licensed: you can use it either under the terms
45 /dts-v1/;
46 #include "vf610-zii-dev.dtsi"
50 compatible = "zii,vf610dev-b", "zii,vf610dev", "fsl,vf610";
52 mdio-mux {
53 compatible = "mdio-mux-gpio";
54 pinctrl-0 = <&pinctrl_mdio_mux>;
55 pinctrl-names = "default";
60 mdio-parent-bus = <&mdio1>;
[all …]
Dimx53-kp-hsc.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
8 #include "imx53-kp.dtsi"
12 compatible = "kiebackpeter,imx53-hsc", "fsl,imx53";
18 fixed-link { /* RMII fixed link to LAN9303 */
20 full-duplex;
26 compatible = "smsc,lan9303-i2c";
28 reset-gpios = <&gpio7 6 GPIO_ACTIVE_LOW>;
29 reset-duration = <400>;
32 #address-cells = <1>;
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/amlogic/
Dmeson-g12b-odroid-n2.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/gpio/meson-g12a-gpio.h>
9 #include <dt-bindings/sound/meson-g12a-toacodec.h>
10 #include <dt-bindings/sound/meson-g12a-tohdmitx.h>
18 dioo2133: audio-amplifier-0 {
19 compatible = "simple-audio-amplifier";
20 enable-gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_HIGH>;
21 VCC-supply = <&vcc_5v>;
22 sound-name-prefix = "U19";
[all …]
Dmeson-gx-p23x-q20x.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 * the pin-compatible S912 (GXM) or S905D (GXL) SoCs.
11 #include <dt-bindings/sound/meson-aiu.h>
19 dio2133: analog-amplifier {
20 compatible = "simple-audio-amplifier";
21 sound-name-prefix = "AU2";
22 VCC-supply = <&hdmi_5v>;
23 enable-gpios = <&gpio GPIOH_5 GPIO_ACTIVE_HIGH>;
26 spdif_dit: audio-codec-0 {
27 #sound-dai-cells = <0>;
[all …]
Dmeson-axg-s400.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include "meson-axg.dtsi"
9 #include <dt-bindings/input/input.h>
12 compatible = "amlogic,s400", "amlogic,a113d", "amlogic,meson-axg";
16 compatible = "adc-keys";
17 io-channels = <&saradc 0>;
18 io-channel-names = "buttons";
19 keyup-threshold-microvolt = <1800000>;
21 button-next {
[all …]
/kernel/linux/linux-4.19/drivers/of/
Dof_mdio.c31 * ethernet-phy-idAAAA.BBBB */
39 if (sscanf(cp, "ethernet-phy-id%4x.%4x", &upper, &lower) == 2) { in of_get_phy_id()
44 return -EINVAL; in of_get_phy_id()
56 "ethernet-phy-ieee802.3-c45"); in of_mdiobus_register_phy()
66 if (rc == -EPROBE_DEFER) { in of_mdiobus_register_phy()
71 phy->irq = rc; in of_mdiobus_register_phy()
72 mdio->irq[addr] = rc; in of_mdiobus_register_phy()
74 phy->irq = mdio->irq[addr]; in of_mdiobus_register_phy()
77 if (of_property_read_bool(child, "broken-turn-around")) in of_mdiobus_register_phy()
78 mdio->phy_ignore_ta_mask |= 1 << addr; in of_mdiobus_register_phy()
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/qcom/
Dsdm845-db845c.dts1 // SPDX-License-Identifier: GPL-2.0
6 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
11 #include <dt-bindings/sound/qcom,q6afe.h>
12 #include <dt-bindings/sound/qcom,q6asm.h>
27 stdout-path = "serial0:115200n8";
30 dc12v: dc12v-regulator {
31 compatible = "regulator-fixed";
[all …]
/kernel/linux/linux-5.10/drivers/net/mdio/
Dof_mdio.c1 // SPDX-License-Identifier: GPL-2.0-only
29 * ethernet-phy-idAAAA.BBBB */
37 if (sscanf(cp, "ethernet-phy-id%4x.%4x", &upper, &lower) == 2) { in of_get_phy_id()
42 return -EINVAL; in of_get_phy_id()
52 if (err == -ENOENT) in of_find_mii_timestamper()
58 return ERR_PTR(-EINVAL); in of_find_mii_timestamper()
69 if (rc == -EPROBE_DEFER) in of_mdiobus_phy_device_register()
73 phy->irq = rc; in of_mdiobus_phy_device_register()
74 mdio->irq[addr] = rc; in of_mdiobus_phy_device_register()
76 phy->irq = mdio->irq[addr]; in of_mdiobus_phy_device_register()
[all …]

12345678910>>...43