Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp987631pxm; Thu, 3 Mar 2022 08:16:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJwMWD5rk4vtL0MEqzoW1ZpTuKria2eTSsXqMhvmSu2phPGxy9HULarxY8aJMvRUGVUUWTO1 X-Received: by 2002:a17:902:e051:b0:151:b485:3453 with SMTP id x17-20020a170902e05100b00151b4853453mr1366094plx.116.1646324187855; Thu, 03 Mar 2022 08:16:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646324187; cv=none; d=google.com; s=arc-20160816; b=qwq/4iqsZctbD9UL7CWlZw+Nptj441muAaya7D4GNR0jF8jsOttSxHkMwZMGJZFB3h /hJYg6ZYttyVBOR91F1TT42ZJ5S3egkbzTzy5jkLLXkGc/IYtqVm/aDt5QSlDd1pxYYN zQ9YMQt7Pre62qrEmfseg1Su2dorSeje9o7UJSDMWE2iD1gl+g3mrVaKOl9gXweSuYc4 Rn6tEQqInGF5J6yJAJGQIebSIbRL4+kTk6QHmFtJ/edrLGBGd2MU4OOURDMVoDD4Wcvu 6s8zbedjGuc6NjVZIjwUDbl1frSsTkvD9DySSAejKeBRi5QwlmPyrOFheDYuk8iJDDfM W9rw== 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=pwm2/imOwnb+IHFH1URB7xYlzx0hGGDN8bFYeloaEEY=; b=Q9esYauOlMbaxaWd9sk8O8Oz5eHxlxjX44BJpjaerJYoEnDl5z8WWHxVbYaObpFnQw M8L5N6xwa3zBEP3lJC6yaqHXNhQqgBE/nTLL/sPospbGp1PbIMtW/Q+j63FrhQTkxlJu S+h7ddptV0mqW4OfckJ/aG0XZ10Mk5Aw8nGKDYwmPDTvvnvtyMREmPeKSMNu4PlMYWdJ fyp2UUsZ4a1AqnpXStpVAPbNF5zIXR7PeonC6toamnLDk7aHaRuhfnd8f81zCB+D42xh /ImkXp0WsOsCfYyyiDS6zGi/YgMQ340wTX+eUysgc3uWTiGTbkc+FT9kj+8WVDDTgpu/ 35/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=kPKT+ZHX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bm27-20020a656e9b000000b0035e558049e1si2612725pgb.403.2022.03.03.08.16.10; Thu, 03 Mar 2022 08:16:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=kPKT+ZHX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234756AbiCCQE2 (ORCPT + 99 others); Thu, 3 Mar 2022 11:04:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234704AbiCCQEZ (ORCPT ); Thu, 3 Mar 2022 11:04:25 -0500 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CC8A172E46; Thu, 3 Mar 2022 08:03:40 -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 8C303223ED; Thu, 3 Mar 2022 17:03:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1646323418; 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=pwm2/imOwnb+IHFH1URB7xYlzx0hGGDN8bFYeloaEEY=; b=kPKT+ZHXV8RVdY9okSfa/1x86Rd9PK15jGRT0GUvJjDNmWqV5H7m2eVPTKNeVqkU0OPOFC jwcMndr9hf5/x5yzTDADzWlSL2aZMiTIZFDUo27OqA7w5ZV2LjiGAWxQTKkC6sLxiZl7mH gOdJwADR53gKKcNOTfRqkn6qfqRpFos= 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 v1 2/6] ARM: dts: lan966x: add sgpio node Date: Thu, 3 Mar 2022 17:03:19 +0100 Message-Id: <20220303160323.3316317-3-michael@walle.cc> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220303160323.3316317-1-michael@walle.cc> References: <20220303160323.3316317-1-michael@walle.cc> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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..a7d46a2ca058 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 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "microchip,sparx5-sgpio"; + clocks = <&sys_clk>; + reg = <0xe2004190 0x118>; + status = "disabled"; + + sgpio_in: gpio@0 { + reg = <0>; + compatible = "microchip,sparx5-sgpio-bank"; + 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