From patchwork Tue Aug 30 12:12:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 74975 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp2116167qga; Tue, 30 Aug 2016 05:14:33 -0700 (PDT) X-Received: by 10.66.49.67 with SMTP id s3mr5772822pan.100.1472559273905; Tue, 30 Aug 2016 05:14:33 -0700 (PDT) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id t81si45056468pfa.44.2016.08.30.05.14.33 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Aug 2016 05:14:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1behuh-00040C-AE; Tue, 30 Aug 2016 12:13:11 +0000 Received: from mail-lf0-x22b.google.com ([2a00:1450:4010:c07::22b]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1behuc-0003yw-Tj for linux-arm-kernel@lists.infradead.org; Tue, 30 Aug 2016 12:13:07 +0000 Received: by mail-lf0-x22b.google.com with SMTP id g62so12071868lfe.3 for ; Tue, 30 Aug 2016 05:12:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=QRN6bmmAtWEtdCotmsOHyOX9ezX85rBgNzSdqkfBisQ=; b=W0rhqoRduYekxKnkI3V6YuaWzRU2ujMZOHdmpzwZQBhiZRHo12D4gR0OhsbybtzHcP BnTbpB9ppjIV0OFXtUxzGiQwpJ4Ru+3Cljn+6U6jKWMgDsEpkeUxpQCnCDM+CPQIjU70 5B3kBNptZPTxnfW1dY/LkicudzbHUUtnasMQM= 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=QRN6bmmAtWEtdCotmsOHyOX9ezX85rBgNzSdqkfBisQ=; b=eKx+vtMvQl4a7cPhOA9GdKNyE7172X/REQ/zD5y0ytW1hvYfALzTmBiA/yHYLWfPq3 s+2LW1caGj3I6HBhjSI1Vf+/G2jQzlaN+GjfnamUc4OkDULE2/vXy7MfLtfrc34KfnW3 aw9lW2bgMiRiZuRF723h1RSBBT5lK/pIsy94WhIUauQ4tVlFbCNDX8AA4IUp3Rhsr3xk do6047O1v+pw5vIpOsnhLKhZ6bCyIhfMeCqJUkcc3Nsg+ErDQ/1R68xJKtEQRJmNTXOB TAZ9Dg8qeu4sicfro8YnaSas/TMouUPoIqNhraEfCwYomEI0f7EJyEgjsjcvAdDGjZrQ 2R5A== X-Gm-Message-State: AE9vXwO8kTbEcIjxLhaA5uHLDFxenQtMRoBRDE02o9sLs+Yuf8FxCamudvsAg/PscNmkDx4o X-Received: by 10.25.163.132 with SMTP id m126mr1013994lfe.56.1472559164848; Tue, 30 Aug 2016 05:12:44 -0700 (PDT) Received: from linuslaptop.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id j198sm7504267lfg.18.2016.08.30.05.12.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Aug 2016 05:12:44 -0700 (PDT) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/4] ARM: dts: add the Integrator/AP baseboard clocks Date: Tue, 30 Aug 2016 14:12:34 +0200 Message-Id: <1472559156-32148-2-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1472559156-32148-1-git-send-email-linus.walleij@linaro.org> References: <1472559156-32148-1-git-send-email-linus.walleij@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160830_051307_148557_2B0E35D7 X-CRM114-Status: GOOD ( 11.68 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:4010:c07:0:0:0:22b listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Linus Walleij , Russell King , Arnd Bergmann MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org The two clocks present on the Integrator/AP baseboard and accessible through its system controller is the PCIv3 bridge clock and the PCI bus clock. Define the proper device tree nodes for these. Signed-off-by: Linus Walleij --- arch/arm/boot/dts/integratorap.dts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) -- 2.7.4 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel diff --git a/arch/arm/boot/dts/integratorap.dts b/arch/arm/boot/dts/integratorap.dts index c1e3abf5d072..726a3ac486e0 100644 --- a/arch/arm/boot/dts/integratorap.dts +++ b/arch/arm/boot/dts/integratorap.dts @@ -48,6 +48,27 @@ interrupt-parent = <&pic>; /* These are the logical module IRQs */ interrupts = <9>, <10>, <11>, <12>; + + /* + * SYSCLK clocks PCIv3 bridge, system controller and the + * logic modules. + */ + sysclk: apsys@24M { + compatible = "arm,syscon-icst525-integratorap-sys"; + #clock-cells = <0>; + lock-offset = <0x1c>; + vco-offset = <0x04>; + clocks = <&xtal24mhz>; + }; + + /* One-bit control for the PCI bus clock (33 or 25 MHz) */ + pciclk: pciclk@24M { + compatible = "arm,syscon-icst525-integratorap-pci"; + #clock-cells = <0>; + lock-offset = <0x1c>; + vco-offset = <0x04>; + clocks = <&xtal24mhz>; + }; }; timer0: timer@13000000 {