Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp892103pxb; Wed, 6 Apr 2022 03:26:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxwPgPfkn8CV5wyN4Y4Nc9P9MKSzuQ2HkZZ/+cbkIt5P5TnPtgTCSWgVX1me7RGlbdJGHZ5 X-Received: by 2002:a17:90a:2a84:b0:1ca:aefa:91b3 with SMTP id j4-20020a17090a2a8400b001caaefa91b3mr9307537pjd.104.1649240761245; Wed, 06 Apr 2022 03:26:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649240761; cv=none; d=google.com; s=arc-20160816; b=QGdXgEZURhuqM9vRSYbAFKvuiR8pfCiXMHQmUxZLHoLeYp6kpBIrovXzGScK7CJ5cl yHA1K7CR7Y002fMRqeghcOGl+pHfOl7lbBBhW8wYgdeK8XVDVe8efcMV4vg0Uioyu0jO vdBR+I3wC+7RxWiCvI66qHtgkhO6l6lmP9xkLtuQaw+3gfyRqm479jL4FfP/xBCcyRLN 5Hqx5DXPqswocPwgOmKRpMrSnhuyybwBBDk5iMlHYxUCIfpOzgrqIqvc0XS7d41gJ5AD 148jzzpP7X4Wu4F67IchYg6xpQP3erbFCr4Q+MQ10SpnHNivfIAyTOkb5H2jbhFpchun EUFA== 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=vCEvTZ/O30k3nO+2jrdVl0gFAUtDTetFzbLFbAwJZ9U=; b=N3ecWIPDbUGtdn76aeIbd3ftV41mG8m+HBWfGQy+/+nTVkel3QztVxay66BaO/D1Vn XcjUFUJpmwNOytr3Prr9Wq5E5lvbhNNTHC7e9dvu9vuXOxwKcC3koFjC2xJQSTGk+cuF /PWLCVme20xR8Nwu3UOKt0uNRZ4jyty2zqj8mS6NpxvKiyQRaZ8fFuo+gfd6Y3BHxIe2 8OasYzO3XdHzr9aYfkAHa2G3hyJ7UgKdNhqUqebQOMy4lWSEbo1RIywjjy3ig7HSBrXx aIoOCbgY5H0V5LJcfXcnV0ArvbhKUtQYfLZmc0KCY9xWsjx8WD2QcERGnzaVm/NUZBmQ ZNyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b="Il/jXmEC"; 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 n4-20020a170903110400b00153b2d16456si17477335plh.94.2022.04.06.03.26.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 03:26:01 -0700 (PDT) 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="Il/jXmEC"; 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 9FFD14BE3D7; Wed, 6 Apr 2022 01:47:43 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1583603AbiDEXxU (ORCPT + 99 others); Tue, 5 Apr 2022 19:53:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1457561AbiDEQKs (ORCPT ); Tue, 5 Apr 2022 12:10:48 -0400 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85B736246; Tue, 5 Apr 2022 09:08:48 -0700 (PDT) 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 7EC402224D; Tue, 5 Apr 2022 18:08:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1649174926; 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=vCEvTZ/O30k3nO+2jrdVl0gFAUtDTetFzbLFbAwJZ9U=; b=Il/jXmECXZEwfX9+DjKuh+tIOw5DxeqKj6wLyYM++VANeZ+7XGRt09Zn1lvJlEoa5xjSof dtfHPZqCtlL9Q744O1sqpVg+hOuU/NcqgApHYYiyScVG7yu2LA4SAdsbGqJMP7bKnrWuy4 iFmZL/vU+agNMZQArdjEMbSCYDYg29E= 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 , Tudor.Ambarus@microchip.com, Michael Walle Subject: [PATCH v3 2/7] ARM: dts: lan966x: add sgpio node Date: Tue, 5 Apr 2022 18:08:32 +0200 Message-Id: <20220405160837.4093563-3-michael@walle.cc> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220405160837.4093563-1-michael@walle.cc> References: <20220405160837.4093563-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 Reviewed-by: Claudiu Beznea --- 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 a99ffb4cfb8a..4c7beebbd1ef 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