Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1470026lqj; Tue, 4 Jun 2024 02:32:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWEGzaH/sjbUxYmLeyOolOP2gHh7MJZcHxJbQUn9h3YzBa2188W1ZuO2nydAbJS5MP+fbpyazqiMhTlekZqPEJiBRtXqFvzBdsgHbAoRA== X-Google-Smtp-Source: AGHT+IFq01Z6IBQ9kJ7qd1Fdy95Nsncma+5BJNxjoBHHbLWafiJTu9vKD++1HWGpl7SRaKBixDUv X-Received: by 2002:a50:d701:0:b0:578:4b06:fdf7 with SMTP id 4fb4d7f45d1cf-57a363af010mr8249823a12.25.1717493567098; Tue, 04 Jun 2024 02:32:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717493567; cv=pass; d=google.com; s=arc-20160816; b=PlllZ8TFlztMnpmUH+w7UltLrGhja0fIKbRfA7MkaWRr+QToVjUD8jjvFfL11t0SZn yi8IEAiMM8GAoRDtu/OrVhsirJHeKWx8wraJcPP41mv6vtek1YBcfU62dNM4Cw+RvtTk 2f+DJxpiUYbLhGwJH6T5XH1ZHL6KKpGwbEXSC/MvpdCQvrHpLvllAMUrFmJR+SWGOhok L+hG30m2zE7+eaWGB+2Gx973+zXDEU+MmMBhuV5bzO5nbrjkcOfgTtADclAMcY3JuByZ NFqFYADdbR9PRW4UqFYmFEVQEm/QZ18lpz9cHETV07e0mSK0Ugksp36PQ75XXYb/mbEN Kozw== 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=FQi2ng79ZmbW4+Hz+M/vUkFGo0dt44niiSmJA3UNOB8=; fh=Bc6exMLcDonbBoKqVp4y6zqv/AcfnhW0Zk7tCXphTFc=; b=ExMyIxTXHzegAzi5ruLArUqEWulTQvWoUf3sj50dlnHkPa4OiZxoBHO8U2OG7Bo9tN 4uWk9IdcaluN3Co29PkGNR7Uqb20nudiSRh6nhWs9GZhZJ6Bxv1YdqhWn7dEg5l4sA3Y Z8LaUyh1TdYfth2gtdrQ7xc/B5JuFTb7FzkNthyQT1AewVXDL1t5fpmZNTkfAxIpcVW8 rBOMatu5PKHzFW2xyz6C8GNBhphc7jzcHq1cnCybOi63rfna8dM17ivJKpeRJSb9BjmQ KBdFKbUsZ0e9Z/yE66Cg5JmBd5y5Vcxe7hoJgp2Fq2ty6hhUsqIXRiaoSxaGlM1ezqoK gLZg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=NNFQbzPs; arc=pass (i=1 spf=pass spfdomain=foss.st.com dkim=pass dkdomain=foss.st.com dmarc=pass fromdomain=foss.st.com); spf=pass (google.com: domain of linux-kernel+bounces-200353-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200353-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57a31c77c8fsi4674688a12.446.2024.06.04.02.32.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 02:32:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-200353-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=NNFQbzPs; arc=pass (i=1 spf=pass spfdomain=foss.st.com dkim=pass dkdomain=foss.st.com dmarc=pass fromdomain=foss.st.com); spf=pass (google.com: domain of linux-kernel+bounces-200353-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200353-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id CBBF71F22246 for ; Tue, 4 Jun 2024 09:32:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5B53B1442E3; Tue, 4 Jun 2024 09:32:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="NNFQbzPs" Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C9D73143C61; Tue, 4 Jun 2024 09:32:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.132.182.106 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717493551; cv=none; b=nBwoGyoZqx+zYKO6MVLi3uaNNHuXAtevxI2vOYczJ0DwoxVYT5oGTsteY36oCioD3ypemqXH3G0415k7Kpava+BIUtOHLmmg23wSbH+YYHmur9ZJidqVDG6m0op4P4Y7ynZIVptybnR+mJzCReQS3esHoA42zhqIC1/pJpwwXGs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717493551; c=relaxed/simple; bh=GZXn3XmJqoOaFGUB/lXDS5b6YpMHC6+1oGZopS4SywE=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=qQRnXeO6eCgnlBNiGemzySHpoKL6C4D8OJitRHnzPh5lghVMJ6aJlh15zrMcOcgd+0ffwUQHzFROfOxocDQZWqn9KN/XEhC6V1TKLjgpFSZKWeRAYhYvtx2UsniHnXTUSWSRI5MxjxG4wXGeWsMaSorzQa+tzeljy9od9vV7nCk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com; spf=pass smtp.mailfrom=foss.st.com; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b=NNFQbzPs; arc=none smtp.client-ip=185.132.182.106 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com Received: from pps.filterd (m0369458.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4548spgB031426; Tue, 4 Jun 2024 11:31:59 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=selector1; bh= FQi2ng79ZmbW4+Hz+M/vUkFGo0dt44niiSmJA3UNOB8=; b=NNFQbzPsDaCwdtSy KCUCxh7vVExEbs/WTmc6yBoocLwdNPcmaMvPOrXmvjPyz3nfjvVK8yHVSleKOCYm /M1EuRO+4cfQrS3NAk+RhnWopiCC3u+/EJCaKq3ifO1fjPucLkaL5CCsBczqvGUo EL7+ulOBJs4NgJ2Vk51Y6DXsu+7lUS/HGnX29LRDtgu+XWj4JtjYjdhe5EPlAVrL 1TPqEiCUivRfx/hU0ztCgTou81vLETZ3TbOOpLzJUUgtPnv0R1Qy2jz7HvubfqNp EM5UUJ0hhbTOKwFSbr+T3OQEzWFCvxAslndZQlZTO0P1jIiATomnYh85TDMQBfVZ az5vEg== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3ygd70sge1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 04 Jun 2024 11:31:59 +0200 (MEST) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 0626840045; Tue, 4 Jun 2024 11:31:55 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node2.st.com [10.75.129.70]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 46232211F37; Tue, 4 Jun 2024 11:30:43 +0200 (CEST) Received: from [10.48.86.164] (10.48.86.164) by SHFDAG1NODE2.st.com (10.75.129.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 4 Jun 2024 11:30:42 +0200 Message-ID: <291953b7-ed37-4b09-9009-588ffdd12fe7@foss.st.com> Date: Tue, 4 Jun 2024 11:30:41 +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: Marek Vasut , "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: , , , , References: <20240603092757.71902-1-christophe.roullier@foss.st.com> <20240603092757.71902-11-christophe.roullier@foss.st.com> <29b79c7d-7ff6-40fb-97be-7198a0e9d437@denx.de> Content-Language: en-US From: Christophe ROULLIER In-Reply-To: <29b79c7d-7ff6-40fb-97be-7198a0e9d437@denx.de> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SHFCAS1NODE2.st.com (10.75.129.73) To SHFDAG1NODE2.st.com (10.75.129.70) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.12.28.16 definitions=2024-06-04_03,2024-05-30_01,2024-05-17_01 On 6/3/24 15:08, Marek Vasut wrote: > 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 . > ok (I will put in v4) > Also, keep the list sorted alphabetically , P goes after M . ok (I will put in v4) > >> +    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. ok (I will put in v4)