Received: by 10.223.185.116 with SMTP id b49csp6493334wrg; Wed, 28 Feb 2018 10:18:31 -0800 (PST) X-Google-Smtp-Source: AG47ELvNRmFuo4aixQPdpQQKdEkSI1BrzPiPLcjpj5/WBqK66+kvj+eZrOmraDMhcJu5PxngfhCm X-Received: by 2002:a17:902:3383:: with SMTP id b3-v6mr12752294plc.224.1519841911324; Wed, 28 Feb 2018 10:18:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519841911; cv=none; d=google.com; s=arc-20160816; b=ITGd39Cac2XkolAcHj4rkjhEy2pa1E5aixAXp5Z+7IQ5do/kx/qFuBfkV/0Xum8wRe tq84b8EiItrqmyjGSPbBpW9io2KWkwlSqy1RSnZzijGolpxIJQI3i+9mKsrCGE+7ZCUG AGJoeE0QjRtb/bGkhwzRmppoRt6YSq4QgnmXM/VyyiluiraeT6HjN640AC8HMJzIn6es tppKJzHNhCTh4yxSClIcGbi+behsFv++FuLfhMIH8YbBrEQaZobKSZEarBnwNsXPZ7l5 MY4myBXQ90D9Inrn1ZCSGXM+l30VVOaids/uCrcVp6YXQKLaQNg9l3zDQoDTFCvWQrpQ KuiQ== 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=OcyYPtrWHA8VQyhnM9ez88EcS2soOXuB7xEhbdWAWl0=; b=j5O7lPeYLEgN9WsKJTh6gU60ofjLHaOCqXVuStA4RBgw/OKlDeeX8sg8+FhnWe0wfJ sDSlPFlTEZ5mKGamaske8hCwppSEtAhoBUNowAyC4NA15OqxlW6R7GvplKYahYHwVqGv PGDYJusSdgrtVfmF1d4BmZ0pSmp58jLxSvxbO30672FG7H5M0GbGNhAtWmVTPtJDmSby p8f6Br9Z44CAYX64GGOsmyprvMWU6wQTs1m8Lydg+Or1u6PUbGCdhk6V376TwIxuziMb S/ZJngvt2O+wY6AuaJyOnAbRY2qNoBJVXbUQii0JjByZKD6e7WPFJb8yD1Ka9mA9Thaf FEiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=c6YshcXm; 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 d76si1308046pga.329.2018.02.28.10.18.15; Wed, 28 Feb 2018 10:18:31 -0800 (PST) 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=c6YshcXm; 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 S932599AbeB1SQI (ORCPT + 99 others); Wed, 28 Feb 2018 13:16:08 -0500 Received: from mail-pg0-f67.google.com ([74.125.83.67]:34213 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932451AbeB1SQD (ORCPT ); Wed, 28 Feb 2018 13:16:03 -0500 Received: by mail-pg0-f67.google.com with SMTP id m19so1251425pgn.1 for ; Wed, 28 Feb 2018 10:16:02 -0800 (PST) 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=OcyYPtrWHA8VQyhnM9ez88EcS2soOXuB7xEhbdWAWl0=; b=c6YshcXmhZb4Rzt9vL9eDhMtp0tIZuyY1LP4O6/sFLZnaa7wk8XtEHGDYaIgWwzqgj osRt5PEXGrHiMkjY3HLkcSPRQuh9iJJpyEMXBBS+L+rB8Y+HsNkXaz3oO3ZQQRkmuGbQ fCdjj3P38yOwDAscUB7pRRTacH6n1zesFeuB4= 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=OcyYPtrWHA8VQyhnM9ez88EcS2soOXuB7xEhbdWAWl0=; b=JlPDJhbiC/8dbIY4lSZMj13rI3V9vxZ+4MPkULFXGPMk1ixeGA/m6RRnBfwhDEt6qq lzwnEyY/GGl+tmCOsIFrex5Tr7Qvl6SNImRnYPtqpbSlTAX82Z196H5Dmf2mgV8b9ZIp Z1XY+isYNYCZJdcL2th6wou7in6D3DkiI6Z3K/r8nd0PxldOSCUmWV8MxZAcY/YP8E+v qM+c03iZumnyDeKUlwBltQMIPC++XS4VJdCsO1Na7yPISqKXFMX9JbC+IhST5Y60WftP t67xp7frVZMV22J71mQqDG/SSTDLvIjX4/+dquwwiFluDTv7hxlSrF3zyNSJdHlvb2oR j5qQ== X-Gm-Message-State: APf1xPCk4PJ2NE5u4G6NhFs3Xpsf1KnpzTWmtsLOT8G6ZpSYpsowiCwm ePn/W0vDC0xFaNBEpPxN07xz X-Received: by 10.98.75.129 with SMTP id d1mr16969993pfj.19.1519841762066; Wed, 28 Feb 2018 10:16:02 -0800 (PST) Received: from localhost.localdomain ([2405:204:7380:867e:a4dd:d27b:1244:f453]) by smtp.gmail.com with ESMTPSA id u27sm4980258pfk.172.2018.02.28.10.15.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Feb 2018 10:16:01 -0800 (PST) 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, 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 v3 06/10] arm64: dts: actions: Add S900 gpio nodes Date: Wed, 28 Feb 2018 23:44:28 +0530 Message-Id: <20180228181432.26847-7-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180228181432.26847-1-manivannan.sadhasivam@linaro.org> References: <20180228181432.26847-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-bubblegum-96.dts | 6 +++ arch/arm64/boot/dts/actions/s900.dtsi | 48 +++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/arch/arm64/boot/dts/actions/s900-bubblegum-96.dts b/arch/arm64/boot/dts/actions/s900-bubblegum-96.dts index ff043c961d75..60ddaf98401b 100644 --- a/arch/arm64/boot/dts/actions/s900-bubblegum-96.dts +++ b/arch/arm64/boot/dts/actions/s900-bubblegum-96.dts @@ -14,6 +14,12 @@ aliases { serial5 = &uart5; + gpio0 = &gpioa; + gpio1 = &gpiob; + gpio2 = &gpioc; + gpio3 = &gpiod; + gpio4 = &gpioe; + gpio5 = &gpiof; }; chosen { diff --git a/arch/arm64/boot/dts/actions/s900.dtsi b/arch/arm64/boot/dts/actions/s900.dtsi index 0156483f0f4d..9c7843045850 100644 --- a/arch/arm64/boot/dts/actions/s900.dtsi +++ b/arch/arm64/boot/dts/actions/s900.dtsi @@ -180,6 +180,54 @@ clocks = <&cmu CLK_GPIO>; }; + gpioa: gpioa@e01b0000 { + compatible = "actions,s900-gpio"; + reg = <0x0 0xe01b0000 0x0 0x1000>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 0 32>; + }; + + gpiob: gpiob@e01b0000 { + compatible = "actions,s900-gpio"; + reg = <0x0 0xe01b0000 0x0 0x1000>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 32 32>; + }; + + gpioc: gpioc@e01b0000 { + compatible = "actions,s900-gpio"; + reg = <0x0 0xe01b0000 0x0 0x1000>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 64 12>; + }; + + gpiod: gpiod@e01b0000 { + compatible = "actions,s900-gpio"; + reg = <0x0 0xe01b0000 0x0 0x1000>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 76 30>; + }; + + gpioe: gpioe@e01b0000 { + compatible = "actions,s900-gpio"; + reg = <0x0 0xe01b0000 0x0 0x1000>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 106 32>; + }; + + gpiof: gpiof@e01b0000 { + compatible = "actions,s900-gpio"; + reg = <0x0 0xe01b0000 0x0 0x1000>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 138 8>; + }; + timer: timer@e0228000 { compatible = "actions,s900-timer"; reg = <0x0 0xe0228000 0x0 0x8000>; -- 2.14.1