From nobody Fri Dec 19 08:54:42 2025 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 CBA561684A0; Wed, 28 Aug 2024 14:37:37 +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=1724855859; cv=none; b=b2UBPYS+t3V8THLNTd5hekoCk2V9Ccg9v/sOSKgeY25pY1hugVJmBv6iTcuyQ6T8wapBxuuIiztyWXxye9EeZRPc5/DUVgYMlvpa5Fu86CvQnOtQn1d+lwR7zBoLoocPtbl9GJOhlM3G8kNl86zdpyuja3PT7PRlE5ElYtEY5E0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724855859; c=relaxed/simple; bh=6ZPKg3c/nZy3SsBbUWyZTFGPxalmHlOwPa7X9AOyFHU=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Lxxh+GTgJ2FgrepnT6GlCExYXfbe3PNzk5DS6xg/pQZBW6+kGRjf+oMxTMGNRFDEQ2mu/cGjhnNjGMcd/QiaUWdT014KXt7KoDqA5vjAuqlkMcZOzC0jZaB2u7LDQs1Ty25UP5Y8yzFFrc4O9MlMxTK5aQvL8E4HuLZ7WnCkBuo= 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=tly9wE8I; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="tly9wE8I" Received: from pps.filterd (m0288072.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 47SDcbP8014030; Wed, 28 Aug 2024 16:37:09 +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= g8a3O6sXCgxEOg1ucYmMXOTE4I4DT1XHr3DGcQmRTTw=; b=tly9wE8Ikq8sjW6T E0JxaJKgQiUuv7XlKO4cP6vOTejbz/ZJocEo0ItrylJYCnR2EQ6uEM6bi/VEZ8cx a+uJmM8+MpayUcqEskKBE7U5mFOlSil7ppgAmkBC/7xzKnwAOcNMjJvJK7/ooIoL IQ3Q7b6DSJ9Lqy8usLKfsrhQsRapG997Z8oLhEN9eiO3me5Iv+tQsXLZn4JraTWU AK97E1eFvxHZbOhHe5y+ekup0WyXVYUkT3f41gas87T+ciWp3o/PiKpgLyjlnbiy QpD6ZTjDdsWlAKzZhiO7nF+lt539mH706v/3cSsT4lOXAUjKJsuRx5Fol4lOd45m Dr7Z/A== 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 41a4y60b3g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 28 Aug 2024 16:37:09 +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 5817C40045; Wed, 28 Aug 2024 16:37:05 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 83148247CDC; Wed, 28 Aug 2024 16:36:28 +0200 (CEST) Received: from localhost (10.129.178.212) by SHFDAG1NODE3.st.com (10.75.129.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.37; Wed, 28 Aug 2024 16:36:28 +0200 From: Christian Bruel To: , , , , , , , CC: , , , , , , Christian Bruel Subject: [PATCH v4 4/5] arm64: dts: st: Add combophy node on stm32mp251 Date: Wed, 28 Aug 2024 16:34:51 +0200 Message-ID: <20240828143452.1407532-5-christian.bruel@foss.st.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240828143452.1407532-1-christian.bruel@foss.st.com> References: <20240828143452.1407532-1-christian.bruel@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: quoted-printable X-ClientProxiedBy: SHFCAS1NODE2.st.com (10.75.129.73) To SHFDAG1NODE3.st.com (10.75.129.71) 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-08-28_05,2024-08-27_01,2024-05-17_01 Content-Type: text/plain; charset="utf-8" Add support for COMBOPHY which is used either by the USB3 and PCIe controller. USB3 or PCIe mode is done with phy_set_mode(). PCIe internal reference clock can be generated from the internal clock source or optionnaly from an external 100Mhz pad. Signed-off-by: Christian Bruel --- arch/arm64/boot/dts/st/stm32mp251.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/s= t/stm32mp251.dtsi index 1167cf63d7e8..0d38763d9317 100644 --- a/arch/arm64/boot/dts/st/stm32mp251.dtsi +++ b/arch/arm64/boot/dts/st/stm32mp251.dtsi @@ -7,6 +7,7 @@ #include #include #include +#include =20 / { #address-cells =3D <2>; @@ -518,6 +519,22 @@ i2c8: i2c@46040000 { status =3D "disabled"; }; =20 + combophy: phy@480c0000 { + compatible =3D "st,stm32mp25-combophy"; + reg =3D <0x480c0000 0x1000>; + #phy-cells =3D <1>; + clocks =3D <&rcc CK_BUS_USB3PCIEPHY>, <&rcc CK_KER_USB3PCIEPHY>; + clock-names =3D "apb", "ker"; + resets =3D <&rcc USB3PCIEPHY_R>; + reset-names =3D "phy"; + st,syscfg =3D <&syscfg>; + access-controllers =3D <&rifsc 67>; + power-domains =3D <&CLUSTER_PD>; + wakeup-source; + interrupts-extended =3D <&exti1 45 IRQ_TYPE_EDGE_FALLING>; + status =3D "disabled"; + }; + sdmmc1: mmc@48220000 { compatible =3D "st,stm32mp25-sdmmc2", "arm,pl18x", "arm,primecell"; arm,primecell-periphid =3D <0x00353180>; --=20 2.34.1