Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5207741pxj; Wed, 26 May 2021 05:32:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1M72usVXOx2OqfuKMebHiTjLLr0NsA11LStDNpImUnRb2zuEJ+HUK05uIIJ9flBZjlw4B X-Received: by 2002:a5d:9516:: with SMTP id d22mr25890593iom.119.1622032343327; Wed, 26 May 2021 05:32:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622032343; cv=none; d=google.com; s=arc-20160816; b=QCBba7kU9O6TQzTwIoh3rU9pZYQ+zmdl0J2E+d1mghUcJW2mTAlXtDxe2drQqdjFQg wJuxG2OoyjyJKr2ElNXTM2h/Ger1gqkMJ6TSSwlar4y1Dgsw3zfOGTY3pKaEh46KrNcP ZViGvS/e7d7kXtNz42a1zjpO62Wu3ML5Pk8ib758PY642GbnxohgpuCMEUvJq00GIqdU 5yaKJsatw1XTM3CccZtrLeJuKTnJiYH9n7KNDop7a962jDFs3An52PT+GlgU3dhlK2Ok /nXZ0piKTMBct/mFDZFsFOg4DocvrCy4Ra3ruCpT0qpZcEHcxzMKooId/MUkYTYRPwXy KdHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=/t0ZQiLoeC5YfbKgQN0z41Jp8VvXKCK8B1fcfNuKoi0=; b=NiNe0cJZuM9OKie5V0uO6e6jboNJQt7AC/GEgTDcCE9VnrqgnJWnnAh3SCGO67KXmV CV33G8n5jkF8tpOnQ51st2UoT/3bi6hnXQnvEpvlSP2Zesf+HCwvG8AXllJU8lbVW64u qFsCOS6Li4je80+tUXcB8PYKF30Vlnwf76vbfHH0mfQcu65gAemIGyg3l8eydZClKuY1 iMv5aJ2RIqE5WiAyqnCRsGoSOCQHQNdClId3kpULIwF1dCsWDM43qPCScU/xnNO6JmNA GihuWr18KGDtTj6joC+r46ZUO1dztThVU/rmVB+a1SozrIkb83Oo+xR+TP9PW5oGwmc1 rSTA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u3si20030058iof.8.2021.05.26.05.32.09; Wed, 26 May 2021 05:32:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233627AbhEZJr5 (ORCPT + 99 others); Wed, 26 May 2021 05:47:57 -0400 Received: from twspam01.aspeedtech.com ([211.20.114.71]:14805 "EHLO twspam01.aspeedtech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233157AbhEZJr4 (ORCPT ); Wed, 26 May 2021 05:47:56 -0400 Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 14Q9XDOE082708; Wed, 26 May 2021 17:33:13 +0800 (GMT-8) (envelope-from steven_lee@aspeedtech.com) Received: from slee-VirtualBox.localdomain (192.168.100.253) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 26 May 2021 17:46:15 +0800 From: Steven Lee To: Linus Walleij , Bartosz Golaszewski , Rob Herring , Joel Stanley , Andrew Jeffery , "open list:GPIO SUBSYSTEM" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/ASPEED MACHINE SUPPORT" , "moderated list:ARM/ASPEED MACHINE SUPPORT" , open list CC: , , , Subject: [PATCH v1 2/4] ARM: dts: aspeed-g6: Add SGPIO node. Date: Wed, 26 May 2021 17:46:06 +0800 Message-ID: <20210526094609.14068-3-steven_lee@aspeedtech.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210526094609.14068-1-steven_lee@aspeedtech.com> References: <20210526094609.14068-1-steven_lee@aspeedtech.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.168.100.253] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 14Q9XDOE082708 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org AST2600 supports 2 SGPIO master interfaces one with 128 pins another one with 80 pins. Signed-off-by: Steven Lee --- arch/arm/boot/dts/aspeed-g6.dtsi | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-g6.dtsi b/arch/arm/boot/dts/aspeed-g6.dtsi index f96607b7b4e2..556ce9535c22 100644 --- a/arch/arm/boot/dts/aspeed-g6.dtsi +++ b/arch/arm/boot/dts/aspeed-g6.dtsi @@ -377,6 +377,38 @@ #interrupt-cells = <2>; }; + sgpiom0: sgpiom@1e780500 { + #gpio-cells = <2>; + gpio-controller; + compatible = "aspeed,ast2600-sgpiom"; + reg = <0x1e780500 0x100>; + interrupts = ; + max-ngpios = <128>; + ngpios = <128>; + clocks = <&syscon ASPEED_CLK_APB2>; + interrupt-controller; + bus-frequency = <12000000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_sgpm1_default>; + status = "disabled"; + }; + + sgpiom1: sgpiom@1e780600 { + #gpio-cells = <2>; + gpio-controller; + compatible = "aspeed,ast2600-sgpiom"; + reg = <0x1e780600 0x100>; + interrupts = ; + max-ngpios = <80>; + ngpios = <80>; + clocks = <&syscon ASPEED_CLK_APB2>; + interrupt-controller; + bus-frequency = <12000000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_sgpm2_default>; + status = "disabled"; + }; + gpio1: gpio@1e780800 { #gpio-cells = <2>; gpio-controller; -- 2.17.1