From nobody Wed Apr 1 09:45:13 2026 Received: from mail-yx1-f47.google.com (mail-yx1-f47.google.com [74.125.224.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7067F3D7D7B for ; Tue, 31 Mar 2026 14:18:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.224.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774966687; cv=none; b=PYVdxf8tZIZAiCzW/Tkbtx5RVQXVdjpqy14He3ADdv1LNj6yeOSb5lbMVCrdljkPn0gFhpqkS0thlpz6s4AC05KG+l8Fq+RnAsJvMj6oy/K5iTRTf4Ay60NXxmYP1oMt7eY9A4+3qqpXnGbxutihVryVyojWBl3rdcl2sFid+Lg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774966687; c=relaxed/simple; bh=AbQyCSLZM68+qiJbFWcZMQNt3O38jdMkprUgpfFdxno=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=qIzAsa79jh7iBkjCdBZy0OCtxpPOoR8FoiWyEsHY2L5++6j03wdDyCcHmVg4KxSkH4QOYhBRw2ENnxXuqV0cSz4Uja4nI1ELRpLrOUoJrymeDoEqIRxuRxDAOW1g03U09sTUUkg+JOVitDM5TuO+QuxxoX57L0EswrDPB5x/+kk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=q8vOmUPO; arc=none smtp.client-ip=74.125.224.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="q8vOmUPO" Received: by mail-yx1-f47.google.com with SMTP id 956f58d0204a3-65003f40a22so7480412d50.2 for ; Tue, 31 Mar 2026 07:18:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1774966685; x=1775571485; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=Wmozg0m3DQsYpGD8orkO2ipP4TyyaAJHZKLp0sbHtfk=; b=q8vOmUPO10hIybZ86rx2LL7VDbCUYtxPuiOhDe4vc8VtTS2b3ZeiUgUyBEzPT/RUIm leSJWbbKIP6IrdGWzKs4bo86S+3f4KsMBV1JI6JJ26LwCfhb9cEZJmWVqtIkRlFeJSkh +DKs4QI0+/bf/1n35Zh3MCQYxiTIDBWdqh4xX9jRoqLdkzOoVkuWQsSMdiyxmJKFyRYo 0Hz1aobOkWglQ3Gti5N2hF/RgsPZPiomkW8jBN5a3fakzreYh04scKqp2a6HDg7MBBnQ juoishfIywZuYyDof2Jkafk8J2mAXu421YtVgLtPxrt04E5+umNFm36sS6+eeRQtquys SNZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774966685; x=1775571485; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Wmozg0m3DQsYpGD8orkO2ipP4TyyaAJHZKLp0sbHtfk=; b=OIN6aE6G+H4QwqmXQ/fqmFxwVaitZh5Ub8j5dW8P4HlVqqNSN5I1ilRwgJHbCufimT zXzurohU6Lub4fKWSiKX/58o6J3nxso693aBN9oDuZo6rmqQ/BwvRCP5jRZmcR1geuXR UA2jVypfLmJ10ithXTQ/e0ZD0aosJYTYHu0Ghwz2i98y/kuVVBIY6PkZDSdzxZIGS2Me XRWjaO6Kz9Y8If5yD76EHTO9GZl4p3Cq/wCtTzrwmAzyEUW4xk8Bes2bZNa5CAX5GlQs hBDj2WK9w0U1xtPsx5j4trBisVP8+KmMl8GDyFCTF6PhiBya0fLm+0OlpvmVa5mrfqT6 5gsQ== X-Forwarded-Encrypted: i=1; AJvYcCWT9FuG5+wEfg0AYSc+4vIV/KoFh+I+/WwBvgVgerbToHsG3UvQslvhF9A8t9YS6zYlpkL4Vni7Xr0lzUk=@vger.kernel.org X-Gm-Message-State: AOJu0YyqF8HOp2E5S+f8lGBHD9M4JwVvzPXkq9NGrQ0mB1AzHyGmLamh RjbUg1NYfb7rLuu6M87HXs9SLsRWstOCVp9VUJa9S9AP0RWPYmG0azsc X-Gm-Gg: ATEYQzx1Eg1pgO4ZIuCNsg01ib+NJ71rz9O6OI9/YBVRIq+55tLe6lv0Wck9MNxSo9v IBo+lscUjE4Re04MzHPFQheD8TJ/B99Kex24k83xl+g2Y93j9QPfmLdHXM1ZeJxDNeqm0wF8m1B 2N9WM7WKGDvHIRiX+o3J8BMSBwXJC6drUvBMoPdlTeC2TuLjluFl30ddwC7vX2Jt2k1+X4EJdwC UAoFD9c0FDDkR0evnOi/VsUxFGunanNhTBdQ3XoGJ/jA//VRsVDA5lqreq4262dDv2TVokeFF1L 2UkfXi9O5zI2SyVPSFvCQ/H9DW5ItjPQ+LL1hKPgMC4HUPj1Ux3DCPPrFb2xV+kPvtV2wSjrjFB Qsc98ndmxXggdU1DmHVrTtAWMPNjmdOs3EGJO07FEmADgCQGuvrW8hOHj6TeML0VbAI9bmWmabC 6Uyzbi26yc7RV4AEqU X-Received: by 2002:a05:690e:4408:10b0:64d:6cf8:f8c with SMTP id 956f58d0204a3-64ff73d4236mr13831172d50.40.1774966685293; Tue, 31 Mar 2026 07:18:05 -0700 (PDT) Received: from [192.168.2.165] ([2600:1700:220:59e0::914]) by smtp.googlemail.com with ESMTPSA id 956f58d0204a3-65009326eddsm5590599d50.13.2026.03.31.07.18.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Mar 2026 07:18:04 -0700 (PDT) From: Anirudh Srinivasan Date: Tue, 31 Mar 2026 09:18:00 -0500 Subject: [PATCH v2] ARM: dts: aspeed: Enable networking for Asus Kommando IPMI Card Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260331-asus-kommando-networking-v2-1-f7d72ae5d40d@gmail.com> X-B4-Tracking: v=1; b=H4sIAAAAAAAC/4WOTU7DMBBGrxJ5jZF/iD3qinugLsb2JB2V2GCnA VTl7pj0ACzfSPO+dxeNKlMTp+EuKm3cuOQO5mkQ8YJ5JsmpszDKOGUNSGy3Jq9lWTCnIjOtX6V eOc9yjMppg+gCRNHfPypN/H2o384PrvR56wvr4ygCNpKxq3g9Dd6FF4pAU4oWwMcUJm9VQkPjC KCnqFGD90r8uS7c1lJ/jupNH7L/AzcttXQuWQUBYLTudV6Q3597gTjv+/4LK7ziOQwBAAA= X-Change-ID: 20260328-asus-kommando-networking-5c0612aa6b8c To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Andrew Lunn , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, Anirudh Srinivasan X-Mailer: b4 0.14.2 Adds the DT nodes needed for ethernet support for Asus Kommando, with phy mode set to rgmii-id. When this DT was originally added, the phy mode was set to rgmii (which was incorrect). It was suggested to remove networking support from the DT till the Aspeed networking driver was patched so that the correct phy mode could be used. The discussion in [1] mentions that u-boot was inserting clk delays that weren't needed, which resulted in needing to set the phy mode in linux to rgmii incorrectly. The solution suggested there was to patch u-boot to no longer insert these clk delays and use rgmii-id as the phy mode for any future DTs added to linux. This DT was tested (on the OpenBMC u-boot fork [2]) with a u-boot DT modified to insert clk delays of 0 (instead of patching u-boot itself). [3] adds a u-boot DT for this device (without networking) and describes how to patch it to add networking support. If this patched DT is used, then networking works with rgmii-id phy mode in both u-boot and linux. [1] https://lore.kernel.org/linux-aspeed/ef88bb50-9f2c-458d-a7e5-dc5ecb9c77= 7a@lunn.ch/ [2] https://github.com/openbmc/u-boot/tree/v2019.04-aspeed-openbmc [3] https://lore.kernel.org/openbmc/20260328-asus-kommando-v2-1-2a656f8cd31= 4@gmail.com/ Signed-off-by: Anirudh Srinivasan Reviewed-by: Andrew Lunn --- This patch is based off aspeed/arm/dt from bmc tree --- Changes in v2: - Commit message now mentions that the u-boot tested against is the openbmc u-boot fork - Link to v1: https://lore.kernel.org/r/20260328-asus-kommando-networking-v= 1-1-66d308b88536@gmail.com --- .../dts/aspeed/aspeed-bmc-asus-kommando-ipmi-card.dts | 18 ++++++++++++++= ++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-asus-kommando-ipmi-card.dt= s b/arch/arm/boot/dts/aspeed/aspeed-bmc-asus-kommando-ipmi-card.dts index ab7ad320067c1ddc0fea9ac386fd488c8ef28184..e0f7d92efa18ccbad2c336236c3= b9d01b7de1bba 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-asus-kommando-ipmi-card.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-asus-kommando-ipmi-card.dts @@ -107,6 +107,24 @@ &gpio1 { /*18E0 32*/ "","","","","","","",""; }; =20 +&mac2 { + status =3D "okay"; + + phy-mode =3D "rgmii-id"; + phy-handle =3D <ðphy2>; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_rgmii3_default>; +}; + +&mdio2 { + status =3D "okay"; + + ethphy2: ethernet-phy@0 { + compatible =3D "ethernet-phy-ieee802.3-c22"; + reg =3D <0>; + }; +}; + &vhub { status =3D "okay"; }; --- base-commit: 76b4ec8efdc3887cdbf730da2e55881fc1a18770 change-id: 20260328-asus-kommando-networking-5c0612aa6b8c Best regards, --=20 Anirudh Srinivasan