From patchwork Mon May 11 15:02:13 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Skvortsov X-Patchwork-Id: 6378601 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 9AB27BEEE1 for ; Mon, 11 May 2015 15:17:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C573620732 for ; Mon, 11 May 2015 15:17:15 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (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 0E09F2072F for ; Mon, 11 May 2015 15:17:15 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YrpPF-0002La-HS; Mon, 11 May 2015 15:14:09 +0000 Received: from mail-lb0-x22b.google.com ([2a00:1450:4010:c04::22b]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YrpEJ-0008RH-CD for linux-arm-kernel@lists.infradead.org; Mon, 11 May 2015 15:02:52 +0000 Received: by lbbuc2 with SMTP id uc2so95828884lbb.2 for ; Mon, 11 May 2015 08:02:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Ks46J3/+Xh3y+jj3kAAY7+zQtY2sWmsotje9aV15Qm0=; b=RRgrCODryNNfDyFAYcNz4xFlbgpfJTRkqJr+M6JRh32Zgm++pNohCjOz7tovoJJvcr lzuhr50OaS+VGiAkcweX1C8ofb8kl2fDcgLY7pcL/LSK0fOV7x64Z21gnL0kYKqBgnnZ qfsfFWvc4Rfzp2ZiwIFsd4O1G6Zg70Xt5+RdC+CJLiUeJlUtRgM6089xYPAKpmrk/gxI feQq60nL0+oApw3RsL9UEw7D7Ii9vBcS6OhQQYNRvtKrTvwRnwrtRKocC0qZ31Sfw8vb s/8SMmexwSb7ZYVNmhYHDUcgq5mlinp2iGnrM+dAPTpmP7kZB5aAskxYSkiEz0hnmgqu VAmg== X-Received: by 10.112.56.42 with SMTP id x10mr8457180lbp.123.1431356547455; Mon, 11 May 2015 08:02:27 -0700 (PDT) Received: from localhost.localdomain (ppp92-100-77-12.pppoe.avangarddsl.ru. [92.100.77.12]) by mx.google.com with ESMTPSA id mx10sm3102361lbb.20.2015.05.11.08.02.25 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 11 May 2015 08:02:26 -0700 (PDT) From: Andrey Skvortsov To: Nishanth Menon , =?UTF-8?q?Beno=C3=AEt=20Cousson?= , Tony Lindgren , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , linux-omap@vger.kernel.org, devicetree@vger.kernel.org, Russell King , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] ARM: dts: add core2 padconf region for am3517 Date: Mon, 11 May 2015 18:02:13 +0300 Message-Id: <1431356533-7737-1-git-send-email-andrej.skvortzov@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <554FF488.5090805@ti.com> References: <554FF488.5090805@ti.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150511_080251_649877_417172B9 X-CRM114-Status: GOOD ( 10.46 ) X-Spam-Score: -0.8 (/) Cc: Andrey Skvortsov X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, 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 According to the technical reference manual for AM35xx system controller module (SCM) PADCONFS core registers are divided in two regions: 0x48002030..0x48002268 and 0x480025D8..0x480025FC. First region is the same for all omap3 SoC and is described in omap3.dtsi. The second region is the same as in omap34xx and omap35xx. The patch adds missing description for the second region. This patch was tested on AM3517. Signed-off-by: Andrey Skvortsov --- v2: move omap3_pmx_core2 under l4_core -> scm arch/arm/boot/dts/am3517.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/am3517.dtsi b/arch/arm/boot/dts/am3517.dtsi index f164dce..99b322e 100644 --- a/arch/arm/boot/dts/am3517.dtsi +++ b/arch/arm/boot/dts/am3517.dtsi @@ -63,6 +63,20 @@ }; }; +&scm { + omap3_pmx_core2: pinmux@05D8 { + compatible = "ti,omap3-padconf", + "pinctrl-single"; + reg = <0x05D8 0x24>; + #address-cells = <1>; + #size-cells = <0>; + #interrupt-cells = <1>; + interrupt-controller; + pinctrl-single,register-width = <16>; + pinctrl-single,function-mask = <0xff1f>; + }; +}; + &iva { status = "disabled"; };