Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp462536pxb; Wed, 27 Jan 2021 12:03:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJz3+U4Ce0yPkmqyjKP8X8j17tCAEBm1plZ0cxPaN3zbxjlR16CMUQH9ShqE63FeBJH4rY9s X-Received: by 2002:a50:fc97:: with SMTP id f23mr11227619edq.307.1611777822093; Wed, 27 Jan 2021 12:03:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611777822; cv=none; d=google.com; s=arc-20160816; b=zPHywWs2cNb+DSEp3qrkhlI1T/P7Cw0u8IqmJWCzj7eujtcxk8CGOFxV8afxcaQM+P 0ViyOW8ucPYup4O2EKAZuy+tZze853hdIpAe677YxORykEZlfUzJCnz0Jh8bB5n/btf4 2DIWL97qLboJ3MyYLOlIILYJJzhCWwyUISbCfvGUOQRnrtM14+e8CuHrSZFdcVYqQF9C lwh739AdqmLD9xb93QQQodlehVP8gn618Kx610VRnh/E3g7gIzAmS8bmVN9LwSckjNYm 0KHbUOQ+p0uRtKtXIEiIyf9E8dWIiE6P2RF1YbtCMWbbahtrEzzyQ0ZaOMLzI/GyTOti W8MQ== 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=u2CFxYIjg6arrEjc41dhVQJWSHe8H+mJoN8546JORc4=; b=JgOFFgpOrSdUcK+0SdGkOjaT0dKNJcXftZlju7wGQ5RwRQV9RFicqG9VYQ3j4ZY4jf BwRGFPC40HCMmwIR4MabmWTST3gZzj933O3XLYr+Vg2hO8/2eIM8AQxSED7D+QCShcgE 3HXsWylj8e3im5DiSufGpWTramPIIdrNF4UPZH4IP6yIQljVmoWdwoFFgPITU8LfwdLD dS8XD9RRQT3hUF3aIDPMnT/AwEYyzRDHCiNviJR+K3ubSD4ivFtmnFZQttO79sqOH0kK rLN0kmwrAalvfBrcFKR/lNhp/i05bRJpqJin943EdrSGS905Nr/4pU/TZUY+P/MS0s/D zs3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@beagleboard-org.20150623.gappssmtp.com header.s=20150623 header.b=bg4Hqcy5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n12si1505965edq.352.2021.01.27.12.03.16; Wed, 27 Jan 2021 12:03:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@beagleboard-org.20150623.gappssmtp.com header.s=20150623 header.b=bg4Hqcy5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237225AbhA0DtT (ORCPT + 99 others); Tue, 26 Jan 2021 22:49:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389676AbhA0AGv (ORCPT ); Tue, 26 Jan 2021 19:06:51 -0500 Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9088C061351 for ; Tue, 26 Jan 2021 16:05:18 -0800 (PST) Received: by mail-pg1-x530.google.com with SMTP id o7so351370pgl.1 for ; Tue, 26 Jan 2021 16:05:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beagleboard-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=u2CFxYIjg6arrEjc41dhVQJWSHe8H+mJoN8546JORc4=; b=bg4Hqcy5ToVXiqQaq8Cjw4rg6lUpvXbcGmxu7yC1mKiD7XSVQIIROwQdOBColzpyd6 F3fw7EEQj9tNbs4teaEqiCsfX8DmtXhziwtgvE7eyMIlw3lJYV9cIc0wWXuWV1GtyuV0 TdnrpmtWGX5pVcYuMu2NPeYyoxjEEADXvtBpuOz0y7Sow/mKMlk4kJ8LjierVee2lde6 7J6m6G7fZH0J84iktd2K9tsA1+D4c76t7L6w3iycEljE0qa/Hjz9IjDFi9ZxIyhEx6u0 ktXui8lEM7ph9fEhMnpSygWdd9t57r2YRWPNN89kqcFLbGFHqCtGk17Vf4hek9tEIiFh N4ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=u2CFxYIjg6arrEjc41dhVQJWSHe8H+mJoN8546JORc4=; b=eZmjSbocLRYAbhSPzoGXLG1lM+vi2z4vS/9x9B79JEQ2KviEWCtpDRuHKuidxa+WIu dvlc1Iil1YmDp1dfKax5Md0GN2L+G9z42NkgDLuKWMlIc6wx7zlOO6qumosxFI8DqB5V Ozw8ny0sYvc2GM3+YhLc7KQ3gg1GF6gpF/N6jO42S+cmYBHBlS+1eITLroPvVEeyyYbl XF2fhWZnhUSdgOtQsMAVcMTZ+SGRyjIecO6gu1x8UROOik/74FXdYQAdM4I/5RxYuxTw he4o607FxLRYs0ubQw6o4Es8n0exRCb7x0tZ2k/+MvV622RRUisx+IZbdS0ECtZgwOMp tpbw== X-Gm-Message-State: AOAM530WANbafBUFa4Yk8/YONKbKGhoFgQUhNIHZcAZ25y2sW3JsLe5t iHXJpVs1t76O04wtwgRcRqDX0w== X-Received: by 2002:a63:1c09:: with SMTP id c9mr8058931pgc.185.1611705918421; Tue, 26 Jan 2021 16:05:18 -0800 (PST) Received: from x1.hsd1.or.comcast.net ([2601:1c0:4701:ae70:515f:b0ad:6302:bbc2]) by smtp.gmail.com with ESMTPSA id y5sm213536pfq.96.2021.01.26.16.05.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jan 2021 16:05:17 -0800 (PST) From: Drew Fustini To: bcousson@baylibre.com, Tony Lindgren , Rob Herring , linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jason Kridner , Robert Nelson , Bjorn Andersson , Linus Walleij , Bartosz Golaszewski , linux-gpio@vger.kernel.org Cc: Drew Fustini Subject: [PATCH 2/2] ARM: dts: am335x-boneblack.dts: unique gpio-line-names Date: Tue, 26 Jan 2021 16:03:05 -0800 Message-Id: <20210127000303.436595-2-drew@beagleboard.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210127000303.436595-1-drew@beagleboard.org> References: <20210127000303.436595-1-drew@beagleboard.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Based on linux-gpio discussion [1], it is best practice to make the gpio-line-names unique. Generic names like "[ethernet]" are replaced with the name of the unique signal on the AM3358 SoC ball corresponding to the gpio line. "[NC]" is also renamed to the standard "NC" name to represent "not connected". [1] https://lore.kernel.org/linux-gpio/20201216195357.GA2583366@x1/ Signed-off-by: Drew Fustini --- arch/arm/boot/dts/am335x-boneblack.dts | 130 ++++++++++++------------- 1 file changed, 65 insertions(+), 65 deletions(-) diff --git a/arch/arm/boot/dts/am335x-boneblack.dts b/arch/arm/boot/dts/am335x-boneblack.dts index b4feb85e171a..ad9d32c7ec44 100644 --- a/arch/arm/boot/dts/am335x-boneblack.dts +++ b/arch/arm/boot/dts/am335x-boneblack.dts @@ -26,54 +26,54 @@ oppnitro-1000000000 { &gpio0 { gpio-line-names = - "[ethernet]", - "[ethernet]", + "[mdio_data]", + "[mdio_clk]", "P9_22 [spi0_sclk]", "P9_21 [spi0_d0]", "P9_18 [spi0_d1]", "P9_17 [spi0_cs0]", - "[sd card]", + "[mmc0_cd]", "P8_42A [ecappwm0]", - "P8_35 [hdmi]", - "P8_33 [hdmi]", - "P8_31 [hdmi]", - "P8_32 [hdmi]", + "P8_35 [lcd d12]", + "P8_33 [lcd d13]", + "P8_31 [lcd d14]", + "P8_32 [lcd d15]", "P9_20 [i2c2_sda]", "P9_19 [i2c2_scl]", "P9_26 [uart1_rxd]", "P9_24 [uart1_txd]", - "[ethernet]", - "[ethernet]", - "[usb]", - "[hdmi]", + "[rmii1_txd3]", + "[rmii1_txd2]", + "[usb0_drvvbus]", + "[hdmi cec]", "P9_41B", - "[ethernet]", + "[rmii1_txd1]", "P8_19 [ehrpwm2a]", "P8_13 [ehrpwm2b]", - "[NC]", - "[NC]", + "NC", + "NC", "P8_14", "P8_17", - "[ethernet]", - "[ethernet]", + "[rmii1_txd0]", + "[rmii1_refclk]", "P9_11 [uart4_rxd]", "P9_13 [uart4_txd]"; }; &gpio1 { gpio-line-names = - "P8_25 [emmc]", - "[emmc]", - "P8_5 [emmc]", - "P8_6 [emmc]", - "P8_23 [emmc]", - "P8_22 [emmc]", - "P8_3 [emmc]", - "P8_4 [emmc]", - "[NC]", - "[NC]", - "[NC]", - "[NC]", + "P8_25 [mmc1_dat0]", + "[mmc1_dat1]", + "P8_5 [mmc1_dat2]", + "P8_6 [mmc1_dat3]", + "P8_23 [mmc1_dat4]", + "P8_22 [mmc1_dat5]", + "P8_3 [mmc1_dat6]", + "P8_4 [mmc1_dat7]", + "NC", + "NC", + "NC", + "NC", "P8_12", "P8_11", "P8_16", @@ -82,13 +82,13 @@ &gpio1 { "P9_23", "P9_14 [ehrpwm1a]", "P9_16 [ehrpwm1b]", - "[emmc]", + "[emmc rst]", "[usr0 led]", "[usr1 led]", "[usr2 led]", "[usr3 led]", - "[hdmi]", - "[usb]", + "[hdmi irq]", + "[usb vbus oc]", "[hdmi audio]", "P9_12", "P8_26", @@ -116,38 +116,38 @@ &gpio2 { "P8_38 [hdmi]", "P8_36 [hdmi]", "P8_34 [hdmi]", - "[ethernet]", - "[ethernet]", - "[ethernet]", - "[ethernet]", + "[rmii1_rxd3]", + "[rmii1_rxd2]", + "[rmii1_rxd1]", + "[rmii1_rxd0]", "P8_27 [hdmi]", "P8_29 [hdmi]", "P8_28 [hdmi]", "P8_30 [hdmi]", - "[emmc]", - "[emmc]", - "[emmc]", - "[emmc]", - "[emmc]", - "[emmc]"; + "[mmc0_dat3]", + "[mmc0_dat2]", + "[mmc0_dat1]", + "[mmc0_dat0]", + "[mmc0_clk]", + "[mmc0_cmd]"; }; &gpio3 { gpio-line-names = - "[ethernet]", - "[ethernet]", - "[ethernet]", - "[ethernet]", - "[ethernet]", - "[i2c0]", - "[i2c0]", - "[emu]", - "[emu]", - "[ethernet]", - "[ethernet]", - "[NC]", - "[NC]", - "[usb]", + "[mii col]", + "[mii crs]", + "[mii rx err]", + "[mii tx en]", + "[mii rx dv]", + "[i2c0 sda]", + "[i2c0 scl]", + "[jtag emu0]", + "[jtag emu1]", + "[mii tx clk]", + "[mii rx clk]", + "NC", + "NC", + "[usb vbus en]", "P9_31 [spi1_sclk]", "P9_29 [spi1_d0]", "P9_30 [spi1_d1]", @@ -156,14 +156,14 @@ &gpio3 { "P9_27", "P9_41A", "P9_25", - "[NC]", - "[NC]", - "[NC]", - "[NC]", - "[NC]", - "[NC]", - "[NC]", - "[NC]", - "[NC]", - "[NC]"; + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC"; }; -- 2.25.1