[PATCH v2] ARM: imx6: DHCOM i.MX6 PDK: Convert to DM_ETH
Marek Vasut
marex at denx.de
Wed Apr 15 16:53:35 CEST 2020
On 4/15/20 4:48 PM, Harald Seiler wrote:
> Use DM_ETH instead of legacy networking.
Some more descriptive commit message would help.
[...]
> diff --git a/arch/arm/dts/imx6qdl-dhcom-u-boot.dtsi b/arch/arm/dts/imx6qdl-dhcom-u-boot.dtsi
> new file mode 100644
> index 000000000000..88840bb45920
> --- /dev/null
> +++ b/arch/arm/dts/imx6qdl-dhcom-u-boot.dtsi
> @@ -0,0 +1,22 @@
> +// SPDX-License-Identifier: (GPL-2.0+)
> +/*
> + * Copyright (C) 2020 Harald Seiler <hws at denx.de>
> + */
> +
> +/ {
> + fec_vio: regulator-fec {
> + compatible = "regulator-fixed";
> +
> + regulator-name = "fec-vio";
> + gpio = <&gpio1 7 GPIO_ACTIVE_HIGH>;
> + regulator-always-on;
> + };
> +};
The VIO regulator is on the pdk2, so it should be in the PDK2 U-Boot extras.
> +&fec {
> + phy-reset-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
> + phy-reset-duration = <1>;
> + phy-reset-post-delay = <10>;
So is the PHY, so this should also be in the PDK2 extras.
(and it should be fixed in Linux too eventually, if it's not done yet)
[...]
More information about the U-Boot
mailing list