mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-06 13:14:27 +00:00
668e205098
The Microchip KSZ9477/KSZ9897/KSZ9567 7-Port Gigabit Ethernet Switches support SGMII/RGMII/MII/RMII with register access via SPI, I2C, or MDIO. This driver currently supports I2C register access but SPI or MDIO register access can be easily added at a later time. Tagging is not implemented and instead the active port is tracked to avoid needing a tag to store port information. This was tested with the imx8mm-venice-gw7901 board which has a KSZ9897S switch with an IMX8MM FEC MAC master connected via RGMII_ID. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
100 lines
3.9 KiB
Makefile
100 lines
3.9 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# (C) Copyright 2006
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
obj-$(CONFIG_ALTERA_TSE) += altera_tse.o
|
|
obj-$(CONFIG_AG7XXX) += ag7xxx.o
|
|
obj-$(CONFIG_ARMADA100_FEC) += armada100_fec.o
|
|
obj-$(CONFIG_BCM6348_ETH) += bcm6348-eth.o
|
|
obj-$(CONFIG_BCM6368_ETH) += bcm6368-eth.o
|
|
obj-$(CONFIG_BCMGENET) += bcmgenet.o
|
|
obj-$(CONFIG_DRIVER_AT91EMAC) += at91_emac.o
|
|
obj-$(CONFIG_DRIVER_AX88180) += ax88180.o
|
|
obj-$(CONFIG_BCM_SF2_ETH) += bcm-sf2-eth.o
|
|
obj-$(CONFIG_BCM_SF2_ETH_GMAC) += bcm-sf2-eth-gmac.o
|
|
obj-$(CONFIG_CALXEDA_XGMAC) += calxedaxgmac.o
|
|
obj-$(CONFIG_CORTINA_NI_ENET) += cortina_ni.o
|
|
obj-$(CONFIG_CS8900) += cs8900.o
|
|
obj-$(CONFIG_TULIP) += dc2114x.o
|
|
obj-$(CONFIG_ETH_DESIGNWARE) += designware.o
|
|
obj-$(CONFIG_ETH_DESIGNWARE_MESON8B) += dwmac_meson8b.o
|
|
obj-$(CONFIG_ETH_DESIGNWARE_SOCFPGA) += dwmac_socfpga.o
|
|
obj-$(CONFIG_ETH_DESIGNWARE_S700) += dwmac_s700.o
|
|
obj-$(CONFIG_DRIVER_DM9000) += dm9000x.o
|
|
obj-$(CONFIG_DNET) += dnet.o
|
|
obj-$(CONFIG_DSA_SANDBOX) += dsa_sandbox.o
|
|
obj-$(CONFIG_DM_ETH_PHY) += eth-phy-uclass.o
|
|
obj-$(CONFIG_E1000) += e1000.o
|
|
obj-$(CONFIG_E1000_SPI) += e1000_spi.o
|
|
obj-$(CONFIG_EEPRO100) += eepro100.o
|
|
obj-$(CONFIG_SUN4I_EMAC) += sunxi_emac.o
|
|
obj-$(CONFIG_SUN8I_EMAC) += sun8i_emac.o
|
|
obj-$(CONFIG_EP93XX) += ep93xx_eth.o
|
|
obj-$(CONFIG_ETHOC) += ethoc.o
|
|
obj-$(CONFIG_FEC_MXC) += fec_mxc.o
|
|
obj-$(CONFIG_FSLDMAFEC) += fsl_mcdmafec.o mcfmii.o
|
|
obj-$(CONFIG_FTGMAC100) += ftgmac100.o
|
|
obj-$(CONFIG_FTMAC110) += ftmac110.o
|
|
obj-$(CONFIG_FTMAC100) += ftmac100.o
|
|
obj-$(CONFIG_GMAC_ROCKCHIP) += gmac_rockchip.o
|
|
obj-$(CONFIG_KS8851_MLL) += ks8851_mll.o
|
|
obj-$(CONFIG_KSZ9477) += ksz9477.o
|
|
obj-$(CONFIG_LAN91C96) += lan91c96.o
|
|
obj-$(CONFIG_LPC32XX_ETH) += lpc32xx_eth.o
|
|
obj-$(CONFIG_MACB) += macb.o
|
|
obj-$(CONFIG_MCFFEC) += mcffec.o mcfmii.o
|
|
obj-$(CONFIG_MDIO_IPQ4019) += mdio-ipq4019.o
|
|
obj-$(CONFIG_MDIO_MUX_I2CREG) += mdio_mux_i2creg.o
|
|
obj-$(CONFIG_MDIO_MUX_MESON_G12A) += mdio_mux_meson_g12a.o
|
|
obj-$(CONFIG_MDIO_MUX_MMIOREG) += mdio_mux_mmioreg.o
|
|
obj-$(CONFIG_MDIO_MUX_SANDBOX) += mdio_mux_sandbox.o
|
|
obj-$(CONFIG_MPC8XX_FEC) += mpc8xx_fec.o
|
|
obj-$(CONFIG_MT7620_ETH) += mt7620-eth.o
|
|
obj-$(CONFIG_MT7628_ETH) += mt7628-eth.o
|
|
obj-$(CONFIG_MVGBE) += mvgbe.o
|
|
obj-$(CONFIG_MVMDIO) += mvmdio.o
|
|
obj-$(CONFIG_MVNETA) += mvneta.o
|
|
obj-$(CONFIG_MVPP2) += mvpp2.o
|
|
obj-$(CONFIG_NATSEMI) += natsemi.o
|
|
obj-$(CONFIG_NETCONSOLE) += netconsole.o
|
|
obj-$(CONFIG_NS8382X) += ns8382x.o
|
|
obj-$(CONFIG_PCH_GBE) += pch_gbe.o
|
|
obj-$(CONFIG_PCNET) += pcnet.o
|
|
obj-$(CONFIG_RTL8139) += rtl8139.o
|
|
obj-$(CONFIG_RTL8169) += rtl8169.o
|
|
obj-$(CONFIG_ETH_SANDBOX) += sandbox.o
|
|
obj-$(CONFIG_ETH_SANDBOX_RAW) += sandbox-raw.o
|
|
obj-$(CONFIG_ETH_SANDBOX_RAW) += sandbox-raw-bus.o
|
|
obj-$(CONFIG_SH_ETHER) += sh_eth.o
|
|
obj-$(CONFIG_RENESAS_RAVB) += ravb.o
|
|
obj-$(CONFIG_SMC91111) += smc91111.o
|
|
obj-$(CONFIG_SMC911X) += smc911x.o
|
|
obj-$(CONFIG_TSEC_ENET) += tsec.o fsl_mdio.o
|
|
obj-$(CONFIG_NET_OCTEONTX) += octeontx/
|
|
obj-$(CONFIG_NET_OCTEONTX2) += octeontx2/
|
|
obj-$(CONFIG_OCTEONTX_SMI) += octeontx/smi.o
|
|
obj-$(CONFIG_OCTEONTX2_CGX_INTF) += octeontx2/cgx_intf.o
|
|
obj-$(CONFIG_FMAN_ENET) += fsl_mdio.o
|
|
obj-$(CONFIG_ULI526X) += uli526x.o
|
|
obj-$(CONFIG_VSC7385_ENET) += vsc7385.o
|
|
obj-$(CONFIG_XILINX_AXIEMAC) += xilinx_axi_emac.o
|
|
obj-$(CONFIG_XILINX_EMACLITE) += xilinx_emaclite.o
|
|
obj-$(CONFIG_ZYNQ_GEM) += zynq_gem.o
|
|
obj-$(CONFIG_FSL_MC_ENET) += fsl-mc/
|
|
obj-$(CONFIG_FSL_MC_ENET) += ldpaa_eth/
|
|
obj-$(CONFIG_FSL_MEMAC) += fm/memac_phy.o
|
|
obj-$(CONFIG_VSC9953) += vsc9953.o
|
|
obj-$(CONFIG_PIC32_ETH) += pic32_mdio.o pic32_eth.o
|
|
obj-$(CONFIG_DWC_ETH_QOS) += dwc_eth_qos.o
|
|
obj-$(CONFIG_FSL_PFE) += pfe_eth/
|
|
obj-y += qe/
|
|
obj-$(CONFIG_SNI_AVE) += sni_ave.o
|
|
obj-$(CONFIG_SNI_NETSEC) += sni_netsec.o
|
|
obj-y += ti/
|
|
obj-$(CONFIG_MEDIATEK_ETH) += mtk_eth.o
|
|
obj-y += mscc_eswitch/
|
|
obj-$(CONFIG_HIGMACV300_ETH) += higmacv300.o
|
|
obj-$(CONFIG_MDIO_SANDBOX) += mdio_sandbox.o
|
|
obj-$(CONFIG_FSL_ENETC) += fsl_enetc.o fsl_enetc_mdio.o
|
|
obj-$(CONFIG_FSL_LS_MDIO) += fsl_ls_mdio.o
|