Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp2869194pxv; Mon, 12 Jul 2021 04:02:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy0tCs9a5EiJC9P69Iuu63y5d1VWzHDSxd/3tdrjy3x2C1y5U4p1NAPWiN35vHlwSENcPsG X-Received: by 2002:a02:90d0:: with SMTP id c16mr32610980jag.106.1626087730882; Mon, 12 Jul 2021 04:02:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626087730; cv=none; d=google.com; s=arc-20160816; b=RDzQOMYxMjEBDF6Fq5gTBHLL4th4f+5ZB1e+YtSf78Ec2QgZGzzSTQl8ZI2Uqzw/6s J5vYdkM7YKMALJO2b3OJix1+B8oBrCIVwR9d246T9kTwlTCEVOW9BGpJPIOZNg5mbjrt i9/7a5aNGvyWYd8+T5J5N4DW0anC7cL0IfI47tRGS/BluS/nQmWZgu5ugyQ6b424l8z/ YTDdeY/ZUzHwkRP/UmScZStEzRQAwBqb6EAnjK4ouTOYJ12WTtbA6paNRfhXLS1osW1W VYBOAk9hXsQWl/JqzFwk8tVAJqAaEgjjpD7N9b5jl89z4yK1zT2OL0k+Df3/pDcoZhrA ANGQ== 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=StSsYNBydzZTaEJqhExuzdMx1z8mLi8J846XRphinyQ=; b=MRMoRmZAaQ1E9dBzKJ74lZ1j0lxH0BMZcI3aF6mHXTFQERg81slRtr9E0NbIplR2GL Nxa5mG5IKiVDhx9fI8qLlcCTblO1V+Yfh7F9CXKRRgQPJi5Yz6PIR4x2iSKIRI3jIyq/ GEe//z99avEbWsSXkaJGtZUZf4GugOJPx05+2+I1+stLPKQ6awSdzT7+I5YBCaaIolKd cYcxj/NAkLrIYp+oT8Ziboaapq4THQGkktl6iW8YJpVHKB0uFCiWkXidP+wW/glvgcd7 mVoPQSZEZV7hmzlZl0WxRj5FFzhGVc+Q9NxkpOfZChluIen9GWiJQKEaLXOoPIiPhMI2 BPtQ== 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 w10si18006861jad.45.2021.07.12.04.01.38; Mon, 12 Jul 2021 04:02:10 -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 S235205AbhGLKGc (ORCPT + 99 others); Mon, 12 Jul 2021 06:06:32 -0400 Received: from twspam01.aspeedtech.com ([211.20.114.71]:18726 "EHLO twspam01.aspeedtech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238065AbhGLKG2 (ORCPT ); Mon, 12 Jul 2021 06:06:28 -0400 Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 16C9lUYf099580; Mon, 12 Jul 2021 17:47:30 +0800 (GMT-8) (envelope-from steven_lee@aspeedtech.com) Received: from localhost.localdomain (192.168.100.253) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 12 Jul 2021 18:03:24 +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 v6 3/9] ARM: dts: aspeed-g6: Add SGPIO node. Date: Mon, 12 Jul 2021 18:03:10 +0800 Message-ID: <20210712100317.23298-4-steven_lee@aspeedtech.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210712100317.23298-1-steven_lee@aspeedtech.com> References: <20210712100317.23298-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 16C9lUYf099580 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..1b47be1704f8 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"; + 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"; + 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