Skip to content

Commit

Permalink
pico-imx6: mprove ar803x/rtl8211f phy support
Browse files Browse the repository at this point in the history
Both support ar803x and rtl8211f.
  • Loading branch information
ray-chang authored and Sean Xie committed Dec 16, 2022
1 parent e53ff30 commit 5d163ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions arch/arm/dts/imx6qdl-pico.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_enet>;
phy-mode = "rgmii-id";
phy-reset-duration = <35>;
phy-reset-post-delay = <75>;
phy-reset-gpios = <&gpio1 26 GPIO_ACTIVE_LOW>;
status = "okay";
};
Expand Down
3 changes: 2 additions & 1 deletion board/technexion/pico-imx6/pico-imx6.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,9 @@ static void setup_iomux_enet(void)
/* Reset AR8031 PHY */
gpio_request(ETH_PHY_RESET, "enet_phy_reset");
gpio_direction_output(ETH_PHY_RESET, 0);
udelay(500);
mdelay(35);
gpio_set_value(ETH_PHY_RESET, 1);
mdelay(75);
}

static bool cpu_is_pop(void)
Expand Down

0 comments on commit 5d163ad

Please sign in to comment.