From patchwork Wed Mar 8 12:52:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 66196 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp321921wrd; Wed, 8 Mar 2023 05:12:32 -0800 (PST) X-Google-Smtp-Source: AK7set+uhFlkRbbJxKRe93Pyvqqchocg9t1RC5hTW5tcUEZt03F1hgMq/3QtdgVY+JsmEc7iEMQB X-Received: by 2002:aa7:c1c4:0:b0:4af:62af:460a with SMTP id d4-20020aa7c1c4000000b004af62af460amr19708381edp.8.1678281151844; Wed, 08 Mar 2023 05:12:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678281151; cv=none; d=google.com; s=arc-20160816; b=LRk/X/+UuuzggBNeLTgidv9/CGuiy8KDEqIkeHlP95EpSXrBkc/0hIHYjhEiJ7cUAa uD9VHT8CAzxeT77JlcGgO6px4O8mUJgdHGLd8hSGFs+URzc7k1c2iA5p9+M4eLUyE0fc y7OVDC8uA57OVYCwOZR9fA4ZViX4io5IFMXI8zertpGRQfAQ0ga3XoMatCwlM3dRo30T trSODmo4PDj3zAZ4ZhY4nk8HWmLsyPVmlrjbFpdcOYU1y39TnmpaiCcHfaqWTt39HHvV /Tmk+5hzKl6CL953oEW3J1mtaw63+kTi67Iel+QKVeGj1bwuAsbDQ1fOIvWX7Jy/ge9q vz8A== 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=9nHj226i6APHLYeQ3VzAopeGnZHxr3rbp1rnkXngmjA=; b=PuAq5bbn/DYS6HUs3G6KQ98RlDh5vV0zJmY8VWTzgZrMvn0ghNwOLxIsQJRK+p8sL5 P/htgG4MfAryL2abPvBKJFExEHmltB6VX2MHwFO2aCxBX5h3yDZr7bxQL09pzlanMI4R VpMum0RywbXgoYXqf/iu4tCEo8Fxbl9BMczo6Vrs9hGOVOVXvAH/sV3Dt9lh0HnfypSP O1tG83YwqCcOu+fqkAcYozCPh/qJ449skCx0UyX8krZ+T+Egzs1kAwcweBena/olI4Af 01omabhmmrsm+UjO3u6dgw2o4HEH0oDCTaBUjxI3BEvLoBPx0Uyfn/M1LwkPP1UbgRkE jOIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=ZVu4Kzas; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x16-20020aa7dad0000000b004acd2bd34c0si4468777eds.46.2023.03.08.05.11.51; Wed, 08 Mar 2023 05:12:31 -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=@pschenker.ch header.s=20220412 header.b=ZVu4Kzas; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231616AbjCHNC0 (ORCPT + 99 others); Wed, 8 Mar 2023 08:02:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231535AbjCHNBH (ORCPT ); Wed, 8 Mar 2023 08:01:07 -0500 X-Greylist: delayed 426 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 08 Mar 2023 05:00:13 PST Received: from smtp-190c.mail.infomaniak.ch (smtp-190c.mail.infomaniak.ch [185.125.25.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCE3DC5620 for ; Wed, 8 Mar 2023 05:00:13 -0800 (PST) Received: from smtp-2-0000.mail.infomaniak.ch (unknown [10.5.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4PWsgG2jSXzMq1SS; Wed, 8 Mar 2023 13:53:14 +0100 (CET) Received: from unknown by smtp-2-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4PWsgF62cCzMslsN; Wed, 8 Mar 2023 13:53:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1678279994; bh=3Fq7e9gmvQWCP55e4sk+hcFy+Fc7/kfRQcUVSGJF8k0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZVu4KzasXOCai9IGFhoTUTzv11Dz3wOyKNN+emCN4z9dpQp8UleEgvaOclCS+dNq3 y6QCB3OiOpx7VksRS1jeqA1QymViSYjs5MMxibDMGV/pCB5UyjFkqIphijM4L+FBDi ppHkjTEcfKrrANYWHs3AysMZrW002rAGOC1C4s9M= From: Philippe Schenker To: devicetree@vger.kernel.org, Shawn Guo , Sascha Hauer Cc: NXP Linux Team , Krzysztof Kozlowski , Rob Herring , Pengutronix Kernel Team , Frank Rowand , linux-arm-kernel@lists.infradead.org, Fabio Estevam , Philippe Schenker , linux-kernel@vger.kernel.org Subject: [PATCH v1 13/25] arm64: dts: colibri-imx8x: Add gpio-line-names Date: Wed, 8 Mar 2023 13:52:47 +0100 Message-Id: <20230308125300.58244-14-dev@pschenker.ch> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230308125300.58244-1-dev@pschenker.ch> References: <20230308125300.58244-1-dev@pschenker.ch> MIME-Version: 1.0 X-Infomaniak-Routing: alpha X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759805336823698376?= X-GMAIL-MSGID: =?utf-8?q?1759805336823698376?= From: Philippe Schenker This commit adds gpio-line-names in line with other SoM from Toradex. Signed-off-by: Philippe Schenker --- .../boot/dts/freescale/imx8x-colibri.dtsi | 152 ++++++++++++++++++ 1 file changed, 152 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index cfa2c569e01c..9555cfa8b27e 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -98,6 +98,158 @@ &lpspi2 { cs-gpios = <&lsio_gpio1 0 GPIO_ACTIVE_LOW>; }; +&lsio_gpio0 { + gpio-line-names = "", + "SODIMM_70", + "SODIMM_60", + "SODIMM_58", + "SODIMM_78", + "SODIMM_72", + "SODIMM_80", + "SODIMM_46", + "SODIMM_62", + "SODIMM_48", + "SODIMM_74", + "SODIMM_50", + "SODIMM_52", + "SODIMM_54", + "SODIMM_66", + "SODIMM_64", + "SODIMM_68", + "", + "", + "SODIMM_82", + "SODIMM_56", + "SODIMM_28", + "SODIMM_30", + "", + "SODIMM_61", + "SODIMM_103", + "", + "", + "", + "SODIMM_25", + "SODIMM_27", + "SODIMM_100"; +}; + +&lsio_gpio1 { + gpio-line-names = "SODIMM_86", + "SODIMM_92", + "SODIMM_90", + "SODIMM_88", + "", + "", + "", + "SODIMM_59", + "", + "SODIMM_6", + "SODIMM_8", + "", + "", + "SODIMM_2", + "SODIMM_4", + "SODIMM_34", + "SODIMM_32", + "SODIMM_63", + "SODIMM_55", + "SODIMM_33", + "SODIMM_35", + "SODIMM_36", + "SODIMM_38", + "SODIMM_21", + "SODIMM_19", + "SODIMM_140", + "SODIMM_142", + "SODIMM_196", + "SODIMM_194", + "SODIMM_186", + "SODIMM_188", + "SODIMM_138"; +}; + +&lsio_gpio2 { + gpio-line-names = "SODIMM_23", + "", + "", + "SODIMM_144"; +}; + +&lsio_gpio3 { + gpio-line-names = "SODIMM_96", + "SODIMM_75", + "SODIMM_37", + "SODIMM_29", + "", + "", + "", + "", + "", + "SODIMM_43", + "SODIMM_45", + "SODIMM_69", + "SODIMM_71", + "SODIMM_73", + "SODIMM_77", + "SODIMM_89", + "SODIMM_93", + "SODIMM_95", + "SODIMM_99", + "SODIMM_105", + "SODIMM_107", + "SODIMM_98", + "SODIMM_102", + "SODIMM_104", + "SODIMM_106"; +}; + +&lsio_gpio4 { + gpio-line-names = "", + "", + "", + "SODIMM_129", + "SODIMM_133", + "SODIMM_127", + "SODIMM_131", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "SODIMM_44", + "", + "SODIMM_76", + "SODIMM_31", + "SODIMM_47", + "SODIMM_190", + "SODIMM_192", + "SODIMM_49", + "SODIMM_51", + "SODIMM_53"; +}; + +&lsio_gpio5 { + gpio-line-names = "", + "SODIMM_57", + "SODIMM_65", + "SODIMM_85", + "", + "", + "", + "", + "SODIMM_135", + "SODIMM_137", + "UNUSABLE_SODIMM_180", + "UNUSABLE_SODIMM_184"; +}; + /* On-module eMMC */ &usdhc1 { pinctrl-names = "default", "state_100mhz", "state_200mhz";