From patchwork Fri May 6 15:28:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 12841335 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E1E2CC433EF for ; Fri, 6 May 2022 15:35:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=aaB2cK60T3dtPid+vfw8azqwmRcq3nXaYlZR3ohWLpw=; b=PAmP8643vWNr3L T/oOMXuDygwEsPkp7p0BT6wQD5ip13n19jJqr3FK9scJtrvASmvIyfIyfixIfiaTCrbrA4rL+h93Z eFvO3zbTGQPxUQUHMHT0uJyTzi//X+Wdt3yIpiwxY35LVryTCoxvxcaFAKXYCq4n6ZsK1/ZtWTD3P PB84xa3JRs7TsIMF9Qs0ZzBec19GMhVXMX/gXuH5Jivt+SLZvx6sp0lHGA173X7TkSEE6RfXzfWoW WG1SiU7m92LROzYy/J3gRBQDE2gPB5vARckSHEnXb0teCMPFLb4dSz3csYOfDbBnX3n32Ws7d2+1h Z0vTM0PUP8ZojdQov6FQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nmzyK-0046JL-Aw; Fri, 06 May 2022 15:34:24 +0000 Received: from mout.perfora.net ([74.208.4.194]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nmztQ-0043Ks-BB for linux-arm-kernel@lists.infradead.org; Fri, 06 May 2022 15:29:22 +0000 Received: from toolbox.int.toradex.com ([81.221.85.15]) by mrelay.perfora.net (mreueus004 [74.208.5.2]) with ESMTPSA (Nemesis) id 1MDhMp-1ndKip2Dnb-00An2N; Fri, 06 May 2022 17:29:08 +0200 From: Marcel Ziswiler To: linux-arm-kernel@lists.infradead.org Cc: Marcel Ziswiler , Fabio Estevam , Frank Rowand , Krzysztof Kozlowski , NXP Linux Team , Pengutronix Kernel Team , Rob Herring , Russell King , Sascha Hauer , Shawn Guo , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 16/24] ARM: dts: imx7-colibri-aster: add ssp aka spi cs aka ss pins Date: Fri, 6 May 2022 17:28:01 +0200 Message-Id: <20220506152809.295409-17-marcel@ziswiler.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220506152809.295409-1-marcel@ziswiler.com> References: <20220506152809.295409-1-marcel@ziswiler.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:nKqrTlnfyoophG4uqmO0F2g5aXMs/Js2LGRBUXnKXeCXMAKtzq8 mamz0+Ayc0+Aef/a6lvIGEZgGGz7mU+ITzn78a9nRoxhuSRVdxvFoDLNjvK1ehR4zZVOcIS NIkVTf/4I8lQbHbjes6dJtmgjZM/k7b/CBEu19BXjdPU87dJzS2KWzTYiMN0NsqCKFyFCrU aSluKyaoJwiEybdthze2Q== X-UI-Out-Filterresults: notjunk:1;V03:K0:KiCqJKnr4q4=:SrQmKfmYytYdWHT5H/0jEl 83O3ynn8vXvgId4fC+d1fmftMcg4VlO3TR6sRIumtgqtBsNQjWMaUTQc0ov4CqgUn2ZOETkL6 WvZhx8suLNDXEGNDe2366Eg+xBHF8d24EKJuDueJjqNbcjv3XkSYUDQu8Wl3pzXKN6jMst9eG I0BfkhkKOMCiEMZiedLn9OhMmoOCM6l4Fg9mILwiofnVYH/AV8i8xQZKoqgpPWInxHU416yz6 +5M8BQPSiYzLruCXZl0KMA7ndUq8+ctf5QQe/v7ndec6AZDRA51FSA5WeiI8odbQiCs/ge7wn gbHOuAW39OfnxLPEmhwF5qVg/JYWqwKCuX0Ph+atLQanXyhFZg3pvTCKXjfhA3Zbijo/dXULN feGXPE8pUJ6Bi9JI3qafqH05EZj/nOrBjdZ1TbgvwUIyzH21RRV7zibIrsbIO6NA0weiCf+oe NXrU2nXRqkrogyHte450ntUDQ2C1fJszv7pWYbNqcH5uK09XLl2V89Fo1ei0Vk/csDKZzzoL/ ymvQG2mwIhPvt6BZr0ZuJFKJefRJ/fprLYTaQstuhZfR0qILo79pBjImvIZaujRcHXmrdTncc ABSBkYr26NDtE3m+iLsyi/iMsHjERxFe2G4XOs4jsotq9GCJMDNpMr9Pa0pn1BBFCuS5nyVL8 FpbpyRlqkcT7toiQXGiTAQ6BiMx+SzQA4lL3K3NWQcPcPjo3O9EUYcMxHRPogmPjhkRzxFgtz LbPvNijsX+Yvo/Km X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220506_082920_511639_A5E4F505 X-CRM114-Status: UNSURE ( 9.02 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Marcel Ziswiler Add Colibri SSP aka SPI chip select (CS) aka slave select (SS) pins as either used on Arduino UNO compatible header X18 or Raspberry Pi compatible header X20. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/imx7-colibri-aster.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/imx7-colibri-aster.dtsi b/arch/arm/boot/dts/imx7-colibri-aster.dtsi index a89c868ff3ed..117965705814 100644 --- a/arch/arm/boot/dts/imx7-colibri-aster.dtsi +++ b/arch/arm/boot/dts/imx7-colibri-aster.dtsi @@ -7,6 +7,16 @@ &adc1 { status = "okay"; }; +/* Colibri SSP */ +&ecspi3 { + cs-gpios = < + &gpio4 11 GPIO_ACTIVE_LOW /* SODIMM 86 / regular SSPFRM as UNO_SPI_CS or */ + &gpio4 23 GPIO_ACTIVE_LOW /* SODIMM 65 / already muxed pinctrl_gpio2 as SPI_CE0_N */ + &gpio4 22 GPIO_ACTIVE_LOW /* SODIMM 85 / already muxed pinctrl_gpio2 as SPI_CE1_N */ + >; + status = "okay"; +}; + &fec1 { status = "okay"; };