[PATCH v2 08/11] ARM: dts: amlogic: add missing phy-mode in ethmac node

Neil Armstrong posted 11 patches 2 months, 2 weeks ago
[PATCH v2 08/11] ARM: dts: amlogic: add missing phy-mode in ethmac node
Posted by Neil Armstrong 2 months, 2 weeks ago
The phy-node property is required, add it and fix:
ethernet@c9410000: 'phy-mode' is a required property
	from schema $id: http://devicetree.org/schemas/net/snps,dwmac.yaml#

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
---
 arch/arm/boot/dts/amlogic/meson8-minix-neo-x8.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/amlogic/meson8-minix-neo-x8.dts b/arch/arm/boot/dts/amlogic/meson8-minix-neo-x8.dts
index b97531000d55..f42f97f2c7e7 100644
--- a/arch/arm/boot/dts/amlogic/meson8-minix-neo-x8.dts
+++ b/arch/arm/boot/dts/amlogic/meson8-minix-neo-x8.dts
@@ -94,4 +94,5 @@ &ethmac {
 	status = "okay";
 	pinctrl-0 = <&eth_pins>;
 	pnictrl-names = "default";
+	phy-mode = "rmii";
 };

-- 
2.34.1
Re: [PATCH v2 08/11] ARM: dts: amlogic: add missing phy-mode in ethmac node
Posted by Martin Blumenstingl 2 months ago
On Mon, Sep 16, 2024 at 10:08 AM Neil Armstrong
<neil.armstrong@linaro.org> wrote:
>
> The phy-node property is required, add it and fix:
> ethernet@c9410000: 'phy-mode' is a required property
>         from schema $id: http://devicetree.org/schemas/net/snps,dwmac.yaml#
>
> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>