From patchwork Sun Feb 11 21:24:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13552621 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 DA1D2C4829A for ; Sun, 11 Feb 2024 21:24:50 +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=xV+e8lrTn0HNSUwTlAb+oOzwYZzHMUc2BIHoq72Qqs4=; b=WCd+AVPSdNPHot C1lv2keFecVibfC09cT9qep9Cgodv4X4XZ0K0tjA6OqFD+pPAKSyzUu9DeH8t3YYPUjtbetgQi4pa UMkrHsOmU/y6oi/tpli91aU4P5/CfNlxFmmdBG1Cp3Ec4OuOujw21TiVjVhWELrzSMj2vzrOJj5gm DEgoKbAcUb/hAQ57Amd3Z75sS70I0/KXE0HVJQeaV2nPPX7Ndcxh65oxDVYhu/hL45obkUabw5cYF 0dWyIWHicsbHSDmTpkcovqIwQ0fdfjzJylaxHvvei5adOtprKQLoH5WenMPrKNAZWlLh4PVHkxTim c+NQDBbgPMDGxnkPJARQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZHJW-00000003LCF-0nso; Sun, 11 Feb 2024 21:24:38 +0000 Received: from mail-lj1-x233.google.com ([2a00:1450:4864:20::233]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZHJP-00000003L9n-2vir for linux-arm-kernel@lists.infradead.org; Sun, 11 Feb 2024 21:24:33 +0000 Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-2d09d90fa11so34738811fa.3 for ; Sun, 11 Feb 2024 13:24:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707686670; x=1708291470; 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=tJry73lHEiv/1DZkEFEfQ7waEDf73+/ng+jL2FuD14Y=; b=Ih4ZbWdIL4yMc8Jngl7NuBqUBISwYkEHL5wgjgdh4SL8igSLzSOz3fZYvA8iNCuKM8 PDTLPgQ6BvNfqwN+PPouEVGUdCBlZs5Gvs3Uzhcx7EO9WJiSGrv13yFLSdG8kWx7MNAf QtInIUqnOrWOl9bkte5+KkURN2gigU5iuqjcfbfU+EfiGdRRxjWGDrYs4qMyCKixQd7o MaRUhubgCPy5AHBzrQJ825BUl6mL4xPWFkuP6XZCPQFE5FRlgdLsaxJX7oSxcWefVGjj rDcYO2PcQkTrulqgAp3l/3qH72xAAyhUfiRQBgw8i4T+eiUWQzTG+0Eb78sqh1WKXmAK AU3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707686670; x=1708291470; 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=tJry73lHEiv/1DZkEFEfQ7waEDf73+/ng+jL2FuD14Y=; b=bREqKPq2kFzXqzl6sBvqvlFeUIJabtkiUYoFEssUY/THJQRkBoLTc/jbdi2LZeZY0T N7wsj0FSUZTpmqSmKUafd9/10HQ9RkzpJj2pkjZ80jmQR3Gj0G1XtzSZfyjX3PBlz00G jpF5Q4B08g47LwnXFXWjVKMnG8wkhxEU9z3pYfAIKBt32WUd7Md3j412Bmdk0RUq1iNp Upj8yD90RV74egomoXiRAdJwA2HktjFKpYLuc13filT2Z4WuSNoQK9aUW733AkYzuvgc kcIFxusE7+Rv8glpELK1Wwaj7j/hKpurTtChvyCaJ6uG0ZvopcPIs4TtjMpmtU2NU6dn A3ww== X-Gm-Message-State: AOJu0Yx7sJxvhxJVSzHmtcU9DHttt7XVZCsOsM0rUzjAf5E0bBx811Or fcxa4S0BhYYFC8wK6HCl+4BcQdQXgqFibaWZc+zlw+VkKLlo4tKFxMua0XeybYAxBc6zySDa6BS x X-Google-Smtp-Source: AGHT+IEWIKXrYro6RR8iYM/7+XnMAstKzlGkHjgisMhkla1PWroZK9ZFhG5G+YTib/mp0+HSHmZVPA== X-Received: by 2002:ac2:59c1:0:b0:511:8dde:55d8 with SMTP id x1-20020ac259c1000000b005118dde55d8mr737534lfn.34.1707686669585; Sun, 11 Feb 2024 13:24:29 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUBuT0s2kQFRxD4c1mcGWu6HKzXuVrw9gML+yLRqRRBFn/U52Oa/3NLIOyHRBGVJE8RvW2ebkufe8XEdlCCCGm6dojYTK/C5yegGtRsAruVzskM6S4AZJerH8+0v+EuxsYuhISfa1JQ3ZTDI0i4uAgCe57wodxBoLc+7u7NokBrSCzaq9PjIIIlmkrxxTTCUP+tNS4oTjFx/WyXRW8uIUQNCfR3yVIy/EI8kol0DtYQlg== 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.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Feb 2024 13:24:28 -0800 (PST) From: Linus Walleij Date: Sun, 11 Feb 2024 22:24:23 +0100 Subject: [PATCH 1/4] ARM: dts: gemini: Fix switch node names in the DIR-685 MIME-Version: 1.0 Message-Id: <20240211-gemini-dts-v1-1-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_132431_773942_CC3B0963 X-CRM114-Status: GOOD ( 11.60 ) 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, port and phy, fix it up. Signed-off-by: Linus Walleij --- arch/arm/boot/dts/gemini/gemini-dlink-dir-685.dts | 26 +++++++++++------------ 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/arch/arm/boot/dts/gemini/gemini-dlink-dir-685.dts b/arch/arm/boot/dts/gemini/gemini-dlink-dir-685.dts index 396149664297..30c931415680 100644 --- a/arch/arm/boot/dts/gemini/gemini-dlink-dir-685.dts +++ b/arch/arm/boot/dts/gemini/gemini-dlink-dir-685.dts @@ -187,7 +187,7 @@ touchkeys@26 { }; /* This is a RealTek RTL8366RB switch and PHY using SMI over GPIO */ - switch { + ethernet-switch { compatible = "realtek,rtl8366rb"; /* 22 = MDIO (has input reads), 21 = MDC (clock, output only) */ mdc-gpios = <&gpio0 21 GPIO_ACTIVE_HIGH>; @@ -204,36 +204,36 @@ switch_intc: interrupt-controller { #interrupt-cells = <1>; }; - ports { + ethernet-ports { #address-cells = <1>; #size-cells = <0>; - port@0 { + ethernet-port@0 { reg = <0>; label = "lan0"; phy-handle = <&phy0>; }; - port@1 { + ethernet-port@1 { reg = <1>; label = "lan1"; phy-handle = <&phy1>; }; - port@2 { + ethernet-port@2 { reg = <2>; label = "lan2"; phy-handle = <&phy2>; }; - port@3 { + ethernet-port@3 { reg = <3>; label = "lan3"; phy-handle = <&phy3>; }; - port@4 { + ethernet-port@4 { reg = <4>; label = "wan"; phy-handle = <&phy4>; }; - rtl8366rb_cpu_port: port@5 { + rtl8366rb_cpu_port: ethernet-port@5 { reg = <5>; label = "cpu"; ethernet = <&gmac0>; @@ -252,27 +252,27 @@ mdio { #address-cells = <1>; #size-cells = <0>; - phy0: phy@0 { + phy0: ethernet-phy@0 { reg = <0>; interrupt-parent = <&switch_intc>; interrupts = <0>; }; - phy1: phy@1 { + phy1: ethernet-phy@1 { reg = <1>; interrupt-parent = <&switch_intc>; interrupts = <1>; }; - phy2: phy@2 { + phy2: ethernet-phy@2 { reg = <2>; interrupt-parent = <&switch_intc>; interrupts = <2>; }; - phy3: phy@3 { + phy3: ethernet-phy@3 { reg = <3>; interrupt-parent = <&switch_intc>; interrupts = <3>; }; - phy4: phy@4 { + phy4: ethernet-phy@4 { reg = <4>; interrupt-parent = <&switch_intc>; interrupts = <12>;