From patchwork Tue Mar 14 10:23:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 69448 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1677256wrd; Tue, 14 Mar 2023 03:35:39 -0700 (PDT) X-Google-Smtp-Source: AK7set8UFM8ImGZ0S+P0g6GpGpnoOHf/NIooQh30tCznvHSS1RUZst3u666Mnag9Y67qZfL8DITt X-Received: by 2002:a17:902:e54c:b0:1a0:6721:6cdb with SMTP id n12-20020a170902e54c00b001a067216cdbmr1997688plf.40.1678790139444; Tue, 14 Mar 2023 03:35:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678790139; cv=none; d=google.com; s=arc-20160816; b=0iMB8A3FQN+QbdYP3z08xqebJnqZZH6rTsNRyYmBHwND0zBtbVXsLp6oUqMRH0CoQG ptvTVN3EEi3Wa+rrb+XurYh0PHTfdFd7Xffpf/YS4GT8ppcLwVLU7VaZL5i7j8cZyDPD EQgY+TaYCo/7P0jRUtKyBYtVDT7CtCsyeEMIuzVW5+BjN2Uc1W4vZDa62Vn8FSi9/dSY cgEbh7cd1fLy9yDFS7dhxOUsSjNnpU0kHrYqMGvJyhm02uAHrQdQRFkdS0lKmx3Q1pdJ xgeMlbc7U10JOoGYEixwEHCux1omUhYyZ+Rb73v1LZLY8w3l/F7UGLnKqUnvKpMQ6F+6 vwsg== 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=ZnD347+1NJvYygK06+myw5A8ptwU3tK8Fuk6R6HsA7Q=; b=N4/5uXlIU94hzxQ8ElEGwDCWDAmAfng5K6wxi7FWmpWPsrieMI9j0kkorde0Bclwky 2ZQGk7LPYwiNhgi4V/N/78RGaZaGDCkLjGg90vx8j8t2lBqe1Q0dSBXxfh+QIz0oX3NT j2mlctR3LYE6Yi5kXEWC0+gKF2SD0fA/ybF+4SmkbXyrDXBih4hdGKiby+0T8MXrJ0/P 3QtPV9ayegaNY3+PYE5seQHy0YexQV2lgQfRibWAOE5qIYo8JwvLVPFQkIQJY0K1bULY j6ENSWpHK8YAbXSnUMfE4TEaKMsUfU+MBlN9askrP//Icgd6PCUeTRpfLnbqLpAsANop WZ1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=hcd5AUeA; 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 kh15-20020a170903064f00b001949b544e31si2104211plb.601.2023.03.14.03.35.26; Tue, 14 Mar 2023 03:35:39 -0700 (PDT) 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=hcd5AUeA; 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 S231234AbjCNKZs (ORCPT + 99 others); Tue, 14 Mar 2023 06:25:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230503AbjCNKZE (ORCPT ); Tue, 14 Mar 2023 06:25:04 -0400 Received: from smtp-bc0a.mail.infomaniak.ch (smtp-bc0a.mail.infomaniak.ch [IPv6:2001:1600:4:17::bc0a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F53962D85 for ; Tue, 14 Mar 2023 03:24:34 -0700 (PDT) Received: from smtp-3-0000.mail.infomaniak.ch (unknown [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4PbV4q4nQfzMqL8l; Tue, 14 Mar 2023 11:24:27 +0100 (CET) Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4PbV4q1TkDz2N3w; Tue, 14 Mar 2023 11:24:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1678789467; bh=ubrRREFJbi3avGa42t5b/PaZc2QNbUiTuZfC6xd4sFc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hcd5AUeA+XNtjjj+Q86TBCDos3hExErBQLNn2SGuvRcU5W+t9WwLEWtz2uzSYYsYG LvZTN2Q4eBvBvmbSCZlQdJZbCOZp8N4enNfDfCMS2UatyqcIHguAL6yIZlht7vDIsL wCPUjL/6yLZ2+fQI6HYvch/n3gHdYdSsZ4Z87u3A= From: Philippe Schenker To: devicetree@vger.kernel.org, Shawn Guo , Sascha Hauer Cc: NXP Linux Team , Frank Rowand , Rob Herring , Krzysztof Kozlowski , Fabio Estevam , Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org, Philippe Schenker , linux-kernel@vger.kernel.org Subject: [PATCH v2 11/23] arm64: dts: colibri-imx8x: Add gpio-line-names Date: Tue, 14 Mar 2023 11:23:57 +0100 Message-Id: <20230314102410.424773-12-dev@pschenker.ch> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230314102410.424773-1-dev@pschenker.ch> References: <20230314102410.424773-1-dev@pschenker.ch> MIME-Version: 1.0 X-Infomaniak-Routing: alpha X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760339049211215564?= X-GMAIL-MSGID: =?utf-8?q?1760339049211215564?= From: Philippe Schenker This commit adds gpio-line-names in line with other SoM from Toradex. Signed-off-by: Philippe Schenker --- (no changes since v1) .../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 a2364845e976..26f46fe56aa2 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 { bus-width = <8>;