From patchwork Mon Oct 7 12:39:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrea della Porta X-Patchwork-Id: 13824651 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 04EC9CFB441 for ; Mon, 7 Oct 2024 13:08:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:To:From:Reply-To: Cc:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ExSdnw6SFXuTqFss0pRdd0b0/LidGX7ZLflADrh46f0=; b=QNQp2RJYAChOvoP8U3SgS3mTyh M8Lc9NHgMlCttgQrIO+NHididr03hAplpipY+mIJYN9nJqbokVsmsBfvY3QfQKg85bGj60F2p5IRZ Zk6TjSTcPiT5oZ8t6EhJwiVeG30/COKhfp6qmLNOduSq7rC3VgCHHauV5Nou5F5mjW8lAGlYF8xf1 NruO/hbMgC5j/ugue9WF0iAJkBEymUailYhXTb67CAqNi77fyay0ssaFP9XQvYhByOUAwsAvxU790 Ioy6aJoDYhcs8tlN2ufKPLyUCWuHNNFPVTo7f/2prIqVKTBZH9fM+SerNIj96PKIfs+stRb67yRFC vEbNgXqQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sxnTD-00000002RjT-08xn; Mon, 07 Oct 2024 13:08:15 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sxn1x-00000002Mg2-3FYv for linux-arm-kernel@bombadil.infradead.org; Mon, 07 Oct 2024 12:40:05 +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 :References:In-Reply-To:Message-ID:Date:Subject:To:From:Sender:Reply-To:Cc: Content-Type:Content-ID:Content-Description; bh=ExSdnw6SFXuTqFss0pRdd0b0/LidGX7ZLflADrh46f0=; b=owKBqciO9vWlqgXDxqwpPKsTpE OAuloxJRAQaClWmatI+GsaOqlF3GlIfncuNzeezWpCPiq7/CaYwHVqAmcYbWeMweripz3echiPLyz gQvQACZqcbQhb57TiieY8XH6MnS5l8/+Z3UrXAuvPVk3r/6502xgXr0har/wehPd/Zbo7LbtF613o OAMjz+4BC53z1ZGSp3BHa/O6v1yBPDFwoLGOoHSlTvuc707bjSUN3be4Vhia18aWma/k4H2r5/9SC HkHjvQpU96osTC1vTBI546XHtMuetXZypT4uc5XjgFe2iimqTG26xQtRG1Dx4bEZ0o8xbHlowrvbM Es24I1gg==; Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sxn1u-00000004Pzl-3ImT for linux-arm-kernel@lists.infradead.org; Mon, 07 Oct 2024 12:40:04 +0000 Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2fad100dd9fso58710871fa.3 for ; Mon, 07 Oct 2024 05:40:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1728304800; x=1728909600; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=ExSdnw6SFXuTqFss0pRdd0b0/LidGX7ZLflADrh46f0=; b=Y3VjsWsYbXsHmBHq69Omh2ZFK/0/h+ZbOk2+EN/lpThVmTy0QyQXJa0xEFdudeULlq n1w6mIFGBDKkFH/EW0NKRjMZ12jAqRWa6RU/v25shVBfub/F0ql8CqEmtFzeViJrqxye GRdTxt+HeXB0uGhJUXvAizUa52hpsTnNK9wHxAaIBzxJM/3Q5GjHsZSlx7rLeKNGEi2c MOzH86cKhI8r42KcrxV4nLG1HtaPAfpsU9m6Uw9E6VdhKQ1EtLsm/9sMFNPRmG0KKEY2 dI5YOkFI6zY3wRacfJs8iOxm6sFYoxYQHwFgh1cZOgW5vN28Yp+i+M2LAJk1DnLV3G9M Oaqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728304800; x=1728909600; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ExSdnw6SFXuTqFss0pRdd0b0/LidGX7ZLflADrh46f0=; b=EEk0Er5bEezOax5HGSu1mLqtj885zfStiyzh3bV1x/mLz/vNBBKKyi6qpQi6psq+sP TQ7TpINL0gVqS4PMrVslVp4Y+sHnYZokgQEJFnYV/PJcQrhFjN0MBiV3EryEm0W+GqWY B5L4wazgOH2u8IAcsZYvWRWNxIPgo/Fvw2f4LWcYKU6PD8UVMbQbTjcJnh08qlutM0Dd +Q52bUgEPULz0bVOOt+T+FwWcmIYPXHEKZ94IBXVcBHMAOTAfEf8lwkjUhqttac+nUoB fcjL4jHpPE39kLZvLhtnwQRkYtx6Uq8z/PzODYnGkXxf4n63orYTa7YUD+57GI8SORBM K/KQ== X-Forwarded-Encrypted: i=1; AJvYcCXpIQLsEV1fCcrAiTArR3zpP5F7mqXD245QYhT2kTYc+U4VdvdBfIpK84d1FHuW3YwW3EurRBQfNnM0FBG2bRD8@lists.infradead.org X-Gm-Message-State: AOJu0YyGQbHarulsxWyJqbs6QXGkumstx7Amf2+rIgTkunxYnkvCsCbR Uft2UXId11Wja/R5a8EMjIc4nzep3i6TzORm5pqXSX0JUTQ3LckwlYVYrlO10Vc= X-Google-Smtp-Source: AGHT+IEF9XJ972EaXIB1RBwBhfHiOI0VXfiBlhriuohHhb22fhgxmRK3EvHrGiaJhb632gUnFrOgqw== X-Received: by 2002:a2e:a595:0:b0:2fa:cfba:fb7f with SMTP id 38308e7fff4ca-2faf3d797c0mr68500231fa.40.1728304799933; Mon, 07 Oct 2024 05:39:59 -0700 (PDT) Received: from localhost (host-87-21-212-62.retail.telecomitalia.it. [87.21.212.62]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a993a3a1badsm327549766b.161.2024.10.07.05.39.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Oct 2024 05:39:59 -0700 (PDT) From: Andrea della Porta To: Andrea della Porta , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Broadcom internal kernel review list , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= , Manivannan Sadhasivam , Bjorn Helgaas , Linus Walleij , Catalin Marinas , Will Deacon , Bartosz Golaszewski , Derek Kiernan , Dragan Cvetic , Arnd Bergmann , Greg Kroah-Hartman , Saravana Kannan , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-gpio@vger.kernel.org, Masahiro Yamada , Stefan Wahren , Herve Codina , Luca Ceresoli , Thomas Petazzoni , Andrew Lunn Subject: [PATCH v2 12/14] arm64: dts: bcm2712: Add external clock for RP1 chipset on Rpi5 Date: Mon, 7 Oct 2024 14:39:55 +0200 Message-ID: X-Mailer: git-send-email 2.44.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241007_134002_985176_7C913CAF X-CRM114-Status: GOOD ( 11.92 ) 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 RP1 found on Raspberry Pi 5 board needs an external crystal at 50MHz. Add clk_rp1_xosc node to provide that. Signed-off-by: Andrea della Porta --- arch/arm64/boot/dts/broadcom/bcm2712.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/bcm2712.dtsi b/arch/arm64/boot/dts/broadcom/bcm2712.dtsi index 6e5a984c1d4e..efdf9abf04c4 100644 --- a/arch/arm64/boot/dts/broadcom/bcm2712.dtsi +++ b/arch/arm64/boot/dts/broadcom/bcm2712.dtsi @@ -38,6 +38,13 @@ clk_emmc2: clk-emmc2 { clock-frequency = <200000000>; clock-output-names = "emmc2-clock"; }; + + clk_rp1_xosc: clock-rp1-xosc { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-output-names = "rp1-xosc"; + clock-frequency = <50000000>; + }; }; cpus: cpus {