Received: by 2002:a05:6500:1b41:b0:1fb:d597:ff75 with SMTP id cz1csp152681lqb; Tue, 4 Jun 2024 07:42:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV7XRp9Sfue6c7oMnXvTVDOMpdkjah1sO2zvtI+C56SEWc0gA99um8Dwk6ubY4QDjJDm1l5zRR7qVzZTZ9NNk7+Nr97SKzjfT9tF+PbaQ== X-Google-Smtp-Source: AGHT+IGETV/1QdrHR1mIQoQ2rSjIECUdCCW91jU9ls/W60Udte7KQbVTDSn5k+JDg8J24icVGqG6 X-Received: by 2002:a05:6512:b8a:b0:52b:95c4:4641 with SMTP id 2adb3069b0e04-52b95c44705mr6666683e87.32.1717512151374; Tue, 04 Jun 2024 07:42:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717512151; cv=pass; d=google.com; s=arc-20160816; b=SXMn+jxYfHwKxb4GcYIiAYxL5QMrR27iH+3zbjpucvZifclJMqv893NnD/B+Vt1k2X Z3ckRVVK58NHk7yyvkOCMDgpg4H+ygWDNEEKumKmIgQZawI9k+2cPEzMmD1AK06l5nZ9 SiEkQ165oTv+mORF3misiPrOMrgHBG5oH6g9B4rjiskgy+7T5xHWN/q6WujSIZRnYNxz MIODJ4cPZgqkxBPeCQO1uXMsiAp6n+kCrbuwUf1RIqwyMAcvrA/Kt8sP/8iDIAtW3FmX drDx3x1nbRnpVvf1vGUHyaxGDG4lf+952wjUqlhuci4oMtEavL3EIB+FGvtX28Ulb1L3 r2vA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=eKN5b2VWHRMDBj5Myb6iAparuZeoM5ih/xyaAqhcCLg=; fh=PNVS6hneBIB5DuUKcqXTZxY2dQy/qm89zdYDxH+oLxc=; b=iZEacF9OiQYJzcSS3ZEtAo5l1XDhTBjWVkCjTMR+CyOG99VjnGVlkh5taTVm7h8ZQV 0pRFk+Pjj/CWyX/mNbmGrT2gPP0m6SS9yD+FRSvtokmaGckirn85IZH+I8Vt8rkIpHpy T5BY/Bv5aUwZjx7ysE39H456z/tC1jp5uD/SrNaYYLFBNJU6wsR/cnO2bPW66tA+g/O/ 7Km1Lwsap4w9YMCjqrQRDnhczCKl0gltEABvXaSuj5IuuM7kM/uxAdeVOUQU4kenyeme XSIJq8V/1oASHa+MaHXnL01Fh4rQ7yVo+IJ8Nmbrk0P0Iq7mcaOTRH1XufCSmWbYxksw AzXA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=Az4kcxXI; 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-200858-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200858-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-57a31cca60bsi5069481a12.659.2024.06.04.07.42.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 07:42:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-200858-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=Az4kcxXI; 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-200858-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200858-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 16D811F25937 for ; Tue, 4 Jun 2024 14:42:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2ADEA1474D4; Tue, 4 Jun 2024 14:39:18 +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="Az4kcxXI" Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) (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 BA8531442FD; Tue, 4 Jun 2024 14:39:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.207.212.93 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717511957; cv=none; b=MaHo2HXCQQNz0BUjBKrdXsXW6tswlsvT+/Fwac2REcjBtlmI3O0NLoz9cOsVAS26gogOQuKHxw5sLcnKEHUPOijPtcA5K6iqdpERM2eUGbNB8+WopTcdHYgn8BRg4nRzslA5QdDuKLYW4phy/ZU0XLwTm2M6zyi/v3eJkvMfhhQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717511957; c=relaxed/simple; bh=7VtYYa+5NKjJlPyV4Azd8rtRm77RZ/GnKMAVrzFVyew=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Kbs5J2ZcWKxxucoRMOaVnEq5R/x6Wf39bx3Sllnslz6S8xHnigSp7ObhvYXH4el5PfOJXTR0FbqXar/NLvBuyGFSq1MWOpPTmCtd1X2V9WoSO/avW9xTn4cUqzztEJyhFBizjg7o85uhLRHTJjTVk9cm4qendupeAcAeWpgcZsI= 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=Az4kcxXI; arc=none smtp.client-ip=91.207.212.93 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 (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 454DLTnd013294; Tue, 4 Jun 2024 16:38:54 +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= eKN5b2VWHRMDBj5Myb6iAparuZeoM5ih/xyaAqhcCLg=; b=Az4kcxXIOEIE9vUq diT1hUXTNqgk4ycHCSHENv+gl+7+KtiwbggXYGIe63ngPcKneY4JNR/FfBJg5EzD dylXdlRHu7dMfdvkmKrD8vxm90zzattTYqd8jsPinxGPGi4snsgMt0a3Ta9ywYW2 RMuIUzO+AjQkSq6eGz/paEjubfdMVQ7yHrhgCcHbcKf7dCcYplBS4vP3GPb4YuyP ps9qLo8vcKhfn6IxZ3op8vpWG4DCQCzVyKtAHS+dJ5xIQJ2K3MS+utfLpDLS3XdM YiuvEHxRQyOUxk51W3ME158WJniZQuqBUcz86lT2SVJvhm5pQy6Z1TXb23EER05Z a6ofHQ== 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 3yfw30cf73-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 04 Jun 2024 16:38:54 +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 6D8C640045; Tue, 4 Jun 2024 16:38:50 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node2.st.com [10.75.129.70]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 9C94E221968; Tue, 4 Jun 2024 16:37:42 +0200 (CEST) Received: from localhost (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 16:37:42 +0200 From: Christophe Roullier To: "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 , Christophe Roullier , Marek Vasut CC: , , , , Subject: [PATCH v4 10/11] ARM: dts: stm32: add ethernet1 for STM32MP135F-DK board Date: Tue, 4 Jun 2024 16:35:01 +0200 Message-ID: <20240604143502.154463-11-christophe.roullier@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240604143502.154463-1-christophe.roullier@foss.st.com> References: <20240604143502.154463-1-christophe.roullier@foss.st.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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.680,FMLib:17.12.28.16 definitions=2024-06-04_09,2024-06-04_01,2024-05-17_01 Ethernet1: RMII with crystal PHY used is SMSC (LAN8742A) Signed-off-by: Christophe Roullier --- arch/arm/boot/dts/st/stm32mp135f-dk.dts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/st/stm32mp135f-dk.dts b/arch/arm/boot/dts/st/stm32mp135f-dk.dts index 567e53ad285fa..16e91b9d812d8 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,28 @@ &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"; + 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>; + reg = <0>; + wakeup-source; + }; + }; +}; + &i2c1 { pinctrl-names = "default", "sleep"; pinctrl-0 = <&i2c1_pins_a>; -- 2.25.1