From patchwork Thu Jun 15 21:33:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 9790315 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6BEB5602CB for ; Thu, 15 Jun 2017 21:34:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5DDAD27F9F for ; Thu, 15 Jun 2017 21:34:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5122C2841E; Thu, 15 Jun 2017 21:34:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id EF6CC2841E for ; Thu, 15 Jun 2017 21:34:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=IOsC65bAQjLKvjePFbloUPlCMUwa3vvCWc2WqgQSN8Y=; b=i/2dk8rebR/bDYaHPCRMT2MI3A /8AmbkoPZTbbP2HORU36sThhNDty5xgroN5pso/qvHUJ+aDEw5OsSwcixWDEauvWnxM0gGLN2QGDM zsir24FppRPIQB+pDGC7KJhYqhElp0+Niw/wK3Dez+W4RO9zBXaKE1U7UNkeIPr6lmNDETveNC/VV CruS0AD1031y8Wk1s83blKIX/vqWsg5eKw6U9U+q9DQaMSiLyf4dTIaUkMYHLdUYtjZqG/YMbTWAm yJCvfxQgpghzFaEuZ/fVxQOjoApwasX6z8ZX9/louRgR8vzO0AzP24mi3TxhtJYEKFo1QBCq4bPtP yIOUo4+Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dLcPh-0007Hf-5g; Thu, 15 Jun 2017 21:34:49 +0000 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dLcPX-0006vs-6y for linux-amlogic@lists.infradead.org; Thu, 15 Jun 2017 21:34:41 +0000 Received: by mail-wr0-x242.google.com with SMTP id 77so4805138wrb.3 for ; Thu, 15 Jun 2017 14:34:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=/0H+4BBH/Qz5SDCY/Gvwj9l4OAy3eT+SF1F0YBG4KbI=; b=auHdVCsmwsdPc5vlxtRPZj9uN8i6ytpai9pM0AJkPFtwt4ljWLLWS8AYS77HzAlVZE yeKSPUZOrfvIVJPXBmi22diAQa+E93n8s3MFPKvGAt0lKPbsaxAl+xsGckw/n1/yiluf qesBuLnGeG4UV0WKjEvEwM7XP6zXtRV/w/2uwOrtzrKZxCDU6YJ2WGwZ/0sI2iwvBBCr SbMijhtSKX1Ql6nUq08uNLl5Ze1T/wC1v0PFrH1OkIzdkkQhqKWPYQGXZtrGpdoCghUZ BQHtY75reCK9bzT7BecVJ/c16ZOS+acRmM1+m+isg1XLem2aw6dtrgK3y2B+CTnvRiuj qLTw== 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; bh=/0H+4BBH/Qz5SDCY/Gvwj9l4OAy3eT+SF1F0YBG4KbI=; b=orbGJelfwA/20ibT+ARTippQGzQa9J/mLxf51GLOUIgS3lPAw+mMxGe//qJMNHMyuJ 1dF8Apae2BjbUpp9WP59t9aCpkNe60awYpPFjINUDhweaOUSo+NNofXTGpavmbup01Ty 9mjRbXa7XnHUsLHXQ6wI10ANHs8GkMEW1UOCqgzHkRV+pXZvIvW3ZFYsg1UbTzu2ko/K trVoCs0ayOdA8ctOhbhorffSSfmTY825vrGu6bhk16mFsDegLWUIPv/YOPoLKAXClhmW /v2v2yebIBrxTXzBcLpwPwmBqbYIkvADGufuMOIy14f8PFrkJPHVMHO4wBIA9NGiJYZC 6Ivg== X-Gm-Message-State: AKS2vOwRoXjd3Y3ZovKFSu8FLR0uF49E0k75BF4YQINgsKhe+nuP1rrl fwvwIYlHKBX5ks8owOU= X-Received: by 10.223.134.186 with SMTP id 55mr4661009wrx.159.1497562456535; Thu, 15 Jun 2017 14:34:16 -0700 (PDT) Received: from blackbox.darklights.net (p200300DCD3D2E00439AFAA47B57A3DE2.dip0.t-ipconnect.de. [2003:dc:d3d2:e004:39af:aa47:b57a:3de2]) by smtp.googlemail.com with ESMTPSA id a28sm423575wra.17.2017.06.15.14.34.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Jun 2017 14:34:15 -0700 (PDT) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, narmstrong@baylibre.com, khilman@baylibre.com, carlo@caione.org Subject: [PATCH v2 10/10] ARM: dts: meson: use the real ethernet clock on Meson8 and Meson8b Date: Thu, 15 Jun 2017 23:33:52 +0200 Message-Id: <20170615213352.25134-11-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170615213352.25134-1-martin.blumenstingl@googlemail.com> References: <20170611101644.28581-1-martin.blumenstingl@googlemail.com> <20170615213352.25134-1-martin.blumenstingl@googlemail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170615_143439_600309_CF7D5E1D X-CRM114-Status: UNSURE ( 9.95 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Martin Blumenstingl , devicetree@vger.kernel.org, mturquette@baylibre.com, linux@armlinux.org.uk, jbrunet@baylibre.com MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Until now clk81 was used as gate clock for the ethernet controller on Meson8 whereas Meson8b did not configure a gate clock at all. Use CLKID_ETH for both SoCs, which is the real gate clock for the ethernet controller. Signed-off-by: Martin Blumenstingl Reviewed-by: Neil Armstrong --- arch/arm/boot/dts/meson8.dtsi | 2 +- arch/arm/boot/dts/meson8b.dtsi | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/meson8.dtsi b/arch/arm/boot/dts/meson8.dtsi index dfe83364eceb..cada35828931 100644 --- a/arch/arm/boot/dts/meson8.dtsi +++ b/arch/arm/boot/dts/meson8.dtsi @@ -242,7 +242,7 @@ }; ðmac { - clocks = <&clkc CLKID_CLK81>; + clocks = <&clkc CLKID_ETH>; clock-names = "stmmaceth"; }; diff --git a/arch/arm/boot/dts/meson8b.dtsi b/arch/arm/boot/dts/meson8b.dtsi index 173b12a999e6..72e4f425f190 100644 --- a/arch/arm/boot/dts/meson8b.dtsi +++ b/arch/arm/boot/dts/meson8b.dtsi @@ -176,6 +176,11 @@ }; }; +ðmac { + clocks = <&clkc CLKID_ETH>; + clock-names = "stmmaceth"; +}; + &hwrng { compatible = "amlogic,meson8b-rng", "amlogic,meson-rng"; clocks = <&clkc CLKID_RNG0>;