Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1002938lqj; Mon, 3 Jun 2024 07:30:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVBV0QC6A9bHN2YPUZlTWLT5WEoOIj2y2g1fH+In3cItTebdMWOrkfNtJ9T/mD2hKKyhVVt1AUvh+Bi+PUSUgOm6Wq+vNaac3DwN3HtBQ== X-Google-Smtp-Source: AGHT+IHzQcjzzf20zs+PwfUdfgXy4RCnamCc66oMV1Ons4KACEIh5LBWl6JwMJ7DUx8SdxxjCKZv X-Received: by 2002:a05:6358:52c5:b0:199:c72:6c48 with SMTP id e5c5f4694b2df-19b48c53d40mr1217380355d.1.1717425048528; Mon, 03 Jun 2024 07:30:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717425048; cv=pass; d=google.com; s=arc-20160816; b=m40WIjY9U+b9JOHc6tBZuKrXfuyRJjCbjvTw96g+LcZOOe6RYoRpk31OC8Y/AReJnL aUjlScxrqsoxCb01SeYy+H7NinBN67IM6z5tdNfKQSkyBgrsRwHR/fOeEUn4JoCVnNJy NH3LLgGi7c5XSN7xjx3YLZcIreS4svXTJ/f0N5RvB2mRBKAGqO165+9ckau/MkdR4hJV hqv8Ivf2j3anksmaH9D+RwZWP1VfoOb8AvBmvFlls8UwTxtaNkBlGnRoNkwXFh0j6KuQ 0dOqk/tQb3K9/F3jOuXKqiqWEKimwnlSAETD2pVs7QuoRo3YDPnXtN/g2jgTfsVBWFMf Mnmw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=m86V0QMGLbIXBNVPgpq4zgvcbfPKGNmP9UXboElbxH4=; fh=MZgvy/AmeHE5/588XAg1mUij55f12DiWyocFDxS19BU=; b=fBSDUQiuQHEbWb9e7NdgLn2fA0YIiVPS5HILsKtBNMzNgskRhZFu6woWt4DyW8j3Dd zz9r3cMOG0kIVluW4j3K794qMK2x9PK/8JNA1jd7fsrny54jd2+n7+a3wkr5XIClu8XJ unXYSxS+rgs6cGRRDgX9LunXCCaJXAZhrXwQTpQcdEfsQvyRoDF6Gps4MSHyGcYd4hWm DEQhgIWbGhpw8tTS0Uo6ZgBx7jXCFUuGC+mqsMO4BTmFFIP8/KEoB7PbKTB0k/+jOeuz awc5VMLpUoBkjQfKmWX+4dal5vg4a0Uxg6DPFGpsRfTLfUMOhvHvf1enFNZ3t42891bC x06A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b="uStSg/jn"; arc=pass (i=1 spf=pass spfdomain=denx.de dkim=pass dkdomain=denx.de dmarc=pass fromdomain=denx.de); spf=pass (google.com: domain of linux-kernel+bounces-199294-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199294-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=denx.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-794f2f04dc1si66488885a.78.2024.06.03.07.30.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 07:30:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-199294-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b="uStSg/jn"; arc=pass (i=1 spf=pass spfdomain=denx.de dkim=pass dkdomain=denx.de dmarc=pass fromdomain=denx.de); spf=pass (google.com: domain of linux-kernel+bounces-199294-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199294-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=denx.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 205291C21193 for ; Mon, 3 Jun 2024 14:30:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D0E59130A7C; Mon, 3 Jun 2024 14:30:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.b="uStSg/jn" Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7896B84D0D; Mon, 3 Jun 2024 14:30:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=85.214.62.61 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717425014; cv=none; b=GqFkmY5RbXDmA0z66icxtJSCcVp4XM3AJ8TLqt/xItBy0QRmDuQs5tYwP958BX9hdzGeFR+8qRaJ0Usz/2Wk/Q+CsypIc6WCIAVv5NT/FY5dreWjRm71RkVK1RejbiwFvsZjOouAYjepTqUCinptCmIRBcWJW7BizWbnA7Y5t7E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717425014; c=relaxed/simple; bh=fpmoUK2H6tvR6dTlRqHFmjnB6Vo+VzFiAEvoTxviDfU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=gRif2l1uw58gI111T5TIjVJUFgYoIx/30+Yegl/43WP8S3N6wM74UhiUGGVm2G2dOTrGFYnIvSrONXofhqTIZusxFJ9xVgDGuEMtyvsi8AZLxZBe/adUa0B5NWh48AcEzMrcLDdgdYaBUK1Z1gfkeApsdSdxcxlUhyjHynpbp8I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=denx.de; spf=pass smtp.mailfrom=denx.de; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.b=uStSg/jn; arc=none smtp.client-ip=85.214.62.61 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=denx.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=denx.de Received: from [127.0.0.1] (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 91FCE88300; Mon, 3 Jun 2024 16:30:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1717425010; bh=m86V0QMGLbIXBNVPgpq4zgvcbfPKGNmP9UXboElbxH4=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=uStSg/jnZ6E/C6COoby9j+cWGeyJz9pdhBomPfkPzFe8WGsBb4mt9X9hiHLUBhtWH ZhQHlfljo75njWGcaZMDffXvmtI5E/rMi9P99cfthO3g1g+StwAYS1llNf00FVJ8z+ gb6Nds/JdcP8OVCI0fLm4KT4Vo9Rup83HximVlgGmIlm99AxNZD8z8bAtpjGZIIZ+e NoNNPotmT3m50qinKILd+TqA2Pfgl/iUPr6lqvfPzycBWsIB6w0lXX2VAAH/JkYMnO f+at09+oxGjWsitkgqkHgmaXqXssN/RLlmUKoXn4+Yxn8FHVYFpdQNy6uDWpmaTWMB dja6M5sbrejpg== Message-ID: <29b79c7d-7ff6-40fb-97be-7198a0e9d437@denx.de> Date: Mon, 3 Jun 2024 15:08:01 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 10/11] ARM: dts: stm32: add ethernet1 for STM32MP135F-DK board To: Christophe Roullier , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Richard Cochran , Jose Abreu , Liam Girdwood , Mark Brown Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20240603092757.71902-1-christophe.roullier@foss.st.com> <20240603092757.71902-11-christophe.roullier@foss.st.com> Content-Language: en-US From: Marek Vasut In-Reply-To: <20240603092757.71902-11-christophe.roullier@foss.st.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean On 6/3/24 11:27 AM, Christophe Roullier wrote: > Ethernet1: RMII with crystal > PHY used is SMSC (LAN8742A) > > Signed-off-by: Christophe Roullier > --- > arch/arm/boot/dts/st/stm32mp135f-dk.dts | 24 ++++++++++++++++++++++++ > 1 file changed, 24 insertions(+) > > diff --git a/arch/arm/boot/dts/st/stm32mp135f-dk.dts b/arch/arm/boot/dts/st/stm32mp135f-dk.dts > index 567e53ad285fa..cebe9b91eced9 100644 > --- a/arch/arm/boot/dts/st/stm32mp135f-dk.dts > +++ b/arch/arm/boot/dts/st/stm32mp135f-dk.dts > @@ -19,6 +19,7 @@ / { > compatible = "st,stm32mp135f-dk", "st,stm32mp135"; > > aliases { > + ethernet0 = ðernet1; > serial0 = &uart4; > serial1 = &usart1; > serial2 = &uart8; > @@ -141,6 +142,29 @@ &cryp { > status = "okay"; > }; > > +ðernet1 { > + status = "okay"; > + pinctrl-0 = <ð1_rmii_pins_a>; > + pinctrl-1 = <ð1_rmii_sleep_pins_a>; > + pinctrl-names = "default", "sleep"; > + phy-mode = "rmii"; > + max-speed = <100>; Is this needed ? RMII cannot go faster than 100 . Also, keep the list sorted alphabetically , P goes after M . > + phy-handle = <&phy0_eth1>; > + > + mdio { > + #address-cells = <1>; > + #size-cells = <0>; > + compatible = "snps,dwmac-mdio"; > + > + phy0_eth1: ethernet-phy@0 { > + compatible = "ethernet-phy-id0007.c131"; > + reset-gpios = <&mcp23017 9 GPIO_ACTIVE_LOW>; Extra space between = and < , please drop.