Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp2276709rwb; Sun, 6 Aug 2023 14:21:08 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH/bpclqrPODo+JxrLH3T5npGEcSt4FJWey8zQHw6Lvvi6HTY0HAtSfSVnicMe32WaacA+w X-Received: by 2002:a05:6870:9708:b0:1bb:6485:7988 with SMTP id n8-20020a056870970800b001bb64857988mr8482283oaq.35.1691356868563; Sun, 06 Aug 2023 14:21:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691356868; cv=none; d=google.com; s=arc-20160816; b=hGs2uMFaj3khDE+y9RLDhhDEMTxMC0QYDRxgv0Jf8qeE57+Zg2x80cqjfN3N7B6phS qbtm7Sc0eAgK0e9rpPhxpaRl2VnGa8lRU0Qj4nsgCzj8D2JtK++50I6kcropOzehP9uF oZ//DGlmyOApUEYaQNd7+uhN2s5JDKhcmRrIxaUol66akBVeRh+hmSNn8laAOGIipODF JsP+IKYGZX8Qnurrymjb1mR/5AuNuYmQITa/dAvKvoOXAWQrIdRlkVPihOGSh0etbo+0 YEIrc7/6I9/0DiJV25nZKRVZv/357s6mM8JXLCa4wT/oxnBhYOWEeZfrP4yVHDosKJEG +oBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=FtA/DXQ16Iik0MVLRswYcHvRP3Ma3gJUyRXapnCHuSU=; fh=rh7oMVOnqfODkJkFVa91QtCCl4VSImoXosxVD+RHKPE=; b=SUsUOUfBBuafYkhIT+pNZBgH6QCwFTXvqXT1dnQFhsGdITecCAqExGqA3JIDkyaO7o U+XwgNC7+TJXbmtrUcG0tthg1vxHCQV1tskz8njxgMOvQgzAkt6VKrBbr3eepifut04Z VO5agsvc34iUskeI/vL4zYxqsDaDu/hLyemMfnSCiAzswdzDQzT80j0Q4hQK3iMwUan8 BULmzrHkvv0+B1B/kKykbr7TVEZX9k/6+UlIUJ58MaOKnrGn1EcE9wy1YJlw0BRXYV5o PC/ngLhKAqHmrVzhSgo2ravnh3yD0TOSQHOW+FxuommxO1FOZ+1y8RE9BoGSpTJm4d0t f0vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=g5yQZhef; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y10-20020a17090aa40a00b00262d9b8a137si8021389pjp.98.2023.08.06.14.20.57; Sun, 06 Aug 2023 14:21:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=g5yQZhef; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230393AbjHFTGc (ORCPT + 99 others); Sun, 6 Aug 2023 15:06:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54516 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbjHFTGb (ORCPT ); Sun, 6 Aug 2023 15:06:31 -0400 Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A67F1712; Sun, 6 Aug 2023 12:06:30 -0700 (PDT) Received: by mail-io1-xd2c.google.com with SMTP id ca18e2360f4ac-790ca0ed6d3so129791539f.3; Sun, 06 Aug 2023 12:06:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691348789; x=1691953589; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=FtA/DXQ16Iik0MVLRswYcHvRP3Ma3gJUyRXapnCHuSU=; b=g5yQZhefWvLdV2003/eA374xxnL4k+Av25DWV3BT9LQ8LYc7uHrRw+vIxKCm8zzudc s5Uu/mIkaaAu2P3DYICFlo+4Iozq43ueYNdJtiyjyDRbSKre1fi6zRkoby1dy7idRCvj 9NcQtEBYdSSnRB0Vpr3ijiYPAy5UoBdOMAsYs9vWRVCz4SZZGZ6ckbWGkCdVVHa0GaYH MV/Qq+V0GnLC5k0lzzkYBhhMSmWW77L8T/d4mk03BF97BBidvLH+hsyg8DI61d67kGQy lLUX3KQ13o6+EtRrT3dLOWojiRm+ORgZXdo+1BwajLDHAvaWq7oJhDI0BBrUzA97Uj3a T5Cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691348789; x=1691953589; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=FtA/DXQ16Iik0MVLRswYcHvRP3Ma3gJUyRXapnCHuSU=; b=fayFrpfF3fJcbZ/JN3JDbeaZC8GToxu1UgTW6cdIgG9Z+hTqVdoBI1gEU5cbmpPgLS H/iRNeEDzV+doLh7QTvDYZS/SfAYxsvSusMC7zvihCGWgmlJ9bT37mUct9oKAS1OFowq VUwsK7BM4nNKXMBHtHPwUneaN6dSTHYk2YCxep/VzfNfFyWS1UAdFvaxvhUCkq/NEVRU A/AIq5SNLAeMOgLLDPFAcnmJ3gqZoVmM54KMlJiv/j/ZXxdKmeevPXW+3ZArIZiIOjXb DK7qntKI3Cy1r++vUuhmP1Tz3NXwTbi7Y3oz60tuIjFkYqxd+SRjHkrf3ZcWE1R59GMQ Kwpw== X-Gm-Message-State: AOJu0YzSm3D7xPDT6BopaTSbrdQkIu3GiXFURbUx076hdmYbaQ+J1uW6 Hqd/yvPgYVRJSR7rMPCkDMk= X-Received: by 2002:a6b:6b0d:0:b0:790:d813:2d38 with SMTP id g13-20020a6b6b0d000000b00790d8132d38mr9144889ioc.11.1691348789548; Sun, 06 Aug 2023 12:06:29 -0700 (PDT) Received: from aford-B741.lan ([2601:447:d001:897f:3be6:798d:d8e6:3ba5]) by smtp.gmail.com with ESMTPSA id i24-20020a02b698000000b0042b1dd89b0bsm1982400jam.155.2023.08.06.12.06.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Aug 2023 12:06:28 -0700 (PDT) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, cstevens@beaconembedded.com, Adam Ford , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Geert Uytterhoeven , Magnus Damm , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org Subject: [PATCH] arm64: dts: imx8mp-beacon: Configure 100MHz PCIe Ref Clk Date: Sun, 6 Aug 2023 14:06:21 -0500 Message-Id: <20230806190622.505887-1-aford173@gmail.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is a I2C controlled 100MHz Reference clock used by the PCIe controller. Configure this clock's DIF1 output to be used by the PCIe. Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts b/arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts index 06e91297fb16..332269dedeee 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts @@ -23,6 +23,12 @@ chosen { stdout-path = &uart2; }; + clk_xtal25: clk-xtal25 { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <25000000>; + }; + connector { compatible = "usb-c-connector"; label = "USB-C"; @@ -246,6 +252,13 @@ pca6416_3: gpio@20 { interrupt-controller; #interrupt-cells = <2>; }; + + pcieclk: clk@68 { + compatible = "renesas,9fgv0241"; + reg = <0x68>; + clocks = <&clk_xtal25>; + #clock-cells = <1>; + }; }; &i2c3 { @@ -372,8 +385,9 @@ &pcie { }; &pcie_phy { + fsl,clkreq-unsupported; fsl,refclk-pad-mode = ; - clocks = <&pcie0_refclk>; + clocks = <&pcieclk 1>; clock-names = "ref"; status = "okay"; }; -- 2.39.2