From patchwork Wed Feb 28 17:49:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 130023 Delivered-To: patch@linaro.org Received: by 10.80.172.228 with SMTP id x91csp1820292edc; Wed, 28 Feb 2018 09:51:43 -0800 (PST) X-Google-Smtp-Source: AG47ELtpvpq9kUh2kb9Kb6nvC8PvOA6jxUmdrRBLWvc9ooTvx5gp4/X1thPj1v+cukSvXZJAcLvj X-Received: by 10.98.57.215 with SMTP id u84mr5183307pfj.152.1519840303332; Wed, 28 Feb 2018 09:51:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519840303; cv=none; d=google.com; s=arc-20160816; b=pLCTw4wG36CS2nq8HPQm8C8Kn0IiDwWw4Z0H5FIHDkv/6olBwH5862YW0+Dty4jrd1 1Epe4OqPzDccYwtDNDDvvjyMkugVyOujW9HT/VvjoO3EJ3SWoh9NzqeFFBjACTuXdXR5 IQ4edF2td7rZr7sraP/vwI+R80UKx1wBL4bohmeDlEIf10AwUmAPT4Klvqi0SR+lSxqz cPWdz7rkiyoNvWxkN9pUSIDrJ5wWYddMOqsp9LjYe5xaCJvG63nnjM+s10m0KZ26gwOC x5nl2KO2KGKy9HUe5ByRh6uXi7TrCA5lf9ywMgv9tQMNjk+SYb1s0xn9JwORLWgLabZ6 Zo2g== 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=To6VhgKSOC/HM+/7fniySMosK79Ul3vUOrhKhUnQYMD48x7R2P8X39SdFnUSxOw/zM kRsdBjcKhqPgKcIapyzXk7BXB/wiWB1JdQFuCkK2/+kVp744n2OdySmKRfUoyDWRCTIp qrEopXJQwz0/z2Jwg+fyCdZFLyvhEgxRXQPpTRM6k14UX5Q5gfpPJPqmVysvmEFoe5Qi v5V65EVdx3L73yonzShgqOqewXsI78mNhGRCVVhyoKqoaPhtlWu5lsSJJ6iw0VM4nGbj 0pgpYXOWiEneOX64IMrGU+ePiFGpl1PPar1ytSwiWdLyEQarFUeJD/AHtjMclNvDCiw1 m1rQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=jnuLedVE; 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 z13si480679pfh.217.2018.02.28.09.51.43; Wed, 28 Feb 2018 09:51:43 -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=jnuLedVE; 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 S933512AbeB1Rvm (ORCPT + 5 others); Wed, 28 Feb 2018 12:51:42 -0500 Received: from mail-pl0-f66.google.com ([209.85.160.66]:38588 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933656AbeB1Rvh (ORCPT ); Wed, 28 Feb 2018 12:51:37 -0500 Received: by mail-pl0-f66.google.com with SMTP id d4-v6so1953861pll.5 for ; Wed, 28 Feb 2018 09:51:36 -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=jnuLedVE1PLFNDB9/Q6Oc30FX/C2QPBJMGEBydNWR5EV/sWFmq3uB/5Od4UC9C38HN gDLR0OVx4zXh0fjiBxz6gpq22zggQykgzU/xkgI1rYkYGWVsBJMtcWpOZ5eGssKN806U xXS0TMre6o19Gc6OihCZGtDLIzBTnrmNtf72s= 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=UHYXFjABh3VE8wBg7xAlc6lB7+ppVUPx06W4jecWgMBig/e4b/0/yCLZE6C5fJr2Hi KB4IKspg0QLicyECGbIKQmz0/f88z5l6UNkp+t8Je3JgMXY1taCfC259y0/2CJBKNLHD QceJzjI8kjfKYOgPR5OPKX5fENACL9fpmV6BeR5IdH1dN5pNi33xUGOmBykMYogjzpTC aXOzbWhqu90NpZMHg7djiBsE8wJ36KydrMzcEq4JlxYD8Dcmt1jVbQXiZOlMoPDBxfeU 9bMFDYGI9NHPOg4tZH5juk+S+rzwIhNxPAYVdNO5W/MQbUNR2CtrOC0tn0BhpNGnVyNh HeMg== X-Gm-Message-State: APf1xPBQ2Knt6tT0xpHaShTHt+NyMqCuN7soWw5WtKEV4R7dcl4kLYEt Dnc1L4s2Tkmwfsy32d5q2E4Y X-Received: by 2002:a17:902:5596:: with SMTP id g22-v6mr18270449pli.4.1519840295972; Wed, 28 Feb 2018 09:51:35 -0800 (PST) Received: from localhost.localdomain ([2405:204:7380:867e:a4dd:d27b:1244:f453]) by smtp.gmail.com with ESMTPSA id q24sm3741615pgn.74.2018.02.28.09.51.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Feb 2018 09:51:35 -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 06/10] arm64: dts: actions: Add S900 gpio nodes Date: Wed, 28 Feb 2018 23:19:02 +0530 Message-Id: <20180228174906.22721-7-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180228174906.22721-1-manivannan.sadhasivam@linaro.org> References: <20180228174906.22721-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>;