Skip to content

EV-SOMCRR-EZKIT devicetree is configured for TI rather than ADIN PHY #2883

@pamolloy

Description

@pamolloy

https://github.com/analogdevicesinc/linux/blob/adsp-main-6.12/arch/arm64/boot/dts/adi/sc598-som-ezkit.dts#L252-L257
https://github.com/analogdevicesinc/linux/blob/adsp-main-6.12/arch/arm64/boot/dts/adi/sc598-som-ezkit.dts#L273-L275

When fixing this it would also be good to remove the GPIO hog controlling the reset line for the eth0 ADIN1300 and add it to the node with reset-gpios as follows.

 &emac0 {
        snps,reset-active-low;
        snps,reset-delays-us = <0 200 500>;
-       phy-handle = <&dp83867>;
+       phy-handle = <&adin1300>;
        phy-mode = "rgmii-id";
        pinctrl-names = "default";
        pinctrl-0 = <&eth0_default>;
@@ -249,12 +248,12 @@ mdio0 {
                compatible = "snps,dwmac-mdio";
                #address-cells = <1>;
                #size-cells = <0>;
-               dp83867: ethernet-phy@0 {
+               adin1300: ethernet-phy@0 {
                        reg = <0>;
-                       ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
-                       ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
-                       ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
-                       ti,dp83867-rxctrl-strap-quirk;
+                       reset-gpios = <&crr_gpio_expander 15 GPIO_ACTIVE_LOW>;
                };
        };

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions