/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | phy-armada38x-comphy.txt | 1 mvebu armada 38x comphy driver 4 This comphy controller can be found on Marvell Armada 38x. It provides a 10 - compatible: should be "marvell,armada-380-comphy" 11 - reg: should contain the comphy register location and length. 17 - reg-names: must be "comphy" as the first name, and "conf". 18 - reg: must contain the comphy register location and length as the first 22 A sub-node is required for each comphy lane provided by the comphy. 26 - reg: comphy lane number. 28 input port to use for a given comphy lane. 32 comphy: phy@18300 { [all …]
|
H A D | phy-mvebu-comphy.txt | 1 MVEBU comphy drivers 4 COMPHY controllers can be found on the following Marvell MVEBU SoCs: 13 * "marvell,comphy-cp110" for Armada 7k/8k 14 * "marvell,comphy-a3700" for Armada 3700 15 - reg: should contain the COMPHY register(s) location(s) and length(s). 19 * Generic COMPHY registers 35 A sub-node is required for each comphy lane provided by the comphy. 39 - reg: COMPHY lane number. 41 input port to use for a given comphy lane. 45 CP11X_LABEL(comphy): phy@120000 { [all …]
|
/openbmc/u-boot/drivers/phy/marvell/ |
H A D | comphy_core.c | 59 printf("Comphy-%d: %-13s\n", lane, in comphy_print() 62 printf("Comphy-%d: %-13s %-10s\n", lane, in comphy_print() 98 dev_err(&dev->dev, "comphy max lanes is wrong\n"); in comphy_probe() 105 dev_err(&dev->dev, "comphy mux bit count is wrong\n"); in comphy_probe() 113 if (device_is_compatible(dev, "marvell,comphy-armada-3700")) in comphy_probe() 116 if (device_is_compatible(dev, "marvell,comphy-cp110")) in comphy_probe() 124 dev_err(&dev->dev, "comphy: No compatible DT node found\n"); in comphy_probe() 162 printf("Comphy chip #%d:\n", chip_cfg->cp_index); in comphy_probe() 180 { .compatible = "marvell,mvebu-comphy" },
|
H A D | comphy_cp110.c | 135 debug("stage: RFU configurations - hard reset comphy\n"); in comphy_pcie_power_up() 136 /* RFU configurations - hard reset comphy */ in comphy_pcie_power_up() 158 /* Start comphy Configuration */ in comphy_pcie_power_up() 159 debug("stage: Comphy configuration\n"); in comphy_pcie_power_up() 451 debug("stage: Comphy power up\n"); in comphy_pcie_power_up() 530 debug("stage: RFU configurations - hard reset comphy\n"); in comphy_usb3_power_up() 531 /* RFU configurations - hard reset comphy */ in comphy_usb3_power_up() 554 /* Start comphy Configuration */ in comphy_usb3_power_up() 555 debug("stage: Comphy configuration\n"); in comphy_usb3_power_up() 619 debug("stage: Comphy power up\n"); in comphy_usb3_power_up() [all …]
|
H A D | Kconfig | 2 bool "ComPhy SerDes driver" 6 for Comphy driver.
|
H A D | comphy_a3700.c | 728 * COMPHY bit rate in comphy_sgmii_power_up() 742 printf("Unsupported COMPHY speed!\n"); in comphy_sgmii_power_up() 752 /* 9. Program COMPHY register PHY_MODE */ in comphy_sgmii_power_up() 757 * 10. Set COMPHY register REFCLK_SEL to select the correct REFCLK in comphy_sgmii_power_up() 763 * 11. Set correct reference clock frequency in COMPHY register in comphy_sgmii_power_up() 775 /* 12. Program COMPHY register PHY_GEN_MAX[1:0] */ in comphy_sgmii_power_up() 784 * 13. Program COMPHY register SEL_BITS to set correct parallel data in comphy_sgmii_power_up() 792 * COMPHY register DFE_UPDATE_EN[5:0] shall be programmed to 0x3F in comphy_sgmii_power_up() 793 * for real chip during COMPHY power on. in comphy_sgmii_power_up() 802 * 15. Program COMPHY GEN registers. in comphy_sgmii_power_up() [all …]
|
H A D | comphy_mux.c | 14 * description: this function passes over the COMPHY lanes and check if the type 130 /* Init COMPHY selectors */ in comphy_mux_init()
|
H A D | comphy_core.h | 10 #include <mvebu/comphy.h> 20 /* COMPHY registers */
|
/openbmc/linux/drivers/phy/marvell/ |
H A D | Kconfig | 28 tristate "Marvell A3700 comphy driver" 35 This driver allows to control the comphy, a hardware block providing 49 tristate "Marvell Armada 38x comphy driver" 54 This driver allows to control the comphy, an hardware block providing 59 tristate "Marvell CP110 comphy driver" 65 This driver allows to control the comphy, an hardware block providing
|
H A D | Makefile | 7 obj-$(CONFIG_PHY_MVEBU_A3700_COMPHY) += phy-mvebu-a3700-comphy.o 9 obj-$(CONFIG_PHY_MVEBU_A38X_COMPHY) += phy-armada38x-comphy.o 10 obj-$(CONFIG_PHY_MVEBU_CP110_COMPHY) += phy-mvebu-cp110-comphy.o
|
H A D | phy-mvebu-a3700-comphy.c | 11 * Structure inspired from phy-mvebu-cp110-comphy.c written by Antoine Tenart. 12 * Comphy code from ARM Trusted Firmware ported by Pali Rohár <pali@kernel.org> 32 /* Comphy lane2 indirect access register offset */ 45 /* COMPHY registers */ 521 "COMPHY[%d] mode[%d] changed PHY selector 0x%08x -> 0x%08x\n", in mvebu_a3700_comphy_set_phy_selector() 526 dev_err(lane->dev, "COMPHY[%d] mode[%d] is invalid\n", lane->id, in mvebu_a3700_comphy_set_phy_selector() 579 * not. Now it is done only in U-Boot before this comphy in mvebu_a3700_comphy_sata_power_on() 656 * 5. Set PIN_PHY_GEN_TX[3:0] and PIN_PHY_GEN_RX[3:0] to decide COMPHY in mvebu_a3700_comphy_ethernet_power_on() 672 "unsupported phy speed %d on comphy lane%d\n", in mvebu_a3700_comphy_ethernet_power_on() 686 /* 7. Program COMPHY register PHY_MODE */ in mvebu_a3700_comphy_ethernet_power_on() [all …]
|
H A D | phy-armada38x-comphy.c | 5 * Partly derived from CP110 comphy driver by Antoine Tenart 104 "comphy%u: timed out waiting for status\n", lane->n); in a38x_comphy_poll() 183 "comphy%u: not configured for GBE\n", lane->n); in a38x_comphy_xlate() 255 { .compatible = "marvell,armada-380-comphy" }, 263 .name = "armada-38x-comphy",
|
H A D | phy-mvebu-cp110-comphy.c | 130 * [ 1- 0]: COMPHY polarity invertion 131 * [ 2- 7]: COMPHY speed 132 * [ 5-11]: COMPHY port index 133 * [12-16]: COMPHY mode 379 "unsupported comphy submode (%d) on lane %d\n", in mvebu_comphy_ethernet_init_reset() 401 "RXAUI is not supported on comphy lane %d\n", in mvebu_comphy_ethernet_init_reset() 1078 * reasons we cannot de-configure the COMPHY without being sure in mvebu_comphy_probe() 1096 { .compatible = "marvell,comphy-cp110" }, 1104 .name = "mvebu-comphy",
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | armada-37xx.dtsi | 48 #include <dt-bindings/comphy/comphy_data.h> 315 comphy: comphy@18300 { label 316 compatible = "marvell,mvebu-comphy", "marvell,comphy-armada-3700";
|
H A D | armada-cp110-slave.dtsi | 47 #include <dt-bindings/comphy/comphy_data.h> 244 cps_comphy: comphy@441000 { 245 compatible = "marvell,mvebu-comphy", "marvell,comphy-cp110";
|
H A D | armada-cp110-master.dtsi | 47 #include <dt-bindings/comphy/comphy_data.h> 243 cpm_comphy: comphy@441000 { 244 compatible = "marvell,mvebu-comphy", "marvell,comphy-cp110";
|
H A D | armada-3720-turris-mox.dts | 58 &comphy {
|
/openbmc/u-boot/board/aspeed/slt_ast2600/ |
H A D | slt_ast2600.c | 31 * Loop over all MISC uclass drivers to call the comphy code in board_init() 36 /* Call the comphy code via the MISC uclass driver */ in board_init()
|
/openbmc/u-boot/arch/arm/mach-mvebu/ |
H A D | arm64-common.c | 124 * Loop over all MISC uclass drivers to call the comphy code in arch_early_init_r() 129 /* Call the comphy code via the MISC uclass driver */ in arch_early_init_r()
|
/openbmc/u-boot/include/mvebu/ |
H A D | comphy.h | 9 #include <dt-bindings/comphy/comphy_data.h>
|
/openbmc/u-boot/arch/arm/mach-aspeed/ast2500/ |
H A D | board_common.c | 98 * Loop over all MISC uclass drivers to call the comphy code in board_init() 103 /* Call the comphy code via the MISC uclass driver */ in board_init()
|
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/ |
H A D | board_common.c | 81 * Loop over all MISC uclass drivers to call the comphy code in board_init() 86 /* Call the comphy code via the MISC uclass driver */ in board_init()
|
/openbmc/linux/arch/arm64/boot/dts/marvell/ |
H A D | armada-7040-db.dts | 234 phy-names = "cp0-usb3h0-comphy", "utmi"; 248 phy-names = "cp0-usb3h1-comphy", "utmi";
|
H A D | armada-37xx.dtsi | 271 comphy: phy@18300 { label 272 compatible = "marvell,comphy-a3700"; 277 reg-names = "comphy",
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | marvell-armada-370-neta.txt | 23 - phys: comphy for the ethernet port, see ../phy/phy-bindings.txt
|