From patchwork Wed Feb 21 16:00:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 129096 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp782413ljc; Wed, 21 Feb 2018 08:03:22 -0800 (PST) X-Google-Smtp-Source: AH8x224oE54VJaDOBiWm6lLAmjFH2mqiFwkGTElX1EUdN75ouVuvJl8/H4Z3GdEYa170P0SGSyHn X-Received: by 2002:a17:902:367:: with SMTP id 94-v6mr3647177pld.140.1519229002021; Wed, 21 Feb 2018 08:03:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519229002; cv=none; d=google.com; s=arc-20160816; b=zoWeEfkGMpHRy7zsLBolUnnczfyu5J32LdlZHXhDzY97jABw0TdAwcdK9nRLTV6Jp9 IrC8BTZlahWKYnewVuXpEqWZf3R5SW1UH0JbUa9VYOl4ZcBfRjlYPDoumCd7NN+cXZem ZVgJdyAbZBTr8qzis/18Cn+RO6sHkYwNp4EBBW1/vloN2sFLHJaHg/PCl9mU1VFv94EF RIIUjakRwmDl4PxgWc3Sw5SnMh+CiqX8GiHY6tXRUTE6nhKpPocTWN5Ql9J5zdcshAds JTW4IDURN+hgTbvQVQC/rKrrhoDmfcaeMEHrnb/vRd5jYLSR3ewG6BtRjCBq/LPGKSxj h/4A== 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=c2BE+LEN/jxon3KytPQx02LPumw7NQEqmgbCiPGGvpM=; b=cDOsjddDDxA3ogaxL2Xb3un6EEAqjR3ZVVK5ayyF6OY7DBMM36b2GIgA/KSgE20spU nGV27ct/BU67hNGc9XXZmKk1tiJTpOdczBsP9gVlfOdAAGZZ2zXO0yM6s8Y7ekGrxGdx qZ9kxprWFe7kDlPfFgBUCAWSMAJgARng6kffE7KZ64F3+mryDN3HzYgjRDqyPKhxs3Qs 0CZpt12euS4TauaN8wkly5fzRFvaWMFiJiQ+8KDd/iPE452moSd8j/qQ/e7LgrKJnCHQ ZpSPAw8kzbJLQbGd5lEdf3GxirkkoLJc1Duuu4JYjB1lGJNRHjRCTQxN4mZHWIBlln2h 9ktQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=e2Gc9E1U; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 w3si11677742pgb.258.2018.02.21.08.03.21; Wed, 21 Feb 2018 08:03:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=e2Gc9E1U; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1754748AbeBUQDT (ORCPT + 6 others); Wed, 21 Feb 2018 11:03:19 -0500 Received: from mail-pl0-f66.google.com ([209.85.160.66]:38285 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966187AbeBUQDM (ORCPT ); Wed, 21 Feb 2018 11:03:12 -0500 Received: by mail-pl0-f66.google.com with SMTP id d4so1138289pll.5 for ; Wed, 21 Feb 2018 08:03:12 -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=e2Gc9E1UkdJH9F8CJIyKXYghEsQFlrYrHM7MRok/cT64N7sJ/GKmKEzTHcZKEIGSf+ 5xMO6vlxYjjlHh/lGpvRegPQd/9uldM5ZevXWxMIvXGhfv2veqFwgGYDJOr7lVQiuBgs /PR5xyq3G1GUGFY5ZlkMgLTS6aIEULlmNo3ys= 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=lE/o6hjEAEUZ9NsBaVsZT2Ri8qjOjEONbadTG6s4trpSgY8n6SJTu3OAeSsbA5C5a+ mI2hPQipAeES73ktQR1VXk5T5YYBfaHuaFPwQQ41oNvutF1T90HhZQK/MkonSzMg+agA UdGhqwH6+tSjcfBN6hFZp1xTy1v/gRa82eb2mjbwYI5vQtcxctNogwGrIeqxL9LsMi7D O9e1mv4JApfti0SzAL9pwVz8WuzL0Aefls5hLBBVB8gFtxGovO3zSjm2j7qccoVC6G5c ypXhzIaj2G2gwZY26KySa+uM4b/y3T1wL2DxCPamnlZVfyIf44eaBZRpDggw3RFT6R82 Zw6A== X-Gm-Message-State: APf1xPDHBRcKXDOcgP0lys9OJHTBRMd6YD7ftAAXdotxCyuiPrTAjR5T MyX25CJShTMlxI6KBGmVPIrf X-Received: by 2002:a17:902:6c4d:: with SMTP id h13-v6mr420332pln.273.1519228991848; Wed, 21 Feb 2018 08:03:11 -0800 (PST) Received: from localhost.localdomain ([2405:204:7346:6848:3cb8:23ad:d761:239e]) by smtp.gmail.com with ESMTPSA id s67sm43068910pfg.104.2018.02.21.08.03.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Feb 2018 08:03:11 -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, Manivannan Sadhasivam Subject: [PATCH v2 06/10] arm64: dts: actions: Add S900 gpio nodes Date: Wed, 21 Feb 2018 21:30:40 +0530 Message-Id: <20180221160044.15089-7-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180221160044.15089-1-manivannan.sadhasivam@linaro.org> References: <20180221160044.15089-1-manivannan.sadhasivam@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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 devicetree" 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>;