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: 895084 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-gpio-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="B4VbFt3o"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 40GXtd1g4hz9ryG for ; Thu, 5 Apr 2018 03:26:17 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751283AbeDDRY4 (ORCPT ); Wed, 4 Apr 2018 13:24:56 -0400 Received: from mail-pl0-f67.google.com ([209.85.160.67]:38769 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751523AbeDDRYx (ORCPT ); Wed, 4 Apr 2018 13:24:53 -0400 Received: by mail-pl0-f67.google.com with SMTP id k6-v6so9882018pls.5 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=N+PnzD424wlmLN/O4Zf8mY+DF/wfni/yxEDwioD7UMeRXCxAIO8Uq/ANjPrviOe8An JcqT8z+nIwGhvvjiSuCRNbfLnRr3PKR+bbrauiOygALEGBbLKDfF8GXIk1wx++PnGwPe uaBPtYc9QkUbUYlaIlMyvHJzvTMJzPffU23cit1Rme2W851nWZlzPQt17Vg6lfKUkDyy mbG8ox34/rW9T9BOVLEGZ907hkGJSRp4sNSqtsbKjFKnWtpBT/yvQIuLvMfyHVgb3ZNp pDRhXAsAvTLMhM5Hm1ysOUCnhyUpf7VUQvERF08TbQpHZiAUn8vB0jnroNYo8gtQ9iUI FGNA== X-Gm-Message-State: AElRT7GCA7wVco5X+xmKCwNIlJa254Ue24NWk4h0vPwZdU3Ed0MWwhiO faWnGJyZBtW4l+DNfDTm2Hw+ X-Google-Smtp-Source: AIpwx4/z2KrVkZLry1dzNx05ryYisdlPRKcLXarfEMOL6MXwOAbOzPEFZbVwM9zjKg/I4DrfmwDp/Q== 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-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@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(+) 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>;