Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp345944pxb; Wed, 24 Feb 2021 03:56:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJwjvO5twUHxHMcSTbYKE1lhkawocpkpkL2b7TdxAHY2ZVHy5SHk38B2ydGJLOTZgapYsfH2 X-Received: by 2002:a17:906:39d0:: with SMTP id i16mr1222890eje.165.1614167790468; Wed, 24 Feb 2021 03:56:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614167790; cv=none; d=google.com; s=arc-20160816; b=fY+l2LdNwOqn86oGszvV/PN81lH9Bei2V2d8pYYKeBDNDEF3dDcW1utK0rW6GgeiRN R8rncz3AKRIamB7Smn0eMK4q2Sl36CtEtvcu62ZAM1G9LT/yPuU9tA8Nqud0CD6qpnmp iPMFE0sLQcjngyzRnhfM3UxcUFF5ru77DK54Lpnmckjysk9PTCqt8KtcH/YnRgdJfcUd 4CWmUSc2gGZ2rS12z2q7kq/ZcQF6ETlPIu7NwItzzTV3+1gVJE3gaTJQl5+GmQRDu+/I RLlm3pFlhx4539Ng/hSx6OpniWoxIVWY2TareTBK8MtVRyqge+SkI4ZzipxFcOIy+G0G oK0A== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Vv8e+Q64O0YOnZPfFWuAU+JcY2c3un2uq0nf6BdI8TQ=; b=vo/UyPQx5OvETZsYOshW93sdRNs4Gr+pzZTEFaeWjtIX5MO+4/b5E1QyJgOlsy9lt1 qdDsnEM7paVvMSPoxcHyeaY1ebjB/r6FkJHqKH9kYPmmpRHLWsl+DnUu1tr5s7qCUIuH BNoRViR11afstALYmuuAYsRbRjCWfgeWvVSgFm210mXFpJw07fJ/6NF6nbC/ZSalEMU+ F7UptsKdgUnt535O0YcH/AIGZY+tYuElZ0vgE+jp0PqyaIjjSqXQz1ZfEjsdnzHQ+4Uh YYHbe3CNEFnCS0TU3pd+VVW17PCNVE+xzwRrAhPM4pa1sMQHwD4RU7sHAfshpRzR05t1 8Pwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WUHmJpGd; 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 b23si1035077edr.215.2021.02.24.03.56.06; Wed, 24 Feb 2021 03:56:30 -0800 (PST) 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=WUHmJpGd; 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 S235078AbhBXLx6 (ORCPT + 99 others); Wed, 24 Feb 2021 06:53:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235187AbhBXLxW (ORCPT ); Wed, 24 Feb 2021 06:53:22 -0500 Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02B3DC06178C; Wed, 24 Feb 2021 03:52:12 -0800 (PST) Received: by mail-io1-xd31.google.com with SMTP id u20so1669209iot.9; Wed, 24 Feb 2021 03:52:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Vv8e+Q64O0YOnZPfFWuAU+JcY2c3un2uq0nf6BdI8TQ=; b=WUHmJpGd4JhuzwHrZklF4hnBIt30FW+aVavOfZzmRidKN66gbK85O+iCO9OGeZCn5J YHV0isOxRHoayg74DqGLs/GWDcKgbK6t2J6G5Nt29E91ILFf0HqMSmEUYhmpWAxB+puA zbv2uShMy5NN/a4zorI2zEjDf+FThgiEOAw40qrmnFo47KWHNdzeWHHUMCXkH0VOjjQ2 NHAlPGKLkXcEoS1S+voO5lt2aVqaqQGh1rjgYZv4AgichI4jlJZhZKpa8b4RJpBtF8Kx JirQu+CWF+s1lTvXW6+W3tUv5ZZQcGjFP0efAkDVZwCBlT7zkD8M1LdDQa1Li7UuZVQ7 sekg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=Vv8e+Q64O0YOnZPfFWuAU+JcY2c3un2uq0nf6BdI8TQ=; b=d3ZRd+b16KbI3/FCm6kQiKDZVefs+Pgla/dlTLT/cII73ufqQAdfn/JSKO7OE2yyU7 e0/yxpmtZCu+sgXCN0BgO2ldXEfjnQsoyTG7aHM/AvGaCAz6NIM3eIEk44rA9y+ko+HA qVvuM9lOKB3hrDZLOHp5u6w2RY+p78ceUwKx8sOXgqGPt7aRoUMg2A61QcAs0hyrIlZE Wu9hh0XEMHX5GEOG+5wJvQEPjRgmyXuVw0jVwjeBIFpeexe9j0qJ0Od3giWEkgjFS0aQ MCBa2BOdF248YPwbh42k6/dGCAGPadMShaB/zNihwIeRrPDIiXG8CjJsXl1Vj96ujb9m +2/w== X-Gm-Message-State: AOAM532aat3Yzk7966ZD8wmpNCwMaCELXuKh1/IJoyJ17Td2woXZx3eQ sN571YccM5f4/ptLcGvWtCn2jVxKLUa+Fw== X-Received: by 2002:a6b:b415:: with SMTP id d21mr1377811iof.149.1614167531229; Wed, 24 Feb 2021 03:52:11 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:de9c:d296:189b:385a]) by smtp.gmail.com with ESMTPSA id l16sm1500001ils.11.2021.02.24.03.52.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Feb 2021 03:52:10 -0800 (PST) From: Adam Ford To: netdev@vger.kernel.org Cc: aford@beaconembedded.com, Adam Ford , Sergei Shtylyov , "David S. Miller" , Jakub Kicinski , Rob Herring , Geert Uytterhoeven , Magnus Damm , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V3 5/5] arm64: dts: renesas: beacon kits: Setup AVB refclk Date: Wed, 24 Feb 2021 05:51:45 -0600 Message-Id: <20210224115146.9131-5-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210224115146.9131-1-aford173@gmail.com> References: <20210224115146.9131-1-aford173@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The AVB refererence clock assumes an external clock that runs automatically. Because the Versaclock is wired to provide the AVB refclock, the device tree needs to reference it in order for the driver to start the clock. Signed-off-by: Adam Ford --- V3: New to series diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi index 8d3a4d6ee885..75355c354c38 100644 --- a/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi @@ -53,6 +53,8 @@ &avb { phy-handle = <&phy0>; rx-internal-delay-ps = <1800>; tx-internal-delay-ps = <2000>; + clocks = <&cpg CPG_MOD 812>, <&versaclock5 4>; + clock-names = "fck", "refclk"; status = "okay"; phy0: ethernet-phy@0 { -- 2.25.1