ARM: imx7d: remove Atheros AR8031 PHY fixup
authorOleksij Rempel <o.rempel@pengutronix.de>
Tue, 11 May 2021 04:37:35 +0000 (06:37 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sun, 23 May 2021 03:32:46 +0000 (11:32 +0800)
commit7a4e95d68970d5a3e0e3da45de56e91e1c61a07e
tree00a869c7bbda1694339f6d93d38831ad83cbe5d8
parentd500c6c42bed524b616d6f99efcb37f6a36ba4be
ARM: imx7d: remove Atheros AR8031 PHY fixup

This fixup configures the IO voltage and disables the SmartEEE
functionality.

If this patch breaks your system, enable AT803X_PHY driver and configure
the PHY by the device tree:

phy-connection-type = "rgmii-id";
ethernet-phy@X {
reg = <0xX>;

qca,smarteee-tw-us-1g = <24>;

vddio-supply = <&vddh>;

vddio: vddio-regulator {
regulator-name = "VDDIO";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};

vddh: vddh-regulator {
regulator-name = "VDDH";
};
};

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/mach-imx7d.c