From patchwork Tue Aug 30 12:12:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 74978 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp2116416qga; Tue, 30 Aug 2016 05:15:03 -0700 (PDT) X-Received: by 10.98.35.7 with SMTP id j7mr5662418pfj.39.1472559303702; Tue, 30 Aug 2016 05:15:03 -0700 (PDT) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id xt5si27687191pab.68.2016.08.30.05.15.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Aug 2016 05:15:03 -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 1behvU-0004XO-VE; Tue, 30 Aug 2016 12:14:00 +0000 Received: from mail-lf0-x22a.google.com ([2a00:1450:4010:c07::22a]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1behuh-0003zM-8m for linux-arm-kernel@lists.infradead.org; Tue, 30 Aug 2016 12:13:12 +0000 Received: by mail-lf0-x22a.google.com with SMTP id f93so12119963lfi.2 for ; Tue, 30 Aug 2016 05:12:50 -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=UTvdi1plxD1zm85DiRooCkgsMCOJsTkNyAdxw9paaoU=; b=N2nxAcMp9IrcTqvbsJKfitIQhfDWshCTsRV0c8IhiltsZ2JCyc6LndL/I9afCAe6C+ stkcfy7tkdM1cZKioZZcMro/Dsp6xBbGzWeW+WKvBwhMl0aTNh4mQuExJnVLP9LTh0am ar3+zpcdMl9xkM0E2R+5ldUxw1uIwrY20Y0Jg= 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=UTvdi1plxD1zm85DiRooCkgsMCOJsTkNyAdxw9paaoU=; b=JSoG0BN10z9XgrbuyvNmYDXhHjQcv4yeDHUndhlNI2MWv68FtjZyxvPiCXljGaC7Ge dFAjSHxgMRoP+cOtQoTTDE3umrbBTtgBKkbzcT4jexfbRqTiaWMjNCGQY+wmnIKiQwXC 3b+g+dUBoO3Y+sZtbeJoscfIaHNNnIB93hDZD1cPHuwdxpzR4cRl0HGjR2koc+JoHoXx EaSM1WD+QWps2+beL+eSFubZC0kVNQVzOlWC7iFpxAwdpMMLI1pGaTmrr+y/+jZS7AJ8 ppddhsSpDc806jRLHSfcXjcqKGG5Tasj4A43mpH3XUKcQR61n98s4gNIp4mluhV64eB6 KhzQ== X-Gm-Message-State: AE9vXwN2GN+qRFG4ykFcFNguTuv0keXUDOH6umLpsZEo0ieAWC2N6YiPYktYIR0/ZLAHvk9y X-Received: by 10.25.205.200 with SMTP id d191mr1050582lfg.212.1472559169070; Tue, 30 Aug 2016 05:12:49 -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.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Aug 2016 05:12:48 -0700 (PDT) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 4/4] ARM: dts: add the core module clocks to Integrator/CP Date: Tue, 30 Aug 2016 14:12:36 +0200 Message-Id: <1472559156-32148-4-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_051311_556899_964F892F X-CRM114-Status: GOOD ( 13.04 ) 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:22a 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 This adds the core and memory clocks to the Integrator/CP device tree. Signed-off-by: Linus Walleij --- arch/arm/boot/dts/integratorcp.dts | 37 +++++++++++++++++++++++++++---------- 1 file changed, 27 insertions(+), 10 deletions(-) -- 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/integratorcp.dts b/arch/arm/boot/dts/integratorcp.dts index 79430fbfec3b..cf27958fed4c 100644 --- a/arch/arm/boot/dts/integratorcp.dts +++ b/arch/arm/boot/dts/integratorcp.dts @@ -58,20 +58,37 @@ core-module@10000000 { /* 24 MHz chrystal on the core module */ - xtal24mhz: xtal24mhz@24M { + cm24mhz: cm24mhz@24M { #clock-cells = <0>; compatible = "fixed-clock"; clock-frequency = <24000000>; }; - /* - * External oscillator on the core module, usually used - * to drive video circuitry. Driven from the 24MHz clock. - */ - auxosc: cm_aux_osc@25M { + /* Oscillator on the core module, clocks the CPU core */ + cmcore: cmosc@24M { + compatible = "arm,syscon-icst525-integratorcp-cm-core"; + #clock-cells = <0>; + lock-offset = <0x14>; + vco-offset = <0x08>; + clocks = <&cm24mhz>; + }; + + /* Oscillator on the core module, clocks the memory bus */ + cmmem: cmosc@24M { + compatible = "arm,syscon-icst525-integratorcp-cm-mem"; + #clock-cells = <0>; + lock-offset = <0x14>; + vco-offset = <0x08>; + clocks = <&cm24mhz>; + }; + + /* Auxilary oscillator on the core module, clocks the CLCD */ + auxosc: auxosc@24M { + compatible = "arm,syscon-icst525"; #clock-cells = <0>; - compatible = "arm,integrator-cm-auxosc"; - clocks = <&xtal24mhz>; + lock-offset = <0x14>; + vco-offset = <0x1c>; + clocks = <&cm24mhz>; }; /* The KMI clock is the 24 MHz oscillator divided to 8MHz */ @@ -80,7 +97,7 @@ compatible = "fixed-factor-clock"; clock-div = <3>; clock-mult = <1>; - clocks = <&xtal24mhz>; + clocks = <&cm24mhz>; }; /* The timer clock is the 24 MHz oscillator divided to 1MHz */ @@ -89,7 +106,7 @@ compatible = "fixed-factor-clock"; clock-div = <24>; clock-mult = <1>; - clocks = <&xtal24mhz>; + clocks = <&cm24mhz>; }; };