Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2272735pxm; Fri, 4 Mar 2022 12:50:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJyutQ4C107ALzm9bxoF2lyTCaEA0PdgLQd37tRkzAenMZKUM85rZ7PZ2EZAFYNe87IEPADw X-Received: by 2002:a63:f80b:0:b0:378:3b1e:7bdf with SMTP id n11-20020a63f80b000000b003783b1e7bdfmr174539pgh.271.1646427028127; Fri, 04 Mar 2022 12:50:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646427028; cv=none; d=google.com; s=arc-20160816; b=tGV80E82nnNZa02dYXc7mTGJEJGlQCNFzWyUj/tPuH9QAflbi/SLJfzbxxdfpngSCk Mbxut5/PHauX4ffyUlYjreNo9z54Ts2nTYk2OevW1DOeuXt+iCeVM3rPs3mQMeFQaJWT 3LmeQKdN4z4wyA+TKIWxOXQDQEWh1wP73YTEl1zBKQagLPK4QI09+ylLJDbq3XybImdC kjk049Fx8q21b3TcycxHzGZ/ctxnuCJkIsrOEV8S4rsH9PC9wW0zyKsY2Yz86/lCfIeT oBeg2965XhLr8v5VCzB/j2f3SmzthvqAu1F70sScFZpR1pA7f8rdBhvRZiannOzqhjKW tNeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=RxLOGbpQNwRx2KKbHLEwXJ5hTTQqVuqevKqD6qnm1ew=; b=ZfVi3Bi4ZOFExwBD14ZSqvhT6m29+rW0l/TUPisR0UfOiz/+1MgFZBPVqXC9m1GtWq wuzvUPctbPyJg6h2ff3jNefim8HsWLGs1QqBZObtg4K3c7q/MDFmQLdeU2vT5ZFzy9II GBYfMsbnC1yQZLul1pgsbwkqKHnXdCamT+Z7dS0gb4zR7XmehljkKlY2ymCnIkd5sceR 0iygkNZvRgn8EcFWDSTuXUbYm7lzZ0KvQ2BJYRMpeT3wlZL2pqqSkWpLsZ2E9vfBW1Ns C8bJpOwp6BGct974A90RYUsOr/8nfpe4Rhbf7z0lYq2ss2TLhcqVCvitFURe3Dt6hfC6 BEHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=hYwEb5WI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id b15-20020a631b0f000000b0037865a72928si5485419pgb.444.2022.03.04.12.50.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Mar 2022 12:50:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=hYwEb5WI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E2BAC2FEB0D; Fri, 4 Mar 2022 11:44:40 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240421AbiCDPhP (ORCPT + 99 others); Fri, 4 Mar 2022 10:37:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240389AbiCDPhH (ORCPT ); Fri, 4 Mar 2022 10:37:07 -0500 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1C731C60ED; Fri, 4 Mar 2022 07:36:19 -0800 (PST) Received: from mwalle01.kontron.local. (unknown [213.135.10.150]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id C6C39223ED; Fri, 4 Mar 2022 16:36:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1646408177; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RxLOGbpQNwRx2KKbHLEwXJ5hTTQqVuqevKqD6qnm1ew=; b=hYwEb5WILQ78SkPreh/lepSw5RCJxV+CoZ2b0jT2sNBsvIUyaCHnzaXsN7NwBS96R1aJF2 Ha/eFS2IBVxW+VSmpkoZpc0BjRc+o9XV0bssxQaaOZTQdnzyIHPnNFH+yvLDrtr25wxhSG VnFgWRVtjiyK9kK3MlwGZerHPGxdV3Q= From: Michael Walle To: Kavyasree Kotagiri , Nicolas Ferre Cc: Arnd Bergmann , Olof Johansson , soc@kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Alexandre Belloni , Claudiu Beznea , Michael Walle Subject: [PATCH v2 2/7] ARM: dts: lan966x: add sgpio node Date: Fri, 4 Mar 2022 16:35:43 +0100 Message-Id: <20220304153548.3364480-3-michael@walle.cc> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220304153548.3364480-1-michael@walle.cc> References: <20220304153548.3364480-1-michael@walle.cc> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the device tree node for the SGPIO IP block reused from the SparX-5. Keep the node disabled by default. Signed-off-by: Michael Walle --- arch/arm/boot/dts/lan966x.dtsi | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/lan966x.dtsi b/arch/arm/boot/dts/lan966x.dtsi index 5e9cbc8cdcbc..39dfdb8e29ed 100644 --- a/arch/arm/boot/dts/lan966x.dtsi +++ b/arch/arm/boot/dts/lan966x.dtsi @@ -223,6 +223,32 @@ gpio: pinctrl@e2004064 { #interrupt-cells = <2>; }; + sgpio: gpio@e2004190 { + compatible = "microchip,sparx5-sgpio"; + reg = <0xe2004190 0x118>; + clocks = <&sys_clk>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + + sgpio_in: gpio@0 { + compatible = "microchip,sparx5-sgpio-bank"; + reg = <0>; + gpio-controller; + #gpio-cells = <3>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <3>; + }; + + sgpio_out: gpio@1 { + compatible = "microchip,sparx5-sgpio-bank"; + reg = <1>; + gpio-controller; + #gpio-cells = <3>; + }; + }; + gic: interrupt-controller@e8c11000 { compatible = "arm,gic-400", "arm,cortex-a7-gic"; #interrupt-cells = <3>; -- 2.30.2