From patchwork Sun Feb 11 21:24:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13552622 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 EAFA4C4829A for ; Sun, 11 Feb 2024 21:24:55 +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:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+sSZL+ap1EwCpye/hUDfWAGyhmpbXaVwSl4wwXF4xz4=; b=UY0fFyjDgL8zH/ KQmlXhE910o8Xa/tRYbzkFbTL5LJp/sEB49HUi8xQioHws6v+5+Fg7Mbu7cz99iqrV5ktK/U/YYwH nU9qZLrVwTt0cb26tOQgWqXJO7PsNk7KXbbFYQb+GMtGdc450PhLLx4ZcboU54qh0+0Hcu8CY6pD9 JlSKTLgtB2ZlEcU0BoDhMwNKFWs+inTcQJWZu1RO3Fb9Ohgtp+Uyi4r7fIcynd1MlpUaqxYlpzBmx pQ02GSB3OWwHZM6wnJjG7CcVSBiJgRU0jYku7ynngWCa//HYJtDrlQluoM/5sObI8ra4hbw/Pl5q6 V/sSR2Fit6GvduCsiPJA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZHJY-00000003LCl-2UVE; Sun, 11 Feb 2024 21:24:40 +0000 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZHJS-00000003LAf-1WRa for linux-arm-kernel@lists.infradead.org; Sun, 11 Feb 2024 21:24:35 +0000 Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-5118d65cf9cso431575e87.0 for ; Sun, 11 Feb 2024 13:24:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707686672; x=1708291472; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=H6kY8ddkk0naZRr/JS0Z60TBisWL5BUY4kseNNkrQ1c=; b=BlkDuLQ43u1CbXIicYZ5Pi2yg/r/MzW/KsXvrA02iSbuqYWYZ/PhyNo7HsfHTpey0d j9CcDOALpMo3p9yh7ROUyvCN8KEHiwpPj35Vpf6ySsKDUC0YVPmTbt3qfH/nrqtrrds5 fZ+HtnWNPiXFxVrL/Epb6PvbFvpakg/7zx0ZnO2BfUNQJhiH0dAO1SXsiZScVP5YX8B0 5haxqPjmmEUbmuSr0a+7edUHFaxTWPqwtWum3VbUj0xpL5MnXczqcchEaSSYBu/yFfEu W/ecZtS/2K/OLgcRg231Gqiq6wUG9VNEDKapXKn4l09Ez6KPcVZBPG7s/0DSnUZyFgXJ YyHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707686672; x=1708291472; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=H6kY8ddkk0naZRr/JS0Z60TBisWL5BUY4kseNNkrQ1c=; b=cfqU/wVV+ko/QkMUx7YnVOLriL4IRAkb8YKdzieyQjD5SM1+r+wmUFK7U9ae2THUWq lHQc+ZZuV9XSxehaSrR2IXpIWkYIaSygbepbKF/fsritbucDEzSv7Z0VVM5fADZmR+M/ USzyh2/npScAL3zHlJlZCBZ/c+qQPjN0PK5uiWV0aBBYIF2smBkgEAPMAj+g4H3mTILc H4f2FJtYoONDOR8RD/WgVvbKud5KQV6s0JD2U2RWbNT9/PoASxRsOP2FQdqHgUw79jhO +UPkV5zAnZLBEDVyqv8FAzI+y5UDMYVrt6mW00mIRYA2W+9n02vhiSsZhqRU/y/a3iXd xWNg== X-Gm-Message-State: AOJu0YzMl6TV/9abxiWuGz4cRKh0S2QmdiAcKWOZd4hPCEmY1d5Vo6aF tcpRMC9cW9cboHTH+0T64EajlvsdPTzxuMeE9PWEZPLdr5Q3fQ0BugfZ8rki+Q5TiiLHX5v5dx3 d X-Google-Smtp-Source: AGHT+IEw4MchLPyzyM/ju8qTTJ3qNMn6Wf8LxMpMc3642UtLgXw1K9o55U7wE9CGBoY2xnb9dpzZcw== X-Received: by 2002:a05:6512:3a84:b0:511:3ef8:5 with SMTP id q4-20020a0565123a8400b005113ef80005mr3328941lfu.34.1707686672187; Sun, 11 Feb 2024 13:24:32 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCWzXVqKUQav1iU3kcIBjoSRs0p4hFowhWXI5q4sSafgwvu+8t/mm4HQMaww9pQVKKjJmtq3rlcQSemv8OsL3RX/Yyyjjx0SlUhzqAKj+QQrBncYopMmCcx8sf7H5j8udSb6p7oyFKe2yvcyiREir7KQp77K9BAvdNUFxpqD5HM438lALh1U+58UL8/GkTJ5j/MnZb0VP34xqJwhANmxXCiPdU5M2VLp2d35uK9eixAjww== Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id h8-20020a056512220800b005115edd71c9sm623684lfu.165.2024.02.11.13.24.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Feb 2024 13:24:31 -0800 (PST) From: Linus Walleij Date: Sun, 11 Feb 2024 22:24:26 +0100 Subject: [PATCH 4/4] ARM: dts: gemini: Fix switch node names on Vitesse switches MIME-Version: 1.0 Message-Id: <20240211-gemini-dts-v1-4-6c09adeb4c2e@linaro.org> References: <20240211-gemini-dts-v1-0-6c09adeb4c2e@linaro.org> In-Reply-To: <20240211-gemini-dts-v1-0-6c09adeb4c2e@linaro.org> To: Hans Ulli Kroll , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Linus Walleij X-Mailer: b4 0.12.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240211_132434_491731_C893C135 X-CRM114-Status: GOOD ( 10.65 ) 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 The formally correct node names have "ethernet-*" prefix on switch, ports and port, fix it up. Signed-off-by: Linus Walleij --- arch/arm/boot/dts/gemini/gemini-sl93512r.dts | 14 +++++++------- arch/arm/boot/dts/gemini/gemini-sq201.dts | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/arch/arm/boot/dts/gemini/gemini-sl93512r.dts b/arch/arm/boot/dts/gemini/gemini-sl93512r.dts index be06a3815e3a..4992ec276de9 100644 --- a/arch/arm/boot/dts/gemini/gemini-sl93512r.dts +++ b/arch/arm/boot/dts/gemini/gemini-sl93512r.dts @@ -93,7 +93,7 @@ spi { cs-gpios = <&gpio1 31 GPIO_ACTIVE_HIGH>; num-chipselects = <1>; - switch@0 { + ethernet-switch@0 { compatible = "vitesse,vsc7385"; reg = <0>; /* Specified for 2.5 MHz or below */ @@ -101,27 +101,27 @@ switch@0 { gpio-controller; #gpio-cells = <2>; - ports { + ethernet-ports { #address-cells = <1>; #size-cells = <0>; - port@0 { + ethernet-port@0 { reg = <0>; label = "lan1"; }; - port@1 { + ethernet-port@1 { reg = <1>; label = "lan2"; }; - port@2 { + ethernet-port@2 { reg = <2>; label = "lan3"; }; - port@3 { + ethernet-port@3 { reg = <3>; label = "lan4"; }; - vsc: port@6 { + vsc: ethernet-port@6 { reg = <6>; label = "cpu"; ethernet = <&gmac1>; diff --git a/arch/arm/boot/dts/gemini/gemini-sq201.dts b/arch/arm/boot/dts/gemini/gemini-sq201.dts index 05ef8b80f104..f8c6f6e5cdea 100644 --- a/arch/arm/boot/dts/gemini/gemini-sq201.dts +++ b/arch/arm/boot/dts/gemini/gemini-sq201.dts @@ -78,7 +78,7 @@ spi { cs-gpios = <&gpio1 31 GPIO_ACTIVE_HIGH>; num-chipselects = <1>; - switch@0 { + ethernet-switch@0 { compatible = "vitesse,vsc7395"; reg = <0>; /* Specified for 2.5 MHz or below */ @@ -86,27 +86,27 @@ switch@0 { gpio-controller; #gpio-cells = <2>; - ports { + ethernet-ports { #address-cells = <1>; #size-cells = <0>; - port@0 { + ethernet-port@0 { reg = <0>; label = "lan1"; }; - port@1 { + ethernet-port@1 { reg = <1>; label = "lan2"; }; - port@2 { + ethernet-port@2 { reg = <2>; label = "lan3"; }; - port@3 { + ethernet-port@3 { reg = <3>; label = "lan4"; }; - vsc: port@6 { + vsc: ethernet-port@6 { reg = <6>; label = "cpu"; ethernet = <&gmac1>;