From patchwork Wed Jan 24 12:44:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleksij Rempel X-Patchwork-Id: 191575 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2553:b0:103:945f:af90 with SMTP id p19csp980275dyi; Wed, 24 Jan 2024 05:16:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IGTtMPOPhBYI9FTzJ6sNoTyzP161jGURGU7iAHpbVGQ+hCZ/KSRnpzsS4BLstN0BfSd3oPc X-Received: by 2002:a62:5f01:0:b0:6db:cfd7:102c with SMTP id t1-20020a625f01000000b006dbcfd7102cmr3128830pfb.15.1706102176374; Wed, 24 Jan 2024 05:16:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706102176; cv=pass; d=google.com; s=arc-20160816; b=p7RCbWtCwz7MzEftCHNxmTl9uEmmc3UOgNauUIDiZ0Tpw7jBZo2WkrDEDHOsPK3tMQ 5e2lLLTt7wG1yUXJRXr3C+E0zRy9/PiypZowZRVYEXPkdSxoAe6kBS/Hj8LMWs6JpAkI aWa3WWTh0nZ8ODNmjBINFCGS1f18reHFKP0D3d/AVHyD4GT15akFBjgTo6lUnG8F2WK3 C3UJ2/g7fNJB51EFZcwVgKUpIhGLvbcSh42SavzqQY7egO2OUwnZZMR44OSQvq+pL+3X se2h7ETSh1c4gWJwbPJ+xuvubny/TKYUOiYkpCeAA162r5DjThev8sesQ5udbeVpkXRP +bUQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=QEKVsLliv8mCaJpFuYIoQrNInZz17jO0h1Rvuk8JvhM=; fh=3RoB5MNsS+a1ndpPdDZq8Exsf4c1bRqJUkRSEAqmXac=; b=i6zmfxzNwjc69IZTB3ieKKm76QCQX98uzrtGkNZ/P2quxmse8JpLDQXn9hdgapLOeL avr/RYxrB5Uz2V3OHrTo5gYhTcjj+WSe1NYXi7D1DMk60+72OskuyI9jPfLADGw0kUGu G2md+lKS9cDhi19EIiYr7M3IA/TKkzlttN6GnMN4FAzlyqOqureEOo+WoGgvA1MhuW/f BydeEvm+wHzgPm5xdCMdEf/2f0Ru4Y80l8kzxJgC7Sl/ft4mCYOoNzJUx12YjHApX5TC /tS5o06coMrq30u0G0WbEEfac1YSxSBgYMbTMMb808yylU5AnuRtXYY6EY20qpBZTHiK 7Drw== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-37013-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37013-ouuuleilei=gmail.com@vger.kernel.org" Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id lo10-20020a056a003d0a00b006dd984fcea1si1194942pfb.337.2024.01.24.05.16.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 05:16:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-37013-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-37013-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37013-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 095A2B29E41 for ; Wed, 24 Jan 2024 12:45:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C86D177F0D; Wed, 24 Jan 2024 12:45:05 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D4D0B76918 for ; Wed, 24 Jan 2024 12:45:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706100304; cv=none; b=huYAsFcdgBnWiTBtvHDPkHnZvtjZq0KOQQXRNxWm3CgoUL/f1LWehLIpWr1sUyvblHAs60XITkcFuQlEycdMpIy4P8NCjraFZyVjqbTjbFgf5u8H1baz+PupApN53Jg+mq3UZRc7syYWTbROx8iRuQRjI/bYuQrvUysdiWqetbM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706100304; c=relaxed/simple; bh=0lNY9JM6i1cyRanexkIXDsWXhY843ieXctUNb+I5i5Y=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=DshGBQfNvwvZ8pbKb5sVuiYvDPmhna9lBofPu00EAtVoIj1xuQzP1vBrE8BN1EW7UfEJ80UN/O/viZ6GtNQMC45147No2Xcv4DDYI+XNanJxxia85LcZPMgGwm0wFPZ3pSCeJS4goLvCJp1GtRtO85wcVx/F0ZpG01DuxbT7Fo4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rSccj-0001gO-94; Wed, 24 Jan 2024 13:44:57 +0100 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rScci-002424-GQ; Wed, 24 Jan 2024 13:44:56 +0100 Received: from ore by dude04.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rScci-00362d-1Q; Wed, 24 Jan 2024 13:44:56 +0100 From: Oleksij Rempel To: Shawn Guo , Sascha Hauer , Rob Herring , Krzysztof Kozlowski Cc: Oleksij Rempel , kernel@pengutronix.de, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, NXP Linux Team , Fabio Estevam , =?utf-8?q?S=C3=B8ren_Andersen?= Subject: [PATCH v1 1/1] ARM: dts: imx6: skov: add aliases for all ethernet nodes Date: Wed, 24 Jan 2024 13:44:55 +0100 Message-Id: <20240124124455.738187-1-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788977796078367695 X-GMAIL-MSGID: 1788977796078367695 Add aliases for all ethernet nodes including the switch. It makes it easier to find this nodes by the boot loader. Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/nxp/imx/imx6qdl-skov-cpu.dtsi | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-skov-cpu.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-skov-cpu.dtsi index 2731faede1cb..d59d5d0e1d19 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6qdl-skov-cpu.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-skov-cpu.dtsi @@ -13,10 +13,14 @@ chosen { aliases { can0 = &can1; can1 = &can2; + ethernet0 = &fec; + ethernet1 = &lan1; + ethernet2 = &lan2; mdio-gpio0 = &mdio; nand = &gpmi; rtc0 = &i2c_rtc; rtc1 = &snvs; + switch0 = &switch; usb0 = &usbh1; usb1 = &usbotg; }; @@ -60,7 +64,7 @@ mdio: mdio { gpios = <&gpio1 31 GPIO_ACTIVE_HIGH>, <&gpio1 22 GPIO_ACTIVE_HIGH>; - switch@0 { + switch: switch@0 { compatible = "microchip,ksz8873"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_switch>; @@ -73,13 +77,13 @@ ports { #address-cells = <1>; #size-cells = <0>; - ports@0 { + lan1: ports@0 { reg = <0>; phy-mode = "internal"; label = "lan1"; }; - ports@1 { + lan2: ports@1 { reg = <1>; phy-mode = "internal"; label = "lan2";