]> git.sur5r.net Git - u-boot/blobdiff - drivers/net/phy/Kconfig
Move CONFIG_PHY_ADDR to Kconfig
[u-boot] / drivers / net / phy / Kconfig
index 1afd8097b2fa7d8bcafbb30b16190c3e4e061bff..25de3fb2266586bd2b234f81dda702fd68e95a2d 100644 (file)
@@ -7,11 +7,36 @@ config MV88E6352_SWITCH
 
 menuconfig PHYLIB
        bool "Ethernet PHY (physical media interface) support"
+       depends on NET
        help
          Enable Ethernet PHY (physical media interface) support.
 
 if PHYLIB
 
+config PHY_ADDR
+       int "PHY address"
+       default 1 if ARCH_SUNXI
+       default 0
+       help
+         The address of PHY on MII bus. Usually in range of 0 to 31.
+
+config B53_SWITCH
+       bool "Broadcom BCM53xx (RoboSwitch) Ethernet switch PHY support."
+       help
+         Enable support for Broadcom BCM53xx (RoboSwitch) Ethernet switches.
+         This currently supports BCM53125 and similar models.
+
+if B53_SWITCH
+
+config B53_CPU_PORT
+       int "CPU port"
+       default 8
+
+config B53_PHY_PORTS
+       hex "Bitmask of PHY ports"
+
+endif # B53_SWITCH
+
 config MV88E61XX_SWITCH
        bool "Marvel MV88E61xx Ethernet switch PHY support."
 
@@ -55,6 +80,9 @@ config PHY_LXT
 config PHY_MARVELL
        bool "Marvell Ethernet PHYs support"
 
+config PHY_MESON_GXL
+       bool "Amlogic Meson GXL Internal PHY support"
+
 config PHY_MICREL
        bool "Micrel Ethernet PHYs support"
        help
@@ -67,28 +95,38 @@ config PHY_MICREL
 if PHY_MICREL
 
 config PHY_MICREL_KSZ9021
-       bool "Micrel KSZ9021 family support"
+       bool
        select PHY_GIGE
-       help
-         Enable support for the Micrel KSZ9021 GbE PHY family.  If
-         enabled, the extended register read/write for KSZ9021 PHYs
-         is supported through the 'mdio' command and any RGMII signal
-         delays configured in the device tree will be applied to the
-         PHY during initialisation.
-
-         Note that the KSZ9021 uses the same part number os the
-         KSZ8921BL, so enabling this option disables support for the
-         KSZ8721BL.
+       select PHY_MICREL_KSZ90X1
 
 config PHY_MICREL_KSZ9031
-       bool "Micrel KSZ9031 family support"
+       bool
+       select PHY_GIGE
+       select PHY_MICREL_KSZ90X1
+
+config PHY_MICREL_KSZ90X1
+       bool "Micrel KSZ90x1 family support"
        select PHY_GIGE
        help
-         Enable support for the Micrel KSZ9031 GbE PHY family.  If
-         enabled, the extended register read/write for KSZ9021 PHYs
+         Enable support for the Micrel KSZ9021 and KSZ9031 GbE PHYs. If
+         enabled, the extended register read/write for KSZ90x1 PHYs
          is supported through the 'mdio' command and any RGMII signal
          delays configured in the device tree will be applied to the
-         PHY during initialisatioin.
+         PHY during initialization.
+
+         This should not be enabled at the same time with PHY_MICREL_KSZ8XXX
+         as the KSZ9021 and KS8721 share the same ID.
+
+config PHY_MICREL_KSZ8XXX
+       bool "Micrel KSZ8xxx family support"
+       default y if !PHY_MICREL_KSZ90X1
+       help
+         Enable support for the 8000 series GbE PHYs manufactured by Micrel
+         (now a part of Microchip). This includes drivers for the KSZ804,
+         KSZ8031, KSZ8051, KSZ8081, KSZ8895, KSZ886x, and KSZ8721.
+
+         This should not be enabled at the same time with PHY_MICREL_KSZ90X1
+         as the KSZ9021 and KS8721 share the same ID.
 
 endif # PHY_MICREL