Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp153518pxj; Thu, 3 Jun 2021 03:22:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUnIYm4BMBdeeLiYQTRozUyAPYoQ9cs/mU6v10JXxiTx0hLxcFwyJr2EPjzu9oGYeEOTMW X-Received: by 2002:a17:906:71d2:: with SMTP id i18mr19544609ejk.373.1622715735428; Thu, 03 Jun 2021 03:22:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622715735; cv=none; d=google.com; s=arc-20160816; b=H3GFGbUsNSK6C8+V5AdZ/c28GtKteLU8hbj/stdeIGnrjOl4zEJ8z7NB04hbMI4+U/ QAoQkjY6qCVaiAJFtmWWSWwUywGcrCbK7ZFy+rMsLSy2S0J46eHKLmFfOv1hsniFvcFg g2xX7KROKrPRJlRdFF2kI4yF+Bw4aN+DjPc4Q7xVb2f6Eq4wdpy3ylJtkqitJ2T7BX0E OAm1Ji/EyrI9pY6QS9dVHhiY+eLA7nMIFAyDATnbX7dklJ09Us+acbTOmLz3WsBLDsin v7fk8PLhO8AqsT5zuzvaMSEmz88gkFlG46TDegqRteeLRCrVHuBvG8ceDEa8qQdrBWne tT0Q== 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=ztfle44l865qSNej030qWYEgKFX3c9OqejJ5N1gRRmE=; b=YU7IblsN4RH3lAO2uvUIlm0GFDHgNTQ+ws9YsxvB1Nc1bd62QjTQdHApS8VOGxpkjX njlABoqbamwZcuF8pFuhjfON6uzlDL5XXqxr8r/5UUZq9q6C6DYsc90G7Izjl7jX1/KX m9ZO2rEDuUPZ/OpTiw3RMQaNm40b4M4i/7ldzMiRth6vqehhvD0hZPDYwhvi+Rnc4XJ0 IoEmKhGkXTdRFcZrem9Yqjn+w0SPx6O4hzmfBRzuAjQp9bZuARTtjJyLqzXfqw2zRNFp ZYKAF8rAPGq7ldsDUDWaBkEKT0SWp3UDJSx9sIeDgDbgxsDuvGk4c0Hzag2dT+VatEpf NS3g== 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 t16si2399786edi.299.2021.06.03.03.21.43; Thu, 03 Jun 2021 03:22:15 -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 S229902AbhFCKU3 (ORCPT + 99 others); Thu, 3 Jun 2021 06:20:29 -0400 Received: from twspam01.aspeedtech.com ([211.20.114.71]:60075 "EHLO twspam01.aspeedtech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229800AbhFCKU1 (ORCPT ); Thu, 3 Jun 2021 06:20:27 -0400 Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 153A54Lo045233; Thu, 3 Jun 2021 18:05: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; Thu, 3 Jun 2021 18:18:31 +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 v3 2/5] ARM: dts: aspeed-g6: Add SGPIO node. Date: Thu, 3 Jun 2021 18:18:18 +0800 Message-ID: <20210603101822.9645-3-steven_lee@aspeedtech.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210603101822.9645-1-steven_lee@aspeedtech.com> References: <20210603101822.9645-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 153A54Lo045233 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 | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-g6.dtsi b/arch/arm/boot/dts/aspeed-g6.dtsi index f96607b7b4e2..e56e92e206f1 100644 --- a/arch/arm/boot/dts/aspeed-g6.dtsi +++ b/arch/arm/boot/dts/aspeed-g6.dtsi @@ -377,6 +377,36 @@ #interrupt-cells = <2>; }; + sgpiom0: sgpiom@1e780500 { + #gpio-cells = <2>; + gpio-controller; + compatible = "aspeed,ast2600-sgpiom1"; + reg = <0x1e780500 0x100>; + interrupts = ; + 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-sgpiom2"; + reg = <0x1e780600 0x100>; + interrupts = ; + 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