From patchwork Thu Mar 13 19:38:59 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ezequiel Garcia X-Patchwork-Id: 3828171 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C157A9F2BB for ; Thu, 13 Mar 2014 19:41:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0355620270 for ; Thu, 13 Mar 2014 19:41:44 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 61CEB201F4 for ; Thu, 13 Mar 2014 19:41:42 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WOBUY-0000WO-Ac; Thu, 13 Mar 2014 19:40:34 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WOBUO-0004u5-Vt; Thu, 13 Mar 2014 19:40:24 +0000 Received: from mail-yh0-f47.google.com ([209.85.213.47]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WOBTs-0004nf-VO for linux-arm-kernel@lists.infradead.org; Thu, 13 Mar 2014 19:39:58 +0000 Received: by mail-yh0-f47.google.com with SMTP id 29so1542955yhl.20 for ; Thu, 13 Mar 2014 12:39:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=P50Ej33FaJEbv2t8R+UKL5TdPbFmqaHI0bDJ0xGSP6o=; b=Xq+hO2Yx3bgwKkO1ZAyBFP1bU3HcolXnCwzT1/u+z5U+V3JLsFHVcRgluf5EoZ+edH NNk/ZJ1Kkwher8qUqRUgCs/umlY+8L1lhzHx/NsVhNRUbKP8Kmk7+53vehXMPf2KmIPA 6AvH8KWHkrEmI4wiNwRHkpx5BdLXgEFF5b7ds4Hti4srqWHdJ12M4QhTVwVtmalynbu/ NnjdAY5n5Y8YzrdJVxhX6SbfiMZyKgCe7lBg+U+AHMq0kuT5cYomfTJyf4wKJsMYqh4K zytf/wWxAq3C5eRsb0p7hR5Ibu4jOTNkHLVeDFUoT2qNVyMB2IVZzfdQP6LduA7wDsNK G0QQ== X-Gm-Message-State: ALoCoQlfJkix2EstvYrC31PNx5qXx1+fQI9nMSQGbKARf+hgw4/4SwoMHMNyEdRnxIx8LitV5vPw X-Received: by 10.236.101.227 with SMTP id b63mr4815435yhg.37.1394739571794; Thu, 13 Mar 2014 12:39:31 -0700 (PDT) Received: from localhost.localdomain ([190.2.108.104]) by mx.google.com with ESMTPSA id t58sm8806635yho.20.2014.03.13.12.39.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 13 Mar 2014 12:39:31 -0700 (PDT) From: Ezequiel Garcia To: Mike Turquette , Jason Cooper , , , Subject: [PATCH v2 3/6] ARM: mvebu: Add the Core Divider clock to Armada 38x SoCs Date: Thu, 13 Mar 2014 16:38:59 -0300 Message-Id: <1394739542-30017-4-git-send-email-ezequiel@vanguardiasur.com.ar> X-Mailer: git-send-email 1.9.0 In-Reply-To: <1394739542-30017-1-git-send-email-ezequiel@vanguardiasur.com.ar> References: <1394739542-30017-1-git-send-email-ezequiel@vanguardiasur.com.ar> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140313_153953_207351_D747E6D7 X-CRM114-Status: UNSURE ( 7.76 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) Cc: Lior Amsalem , Thomas Petazzoni , sergei.shtylyov@cogentembedded.com, Tawfik Bayouk , Andrew Lunn , Seif Mazareeb , Ezequiel Garcia , Gregory Clement , Sebastian Hesselbarth X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Ezequiel Garcia The Armada 38x SoC family has a clock provider called "Core Divider", derived from the fixed 2 GHz main PLL clock. This is similar to the one on A370, A375 and AXP. Signed-off-by: Ezequiel Garcia --- arch/arm/boot/dts/armada-38x.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi index 38fc3a0..76cc27e 100644 --- a/arch/arm/boot/dts/armada-38x.dtsi +++ b/arch/arm/boot/dts/armada-38x.dtsi @@ -337,6 +337,14 @@ compatible = "marvell,orion-mdio"; reg = <0x72004 0x4>; }; + + coredivclk: corediv-clock@e4250 { + compatible = "marvell,armada-380-corediv-clock"; + reg = <0xe4250 0xc>; + #clock-cells = <1>; + clocks = <&mainpll>; + clock-output-names = "nand"; + }; }; };