From patchwork Sat Mar 4 08:43:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Svyatoslav Ryhel X-Patchwork-Id: 64181 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp834656wrd; Sat, 4 Mar 2023 00:46:25 -0800 (PST) X-Google-Smtp-Source: AK7set93+IcyNKQH7XNn8Fs/q7XycN9v0Nt0YI/0QCgZ0haUB3kKtgQ5c4gqIyedNx4vfM3p+GFs X-Received: by 2002:a17:902:ce8e:b0:19c:d7a9:8be1 with SMTP id f14-20020a170902ce8e00b0019cd7a98be1mr5498436plg.61.1677919585656; Sat, 04 Mar 2023 00:46:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677919585; cv=none; d=google.com; s=arc-20160816; b=KxL5323nVeVZcjYEelTiGxM51r9qRN+QssEIky60ATa5lhvnydpnaNu9I6qfkokArC N8Md0k09gOMJh0hDa1GbZq5IeD/XNpARK5OfeWuorclj+kKfDFUPGgcVC5fzfctFqkIE o3VvnN8CazFknsbLtIcvqizxaCIT24AaA2AWb1D2IWz1LCW90ZSwsyf0ssmqiGSp9Lt7 AxlqQ/le67VEB3wpOI2tkUXNtsj8FfChqV87teqn5hK5KqdKTvebqHkFKDJUVpb01sRS MAs4QPY1onJywvGQU7vUYGFHfa0eBXz/MaZq/Cg05tK/deweH9CY6AB+p6Na7zTN3A// BfYg== 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=Y0pwwdOYyW2II5cV+i3ghWhBGeIC4SqgjPw8ThgafFQ=; b=XNOoQgAy5MWDQc3xl619ktkANBCxAjZq8+TdSGEbHdjo5Qj5ahGhpCE3krckdmVvFK RPsXw3e1m6K6UhUllKklxnwkQ3A/g1tkx5KlIbJFtPhrEbjrvfmUWYe87obFYopB2pv6 9M91a1A9MEO+jo/15q3H0dU7ZN1rjXEIHR6MSCQaS8qUU1W+1Qx2BTCiZgeK3o8dnWJ2 6pZ17ieeCrkawx70YsToM8Rz1uAUVhO5bw/823haQmmlXqOHMHGkCNicOs5ms3UCBsgf w13DR0x7vtDZdA2s/3H2Fx7rfrkwa7p/GXnoHRZGWQ2cDiyVkpkKiv6+E82ZKLTROunZ aX+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=f0+bifXy; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ik14-20020a170902ab0e00b001990b9e7c81si4260703plb.568.2023.03.04.00.46.13; Sat, 04 Mar 2023 00:46:25 -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=@gmail.com header.s=20210112 header.b=f0+bifXy; 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 S229721AbjCDInv (ORCPT + 99 others); Sat, 4 Mar 2023 03:43:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229649AbjCDInq (ORCPT ); Sat, 4 Mar 2023 03:43:46 -0500 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81A59144B0; Sat, 4 Mar 2023 00:43:44 -0800 (PST) Received: by mail-lj1-x22d.google.com with SMTP id a32so4635998ljr.9; Sat, 04 Mar 2023 00:43:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677919423; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Y0pwwdOYyW2II5cV+i3ghWhBGeIC4SqgjPw8ThgafFQ=; b=f0+bifXyf8DnfrgXI5mQ4YBx4w+iyzWMl59D7kNZ0PnyZgMbm4d2VzRBzaDqYzuA9s SVgKXfxLoAOSkFaKu2kHuERzItVkY+eg973dZkQlT8mwM8M75acWZuVFnaLjNnyy3aUr pLH+F8/s8f+O8Jj6ybE6dmnPXtWgMgypKwOF44NMESlPx71TqUpElTcTxrP52+mXm9Qr JzRb4BddbeUpJ85eKE/0MqLYdist2sZQ5iqN9FyKlT0ivgjkXJzI79YdK8XJmIga/CBB 8/HUqKo70KCgc32YOXadOxdn1are8O68dNAwogamilHJuGYm5LNA0889EGUtqmFFISU3 ZCEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677919423; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Y0pwwdOYyW2II5cV+i3ghWhBGeIC4SqgjPw8ThgafFQ=; b=LePrMmmEa31bLnhJbDqKFd9eyhN5j17Z4upZNraaD3jOyiGyZOlPIUIXHk5Y3Rr+XP P4XIyJCtGh4Q+H7Eo519ecybcDdFPxlECBiLQZG9yl3DiWx0Ail3s+m/m12wx+4zzTqz nIIUSHAWhZIkxFXArVzXBzAagA4OW6d0sgfR8cBrECwW4KiQmQt+vE4TS3pgdJXv1GqX FTQ0OLAE4M8UNBQpeCfSWIbSP17ptgV3lIzNnismE8S/MOrITbS9tYl0PSLOmv8hfCtF 2RfBmr9KJNeFl/AVrSynyeLK7GZUFZg4On/r0gkX2wEoL0zU2nRnVjUMSJUhsgODmH2r kO2w== X-Gm-Message-State: AO0yUKWSR9IkjtoMeRc9a5X5lrz1LfYvaZlMu+vYNxeVHwSmOjr/Sisf Cna2dSKOw6HCjZROad5K9Es= X-Received: by 2002:a05:651c:11c9:b0:295:c491:3b34 with SMTP id z9-20020a05651c11c900b00295c4913b34mr1334940ljo.38.1677919422786; Sat, 04 Mar 2023 00:43:42 -0800 (PST) Received: from xeon.. ([188.163.112.76]) by smtp.gmail.com with ESMTPSA id u5-20020a2ea165000000b00293cc5f83b4sm693575ljl.27.2023.03.04.00.43.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Mar 2023 00:43:42 -0800 (PST) From: Svyatoslav Ryhel To: Rob Herring , Krzysztof Kozlowski , Thierry Reding , Jonathan Hunter , Svyatoslav Ryhel , Maxim Schwalm , Dmitry Osipenko Cc: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/5] ARM: tegra: Add labels to tegra114.dtsi Date: Sat, 4 Mar 2023 10:43:16 +0200 Message-Id: <20230304084319.18424-3-clamor95@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230304084319.18424-1-clamor95@gmail.com> References: <20230304084319.18424-1-clamor95@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-1.8 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 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?1759426207148778206?= X-GMAIL-MSGID: =?utf-8?q?1759426207148778206?= From: Anton Bambura Add more labels in order to use label reference in device-specific dts files. Labels make device-trees more readable and prevent typos that are difficult to notice. Signed-off-by: Anton Bambura Signed-off-by: Dmitry Osipenko Signed-off-by: Svyatoslav Ryhel --- arch/arm/boot/dts/tegra114.dtsi | 48 ++++++++++++++++----------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/arch/arm/boot/dts/tegra114.dtsi b/arch/arm/boot/dts/tegra114.dtsi index 09996acad639..76c52d0b518a 100644 --- a/arch/arm/boot/dts/tegra114.dtsi +++ b/arch/arm/boot/dts/tegra114.dtsi @@ -106,7 +106,7 @@ rgb { }; }; - hdmi@54280000 { + hdmi: hdmi@54280000 { compatible = "nvidia,tegra114-hdmi"; reg = <0x54280000 0x00040000>; interrupts = ; @@ -370,7 +370,7 @@ pwm: pwm@7000a000 { status = "disabled"; }; - i2c@7000c000 { + i2c1: i2c@7000c000 { compatible = "nvidia,tegra114-i2c"; reg = <0x7000c000 0x100>; interrupts = ; @@ -385,7 +385,7 @@ i2c@7000c000 { status = "disabled"; }; - i2c@7000c400 { + i2c2: i2c@7000c400 { compatible = "nvidia,tegra114-i2c"; reg = <0x7000c400 0x100>; interrupts = ; @@ -400,7 +400,7 @@ i2c@7000c400 { status = "disabled"; }; - i2c@7000c500 { + i2c3: i2c@7000c500 { compatible = "nvidia,tegra114-i2c"; reg = <0x7000c500 0x100>; interrupts = ; @@ -415,7 +415,7 @@ i2c@7000c500 { status = "disabled"; }; - i2c@7000c700 { + i2c4: i2c@7000c700 { compatible = "nvidia,tegra114-i2c"; reg = <0x7000c700 0x100>; interrupts = ; @@ -430,7 +430,7 @@ i2c@7000c700 { status = "disabled"; }; - i2c@7000d000 { + i2c5: i2c@7000d000 { compatible = "nvidia,tegra114-i2c"; reg = <0x7000d000 0x100>; interrupts = ; @@ -445,7 +445,7 @@ i2c@7000d000 { status = "disabled"; }; - spi@7000d400 { + spi1: spi@7000d400 { compatible = "nvidia,tegra114-spi"; reg = <0x7000d400 0x200>; interrupts = ; @@ -460,7 +460,7 @@ spi@7000d400 { status = "disabled"; }; - spi@7000d600 { + spi2: spi@7000d600 { compatible = "nvidia,tegra114-spi"; reg = <0x7000d600 0x200>; interrupts = ; @@ -475,7 +475,7 @@ spi@7000d600 { status = "disabled"; }; - spi@7000d800 { + spi3: spi@7000d800 { compatible = "nvidia,tegra114-spi"; reg = <0x7000d800 0x200>; interrupts = ; @@ -490,7 +490,7 @@ spi@7000d800 { status = "disabled"; }; - spi@7000da00 { + spi4: spi@7000da00 { compatible = "nvidia,tegra114-spi"; reg = <0x7000da00 0x200>; interrupts = ; @@ -505,7 +505,7 @@ spi@7000da00 { status = "disabled"; }; - spi@7000dc00 { + spi5: spi@7000dc00 { compatible = "nvidia,tegra114-spi"; reg = <0x7000dc00 0x200>; interrupts = ; @@ -520,7 +520,7 @@ spi@7000dc00 { status = "disabled"; }; - spi@7000de00 { + spi6: spi@7000de00 { compatible = "nvidia,tegra114-spi"; reg = <0x7000de00 0x200>; interrupts = ; @@ -535,14 +535,14 @@ spi@7000de00 { status = "disabled"; }; - rtc@7000e000 { + tegra_rtc: rtc@7000e000 { compatible = "nvidia,tegra114-rtc", "nvidia,tegra20-rtc"; reg = <0x7000e000 0x100>; interrupts = ; clocks = <&tegra_car TEGRA114_CLK_RTC>; }; - kbc@7000e200 { + tegra_kbc: kbc@7000e200 { compatible = "nvidia,tegra114-kbc"; reg = <0x7000e200 0x100>; interrupts = ; @@ -682,7 +682,7 @@ mipi: mipi@700e3000 { #nvidia,mipi-calibrate-cells = <1>; }; - mmc@78000000 { + sdmmc1: mmc@78000000 { compatible = "nvidia,tegra114-sdhci"; reg = <0x78000000 0x200>; interrupts = ; @@ -693,7 +693,7 @@ mmc@78000000 { status = "disabled"; }; - mmc@78000200 { + sdmmc2: mmc@78000200 { compatible = "nvidia,tegra114-sdhci"; reg = <0x78000200 0x200>; interrupts = ; @@ -704,7 +704,7 @@ mmc@78000200 { status = "disabled"; }; - mmc@78000400 { + sdmmc3: mmc@78000400 { compatible = "nvidia,tegra114-sdhci"; reg = <0x78000400 0x200>; interrupts = ; @@ -715,7 +715,7 @@ mmc@78000400 { status = "disabled"; }; - mmc@78000600 { + sdmmc4: mmc@78000600 { compatible = "nvidia,tegra114-sdhci"; reg = <0x78000600 0x200>; interrupts = ; @@ -726,7 +726,7 @@ mmc@78000600 { status = "disabled"; }; - usb@7d000000 { + usb1: usb@7d000000 { compatible = "nvidia,tegra114-ehci", "nvidia,tegra30-ehci"; reg = <0x7d000000 0x4000>; interrupts = ; @@ -734,11 +734,11 @@ usb@7d000000 { clocks = <&tegra_car TEGRA114_CLK_USBD>; resets = <&tegra_car 22>; reset-names = "usb"; - nvidia,phy = <&phy1>; + nvidia,phy = <&usb1_phy>; status = "disabled"; }; - phy1: usb-phy@7d000000 { + usb1_phy: usb-phy@7d000000 { compatible = "nvidia,tegra114-usb-phy", "nvidia,tegra30-usb-phy"; reg = <0x7d000000 0x4000>, <0x7d000000 0x4000>; @@ -766,7 +766,7 @@ phy1: usb-phy@7d000000 { status = "disabled"; }; - usb@7d008000 { + usb3: usb@7d008000 { compatible = "nvidia,tegra114-ehci", "nvidia,tegra30-ehci"; reg = <0x7d008000 0x4000>; interrupts = ; @@ -774,11 +774,11 @@ usb@7d008000 { clocks = <&tegra_car TEGRA114_CLK_USB3>; resets = <&tegra_car 59>; reset-names = "usb"; - nvidia,phy = <&phy3>; + nvidia,phy = <&usb3_phy>; status = "disabled"; }; - phy3: usb-phy@7d008000 { + usb3_phy: usb-phy@7d008000 { compatible = "nvidia,tegra114-usb-phy", "nvidia,tegra30-usb-phy"; reg = <0x7d008000 0x4000>, <0x7d000000 0x4000>;