From patchwork Wed Jun 15 11:49:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Krummenacher X-Patchwork-Id: 12882226 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 212A7CCA473 for ; Wed, 15 Jun 2022 11:52:21 +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=8Jl+7h+cpFfaaIRX8NThLULs4a7PH/lZ038Q7n7xyaE=; b=tVBuRdwKW7hwXd Om0f389mZZeORD4NdE5myYM3Fk2iYs0zDubT9i0jFURAUt4mwzlGmg1N5tVCpwStZMxois4hIiEuu ZvlB5qZMG762WM6cJJMXS3VKMsPCwt+hgBxV6xAMNGkUpuEM1iseqhwStt9WrQCvQ4Q8dMkGu/iUl ipjCBH+hsbkC2VhnkKoSbhsfl13iofCXunXDW4ne/b2fQ8xfZQxl5/O/GbMq31JU3EiS+knqepz8B XYsPgUOiNJZk8qacPYE4nCfj2weuuIk2Cj3RFJVVZvSwbx7M7xxdfsKGWGfiLFSw/6xbNTB8D7yFW 14CbW8yCqrIdz5ie4U9Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1RYI-00EGzV-4k; Wed, 15 Jun 2022 11:51:14 +0000 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1RXt-00EGiD-TK for linux-arm-kernel@lists.infradead.org; Wed, 15 Jun 2022 11:50:51 +0000 Received: by mail-ej1-x62e.google.com with SMTP id v1so22644905ejg.13 for ; Wed, 15 Jun 2022 04:50:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hbuNbuFRMh77FD92rjpod8WPzcoxND//BRsYSF6PCGY=; b=G2vQKVJJTGv6bRmCu53yq7Jrj1h534tzPvr+gDeGvNl2Dg/98bS1wbslkXS5p4V8/c JpOG+JazF/Fielamogug1wf5Jvnj9fEl1izxp4E1RDqr6qcmuAxY9KYXFxwkpzHH8MFx PGr6z9Z9Z2wQRpGhB0rP3bxV+7MrAtCVZ0XCtE1iVewON3I6FBwvHjpDdlRtG/P5Ifbv fLDPn3oNgvx4AhGqxzhharWf0/8QSIq75Van5/9ASiG8Qw+qlcWnHlfdIG6iGAaTGK8W yPhEiwcleOKVNu3nyxVTZLkCnd0HtHHtq9m5YReM71W3IFprXXHuWZYQeVzOEMOmct1V 2z1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hbuNbuFRMh77FD92rjpod8WPzcoxND//BRsYSF6PCGY=; b=fEWzDD3y28ftnMzrz2AghrvLuMTcWKzsAdIGq4wc/8xDzPJ59vr6Y2cpBf2ZrgBiAL cGkjtgE11uJnNAdHpmSFxcKoY9VpLvREBl8SUi8EdcW9ZvpN6EqGMssc0l4wEW4HwOCc 83jj6FKIbVQocfHbZq3uOPblPyoxifVpFhc7PDGTUpjI1DTJq6sP5rsq+b6WUinIgQQk 563BBK7Q5/fiEsmhZGpjBzti8MMQubN8y2z0wWRBohsWAtdt3QYpJSvjjOYRCbP4Wp0Y oha9S4PZiuNu+UAlQNeA8OFErFe69UOr3c2H2U2oadNlE+hfSX/0cUcigK392zAOCATx bgBg== X-Gm-Message-State: AOAM532YkEq4Uy9VPr3I8KcKYPshu1k+xYyK/89HJ3fz4Fq7/Qu/Ilp6 7y2g/1E9WJyQ103Hz6gtvsU= X-Google-Smtp-Source: ABdhPJynn2DiZLlWxu7Uy+3g/jgm361kQsgU3JoPC9+DJna0YxU05sUfKEd3ntz3FvjjHgObffh9kg== X-Received: by 2002:a17:907:7f2a:b0:711:dbde:19a1 with SMTP id qf42-20020a1709077f2a00b00711dbde19a1mr8471813ejc.87.1655293847501; Wed, 15 Jun 2022 04:50:47 -0700 (PDT) Received: from linuxdev2.toradex.int (31-10-206-125.static.upc.ch. [31.10.206.125]) by smtp.gmail.com with ESMTPSA id t6-20020a17090616c600b00715a02874acsm4561158ejd.35.2022.06.15.04.50.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jun 2022 04:50:47 -0700 (PDT) From: Max Krummenacher To: max.krummenacher@toradex.com Cc: Fabio Estevam , Krzysztof Kozlowski , NXP Linux Team , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 03/18] ARM: dts: imx6q-apalis: Add gpio-line-names Date: Wed, 15 Jun 2022 13:49:51 +0200 Message-Id: <20220615115006.45672-4-max.oss.09@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220615115006.45672-1-max.oss.09@gmail.com> References: <20220615115006.45672-1-max.oss.09@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220615_045049_995970_DF024612 X-CRM114-Status: GOOD ( 11.80 ) 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: Max Krummenacher Add GPIO line names on module level. Those are all GPIOs which a user might use on his custom carrier board. If more meaningful names are available on the carrier board, the user can overwrite the line names in the carrier board level device tree. Signed-off-by: Max Krummenacher --- (no changes since v1) arch/arm/boot/dts/imx6qdl-apalis.dtsi | 193 ++++++++++++++++++++++++++ 1 file changed, 193 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-apalis.dtsi b/arch/arm/boot/dts/imx6qdl-apalis.dtsi index da919d0544a8..e56451651a6d 100644 --- a/arch/arm/boot/dts/imx6qdl-apalis.dtsi +++ b/arch/arm/boot/dts/imx6qdl-apalis.dtsi @@ -141,6 +141,199 @@ status = "disabled"; }; +&gpio1 { + gpio-line-names = "MXM3_84", + "MXM3_4", + "MXM3_15/GPIO7", + "MXM3_96", + "MXM3_37", + "", + "MXM3_17/GPIO8", + "MXM3_14", + "MXM3_12", + "MXM3_2", + "MXM3_184", + "MXM3_180", + "MXM3_178", + "MXM3_176", + "MXM3_188", + "MXM3_186", + "MXM3_160", + "MXM3_162", + "MXM3_150", + "MXM3_144", + "MXM3_154", + "MXM3_146", + "", + "", + "MXM3_72"; +}; + +&gpio2 { + gpio-line-names = "MXM3_148", + "MXM3_152", + "MXM3_156", + "MXM3_158", + "MXM3_1/GPIO1", + "MXM3_3/GPIO2", + "MXM3_5/GPIO3", + "MXM3_7/GPIO4", + "MXM3_95", + "MXM3_6", + "MXM3_8", + "MXM3_123", + "MXM3_126", + "MXM3_128", + "MXM3_130", + "MXM3_132", + "MXM3_253", + "MXM3_251", + "MXM3_283", + "MXM3_281", + "MXM3_279", + "MXM3_277", + "MXM3_243", + "MXM3_235", + "MXM3_231", + "MXM3_229", + "MXM3_233", + "MXM3_198", + "MXM3_275", + "MXM3_273", + "MXM3_207", + "MXM3_122"; +}; + +&gpio3 { + gpio-line-names = "MXM3_271", + "MXM3_269", + "MXM3_301", + "MXM3_299", + "MXM3_297", + "MXM3_295", + "MXM3_293", + "MXM3_291", + "MXM3_289", + "MXM3_287", + "MXM3_249", + "MXM3_247", + "MXM3_245", + "MXM3_286", + "MXM3_239", + "MXM3_35", + "MXM3_205", + "MXM3_203", + "MXM3_201", + "MXM3_116", + "MXM3_114", + "MXM3_262", + "MXM3_274", + "MXM3_124", + "MXM3_110", + "MXM3_120", + "MXM3_263", + "MXM3_265", + "", + "MXM3_135", + "MXM3_261", + "MXM3_259"; +}; + +&gpio4 { + gpio-line-names = "", + "", + "", + "", + "", + "MXM3_194", + "MXM3_136", + "MXM3_134", + "MXM3_140", + "MXM3_138", + "", + "MXM3_220", + "", + "", + "MXM3_18", + "MXM3_16", + "", + "", + "MXM3_214", + "MXM3_216", + "MXM3_164"; +}; + +&gpio5 { + gpio-line-names = "MXM3_159", + "", + "", + "", + "MXM3_257", + "", + "", + "", + "", + "", + "MXM3_200", + "MXM3_196", + "MXM3_204", + "MXM3_202", + "", + "", + "", + "", + "MXM3_191", + "MXM3_197", + "MXM3_77", + "MXM3_195", + "MXM3_221", + "MXM3_225", + "MXM3_223", + "MXM3_227", + "MXM3_209", + "MXM3_211", + "MXM3_118", + "MXM3_112", + "MXM3_187", + "MXM3_185"; +}; + +&gpio6 { + gpio-line-names = "MXM3_183", + "MXM3_181", + "MXM3_179", + "MXM3_177", + "MXM3_175", + "MXM3_173", + "MXM3_255", + "MXM3_83", + "MXM3_91", + "MXM3_13/GPIO6", + "MXM3_11/GPIO5", + "MXM3_79", + "", + "", + "MXM3_190", + "MXM3_193", + "MXM3_89"; +}; + +&gpio7 { + gpio-line-names = "", + "", + "", + "", + "", + "", + "", + "", + "", + "MXM3_99", + "MXM3_85", + "MXM3_217", + "MXM3_215"; +}; + &fec { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_enet>;