From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-de.keymile.com (mail-de.keymile.com [195.8.104.250]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3ynX3b3MdBzDr8k for ; Thu, 30 Nov 2017 20:22:03 +1100 (AEDT) From: Valentin Longchamp To: oss@buserror.net, linuxppc-dev@lists.ozlabs.org Cc: devicetree@vger.kernel.org, Valentin Longchamp Subject: [PATCH] powerpc/kmcent2: update the ethernet nodes to the internal switch Date: Thu, 30 Nov 2017 10:16:21 +0100 Message-Id: <20171130091621.6997-1-valentin.longchamp@keymile.com> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , The fman driver only calls of_get_phy_node, ignoring the phy-connection-type field. While we're at it, update the fixed link to the new more readable way to specify it. Signed-off-by: Valentin Longchamp --- arch/powerpc/boot/dts/fsl/kmcent2.dts | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/arch/powerpc/boot/dts/fsl/kmcent2.dts b/arch/powerpc/boot/dts/fsl/kmcent2.dts index 5922c1ea0e96..b53ff8f71474 100644 --- a/arch/powerpc/boot/dts/fsl/kmcent2.dts +++ b/arch/powerpc/boot/dts/fsl/kmcent2.dts @@ -214,13 +214,19 @@ fman@400000 { ethernet@e0000 { - fixed-link = <0 1 1000 0 0>; - phy-connection-type = "sgmii"; + phy-mode = "sgmii"; + fixed-link { + speed = <1000>; + full-duplex; + }; }; ethernet@e2000 { - fixed-link = <1 1 1000 0 0>; - phy-connection-type = "sgmii"; + phy-mode = "sgmii"; + fixed-link { + speed = <1000>; + full-duplex; + }; }; ethernet@e4000 { -- 2.14.3