Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3973988pxj; Tue, 8 Jun 2021 03:29:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFi1Xf+cfQJyCZlJN0i9Grj46lwcNIl4xRe48mBIRbrgy9ytkyzjCy/5OLvyjKOdodOAp9 X-Received: by 2002:a17:906:5a9a:: with SMTP id l26mr22697968ejq.490.1623148176965; Tue, 08 Jun 2021 03:29:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623148176; cv=none; d=google.com; s=arc-20160816; b=cJdGcrCmmf/9G0+RmEZMhUIqf3K7jZIWupG3jBqFuw6atW4esMVE06qyDuihUiMt4m of/Empt8N5F2yt+fXZ6RgYzLKjqcprlQUh+cMc2zpeCKalMx1r+voK4fzd9uGCxmWXaz 2NIHDIRJsbxXAJt/cNVV0NU2KFx+wheCE7c8N9e6WSrbCRB3m2PzAZvW2LXMks437Qqb HRbep8TyIPJKcZLF6HFIJtVatrpPvrVc9HIZ+xVIBokQ00VkDopHD7Kt1C31khOnKTM1 0tYQDSnPw0fCDju3+lUbie7OxrM7dVkZb9Ci7E7vsZBfwjgdmZwqfuj/PlUqWr4drIkW zgHA== 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=2aCFl6RfDSzARB84SsbzZpQxZFVsPPdDaIElrdGooEE=; b=TyRlJqqZHtZtJdhif4BYL1jBYfkxwBIGJKj+06nAPK6lQIy/rV5faRFanlKbBzzgJt egNkIPCbI2V26cj8MKublnEvftxFut5gLmndEEzJ+eP3mRGvmK7a0kXW9ENi8FXOJi1c 5QixghOgud6Dq5i3r++daSl7jnvsCUn80y2Nh2s5OUphGkTcpJXWvsfgugszhJy9QO6R 4ENS3CZ8jlmP619Ks6lAQvbNojNP76sv0WmH5b0D0Le9H30mA4QAKtBaUWD/+lF+47aL 6gDnXgvOd115+Vpmc/kcye88mS+wCb7vsXUJRvSTk5uqjTmtqaPbs5+x/onpASPBVBuJ Tw3Q== 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 l20si13955044ejn.131.2021.06.08.03.29.13; Tue, 08 Jun 2021 03:29:36 -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 S231286AbhFHK2F (ORCPT + 99 others); Tue, 8 Jun 2021 06:28:05 -0400 Received: from twspam01.aspeedtech.com ([211.20.114.71]:22473 "EHLO twspam01.aspeedtech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231244AbhFHK2C (ORCPT ); Tue, 8 Jun 2021 06:28:02 -0400 Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 158AC46L009878; Tue, 8 Jun 2021 18:12:04 +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; Tue, 8 Jun 2021 18:25:54 +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 v5 03/10] ARM: dts: aspeed-g6: Add SGPIO node. Date: Tue, 8 Jun 2021 18:25:38 +0800 Message-ID: <20210608102547.4880-4-steven_lee@aspeedtech.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210608102547.4880-1-steven_lee@aspeedtech.com> References: <20210608102547.4880-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 158AC46L009878 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 | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-g6.dtsi b/arch/arm/boot/dts/aspeed-g6.dtsi index f96607b7b4e2..c55baaf94314 100644 --- a/arch/arm/boot/dts/aspeed-g6.dtsi +++ b/arch/arm/boot/dts/aspeed-g6.dtsi @@ -377,6 +377,34 @@ #interrupt-cells = <2>; }; + sgpiom0: sgpiom@1e780500 { + #gpio-cells = <2>; + gpio-controller; + compatible = "aspeed,ast2600-sgpiom-128"; + reg = <0x1e780500 0x100>; + interrupts = ; + 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-80"; + reg = <0x1e780600 0x100>; + interrupts = ; + 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