Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp148270pxj; Wed, 26 May 2021 18:47:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4573QVS2ZHDnwc73h5NxTSq7022pkG7qlTE5fExjzfDDlxwPVNw3h17R6wv77xuIM3akn X-Received: by 2002:a02:5b85:: with SMTP id g127mr1115218jab.80.1622080043792; Wed, 26 May 2021 18:47:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622080043; cv=none; d=google.com; s=arc-20160816; b=hFyZhQEIkh0+tIj4jJErC4pJqZ7sDQL5CERGiK01VGezyyDzWn+rFu1qMx1yemmrev ihwS4jXETMX+sJU2XJsoawHMg6AwkIejfOMJ5ns54YQ/oQAs8zXgtVAPCWQ04vbhsEX9 NI6TR/cJDu1SfXRikslyF1txaLWmJqXfMJ5kltlv1OT15oziDc5ZxgCMNCAXJOhUSZq1 8zs797AyW5+jovgnSlsTtGWt26A0X4p3LeC+UTIsSwlQR21CmzebKRyRwiCaTFeA2Tnl gOJv8SB453tZ2IVbW8ZIaEcWc5v0LrYOgVIUpep8WYVNkQ4UjT0FMHIl4GcGzr71TyZT cnOQ== 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=vDUKFtM5OaaY6HWoqK5XugwuL9YEu6WxOqs+m0SL4NgZzrSglGABKV6tlG+CdFTy7g V0x1Q+vcWebDBLiZ6FB9CLRdsRSHClSt60+uNLu6iumU7MjUoECJJMxXNRrSO4USOudg 9fU1/yOShhopwD/EF3K5kn1pZu1+Vh90+htvgdzuZ+w9inHYADqKuvAFtN6RCMeynTWT Tfh7uVAM7Rbxu1e7zOVNde/k2TCQbtxNaf1eh2t28JBptZUo4ycSTiOBGQ2qG4kgknQG ebDcn8wd36Ke15OQNT/PsCBZBwpNKhVZ8aoMNt4aVliXFNmEOgpSqIIYt0bEzpPkbLjM m/9A== 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 t3si958789jaj.67.2021.05.26.18.47.10; Wed, 26 May 2021 18:47: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 S234956AbhE0A4s (ORCPT + 99 others); Wed, 26 May 2021 20:56:48 -0400 Received: from twspam01.aspeedtech.com ([211.20.114.71]:19929 "EHLO twspam01.aspeedtech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234891AbhE0A4q (ORCPT ); Wed, 26 May 2021 20:56:46 -0400 Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 14R0fuSO067372; Thu, 27 May 2021 08:41:56 +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; Thu, 27 May 2021 08:54:58 +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 v2 2/4] ARM: dts: aspeed-g6: Add SGPIO node. Date: Thu, 27 May 2021 08:54:51 +0800 Message-ID: <20210527005455.25758-3-steven_lee@aspeedtech.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210527005455.25758-1-steven_lee@aspeedtech.com> References: <20210527005455.25758-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 14R0fuSO067372 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