From patchwork Wed Feb 28 18:14:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 130037 Delivered-To: patch@linaro.org Received: by 10.80.172.228 with SMTP id x91csp1846226edc; Wed, 28 Feb 2018 10:16:08 -0800 (PST) X-Google-Smtp-Source: AH8x224zoOGKsekR3gPHVJfaOAyvQwIaM00dF6yBNKqCss9yCSWie7P7SyQnruC9QhyPfhSw774J X-Received: by 2002:a17:902:b942:: with SMTP id h2-v6mr18882900pls.45.1519841768400; Wed, 28 Feb 2018 10:16:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519841768; cv=none; d=google.com; s=arc-20160816; b=juurEIND8JFBvjmz76suw28R3eomqJCpqFhqux0bNhMjsZLp5cBHChRpH6QnN2G8Q8 oYoiabizTBRlIp76VWGvU4GuHaDaTGuu5OyGVtYXZmYrQUkvJV2juStYPVu6hINPwujy y7YP6cw5kDjVOZrF6eD9bRJWUWidQpp4aQFEhBscNWWeclMiI5wRZ0EB0T2B+dm99KlN KJFlmxKQ2guW28gElcsZcPAha9WSEE7BWPL4fqVt+e8sngqz4Q38W/19j3r294aY4mi2 b0BasrQ4smZPa/Aith1Zd82xSxx9keL+v/b2dFX8hkgVpUy7i+PFlgz0YNsibkI4j+Pf gmRA== 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=6CqUckjYS7O8EF7xwExzhoSvaRw/iLA8xf8apd41Hyg=; b=LGDXPJ51hbUi854Ty3pSWelK5VbAlDbEiMa9P3y95DJujh+N7dujapGzwCiyqBm3q3 IagzcTuN070gZM60aAm7kh8Tv7voEuxWw8mh005TYH84y22Y5sbUCM+JKiFcEZVQja0b Oz/pjOvnuApgZp2gle3GtXGGvnAE4xiQ3BSUs7v/dhZIdCZNW87bNk8L8bnsYJnsf+23 4j9JvGRc/FmlfJfFCqrgpm3XzJgdKxo5C8K/PkYj+D/bauYy3W0ZThy5UFjkkYH98pp5 lHeOQkzmI+K3E/epNgO1QCZDzxwW1zElGmY17yB9QxfXi7FJOoyx+2D2eS3qMfDiSCfS Tc7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=c6YshcXm; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=fail (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 az8-v6si1596585plb.723.2018.02.28.10.16.08; Wed, 28 Feb 2018 10:16:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=c6YshcXm; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932542AbeB1SQG (ORCPT + 5 others); Wed, 28 Feb 2018 13:16:06 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:45771 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932467AbeB1SQD (ORCPT ); Wed, 28 Feb 2018 13:16:03 -0500 Received: by mail-pg0-f65.google.com with SMTP id i133so1238306pgc.12 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=sQ5l32cfXp73M0mWqPn/FOVzFT0gnvmRbuLh+pbouiBx3POgM+OU7pOPZ4Tq/k2zu5 6W8USlze7mHQvBRsEXHGhdzjI3DiPOfIxJWomfCjRjfWciVoiNl3V4hgTFcKwYuGM5nJ kWUAkvBUdeN4ME1NWs7dgXT34SgqW8OAKCxLn9bCsOSaWMsl+YZpXbQfnu+ELIUrd3QZ W8+mNqcq5eUwcDdV+lcRQbEyZclEeDHv4juiGDpIjahmjOt1KQhK+60DqXqXQ68lkRaF JV8xHucMxKHnckddHuDYkPymg2+Xn4VfaPvlWB5KDx9Wq174L0QjRnf0Ft1qmOmQjsfT NRZQ== X-Gm-Message-State: APf1xPA9DW16AkWG6rg7WTPIUa3g6iqU74hgjMcoPTA2ZRtFFlNlYtZD rzpiAFuntDz5VKMURP4PNlAZ 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-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-bubblegum-96.dts | 6 +++ arch/arm64/boot/dts/actions/s900.dtsi | 48 +++++++++++++++++++++++ 2 files changed, 54 insertions(+) -- 2.14.1 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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>;