diff options
| author | Tom Rini <[email protected]> | 2025-07-09 08:45:33 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-07-09 08:45:33 -0600 |
| commit | bbca681cde3f0859847bd542e491294fd9d67656 (patch) | |
| tree | d034233a9e8ec209ee5193c7cdef27ef986f9807 /arch | |
| parent | 971bd7614c5df1b77063fab9b0a5cae6afc77d3b (diff) | |
| parent | 48b1f8a396bfe1b29d2033f3d23861a3f470de58 (diff) | |
Merge patch series "board: ti: am33xx: Add Ethernet support for Beaglebone Green Eco"
Romain Gantois <[email protected]> says:
This is version one of my series which enables Ethernet support on the BBGE
board. This requires three main changes:
- Describing the MAC<->PHY link and DP83867 PHY accurately in the device
tree
- Enabling the RGMII1 pinmux configuration
- Enabling the DP83867 driver
These changes are all applied in patch 2.
Patch 1 enables excluding the DP83867 driver from SPL. This is done to
avoid size issues when adding the DP83867 driver to the am335x-evm
defconfig.
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/arm/dts/am335x-bonegreen-eco.dts | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/dts/am335x-bonegreen-eco.dts b/arch/arm/dts/am335x-bonegreen-eco.dts index f3363d1ebcc..1e9d7fed3fd 100644 --- a/arch/arm/dts/am335x-bonegreen-eco.dts +++ b/arch/arm/dts/am335x-bonegreen-eco.dts @@ -7,6 +7,7 @@ #include "am33xx.dtsi" #include "am335x-bone-common.dtsi" #include "am335x-bonegreen-common.dtsi" +#include <dt-bindings/net/ti-dp83867.h> / { model = "TI AM335x BeagleBone Green Eco"; @@ -25,6 +26,24 @@ interrupt-names = "mc"; }; +&cpsw_emac0 { + phy-mode = "rgmii-id"; + phy-handle = <&dp83867_0>; +}; + +&davinci_mdio { + /delete-node/ ethernet-phy@0; + + dp83867_0: ethernet-phy@0 { + reg = <0>; + ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_50_NS>; + ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_50_NS>; + ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>; + ti,min-output-impedance; + ti,dp83867-rxctrl-strap-quirk; + }; +}; + &baseboard_eeprom { /delete-property/ vcc-supply; }; |
