Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp847895lqj; Mon, 3 Jun 2024 02:39:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXAQ9xTylHVjdV3f4qlGxdMddzPKWD6Y7ct08RcuI2mIaoXmenUY7Ya5FkuK7zDAp1N+ivjKDN9dfc/xT83wW2GdvvuKUusG7DjDToN5g== X-Google-Smtp-Source: AGHT+IFWIw9X8Qx3u2zoZdAf1HDeleiDdIQxmIDqmzf7NGgo9mlimUUqSJGXRvjMsvgn1dNbqFzV X-Received: by 2002:a81:ce07:0:b0:61b:342e:b0cd with SMTP id 00721157ae682-62c797135c5mr82671017b3.24.1717407592607; Mon, 03 Jun 2024 02:39:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717407592; cv=pass; d=google.com; s=arc-20160816; b=AxGyNnzo6F7JPj0M5VuI0164R8yVvbYqBddGW5+4GpDkKDxsAbyiAq27BkRKwQGkmU P0BVzJmk/xwilMcqVny9eD24Em0/9oy97ubWUFGs379SilHCNacZ/Za/L9klw50Ka4rH 1h9qAt6f749RHpfzlO3Jy35Z9V706XC6CU/Z+7pjEi2uxfQQhJUZb7JPIZh4voctazcX Ecrq5YEksIsniNrCvGKAlL2P0q/CrUPZmwsdHESFnB7KoHdP8gmwLvvwkHHVCiRty/D0 nlfptUk6Wj0/cpgDz67kOugZty4pjFQh+T5gMhaCDaE2HGoJOYRMbMjGdZxnYvO67mhG oqzA== 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=su42IsDZlpnTDQYbDGMLNCOVNAXyU95Bml9CimB2Hdo=; fh=PNVS6hneBIB5DuUKcqXTZxY2dQy/qm89zdYDxH+oLxc=; b=v1O5v5vrtbUURhrNSBHEnckURLKb+F0/4laWAr+RBVqGeDHB2imBEmEfuS8j1tLswZ igxobEHh1IMl67ixMshhxUqqoxjtIkdf187cZ9/Pjft/SztOBQllW/5KdAN0uZbbXXIh vNsNiAoZYYcqVY7QSauWH7qOJAA6VaFRL+lYFF4J/rOaz6Q+sVBYGyHg5fWK2X8HUM9V q0wG32K1HUns43apGb3wA2cqmgXVJvnIJnUpBdYnCaYfMmFz+zs97gkYRkj3WIIR04Q5 ewKZ1h4zyX1dhyxirpMUaWhveXkgDbZ1Nbh9jjLCKtG17fUtdTnxmoLsHzFXv4g8yNPL 7F6Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=8WI10r5H; 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-198905-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198905-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 ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6ae4a732aacsi85808706d6.23.2024.06.03.02.39.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 02:39:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198905-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=8WI10r5H; 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-198905-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198905-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 53BC01C215AF for ; Mon, 3 Jun 2024 09:39:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EFC55839E5; Mon, 3 Jun 2024 09:32:31 +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="8WI10r5H" 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 97BDA811F8; Mon, 3 Jun 2024 09:32:29 +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=1717407151; cv=none; b=SmkkhTAhxFOONqLO9/V4IIJ9EaYFmuMHPNthQcn/zA7hqPsceoNQZBbg74G8ie9YqXvUP7F4shKNxbZUftubDkIl4wj1ur60RjuKyGolbk0xGX4OMVOonc77yMeJVxBhmLJ8lowA8mTTcawNxkVUVlLLUuFyaNbh5lT9zbOgKtA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717407151; c=relaxed/simple; bh=FNWOXSBY3itK9FOIIAK3yj6bfYlo6/Igm0OR42BMEk0=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=MK5nFRKEnH+lwKF26kED6cA2t3oBrBwrSSjKzPQOT/biAxlIcZWI5Rsojsf5Z/aQteisEIBiyYUhD/uJuAXN/OJyz7lX1iE2f1qrHwKgl3g9RLZWes/JO/bXTHAuYFc8NHY8ubFeLzWHisaAFVfEDjgsA/hMJxENbeZ4/adbB04= 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=8WI10r5H; 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 (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45384HRH024936; Mon, 3 Jun 2024 11:32:00 +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= su42IsDZlpnTDQYbDGMLNCOVNAXyU95Bml9CimB2Hdo=; b=8WI10r5HCY9lSaSH m62Rcz4QC2D5OoMT5Qko6RG+ch/KOEz2Wyrl2gSQNW5kntZf5H+sjXQDWm2WD5TP oplHgoT+RO0WjRyGnYL5GpBwoZGH5hOEN/gRnCnozw1vuOh3b6My4fY1ps22Vwj1 NCPgZKojdWuQCmxItzSpztLPqGKfITzVKo43aXWC4OoSgQHE3k9l9uDbP+RoVBMB NGE3LUqrZ40O8r1pZtKRytV5Me+OSqQjNS6vTop/SXHObnCmAvWUyqVhoV3LoxLG +oZljU/bYWeBWp+zXszy+WWL99QwxP2gzmouvdqPNuHlR13dyWVAIUVuf5SDHnRZ le6+LQ== 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 3yfw9164sq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 03 Jun 2024 11:32:00 +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 616FB40046; Mon, 3 Jun 2024 11:31:56 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node2.st.com [10.75.129.70]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 8C6A1214D3A; Mon, 3 Jun 2024 11:30:43 +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; Mon, 3 Jun 2024 11:30:43 +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 v3 10/11] ARM: dts: stm32: add ethernet1 for STM32MP135F-DK board Date: Mon, 3 Jun 2024 11:27:56 +0200 Message-ID: <20240603092757.71902-11-christophe.roullier@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240603092757.71902-1-christophe.roullier@foss.st.com> References: <20240603092757.71902-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.650,FMLib:17.12.28.16 definitions=2024-06-03_06,2024-05-30_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 | 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>; + 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