diff options
| author | Tom Rini <[email protected]> | 2024-03-07 11:56:35 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-03-07 11:56:35 -0500 |
| commit | beedf675b36841ce1e077779157a87a6505317e6 (patch) | |
| tree | 502696b12f908d1436d3248ee7bc07fd313c73fc /include | |
| parent | 6eb682bc7ea398fad4aadb612c690884e73edc03 (diff) | |
| parent | 6ec3f9208948b4f3aa4b6d8362c0daaffaea0a0f (diff) | |
Merge branch '2024-03-07-assorted-fixes' into next
- Add phytec am64x platform, update am65-cpsw and a few other assorted
fixes.
Diffstat (limited to 'include')
| -rw-r--r-- | include/configs/phycore_am64x.h | 15 | ||||
| -rw-r--r-- | include/phy.h | 7 |
2 files changed, 22 insertions, 0 deletions
diff --git a/include/configs/phycore_am64x.h b/include/configs/phycore_am64x.h new file mode 100644 index 00000000000..9377db30a91 --- /dev/null +++ b/include/configs/phycore_am64x.h @@ -0,0 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Configuration header file for PHYTEC phyCORE-AM64x kit + * + * Copyright (C) 2022 - 2024 PHYTEC Messtechnik GmbH + * Author: Wadim Egorov <[email protected]> + */ + +#ifndef __PHYCORE_AM64X_H +#define __PHYCORE_AM64X_H + +/* DDR Configuration */ +#define CFG_SYS_SDRAM_BASE 0x80000000 + +#endif /* __PHYCORE_AM64X_H */ diff --git a/include/phy.h b/include/phy.h index e02cbdb58c9..ae23814bbf3 100644 --- a/include/phy.h +++ b/include/phy.h @@ -9,6 +9,7 @@ #ifndef _PHY_H #define _PHY_H +#include <asm-generic/gpio.h> #include <log.h> #include <phy_interface.h> #include <dm/ofnode.h> @@ -76,6 +77,12 @@ struct mii_dev { int (*reset)(struct mii_dev *bus); struct phy_device *phymap[PHY_MAX_ADDR]; u32 phy_mask; + /** @reset_delay_us: Bus GPIO reset pulse width in microseconds */ + int reset_delay_us; + /** @reset_post_delay_us: Bus GPIO reset deassert delay in microseconds */ + int reset_post_delay_us; + /** @reset_gpiod: Bus Reset GPIO descriptor pointer */ + struct gpio_desc reset_gpiod; }; /* struct phy_driver: a structure which defines PHY behavior |
