Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp246230iob; Mon, 2 May 2022 18:24:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLH6jQJGjDSmGzi9+mXYaU9Dle02ZXAh87qsHKm2FULaHzAbFOoTHwGKo3CiJze0oJaO3N X-Received: by 2002:a17:90b:4c10:b0:1dc:8289:7266 with SMTP id na16-20020a17090b4c1000b001dc82897266mr456042pjb.190.1651541065785; Mon, 02 May 2022 18:24:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651541065; cv=none; d=google.com; s=arc-20160816; b=P2nNgD8XJ4qohotclxWeOBFRXYPzArL1JjHyxSa+aJITCVAnmyOLoMl9yL7emuS7ML SXgSiYytLp9D8zKY76Ic/n+7N04fr5XmtitE6DlympN0+13IE6ZbTE7218WcCVkVk+Z5 Rtecj5bbi6Ff9qtD1GkYgFZVFW9VNcbdvUA7M06FBbRUb8rWE5SjONBaNQOXLl5C/vT9 YCopWz8mWqG+m/X/8ibuxWWqxkjqu1wu5tgrppQbXC476BSzOcMJiMY02+CZpL2eg5RX NrWDL+pvLRcsIn7WQcO6TSeVcZlOBjtor+6sHxe0XyUZUCr+FOtSYvSENpZzLlxtbs7g INnQ== 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=ad1lIxV++ka/4qvDLiyaHlWTSGvjudAlWkO4gs8+qGoOn1xThU/JDeTw+yiB66+zRd 8vxkVGfKuuvIHv86f+x5D/mu0KcWqCggz3WuGRbkmR7aXkuG24fhkx7o4xSSutQOtZc9 ZOqi4Q4A7X7CJuXWICuue1wyXvSvvvdLvhz6D/355r9K/QVckj09GHAkWre9UmvJbIiz d2KlPFvXSoWHOWDvFG5XB0rZ08p0ax2bTXWG/EPPo+HsGG9btEWqYGnyeDUOy/yGsR8D mYXLk2Ms0eqfuGZte87WYEk1ZGLcTjeObxEp3rPCxOmHkmyULkwc8s9v1PusH+ncDJYJ nLRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=Yru9yPjk; 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 l5-20020a63ea45000000b003a2211d2604si16000859pgk.320.2022.05.02.18.24.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 18:24:25 -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=Yru9yPjk; 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 886AB69483; Mon, 2 May 2022 18:03:28 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1381748AbiEBWpP (ORCPT + 99 others); Mon, 2 May 2022 18:45:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232426AbiEBWpG (ORCPT ); Mon, 2 May 2022 18:45:06 -0400 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84AF6E094; Mon, 2 May 2022 15:41:36 -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 7C4FD22249; Tue, 3 May 2022 00:41:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1651531294; 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=Yru9yPjkTzjCvK6SKv+ltY7J3LGhrxlX+MorSWJOPlQNKf8ClnNH1Z/vixt31wwaXz7Y4O sX/Uzdz45h2tXMX6zpCy2yFAlIZX8GvkjNMF6wznsbnGFWGKhgnI/BhETOAvUMwFe1gDXK nhSeQl5SGPZCXTbYs9zOIYbTA4AhW54= 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, Horatiu Vultur , Michael Walle Subject: [PATCH v4 02/13] ARM: dts: lan966x: add sgpio node Date: Tue, 3 May 2022 00:41:16 +0200 Message-Id: <20220502224127.2604333-3-michael@walle.cc> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220502224127.2604333-1-michael@walle.cc> References: <20220502224127.2604333-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