Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp422946iog; Wed, 15 Jun 2022 05:12:29 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t6v0i4Zj9+FhqQ0QeTFZNtxIQB5m63G4thdjUKJ34B9FdwOnBxDgiITfqV/LdS3ipaVK0n X-Received: by 2002:a05:6402:34a:b0:432:dd71:c8 with SMTP id r10-20020a056402034a00b00432dd7100c8mr12183701edw.377.1655295148789; Wed, 15 Jun 2022 05:12:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655295148; cv=none; d=google.com; s=arc-20160816; b=teHGD0IDLQWK0GtXOL0GMXJccmySBhh33K8vzYiwgT5lL4hZnpWyfBRw22s9MTcAcP rF8l5mks9x/EevA46TyKBMt9zUwv1+PgGtL8Aq+2RkesE8k+lK78kHgD6xNFpIuHmpRJ 0x1uxEeAhElaSR2mwMX8qUA+XWhPnBEdN9dx70yWuXGLm+NuraM0/3iOuikV2n0uXGgl pPRLsoplqX0pB5WTYSrtlZ/LlKjKA0F9JEYkh15n3m8xnMKe6u9du8IspX8geUicLXut 8ywLYMcPvPht+HZ86ptLQfZxqAAvMobiTs3IeR6xlvsDioLZHvCWvTAMyEv85C8k1Xng 6JYw== 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=hbuNbuFRMh77FD92rjpod8WPzcoxND//BRsYSF6PCGY=; b=TkwRZJBjUQ0zfNeYN6NZ/t/uZBbSN/bs+SvvCJyeUQ4utyWMVg2SdbQT/O+l4gr/b6 Yh75kxBWYP03gVXLnxoIpsVTYmjHsBwC9LvxdnmbrOyTOcE7sELPixCiwlM7mucmL+Pe 6DTP7F0gkQ4hyx+3WI3IabiE3lyoaVpAhHWquyZrCK6AABv0TH3j/XGnXHVM4CurooRd IZw26euFF4H4jQkfVF4FHOuQWhz8aKxamB8wLz7TB1hxLO7sdhAdI7KPUvjWVFGC7kuw /4eHNOFS9grecRSwrYTovaBmpksgtMNA1jcfdN983pRfL48qvKhvTQTEUuybC293Xn1I nl4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=G2vQKVJJ; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d19-20020aa7d5d3000000b0042dcbcd0611si12849932eds.93.2022.06.15.05.12.02; Wed, 15 Jun 2022 05:12:28 -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=@gmail.com header.s=20210112 header.b=G2vQKVJJ; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346600AbiFOLu4 (ORCPT + 99 others); Wed, 15 Jun 2022 07:50:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345165AbiFOLut (ORCPT ); Wed, 15 Jun 2022 07:50:49 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F366A4B1D0; Wed, 15 Jun 2022 04:50:48 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id v1so22644902ejg.13; 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=puaqd09bpJX5cqNlWo8tz89bdutmctpSyl631VZGNkFvtajVCQTOGKViUkQax2SRJL N8O/XMngJwVsdQHWwklIQmNHmze+k6OH0ExvSyw1KTNQ/BMf3URmQFLXncZbJ9DacgAw 8j03O3tXRMiiUbFWs+KumEKWb1jqOk+JGgfYJ1WPcMkriQXhPP3pAPqhi+GCTaMLFZtJ ujTD0Ctdga2LEepRevzNKohSJ89lCUWcwV4vaNPOv/L/C707fCNDD/7tbDAnIiW2th7f 1N6vT8kGgs4ZKhpswIJYUHdYyaBoe3ZWkEB3Dwt9F+7m1MjMa4/LZ4kH9S0WcPCjWM7m q6mw== X-Gm-Message-State: AOAM531vPUOCx48gJP1iWDZAoyqUuyoaHaqBZZ1qGkSSm4B10jE72s8R 9Bl+GEgVjpe5nbTqGEVrlIum9Jet412rZg== 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 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>; -- 2.20.1