| /openbmc/u-boot/arch/arm/dts/ |
| H A D | meson-gxbb-nanopi-k2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-gxbb.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 12 compatible = "friendlyarm,nanopi-k2", "amlogic,meson-gxbb"; 20 stdout-path = "serial0:115200n8"; 29 compatible = "gpio-leds"; 32 label = "nanopi-k2:blue:stat"; 34 default-state = "on"; 35 panic-indicator; [all …]
|
| H A D | sun6i-a31s-sinovoip-bpi-m2.dts | 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 44 #include "sun6i-a31s.dtsi" 45 #include <dt-bindings/gpio/gpio.h> 48 model = "Sinovoip BPI-M2"; 49 compatible = "sinovoip,bpi-m2", "allwinner,sun6i-a31s"; 56 stdout-path = "serial0:115200n8"; 60 compatible = "gpio-leds"; 61 pinctrl-names = "default"; 62 pinctrl-0 = <&led_pins_bpi_m2>; [all …]
|
| H A D | sun8i-a83t-bananapi-m3.dts | 2 * Copyright 2017 Chen-Yu Tsai 4 * Chen-Yu Tsai <wens@csie.org> 6 * This file is dual-licensed: you can use it either under the terms 45 /dts-v1/; 46 #include "sun8i-a83t.dtsi" 48 #include <dt-bindings/gpio/gpio.h> 51 model = "Banana Pi BPI-M3"; 52 compatible = "sinovoip,bpi-m3", "allwinner,sun8i-a83t"; 60 stdout-path = "serial0:115200n8"; 64 compatible = "hdmi-connector"; [all …]
|
| H A D | sun50i-a64-bananapi-m64.dts | 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 45 #include "sun50i-a64.dtsi" 47 #include <dt-bindings/gpio/gpio.h> 50 model = "BananaPi-M64"; 51 compatible = "sinovoip,bananapi-m64", "allwinner,sun50i-a64"; 60 stdout-path = "serial0:115200n8"; 63 hdmi-connector { 64 compatible = "hdmi-connector"; 69 remote-endpoint = <&hdmi_out_con>; [all …]
|
| H A D | sun50i-a64-nanopi-a64.dts | 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 45 #include "sun50i-a64.dtsi" 47 #include <dt-bindings/gpio/gpio.h> 51 compatible = "friendlyarm,nanopi-a64", "allwinner,sun50i-a64"; 59 stdout-path = "serial0:115200n8"; 62 hdmi-connector { 63 compatible = "hdmi-connector"; 68 remote-endpoint = <&hdmi_out_con>; 74 compatible = "gpio-leds"; [all …]
|
| H A D | sunxi-bananapi-m2-plus.dtsi | 2 * Copyright (C) 2016 Chen-Yu Tsai <wens@csie.org> 4 * This file is dual-licensed: you can use it either under the terms 43 #include "sunxi-common-regulators.dtsi" 45 #include <dt-bindings/gpio/gpio.h> 46 #include <dt-bindings/input/input.h> 56 stdout-path = "serial0:115200n8"; 60 compatible = "hdmi-connector"; 65 remote-endpoint = <&hdmi_out_con>; 71 compatible = "gpio-leds"; 72 pinctrl-names = "default"; [all …]
|
| H A D | sun7i-a20-wits-pro-a20-dkt.dts | 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 44 #include "sun7i-a20.dtsi" 45 #include "sunxi-common-regulators.dtsi" 47 #include <dt-bindings/gpio/gpio.h> 48 #include <dt-bindings/input/input.h> 49 #include <dt-bindings/interrupt-controller/irq.h> 53 compatible = "wits,pro-a20-dkt", "allwinner,sun7i-a20"; 60 stdout-path = "serial0:115200n8"; 64 compatible = "mmc-pwrseq-simple"; [all …]
|
| H A D | sun50i-a64-olinuxino.dts | 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 45 #include "sun50i-a64.dtsi" 47 #include <dt-bindings/gpio/gpio.h> 50 model = "Olimex A64-Olinuxino"; 51 compatible = "olimex,a64-olinuxino", "allwinner,sun50i-a64"; 59 stdout-path = "serial0:115200n8"; 62 hdmi-connector { 63 compatible = "hdmi-connector"; 68 remote-endpoint = <&hdmi_out_con>; [all …]
|
| H A D | sun7i-a20-bananapi-m1-plus.dts | 6 * This file is dual-licensed: you can use it either under the terms 45 /dts-v1/; 46 #include "sun7i-a20.dtsi" 47 #include "sunxi-common-regulators.dtsi" 48 #include <dt-bindings/gpio/gpio.h> 49 #include <dt-bindings/interrupt-controller/arm-gic.h> 52 model = "Banana Pi BPI-M1-Plus"; 53 compatible = "sinovoip,bpi-m1-plus", "allwinner,sun7i-a20"; 60 stdout-path = "serial0:115200n8"; 63 hdmi-connector { [all …]
|
| H A D | tegra186.dtsi | 2 #include <dt-bindings/clock/tegra186-clock.h> 3 #include <dt-bindings/gpio/tegra186-gpio.h> 4 #include <dt-bindings/interrupt-controller/arm-gic.h> 5 #include <dt-bindings/mailbox/tegra186-hsp.h> 6 #include <dt-bindings/power/tegra186-powergate.h> 7 #include <dt-bindings/reset/tegra186-reset.h> 11 interrupt-parent = <&gic>; 12 #address-cells = <2>; 13 #size-cells = <2>; 16 compatible = "nvidia,tegra186-gpio"; [all …]
|
| H A D | sun7i-a20-cubietruck.dts | 6 * This file is dual-licensed: you can use it either under the terms 45 /dts-v1/; 46 #include "sun7i-a20.dtsi" 47 #include "sunxi-common-regulators.dtsi" 49 #include <dt-bindings/gpio/gpio.h> 50 #include <dt-bindings/interrupt-controller/irq.h> 54 compatible = "cubietech,cubietruck", "allwinner,sun7i-a20"; 61 stdout-path = "serial0:115200n8"; 64 hdmi-connector { 65 compatible = "hdmi-connector"; [all …]
|
| /openbmc/u-boot/drivers/usb/host/ |
| H A D | ehci.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /*- 3 * Copyright (c) 2007-2008, Juniper Networks, Inc. 13 #include <generic-phy.h> 15 /* Section 2.2.3 - N_PORTS */ 37 #define CMD_LRESET (1 << 7) /* partial reset */ 41 #define CMD_RESET (1 << 1) /* reset HC not bus */ 52 #define INTR_AAE (1 << 5) /* Interrupt on async adavance enable */ 122 #define EHCI_PS_WKOC_E (1 << 22) /* RW wake on over current */ 123 #define EHCI_PS_WKDSCNNT_E (1 << 21) /* RW wake on disconnect */ [all …]
|
| /openbmc/u-boot/board/kosagi/novena/ |
| H A D | novena_spl.c | 1 // SPDX-License-Identifier: GPL-2.0+ 12 #include <asm/arch/mx6-ddr.h> 13 #include <asm/arch/mx6-pins.h> 16 #include <asm/mach-imx/boot_mode.h> 17 #include <asm/mach-imx/iomux-v3.h> 18 #include <asm/mach-imx/mxc_i2c.h> 25 #include <asm/arch/mx6-ddr.h> 111 /* pin 42 PHY nRST */ 128 /* Assert Ethernet PHY nRST */ in novena_spl_setup_iomux_enet() 132 * Use imx6 internal pull-ups to drive PHY mode pins during PHY reset in novena_spl_setup_iomux_enet() [all …]
|
| /openbmc/qemu/include/standard-headers/linux/ |
| H A D | ethtool.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 19 #include "standard-headers/linux/const.h" 20 #include "standard-headers/linux/types.h" 21 #include "standard-headers/linux/if_ether.h" 26 * have the same layout for 32-bit and 64-bit userland. 29 /* Note on reserved space. 38 * struct ethtool_cmd - DEPRECATED, link control and status 43 * interface supports autonegotiation or auto-detection. 44 * Read-only. 48 * auto-detection. [all …]
|
| /openbmc/u-boot/drivers/net/ |
| H A D | mpc8xx_fec.c | 1 // SPDX-License-Identifier: GPL-2.0+ 15 #include <phy.h> 36 #error RMII support is unusable without a working PHY. 61 -1, 71 -1, 99 * immr->udata_bd address on Dual-Port RAM 134 strcpy(dev->name, "FEC"); in fec_initialize() 136 sprintf(dev->name, "FEC%d", in fec_initialize() 142 * reset actual phy addr in fec_initialize() 144 efis->actual_phy_addr = -1; in fec_initialize() [all …]
|
| H A D | mcfmii.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2004-2008 Freescale Semiconductor, Inc. 4 * TsiChung Liew (Tsi-Chung.Liew@freescale.com) 77 * mii_init -- Initialize the MII for MII command without ethernet 82 volatile FEC_T *fecp = (FEC_T *) (info->miibase); in mii_reset() 85 fecp->ecr = FEC_ECR_RESET; in mii_reset() 87 for (i = 0; (fecp->ecr & FEC_ECR_RESET) && (i < FEC_RESET_DELAY); ++i) { in mii_reset() 94 /* send command to phy using mii, wait for result */ 105 info = dev->priv; in mii_send() 107 ep = (FEC_T *) info->miibase; in mii_send() [all …]
|
| H A D | e1000.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 5 Copyright(c) 1999 - 2002 Intel Corporation. All rights reserved. 10 Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 36 printf("e1000: %s: ERROR: " fmt, (NIC)->name ,##args) 40 printf("e1000: %s: DEBUG: " fmt, (NIC)->name ,##args) 51 writel((value), ((a)->hw_addr + E1000_##reg)) 53 readl((a)->hw_addr + E1000_##reg) 55 writel((value), ((a)->hw_addr + E1000_##reg + ((offset) << 2))) 57 readl((a)->hw_addr + E1000_##reg + ((offset) << 2)) 169 /* PHY status info structure and supporting enums */ [all …]
|
| H A D | fec_mxc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 25 #include <asm/arch/imx-regs.h> 26 #include <asm/mach-imx/sys_proto.h> 27 #include <asm-generic/gpio.h> 40 * The standard 32-byte DMA alignment does not work on mx6solox, which requires 41 * 64-byte alignment in the DMA RX FEC buffer. 43 * satisfies the alignment on other SoCs (32-bytes) 87 /* MII-interface related functions */ 91 uint32_t reg; /* convenient holder for the PHY register */ in fec_mdio_read() 92 uint32_t phy; /* convenient holder for the PHY */ in fec_mdio_read() local [all …]
|
| H A D | smc91111.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /*------------------------------------------------------------------------ 4 . This is a driver for SMSC's 91C111 single-chip Ethernet device. 7 . Sysgo Real-Time Solutions, GmbH <www.elinos.com> 21 . Integrated PHY/MAC for 10/100BaseT Operation 43 . 06/19/03 Richard Woodruff Made u-boot environment aware and added mac addr checks. 48 ----------------------------------------------------------------------------*/ 57 /* Use power-down feature of the chip */ 74 /*------------------------------------------------------------------------ 78 -------------------------------------------------------------------------*/ [all …]
|
| H A D | ks8851_mll.c | 1 // SPDX-License-Identifier: GPL-2.0+ 29 * union ks_tx_hdr - tx header data 31 * @txw: The header as 16bit, little-endian words 43 * struct ks_net - KS8851 driver private data 46 * @frame_head_info : frame header information for multi-pkt rx. 47 * @statelock : Lock on this structure for tx list. 110 writew(offset | (BE0 << shift_bit), dev->iobase + 2); in ks_rdreg8() 112 return (u8)(readw(dev->iobase) >> shift_data); in ks_rdreg8() 117 writew(offset | ((BE1 | BE0) << (offset & 0x02)), dev->iobase + 2); in ks_rdreg16() 119 return readw(dev->iobase); in ks_rdreg16() [all …]
|
| /openbmc/u-boot/board/barco/platinum/ |
| H A D | spl_picon.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Based on: gw_ventana_spl.c which is: 13 #include <asm/arch/mx6-ddr.h> 14 #include <asm/arch/mx6-pins.h> 16 #include <asm/mach-imx/boot_mode.h> 17 #include <asm/mach-imx/iomux-v3.h> 18 #include <asm/mach-imx/mxc_i2c.h> 27 /* SDCLK[0:1], CAS, RAS, Reset: Differential input, 40ohm */ 33 /* SDCKE[0:1]: 100k pull-up */ 36 /* SDBA2: pull-up disabled */ [all …]
|
| H A D | spl_titanium.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Based on: gw_ventana_spl.c which is: 13 #include <asm/arch/mx6-ddr.h> 14 #include <asm/arch/mx6-pins.h> 16 #include <asm/mach-imx/boot_mode.h> 17 #include <asm/mach-imx/iomux-v3.h> 18 #include <asm/mach-imx/mxc_i2c.h> 27 /* SDCLK[0:1], CAS, RAS, Reset: Differential input, 40ohm */ 33 /* SDCKE[0:1]: 100k pull-up */ 36 /* SDBA2: pull-up disabled */ [all …]
|
| /openbmc/u-boot/include/linux/ |
| H A D | ethtool.h | 43 ep->speed = (__u16)speed; in ethtool_cmd_speed_set() 44 ep->speed_hi = (__u16)(speed >> 16); in ethtool_cmd_speed_set() 49 return (ep->speed_hi << 16) | ep->speed; in ethtool_cmd_speed() 66 * using ops->get_sset_count(). Obtaining 79 /* wake-on-lan settings */ 96 __u32 version; /* driver-specific, indicates different chips/revs */ 158 /* How many usecs to delay in-memory statistics 159 * block updates. Some drivers do not have an in-memory 232 /* If the link is being auto-negotiated (via ethtool_cmd.autoneg 233 * being true) the user may set 'autonet' here non-zero to have the [all …]
|
| /openbmc/u-boot/board/davinci/da8xxevm/ |
| H A D | da850evm.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ 5 * Based on da830evm.c. Original Copyrights follow: 20 #include <asm/ti-common/davinci_nand.h> 27 #include <asm/mach-types.h> 50 #define CFG_MAC_ADDR_OFFSET (flash->size - SZ_64K) 88 printf("Error - unable to probe SPI flash.\n"); in get_mac_addr() 89 return -1; in get_mac_addr() 94 printf("Error - unable to read MAC address from SPI flash.\n"); in get_mac_addr() 95 return -1; in get_mac_addr() [all …]
|
| /openbmc/qemu/hw/net/ |
| H A D | eepro100.c | 4 * Copyright (C) 2006-2011 Stefan Weil 9 * SPDX-License-Identifier: GPL-2.0-or-later 37 * * PHY emulation should be separated from nic emulation. 38 * Most nic emulations could share the same phy code. 42 * * Wake-on-LAN is not implemented. 48 #include "hw/qdev-properties.h" 55 #include "system/reset.h" 75 #define logout(fmt, ...) fprintf(stderr, "EE100\t%-24s" fmt, __func__, ## __VA_ARGS__) 115 #define BITS(n, m) (((0xffffffffU << (31 - n)) >> (31 - n + m)) << m) 124 #define CU_DUMPSTATS 0x0070 /* Dump and reset statistical counters. */ [all …]
|