From patchwork Mon May 15 15:51:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 13241767 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5B5D0C7EE2C for ; Mon, 15 May 2023 16:07:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=nkGWVjiii+TaFvBs+yTqCToKKcWfiFM5pN2B/yaQmtI=; b=NjOMEotqgPC3k1 B1MSgn6VvlKRV8Fpzse2sdlOzSkR2VLBtAbV7F2XAbpMyv0IdXAIcp0lluACvKXZFU8eveaKv903v kLjm//BO0njSUoGYBwl1fADEC7XjURzliUud1Y68zcl06R0dcTxRyflTpXLtJpph41VHpN0QltbDf KGOnuHafX7TXKImxRC4PoVNZ84swKm3Qbn5/e7yIMEWBpCO4SHH84u7ACj6jQFSionAdyQzset7ZT tVoUA4dWRT+yVpjIaRN5iGoMly6ReRuaLSVJ4Hunp9KxN6d1zJMwyON6LjaoUBumRYGK0sDhieQHh fJrr+QUr3zQpPVqO3IpQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pyaio-002geO-2h; Mon, 15 May 2023 16:06:50 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pyain-002gd0-1P for linux-arm-kernel@bombadil.infradead.org; Mon, 15 May 2023 16:06:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=KvRHGjaOmv+5DB7lt1VgEISRoQ9pBkxjIfQks2+BpPY=; b=O8DbwEI8IkpAJlBE2LJge6A40C l/yBsNsnJAoKry2ThyVcSvG1fUBwRV/Yd15pTzo97ySw/xdDcF3r9A5Xax+vlGLpFTA1pG3ZWqm8m Q4+5pdHXuduF82UWoWC6Y+xOABle6Sy3OPrMclEijQdKi9i+V5Crz1wcqf0H9UOXYCCZswc+VxhKp 3Cfjl7mzYM8fYTrSimic6PgCLn4DqK6wm5mkxQ3bQOAQ1JacYXUT53clnwquQ0xR6RjFjUtbYVuid hbx5OAEsGYG1F3/3KQone57moHVYaVEqPnA1hQs9zGby0eSp5bcE3so61CK1/G1F7bCeunG81GUcD 2dv9Akbg==; Received: from phobos.denx.de ([2a01:238:438b:c500:173d:9f52:ddab:ee01]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pyaTj-00BVjN-10 for linux-arm-kernel@lists.infradead.org; Mon, 15 May 2023 15:51:18 +0000 Received: from tr.lan (ip-86-49-120-218.bb.vodafone.cz [86.49.120.218]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id D071D80383; Mon, 15 May 2023 17:51:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1684165871; bh=KvRHGjaOmv+5DB7lt1VgEISRoQ9pBkxjIfQks2+BpPY=; h=From:To:Cc:Subject:Date:From; b=fEhti8r1IIbAycwhSa4thlrzV3T7eM5g2L7Q9/MVXRGT91VPDO2qtLeJc47zfT+Y8 wnScNKd/FG8B1r1Nz0vJerujd2VLWuBN5Fz299DeuA5Jok4j9sZ3YKnZixKaBYpwKZ Tlzi6kVbN8YegE+2kV3nPsIu4dic95bDhmjqh/HJA72z1SwS+30t7O2zKWVaV+49TR kBVQ+IvZRIcbz4eK9D6J5WL1PZ7ohw2nMRD6ufqMRwa4kmEmN5Mr6fDKQRWGmNfvyB 3REW59MJerrdQG6HcLJ1eJUdSOU0FUQayno9hYWgGUezDpUAa2Hmgp9Cg0960Kv1Zw gn55sigYDz/PA== From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Conor Dooley , Fabio Estevam , Krzysztof Kozlowski , NXP Linux Team , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo , devicetree@vger.kernel.org Subject: [PATCH] arm64: dts: imx8mp: Describe PCIe clock generator on DH electronics i.MX8M Plus DHCOM on PDK3 Date: Mon, 15 May 2023 17:51:02 +0200 Message-Id: <20230515155102.61227-1-marex@denx.de> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230515_165115_558791_586BB6C3 X-CRM114-Status: GOOD ( 12.09 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The PDK3 carrier board contains a PCIe clock generator which is used to supply the PCIe clock lanes. This generator is always on, unless external CLKREQ signal toggles an output off, but this is handled in hardware. The generator does however have I2C interface, describe it in DT. Signed-off-by: Marek Vasut --- Cc: Conor Dooley Cc: Fabio Estevam Cc: Krzysztof Kozlowski Cc: NXP Linux Team Cc: Pengutronix Kernel Team Cc: Rob Herring Cc: Sascha Hauer Cc: Shawn Guo Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org --- arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk3.dts | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk3.dts b/arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk3.dts index b5e76b992a103..24dc58b3404fb 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk3.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk3.dts @@ -23,10 +23,10 @@ chosen { stdout-path = &uart1; }; - clk_pcie: clock-pcie { + clk_xtal25: clock-xtal25 { compatible = "fixed-clock"; #clock-cells = <0>; - clock-frequency = <100000000>; + clock-frequency = <25000000>; }; connector { @@ -203,6 +203,13 @@ eeprom_board: eeprom@54 { pagesize = <16>; reg = <0x54>; }; + + pcieclk: clock@6b { + compatible = "skyworks,si52144"; + reg = <0x6b>; + clocks = <&clk_xtal25>; + #clock-cells = <1>; + }; }; i2cmuxed1: i2c@1 { /* HDMI DDC I2C */ @@ -244,7 +251,7 @@ &flexcan1 { }; &pcie_phy { - clocks = <&clk_pcie>; + clocks = <&pcieclk 1>; clock-names = "ref"; fsl,refclk-pad-mode = ; status = "okay";