Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3FA03C4338F for ; Tue, 24 Aug 2021 16:43:53 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 84A4761183 for ; Tue, 24 Aug 2021 16:43:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 84A4761183 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C361E82EE0; Tue, 24 Aug 2021 18:43:46 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="qED1NgA+"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 92BF482EA5; Tue, 24 Aug 2021 18:43:36 +0200 (CEST) Received: from mail-io1-xd34.google.com (mail-io1-xd34.google.com [IPv6:2607:f8b0:4864:20::d34]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 44A6982DB0 for ; Tue, 24 Aug 2021 18:43:29 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=aford173@gmail.com Received: by mail-io1-xd34.google.com with SMTP id f6so19616085iox.0 for ; Tue, 24 Aug 2021 09:43:29 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=GZ9CgVAq6/EAjCU4YVViquDBfDFaU7YzctH3Qv3F4+I=; b=qED1NgA+3Nc2+J0LWBB8g/aRfR4BU3UOviZ9LPICg6AYkd3WEZXJL4CEJ3FJSMfvoc hNEH2reThclrlZkmHb89qAjKheJBxY80FGU58EOQ/YmVXKOWULdohjT58sxP8QMWxj2F nbggmmfjCR2uiy49gLTEUgxLVhJvf3Ukqz1bh+7cL0tObs2GBp29iHt7Pgdv5Sr8/4RT cilXHu6R04Iru9PQrc4XRszMJr5CrSc6SOpEUUoceqS9NwJBlX63ZpQzlZ0bVK+okL60 ATqllXoRL8p8PpxOJmiGEEDd/TV5ilCf2m/Pyx4byXz0OWTMXrnvR7WZJDuNomUHQ1X0 zkEA== 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=GZ9CgVAq6/EAjCU4YVViquDBfDFaU7YzctH3Qv3F4+I=; b=ohPwnxbrIDzlJLX5cjwnS3PPL/9H35aXUBTBavdon1QvBGUjKmxpCrbA9yhdvMghTR AMzKnr69JHwsTwLcq5ab++HuOMZonk8tcpLlxGzoAeq5CbnTlMGUxm3fKoF4ZE1xO7Zi gcvDgW9b7iyBe6gqZhCH/cutBYhAmrFaL5URU7R0/hh/cVGa5myh4/KCfZeuPuWe8OxY Bel5HIbY0OeDI312b01rEzJ2cDmApPsDpRnys1clwx57EhJ0Tlr20oqE8DvP0hYlFoVH uw2bJyst/mN347xxizBNmuE07bPFWQYXI5BJ+2Wt0WsHq8+1O+Vd9Sr0swg7iQU6x9IE FZgg== X-Gm-Message-State: AOAM5328PCn5Lx63uTUiiPHRMsqp4pvb4yT4H3qKSflMN7/s+HW2yIo0 18TW/fZmJKWB940D10JAoOhrpE32rVQ4HA== X-Google-Smtp-Source: ABdhPJxSuo7hnEIcqWN5ZqId35ewLZXX/9gyxevkHQehJIeSg32I7FWDpl2hedMrSYLU/7yr4Y9g0w== X-Received: by 2002:a02:a317:: with SMTP id q23mr31668924jai.83.1629823407226; Tue, 24 Aug 2021 09:43:27 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan (c-73-37-219-234.hsd1.mn.comcast.net. [73.37.219.234]) by smtp.gmail.com with ESMTPSA id d17sm6092231ilf.49.2021.08.24.09.43.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Aug 2021 09:43:26 -0700 (PDT) From: Adam Ford To: u-boot@lists.denx.de Cc: biju.das.jz@bp.renesas.com, marex@denx.de, Adam Ford Subject: [PATCH 2/2] ARM: rmobile: beacon-renesom: Enable Ethernet Date: Tue, 24 Aug 2021 11:43:14 -0500 Message-Id: <20210824164314.70779-2-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210824164314.70779-1-aford173@gmail.com> References: <20210824164314.70779-1-aford173@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Now that the versaclock driver is available, point the ethernet node at these clocks and configure the RGMII to enable Ethernet. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/beacon-renesom-som.dtsi b/arch/arm/dts/beacon-renesom-som.dtsi index d30bab3c8b..9fe541b607 100644 --- a/arch/arm/dts/beacon-renesom-som.dtsi +++ b/arch/arm/dts/beacon-renesom-som.dtsi @@ -60,8 +60,11 @@ pinctrl-0 = <&avb_pins>; pinctrl-names = "default"; phy-handle = <&phy0>; + phy-mode = "rgmii-txid"; 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