diff options
author | Cristian Ciocaltea <cristian.ciocaltea@collabora.com> | 2023-12-21 00:17:42 +0300 |
---|---|---|
committer | Emil Renner Berthing <emil.renner.berthing@canonical.com> | 2024-04-13 23:33:32 +0300 |
commit | 11a76112be9fe12dd43fe50d2c3b8a62f190c37f (patch) | |
tree | a9ee1bff6e0ccb09ed22d2484c582474843262e8 | |
parent | daae46643634b0ec9443411128f79a928824d599 (diff) | |
download | linux-11a76112be9fe12dd43fe50d2c3b8a62f190c37f.tar.xz |
riscv: dts: starfive: beaglev-starlight: Setup phy reset gpio
The BeagleV Starlight SBC uses a Microchip KSZ9031RNXCA PHY supporting
RGMII-ID which doesn't require any particular setup, other than defining
a reset gpio, as opposed to VisionFive V1 for which the RX internal
delay had to be adjusted.
Co-developed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
Signed-off-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
(cherry picked from commit 2db68ddbf33a76b5913ca281660979b4c48f1df6)
Signed-off-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
-rw-r--r-- | arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight.dts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight.dts b/arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight.dts index 7cda3a89020a..168f5d9895a9 100644 --- a/arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight.dts +++ b/arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight.dts @@ -11,3 +11,14 @@ model = "BeagleV Starlight Beta"; compatible = "beagle,beaglev-starlight-jh7100-r0", "starfive,jh7100"; }; + +&gmac { + phy-handle = <&phy>; +}; + +&mdio { + phy: ethernet-phy@7 { + reg = <7>; + reset-gpios = <&gpio 63 GPIO_ACTIVE_LOW>; + }; +}; |