/linux/drivers/net/phy/ |
H A D | fixed_phy.c | 1 // 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 …]
|
/linux/Documentation/devicetree/bindings/net/ |
H A D | nixge.txt | 4 - 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 …]
|
/linux/arch/arm/boot/dts/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-gpio"; 15 pinctrl-0 = <&pinctrl_mdio_mux>; 16 pinctrl-names = "default"; 21 mdio-parent-bus = <&mdio1>; 22 #address-cells = <1>; [all …]
|
H A D | vf610-zii-scu4-aib.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 // Copyright (C) 2016-2018 Zodiac Inflight Innovations 5 /dts-v1/; 10 compatible = "zii,vf610scu4-aib", "zii,vf610dev", "fsl,vf610"; 13 stdout-path = &uart0; 21 gpio-leds { 22 compatible = "gpio-leds"; 23 pinctrl-0 = <&pinctrl_leds_debug>; 24 pinctrl-names = "default"; 26 led-debug { [all …]
|
/linux/Documentation/networking/ |
H A D | sfp-phylink.rst | 1 .. 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 …]
|
/linux/arch/arm/boot/dts/mediatek/ |
H A D | mt7623a.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2017-2018 MediaTek Inc. 8 /dts-v1/; 9 #include <dt-bindings/power/mt7623a-power.h> 13 power-domains = <&scpsys MT7623A_POWER_DOMAIN_IFR_MSC>; 17 power-domains = <&scpsys MT7623A_POWER_DOMAIN_ETH>; 22 phy-mode = "trgmii"; 24 fixed-link { 26 full-duplex; 33 phy-mode = "rgmii"; [all …]
|
H A D | mt7623n-bananapi-bpi-r2.dts | 2 * Copyright 2017-2018 Sean Wang <sean.wang@mediatek.com> 4 * SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 8 #include <dt-bindings/input/input.h> 13 model = "Bananapi BPI-R2"; 14 compatible = "bananapi,bpi-r2", "mediatek,mt7623"; 21 stdout-path = "serial2:115200n8"; 25 compatible = "hdmi-connector"; 28 ddc-i2c-bus = <&hdmiddc0>; 32 remote-endpoint = <&hdmi0_out>; [all …]
|
/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-g12b-bananapi-cm4-mnt-reform2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "meson-g12b-bananapi-cm4.dtsi" 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 15 model = "MNT Reform 2 with BPI-CM4 Module"; 16 compatible = "mntre,reform2-cm4", "bananapi,bpi-cm4", "amlogic,a311d", "amlogic,g12b"; 17 chassis-type = "laptop"; 25 hdmi_connector: hdmi-connector { [all …]
|
H A D | meson-g12a-u200.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-g12a.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/gpio/meson-g12a-gpio.h> 11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 12 #include <dt-bindings/sound/meson-g12a-toacodec.h> 23 dioo2133: audio-amplifier-0 { 24 compatible = "simple-audio-amplifier"; 25 enable-gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_HIGH>; [all …]
|
H A D | meson-khadas-vim3.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/gpio/meson-g12a-gpio.h> 11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 22 stdout-path = "serial0:115200n8"; 30 adc-keys { 31 compatible = "adc-keys"; 32 io-channels = <&saradc 2>; 33 io-channel-names = "buttons"; [all …]
|
H A D | meson-gx-p23x-q20x.dtsi | 1 // 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 …]
|
H A D | meson-g12a-x96-max.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-g12a.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/gpio/meson-g12a-gpio.h> 11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 14 compatible = "amediatech,x96-max", "amlogic,g12a"; 22 spdif_dit: audio-codec-1 { 23 #sound-dai-cells = <0>; 24 compatible = "linux,spdif-dit"; [all …]
|
H A D | meson-libretech-cottonwood.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/clock/g12a-clkc.h> 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/gpio/meson-g12a-gpio.h> 12 #include <dt-bindings/sound/meson-g12a-toacodec.h> 13 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 28 stdout-path = "serial0:115200n8"; 31 dioo2133: audio-amplifier-0 { [all …]
|
H A D | meson-axg-s400.dts | 1 // 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 …]
|
H A D | meson-sm1-odroid.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include "meson-sm1.dtsi" 7 #include <dt-bindings/gpio/meson-g12a-gpio.h> 8 #include <dt-bindings/leds/common.h> 9 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 18 stdout-path = "serial0:115200n8"; 26 emmc_pwrseq: emmc-pwrseq { 27 compatible = "mmc-pwrseq-emmc"; 28 reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>; 31 tflash_vdd: regulator-tflash-vdd { [all …]
|
/linux/drivers/net/mdio/ |
H A D | of_mdio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 31 * ethernet-phy-idAAAA.BBBB */ 67 device_set_node(&mdiodev->dev, fwnode); in of_mdiobus_register_device() 72 device_set_node(&mdiodev->dev, NULL); in of_mdiobus_register_device() 78 dev_dbg(&mdio->dev, "registered mdio device %pOFn at address %i\n", in of_mdiobus_register_device() 90 { .compatible = "brcm,40nm-ephy" }, 100 { .compatible = "moxa,moxart-rtl8201cp", }, 106 * o Compatible string of "ethernet-phy-idX.X" 107 * o Compatible string of "ethernet-phy-ieee802.3-c45" 108 * o Compatible string of "ethernet-phy-ieee802.3-c22" [all …]
|
/linux/arch/arm/boot/dts/marvell/ |
H A D | kirkwood-l-50.dts | 1 // 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 …]
|
/linux/tools/testing/selftests/net/ |
H A D | netdevice.sh | 2 # SPDX-License-Identifier: GPL-2.0 11 # Kselftest framework requirement - SKIP code is 4. 21 ip link show "$netdev" |grep -q UP 22 if [ $? -eq 0 ];then 27 ip link set "$netdev" up 28 if [ $? -ne 0 ];then 46 if [ $NETDEV_STARTED -eq 0 ];then 51 ip link set dev $netdev address "$MACADDR" 52 if [ $? -ne 0 ];then 55 ip link show $netdev |grep -q "$MACADDR" [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx53-kp-hsc.dts | 1 // 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 …]
|
/linux/arch/arm64/boot/dts/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 …]
|
/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm958625-meraki-alamo.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 5 * Copyright (C) 2020-2021 Matthew Hagan <mnhagan88@gmail.com> 8 #include "bcm958625-meraki-mx6x-common.dtsi" 12 compatible = "gpio-keys-polled"; 14 poll-interval = <20>; 16 button-reset { 24 compatible = "gpio-leds"; 26 led-0 { 27 /* green:wan1-left */ 29 function-enumerator = <0>; [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | audio-graph-port.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/audio-graph-port.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 15 port-base: 17 - $ref: /schemas/graph.yaml#/$defs/port-base 18 - $ref: /schemas/sound/dai-params.yaml# 20 mclk-fs: 21 $ref: simple-card.yaml#/definitions/mclk-fs [all …]
|
/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt7986a-rfb.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 /dts-v1/; 8 #include <dt-bindings/pinctrl/mt65xx.h> 14 chassis-type = "embedded"; 15 compatible = "mediatek,mt7986a-rfb", "mediatek,mt7986a"; 22 stdout-path = "serial0:115200n8"; 30 reg_1p8v: regulator-1p8v { 31 compatible = "regulator-fixed"; 32 regulator-name = "fixed-1.8V"; 33 regulator-min-microvolt = <1800000>; [all …]
|
H A D | mt7986b-rfb.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 /dts-v1/; 12 chassis-type = "embedded"; 13 compatible = "mediatek,mt7986b-rfb", "mediatek,mt7986b"; 20 stdout-path = "serial0:115200n8"; 37 compatible = "mediatek,eth-mac"; 39 phy-mode = "2500base-x"; 41 fixed-link { 43 full-duplex; 49 compatible = "mediatek,eth-mac"; [all …]
|
/linux/arch/arm64/boot/dts/marvell/ |
H A D | cn9130-cf-pro.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2024 Josua Mayer <josua@solid-run.com> 9 /dts-v1/; 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/leds/common.h> 15 #include "cn9130-sr-som.dtsi" 16 #include "cn9130-cf.dtsi" 20 compatible = "solidrun,cn9130-clearfog-pro", 21 "solidrun,cn9130-sr-som", "marvell,cn9130"; 23 gpio-keys { [all …]
|