Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp296610pxj; Thu, 13 May 2021 05:17:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwg+Pk0NTB/SZGZ+IM+m6Ow1dj5oz9NvbjFUhljec9vM71vYS2op9KZaFa95LM9gLntmgIA X-Received: by 2002:a50:c44f:: with SMTP id w15mr50804901edf.79.1620908228420; Thu, 13 May 2021 05:17:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620908228; cv=none; d=google.com; s=arc-20160816; b=Mav+JqX9nZXDrk3HIDwZn0w1Fh58Z3h5NTnuRCItDi9ufx4W/cpUl/YajLt5USMlRc spiVBV633ULHBq2IfUi61mqxyeULfXmnmi0+2oZbdf6JZ6/PsiS9sVo1v/67u95dBzch /a9XHhpdCdgSAzfGy4Xl26b76nEOwGxwFpHRpH6I1SgoeM9wRGuDwz3yKYmKcjXwaz1u 7llqcXe2+J9Czj7D3MwQoszNPlARktYO2lOvW0k2UhQQ8XAo64BOp5HSSJz/ioyPwO/y EgAF5g1bIFn5Vh2j55PVNj4a6s1YMzWxWa2IwhR1SugnvGfqh7o40f2HN+iBr3AlnWFa HlTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=BK4qT11Jcy2nrTMBkQncpXyFc35XEEjYCK/MCqvtRuY=; b=Ss6g1fNENonoXZc8s2HN0iM4SywNySEPuJYhg2Ke+//5mneWmeDNdrVFbM14zRvVWA 0WNYKwRLV6iiMVRvNoZ4hPmNEPVJmDKNXClqeJjJ6383dKZT4IeM3j16OZy9NEeHGgw/ jP3RvTgbv+mPsXbmM26cBL7AbeBwu+0qXrOnkU3t/zKfaIpS7lKpnGXUL0kb2UXx2cJZ KoZ+Tu+b8S/jS9sqlj8xsyXHbIusrPf1IzhWcvfm6AsffdGXzPvU4UmCmJlcBn6DP0fj MhYvfBJbwpSqlvZqos0XEtN+YdPOYIeADXwZZwUpZeZOY0hTPkrQ/g/V4e0qJhUztrW8 i5/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jIjh5Hn+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n8si2933824eje.94.2021.05.13.05.16.43; Thu, 13 May 2021 05:17:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jIjh5Hn+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S232344AbhEMLry (ORCPT + 99 others); Thu, 13 May 2021 07:47:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231738AbhEMLrs (ORCPT ); Thu, 13 May 2021 07:47:48 -0400 Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4123C061574; Thu, 13 May 2021 04:46:37 -0700 (PDT) Received: by mail-io1-xd2a.google.com with SMTP id p8so24559838iol.11; Thu, 13 May 2021 04:46:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=BK4qT11Jcy2nrTMBkQncpXyFc35XEEjYCK/MCqvtRuY=; b=jIjh5Hn+VtVG5LtWuuAqzs91VERchHii1B5R9VriyZB0old767hT16jywsD9Ix0mzr lj5jC/x5KdNdK/ZBZffjolitnRPVrWxZd1rKJVYumb+NCSV/r9V/Bi4qycFxrsjueoEF YQrIe6qKGMbN5t6nRG2c6WwbOyszZJH4EBZD7VMTQ9puazrf/o9Vh8z4EXsd7nJ/Obyo Y/EK1ADBXLnYbwKq16j5LQTovFJAVz0Bv7wD/hqvkpCqdfBkMi3STayOO4Kco+11VNZA RbsoYQd+eE3xkRFMSYx0bQCBonAq88b/kScAysihJJFkfclV9mQmLcuRVEUi9OvwXvsU Sk6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=BK4qT11Jcy2nrTMBkQncpXyFc35XEEjYCK/MCqvtRuY=; b=Se8TJoAOk7A7HW0+79YXEPXmkpbE1RudGm4O7FSjHaXkXSMgA0050KsKufvqZhyD1h ic7CPspctmjl9LnOq9/qaHIKfrpUlWke4rgbjuV+pGExkXysYwsxsj3RSvd6DkeLTVM1 8jEHQfPDNAscM4mWIYPS5Ca0XuF4FgLPwKObRKJE7nct1QMlPFzudbftj1RGehZgKFuu C6eta6z41aOic1mSBUONogKfZIl5UX62jZrNNCEoYKt3Wi0PQnr1u6ekIBmPxURGogC5 8wLCnA1b0K7zsFkIb/AQmDCwDBbEj3MLg8yr4DMuWbNoYZdE76awO50NQ75mh5v6gJez onAA== X-Gm-Message-State: AOAM532bqwqjR4F/JbB7WBWcgnqWMqSmrZv9PqFoUOrsXoE6D4kaP7GQ Q3N6N0BJg5Uo2LkW8kSQfEQ= X-Received: by 2002:a05:6602:70d:: with SMTP id f13mr31647503iox.16.1620906396431; Thu, 13 May 2021 04:46:36 -0700 (PDT) Received: from aford-OptiPlex-7050.logicpd.com ([174.46.170.158]) by smtp.gmail.com with ESMTPSA id x13sm1298192ilv.88.2021.05.13.04.46.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 May 2021 04:46:35 -0700 (PDT) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, Adam Ford , Geert Uytterhoeven , Magnus Damm , Rob Herring , Catalin Marinas , Will Deacon , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] arm64: dts: renesas: beacon: Fix USB extal reference Date: Thu, 13 May 2021 06:46:15 -0500 Message-Id: <20210513114617.30191-1-aford173@gmail.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The USB extal clock reference isn't associated to a crystal, it's assoicated to a programmable clock, so remove the extal reference, add the usb2_clksel. Since usb_extal is referenced by the versaclock, reference it here so the usb2_clksel can get the proper clock speed of 50MHz. Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi index 8d3a4d6ee885..bd3d26b2a2bb 100644 --- a/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi @@ -319,8 +319,10 @@ status = "okay"; }; -&usb_extal_clk { - clock-frequency = <50000000>; +&usb2_clksel { + clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>, + <&versaclock5 3>, <&usb3s0_clk>; + status = "okay"; }; &usb3s0_clk { -- 2.17.1