From patchwork Tue Dec 29 21:17:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 11992633 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 625A2C433E0 for ; Tue, 29 Dec 2020 21:20:32 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E14E920727 for ; Tue, 29 Dec 2020 21:20:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E14E920727 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version: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=0AdJUuNOR6ExguhilMWfSCe3JqMa8KZaNYVeaP7Nkeo=; b=j60KHCkZGKco/mEPvVMfKpYLA vYf5TklVv6o8O7gl5fvk8o4tcU8aWQd0h2kCxuD+amYkEGnqeFhWBxZjLihxl2dnDSN8KBNc0TsTk +hA/OU7aJwr1xt4RhngQlWkyNqZC5+PwSAR/CfdhZjDR4P0SchPqSKQLVW3sIgOUq/xV6o2bpfARF +JxrBKQZdB4qqz/6llodgw1pX4s77ADy8VlccFTitC3+8RkdLvfqpz4MSi+i/wZQ4MYP9y0gCb9C1 6uhNAsTz47EzMz58iJnRaAMPDgqkuoOfS6ffXXYAGQJhMLY0LnWs/fPxFGuqpkXLDEldROFnNNRcz i/Lm8UkQg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kuMOA-0000S3-2J; Tue, 29 Dec 2020 21:18:42 +0000 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kuMND-00008r-1D; Tue, 29 Dec 2020 21:17:44 +0000 Received: by mail-ej1-x634.google.com with SMTP id x16so19711685ejj.7; Tue, 29 Dec 2020 13:17:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JvOX0k5iXfRH66LCPp+9U12OfrKgIlzEio0gN5o9ipk=; b=uWMjNMhc9iXa8seo0HQEO6oY0fnlitHL1kYaLEDZ0rj8ryxOKuZxl9j8mspeToxzZX +T76+F7xxowx5s+LL6ySS00GiTUcI91ugTPU/VjCnmV642Va7waak2ubJUr9qkToGfxL ZvAxaDLg1dHITlhhT66k3on7TYqtk1NKsjJtF1o4X5sJJfZV/zX6KkZS9UVjF8aaeWoB 5f7qi/9fBEej8zO8e1timWDRDa/tPVJU1hLt5MPi2w09HvToofz59cPTQ9z8kzkDlVtG OCjBGUJHDDB6L/T3fMgXLFRKZaNUSluDpWriFMwGNkrnwQiTLqfq07dCen6yGZvh71jM Gd/w== 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:mime-version:content-transfer-encoding; bh=JvOX0k5iXfRH66LCPp+9U12OfrKgIlzEio0gN5o9ipk=; b=rC0d1Hc6wrgEO9u4YQ+tjuwKyCXNE0jQANDJlDhrFUfV7jYe9EayCykHTIIURSil5q Y1c5R+WqyZrY9ltDw/Bskv5yhBSPicSX+cax+Axz5vpgFXs1Zox2k6VOvXOT2Ck6u5MO JU0wNLmrpmNCUYwhkhkK3LgfmiCu5QFX/buUvs3oX0qdaAbe7rR1kFXU7qtN8ptAG4Oh ggI+rjYtdJMFgQ4tt5Ioo5FNAKyw4b+fiLizrKtoL5SDWe8Pyuz7XbrW6A87pPSIseKa 8aIoG5wWrEhf/cqKpfmgf+4X0KcjY6RvveIHNhLKQ/UmkjuWiO0XR2uET0GKXnI8EJ1W moIA== X-Gm-Message-State: AOAM533jR+FoOoDOsoSRbWS27o6N2M0MKljUm8OywdANi/JOLolKgAtl +MbZKu+Oa7eP3oDselgW84/4/7HUFqHknA== X-Google-Smtp-Source: ABdhPJxS5kLnnBAkaN4WYUktOluy9QJkUZqw7nsScTCyiYCHk3TCP1j+0sjUk8OYXYi5+3yHSQIsvA== X-Received: by 2002:a17:906:7e0b:: with SMTP id e11mr46130932ejr.533.1609276662158; Tue, 29 Dec 2020 13:17:42 -0800 (PST) Received: from localhost.localdomain ([188.24.159.61]) by smtp.gmail.com with ESMTPSA id u9sm37354553edd.54.2020.12.29.13.17.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Dec 2020 13:17:41 -0800 (PST) From: Cristian Ciocaltea To: Rob Herring , =?utf-8?q?Andreas_F=C3=A4rber?= , Manivannan Sadhasivam Subject: [PATCH v3 07/13] arm: dts: owl-s500: Add pinctrl & GPIO support Date: Tue, 29 Dec 2020 23:17:22 +0200 Message-Id: X-Mailer: git-send-email 2.30.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201229_161743_163947_89D76A9D X-CRM114-Status: GOOD ( 13.63 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-actions@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add pinctrl node for Actions Semi S500 SoC. Signed-off-by: Cristian Ciocaltea Reviewed-by: Manivannan Sadhasivam Tested-by: Matheus Castello --- Changes in v3: - Added Reviewed-by from Mani arch/arm/boot/dts/owl-s500.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/owl-s500.dtsi b/arch/arm/boot/dts/owl-s500.dtsi index 449e9807c4ec..b16172615db0 100644 --- a/arch/arm/boot/dts/owl-s500.dtsi +++ b/arch/arm/boot/dts/owl-s500.dtsi @@ -6,6 +6,7 @@ */ #include +#include #include #include #include @@ -208,6 +209,25 @@ sps: power-controller@b01b0100 { #power-domain-cells = <1>; }; + pinctrl: pinctrl@b01b0000 { + compatible = "actions,s500-pinctrl"; + reg = <0xb01b0000 0x40>, /* GPIO */ + <0xb01b0040 0x10>, /* Multiplexing Control */ + <0xb01b0060 0x18>, /* PAD Control */ + <0xb01b0080 0xc>; /* PAD Drive Capacity */ + clocks = <&cmu CLK_GPIO>; + gpio-controller; + gpio-ranges = <&pinctrl 0 0 132>; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + interrupts = , /* GPIOA */ + , /* GPIOB */ + , /* GPIOC */ + , /* GPIOD */ + ; /* GPIOE */ + }; + dma: dma-controller@b0260000 { compatible = "actions,s500-dma"; reg = <0xb0260000 0xd00>;