Dan Murphy | 8b8d73a | 2020-05-04 16:14:39 -0500 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
| 3 | * TI Generic PHY Init to register any TI Ethernet PHYs |
| 4 | * |
| 5 | * Author: Dan Murphy <dmurphy@ti.com> |
| 6 | * |
| 7 | * Copyright (C) 2019-20 Texas Instruments Inc. |
| 8 | */ |
| 9 | |
Dan Murphy | 3434cd7 | 2020-05-04 16:14:40 -0500 | [diff] [blame] | 10 | #include <phy.h> |
Dan Murphy | 8b8d73a | 2020-05-04 16:14:39 -0500 | [diff] [blame] | 11 | #include "ti_phy_init.h" |
| 12 | |
Marek Vasut | 417463c | 2023-03-19 18:03:04 +0100 | [diff] [blame] | 13 | U_BOOT_PHY_DRIVER(dp83822) = { |
Dan Murphy | 3434cd7 | 2020-05-04 16:14:40 -0500 | [diff] [blame] | 14 | .name = "TI DP83822", |
| 15 | .uid = 0x2000a240, |
| 16 | .mask = 0xfffffff0, |
| 17 | .features = PHY_BASIC_FEATURES, |
| 18 | .config = &genphy_config_aneg, |
| 19 | .startup = &genphy_startup, |
| 20 | .shutdown = &genphy_shutdown, |
| 21 | }; |
| 22 | |
Marek Vasut | 417463c | 2023-03-19 18:03:04 +0100 | [diff] [blame] | 23 | U_BOOT_PHY_DRIVER(dp83826nc) = { |
Dan Murphy | 3434cd7 | 2020-05-04 16:14:40 -0500 | [diff] [blame] | 24 | .name = "TI DP83826NC", |
| 25 | .uid = 0x2000a110, |
| 26 | .mask = 0xfffffff0, |
| 27 | .features = PHY_BASIC_FEATURES, |
| 28 | .config = &genphy_config_aneg, |
| 29 | .startup = &genphy_startup, |
| 30 | .shutdown = &genphy_shutdown, |
| 31 | }; |
| 32 | |
Marek Vasut | 417463c | 2023-03-19 18:03:04 +0100 | [diff] [blame] | 33 | U_BOOT_PHY_DRIVER(dp83826c) = { |
Dan Murphy | 3434cd7 | 2020-05-04 16:14:40 -0500 | [diff] [blame] | 34 | .name = "TI DP83826C", |
| 35 | .uid = 0x2000a130, |
| 36 | .mask = 0xfffffff0, |
| 37 | .features = PHY_BASIC_FEATURES, |
| 38 | .config = &genphy_config_aneg, |
| 39 | .startup = &genphy_startup, |
| 40 | .shutdown = &genphy_shutdown, |
| 41 | }; |
| 42 | |
Marek Vasut | 417463c | 2023-03-19 18:03:04 +0100 | [diff] [blame] | 43 | U_BOOT_PHY_DRIVER(dp83825s) = { |
Dan Murphy | 3434cd7 | 2020-05-04 16:14:40 -0500 | [diff] [blame] | 44 | .name = "TI DP83825S", |
| 45 | .uid = 0x2000a140, |
| 46 | .mask = 0xfffffff0, |
| 47 | .features = PHY_BASIC_FEATURES, |
| 48 | .config = &genphy_config_aneg, |
| 49 | .startup = &genphy_startup, |
| 50 | .shutdown = &genphy_shutdown, |
| 51 | }; |
| 52 | |
Marek Vasut | 417463c | 2023-03-19 18:03:04 +0100 | [diff] [blame] | 53 | U_BOOT_PHY_DRIVER(dp83825i) = { |
Dan Murphy | 3434cd7 | 2020-05-04 16:14:40 -0500 | [diff] [blame] | 54 | .name = "TI DP83825I", |
| 55 | .uid = 0x2000a150, |
| 56 | .mask = 0xfffffff0, |
| 57 | .features = PHY_BASIC_FEATURES, |
| 58 | .config = &genphy_config_aneg, |
| 59 | .startup = &genphy_startup, |
| 60 | .shutdown = &genphy_shutdown, |
| 61 | }; |
| 62 | |
Marek Vasut | 417463c | 2023-03-19 18:03:04 +0100 | [diff] [blame] | 63 | U_BOOT_PHY_DRIVER(dp83825m) = { |
Dan Murphy | 3434cd7 | 2020-05-04 16:14:40 -0500 | [diff] [blame] | 64 | .name = "TI DP83825M", |
| 65 | .uid = 0x2000a160, |
| 66 | .mask = 0xfffffff0, |
| 67 | .features = PHY_BASIC_FEATURES, |
| 68 | .config = &genphy_config_aneg, |
| 69 | .startup = &genphy_startup, |
| 70 | .shutdown = &genphy_shutdown, |
| 71 | }; |
| 72 | |
Marek Vasut | 417463c | 2023-03-19 18:03:04 +0100 | [diff] [blame] | 73 | U_BOOT_PHY_DRIVER(dp83825cs) = { |
Dan Murphy | 3434cd7 | 2020-05-04 16:14:40 -0500 | [diff] [blame] | 74 | .name = "TI DP83825CS", |
| 75 | .uid = 0x2000a170, |
| 76 | .mask = 0xfffffff0, |
| 77 | .features = PHY_BASIC_FEATURES, |
| 78 | .config = &genphy_config_aneg, |
| 79 | .startup = &genphy_startup, |
| 80 | .shutdown = &genphy_shutdown, |
| 81 | }; |