From patchwork Wed Apr 4 17:22:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 132826 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp5308246ljb; Wed, 4 Apr 2018 10:25:00 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/ZVNYvQDP1hFM9NyYJMeWZ1WLa9xIZXcayed0RNpzUd3xnoYghP+a7cl+7sfR0OGOUWhru X-Received: by 10.99.124.8 with SMTP id x8mr12741416pgc.37.1522862700122; Wed, 04 Apr 2018 10:25:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522862700; cv=none; d=google.com; s=arc-20160816; b=KkZK7Wdm86JZ/0UR5ciM7nphlMgtTfEQbWfOj51eg8aV6lVIH40NCDByak2GIVBZpw LHamGxL3AkiHWjGVefKZMnmeYSp9VCeZVtyMi+d5ywa5bA83Haf9zpyGpOWM9s+rdzKX 5OIcSRqDcxJStEp9t8/p/Mn9Qg43nBnDiIwNVr/iSPOdz8ybfGvoiMyjNntu8iFiCkRQ KOVZnuLVxEw72XHT8NGE7DZiCPXCj4WGbDD7q5qYpXsUIsjAS1wOXoUP2ZnWmmP9p2Lm ZGyAlhtfvLhnv3Ck+BSm82oPJS1J+Ninkuh0QuxdOq9pOFH0O8+CNzw7SUpqfKKKJHtK WmUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=pOcYDARbb3DO0YM/pjZEa316PVkoOKvVreIRpHGkpyI=; b=BhC9/2wwWTS8GUFBz2UNF6hSVLVaP3XfTGcVjDj4nNfpJUwUDQdC0aRnqqE8vb+pzt 1txluq0NxW8kG73a0/K8p4H7nlQ64EfnLqiywzrzgbZZfC7xsQXvbfY6UwLarueNZ1zU /pzmMBy20cTTFSwKxlV+y1T2vGuinLd4lMQ/UvhKhpe3yvksLxPniRq1n8HDd38YD1mG mmYmA94KnUNH11hIiuc6T/yYVtHRDSVjQNuQPsIJWVqmQKO2BFUWHJiQPiUaiXNiDcbk PIfeKRIufKmjw8Y442krtna0qcqABMW0F0c80/A0rAkyaBWhj75WdfgT9VqpOm4JcYT0 y56A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=B4VbFt3o; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p2si3924729pgv.370.2018.04.04.10.24.59; Wed, 04 Apr 2018 10:25:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=B4VbFt3o; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751563AbeDDRY5 (ORCPT + 29 others); Wed, 4 Apr 2018 13:24:57 -0400 Received: from mail-pl0-f67.google.com ([209.85.160.67]:45583 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751528AbeDDRYx (ORCPT ); Wed, 4 Apr 2018 13:24:53 -0400 Received: by mail-pl0-f67.google.com with SMTP id v18-v6so13005184ply.12 for ; Wed, 04 Apr 2018 10:24:52 -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=pOcYDARbb3DO0YM/pjZEa316PVkoOKvVreIRpHGkpyI=; b=B4VbFt3oPoKlksrhu/AUkzYzzAWycPJ2Rc0iiNtnIracCIy7Dw09wma0QdBZfkB62r sDqCivzt2iB75nWcNCFRDRCORtJwIef0YE2tbhmVTzxC/jdGHhKuhMk4AbI1LGtS1UEW eJOBY8kx1YR14rfr8tiHJ0EzSx3lmSFNOUl7w= 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; bh=pOcYDARbb3DO0YM/pjZEa316PVkoOKvVreIRpHGkpyI=; b=pmur36WQo3PqeUQKKpwNdUqW7j8MFoYvVWk9idSPieVJuvwOZHgMGUuXqcc1llhiJP Jjid0KCO1aGfSmqBTp1/ACmC+3sl9Fsd20bWtLS/kOjVoQC3z4FINBUr/nEqLlgmQ9Es 74YXYfBvFPuO8eALYTih8D/tZxlQxfe3JuEn5HwKS74tKtXPZsI73/h74EgYTr901NpI 3fmxo3/HCE31FUIoMDA5Ex9caPSK7Doo1lec2CxxhfvgsNK9NZ7i9Z3pEhp1AranR0KW 9lRyllnDoIoEPyyL7bcFs5EvMhC7WHZ2fbXE0GVc9Bmf5JJHx8jl9vcUVsLpAQSD76Sd P3MA== X-Gm-Message-State: AElRT7GyBAIt9ktUvsQn9A6U5gIqJ+a1yEY69W11Ah+IAudgv1+Iwelu Vtbb4+Opt9p1UN8ASWh+okOm X-Received: by 2002:a17:902:127:: with SMTP id 36-v6mr19580477plb.194.1522862692539; Wed, 04 Apr 2018 10:24:52 -0700 (PDT) Received: from localhost.localdomain ([2405:204:730d:2b78:a8cb:9f26:6eed:eba5]) by smtp.gmail.com with ESMTPSA id t5sm10791384pgr.69.2018.04.04.10.24.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Apr 2018 10:24:52 -0700 (PDT) From: Manivannan Sadhasivam To: linus.walleij@linaro.org, robh+dt@kernel.org, afaerber@suse.de Cc: liuwei@actions-semi.com, mp-cs@actions-semi.com, 96boards@ucrobotics.com, devicetree@vger.kernel.org, andy.shevchenko@gmail.com, daniel.thompson@linaro.org, amit.kucheria@linaro.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, hzhang@ucrobotics.com, bdong@ucrobotics.com, manivannanece23@gmail.com, Manivannan Sadhasivam Subject: [PATCH v7 5/9] arm64: dts: actions: Add S900 gpio nodes Date: Wed, 4 Apr 2018 22:52:54 +0530 Message-Id: <20180404172258.7678-6-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180404172258.7678-1-manivannan.sadhasivam@linaro.org> References: <20180404172258.7678-1-manivannan.sadhasivam@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add gpio nodes for Actions Semi S900 SoC. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/actions/s900.dtsi | 51 +++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) -- 2.14.1 diff --git a/arch/arm64/boot/dts/actions/s900.dtsi b/arch/arm64/boot/dts/actions/s900.dtsi index 0156483f0f4d..ffab4e3f75de 100644 --- a/arch/arm64/boot/dts/actions/s900.dtsi +++ b/arch/arm64/boot/dts/actions/s900.dtsi @@ -180,6 +180,57 @@ clocks = <&cmu CLK_GPIO>; }; + gpioa: gpio@e01b0000 { + compatible = "actions,s900-gpio"; + reg = <0x0 0xe01b0000 0x0 0x000c>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 0 32>; + }; + + gpiob: gpio@e01b000c { + compatible = "actions,s900-gpio"; + reg = <0x0 0xe01b000c 0x0 0x000c>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 32 32>; + }; + + gpioc: gpio@e01b0018 { + compatible = "actions,s900-gpio"; + reg = <0x0 0xe01b0018 0x0 0x000c>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 64 12>; + ngpios = <12>; + }; + + gpiod: gpio@e01b0024 { + compatible = "actions,s900-gpio"; + reg = <0x0 0xe01b0024 0x0 0x000c>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 76 30>; + ngpios = <30>; + }; + + gpioe: gpio@e01b0030 { + compatible = "actions,s900-gpio"; + reg = <0x0 0xe01b0030 0x0 0x000c>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 106 32>; + }; + + gpiof: gpio@e01b00f0 { + compatible = "actions,s900-gpio"; + reg = <0x0 0xe01b00f0 0x0 0x000c>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 138 8>; + ngpios = <8>; + }; + timer: timer@e0228000 { compatible = "actions,s900-timer"; reg = <0x0 0xe0228000 0x0 0x8000>;