From nobody Sat Nov 30 07:45:45 2024 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 612365339F; Wed, 11 Sep 2024 08:31:03 +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=1726043467; cv=none; b=lsARHE++iBCtrpVFSvvGcKIvYN0y0KCkH6poj97Zau0hWV7HTDgwp2BSCzBSz9cQjtS7glb2+IeQkpNN1oGZmuiDOoMHz0kUsmvjtvPEMRNL4v1yGy5KkGpxEJa2Kj3TJvs04w6VJvxFsClAStuPnNrZz+jpHb9f/1MRRg2jSgY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726043467; c=relaxed/simple; bh=oLlTW2bh8VJAWJfDthgoq2uvZctY02SJcHJtrpkYkO8=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=nQXA5HonGj/EzX6j/nKXs+3T2UVGCWZmvk4RtoHmj//kcfnP44BXtfo+lGPhTSVYGfvG+Zrs/QiocpkigjeowQe35R57xRVHOUcJmWUVPq80iTIIOVR78OfxXHUuBsE7QJQMsjslYn4MgznExbgmvtcH+4aAK2giLUOMaFZwPE4= 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=CWFbjFGr; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="CWFbjFGr" 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 48B50DRt002414; Wed, 11 Sep 2024 10:30:46 +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= oFevO1WzCe1lndyKIcqDqzd48GJyNyJUl83cjIp11to=; b=CWFbjFGrTUAynJy3 NLxURb2NydONZ/9kndhhFnneZ7DtcXwBv3L/4mYvmWrZIgdgzWjI7mM2/BVseEUK d1rmnmWQOlnQNnJZEFZoT07vy7FDJVuGhHaoCK+1f1zGvFLUdFh+k01kAlt4euJD 7vlS2iBKONta+Ur7WpVLzeoU9jPV9v3iF4ZIPTQnhwEUT6QspRQm75UVnnUHmtbo WpwEuDrX5Gwm3sMFiiKXc8vdrBaeomhvhonO1GlhSPcjOoS4GkkBoxeT0rpcS3AC WwaiNUIAgoniUopjw/ZKXegOSPH+Jb6hfTwdxavcl+dhH/5v+tkMge++gnCXIiYC 8dHe4g== 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 41gyaadhxu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 11 Sep 2024 10:30:46 +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 74F204008C; Wed, 11 Sep 2024 10:29:01 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 3C17F254FF1; Wed, 11 Sep 2024 10:28:01 +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, 11 Sep 2024 10:28:00 +0200 From: Christian Bruel To: , , , , , , , CC: , , , , , , Christian Bruel Subject: [PATCH v6 5/5] arm64: dts: st: Enable COMBOPHY on the stm32mp257f-ev1 board Date: Wed, 11 Sep 2024 10:25:30 +0200 Message-ID: <20240911082530.2978336-6-christian.bruel@foss.st.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240911082530.2978336-1-christian.bruel@foss.st.com> References: <20240911082530.2978336-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: EQNCAS1NODE4.st.com (10.75.129.82) 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.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 Content-Type: text/plain; charset="utf-8" Enable the COMBOPHY with external pad clock on stm32mp257f-ev1 board, to be used for the PCIe clock provider. Signed-off-by: Christian Bruel --- arch/arm64/boot/dts/st/stm32mp257f-ev1.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts b/arch/arm64/boot/d= ts/st/stm32mp257f-ev1.dts index 214191a8322b..bcf84d533cb2 100644 --- a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts +++ b/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts @@ -27,6 +27,14 @@ chosen { stdout-path =3D "serial0:115200n8"; }; =20 + clocks { + pad_clk: pad-clk { + #clock-cells =3D <0>; + compatible =3D "fixed-clock"; + clock-frequency =3D <100000000>; + }; + }; + memory@80000000 { device_type =3D "memory"; reg =3D <0x0 0x80000000 0x1 0x0>; @@ -50,6 +58,12 @@ &arm_wdt { status =3D "okay"; }; =20 +&combophy { + clocks =3D <&rcc CK_BUS_USB3PCIEPHY>, <&rcc CK_KER_USB3PCIEPHY>, <&pad_cl= k>; + clock-names =3D "apb", "ker", "pad"; + status =3D "okay"; +}; + ðernet2 { pinctrl-names =3D "default", "sleep"; pinctrl-0 =3D <ð2_rgmii_pins_a>; --=20 2.34.1