From patchwork Fri Jul 7 09:15:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 13304623 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 C2849EB64D9 for ; Fri, 7 Jul 2023 09:16:20 +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:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=IMi4X1xeffTeXDTV4QxvlSVuyghs/SuM8BBxhDP04hg=; b=G40Buc/FIPfz3J 9XLyggh0yllcr+44W04uYgxw1Yd/OOdN7ylI7QH/iA3n4AP/rFxAX6Yh9G9h5HyFHov+jAGzOGBa8 0ZNFY9faGsBc62kKG/MrR4nciHR3vNO/krzUFpNVRlYWh8Woux+CkiI6JPg2nXIuERFvOnNbaFWC/ zYLx2cLmM88sTMGphsn61pHwpnwTAWM2Ok+XPX2w6sp/mLowIMgKD7fc/bFUr2Elxny2x/LRHhStb s1YE7FcFz/7XWMbDq0iCOxKEK3seJQW61sTNHzYITcHHtDDmMj7kvn/+SvW11azYTgj0JWhdIdn5B vucGb+eXIhY3I7Lug4PQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qHhZ8-0046DZ-0C; Fri, 07 Jul 2023 09:15:50 +0000 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qHhZ4-0046CP-1G for linux-arm-kernel@lists.infradead.org; Fri, 07 Jul 2023 09:15:47 +0000 Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-4fba03becc6so3560634e87.0 for ; Fri, 07 Jul 2023 02:15:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688721335; x=1691313335; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=9FjJZYNAatbuu1cji0jkL7Xcjs18H85nhXDDey1QoX0=; b=n8YnOu5d8+FCDoMul7Ms5n+9b2ApsbwfHcs78aXePajg5lgDSjqvqeI+8uJdOcfFtZ 92c57RrDV9DZ8RWF+2ITqkfHCpnS/Khc018ljGEmfInEXkI7drnDNYkJJhqbdsaHw8Ae uqSZWb+LqgPgVCSMJEa0w3Gz5f7rwIVnHZTtya0zxowtVdlcy/jmtw/eo+ggG6hQn4vK MxapvIztkft21F35XUseqO2ZHw76VYkK8nNqt5AL6jjLX0WYRKblxauYWyGhsrO2pbrF X7SqeRUcwtiJnIHjaDitxGXaOSHRYMwsD65f4RifUNPvG5CmkK7owE+mvHJc5Z0sPPvH vxOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688721335; x=1691313335; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9FjJZYNAatbuu1cji0jkL7Xcjs18H85nhXDDey1QoX0=; b=P7qZ8TCbJzNhcjY5LeKnB+qCbFT3YM7XetS5En6FrB09BMWiXmftLLOK/MYg+7u/qq tJPLDg+wYX1OBZwNehX/nH5dxk4kc5EBkzau03jRjeJCsFCocFlJsca6Cfe+lo1WglS4 tOtZRIlgsLDZmxP2YUmN1hHwzZdty/gbhLg1H8kzmFL96nxqrmbXZ0kZS/pBqX0xPgcm p5LSiWMVPWrUGiq/XGyiFgxeU1iU4sXiu2tsr35BqlubVmnkfm5qL1jhvnP55Kztwlxh IKgadfowxv7r6Bbitzq6Z2yumkrELiz3uQTVG4CAT8r6phOeyoIvoyfEMDuH4rWpo3To EXTg== X-Gm-Message-State: ABy/qLaKhOxUGZQpcrmV+XaHJNE8/xg0xaN25Sj1pnVzFSaD/bHK4iq+ S9glEUitzJDK3sLJ4jiLz0E= X-Google-Smtp-Source: APBJJlH5M7W6wDGDWeONlTaN3FlEwk0tT5K97Ta9nyHtEi3tfb5YNxb7XTU+MsZDBtGvJQVLWS3IIA== X-Received: by 2002:a19:ca5b:0:b0:4fb:103f:7d56 with SMTP id h27-20020a19ca5b000000b004fb103f7d56mr1575906lfj.14.1688721334909; Fri, 07 Jul 2023 02:15:34 -0700 (PDT) Received: from localhost.lan (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.gmail.com with ESMTPSA id f6-20020ac251a6000000b004fba5c20ab1sm602008lfk.167.2023.07.07.02.15.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jul 2023 02:15:34 -0700 (PDT) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Florian Fainelli Cc: Hauke Mehrtens , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH] ARM: dts: BCM5301X: Add Ethernet interfaces links Date: Fri, 7 Jul 2023 11:15:19 +0200 Message-Id: <20230707091519.21673-1-zajec5@gmail.com> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230707_021546_435324_F879DD3A 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 From: Rafał Miłecki Northstar SoCs have 3 usable Ethernet interfaces each connected to one of switch ports. They all use fixed links. Signed-off-by: Rafał Miłecki --- arch/arm/boot/dts/broadcom/bcm-ns.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/broadcom/bcm-ns.dtsi b/arch/arm/boot/dts/broadcom/bcm-ns.dtsi index dae9c47ace76..88fda18af1f8 100644 --- a/arch/arm/boot/dts/broadcom/bcm-ns.dtsi +++ b/arch/arm/boot/dts/broadcom/bcm-ns.dtsi @@ -272,14 +272,32 @@ xhci_port1: port@1 { gmac0: ethernet@24000 { reg = <0x24000 0x800>; + phy-mode = "internal"; + + fixed-link { + speed = <1000>; + full-duplex; + }; }; gmac1: ethernet@25000 { reg = <0x25000 0x800>; + phy-mode = "internal"; + + fixed-link { + speed = <1000>; + full-duplex; + }; }; gmac2: ethernet@26000 { reg = <0x26000 0x800>; + phy-mode = "internal"; + + fixed-link { + speed = <1000>; + full-duplex; + }; }; gmac3: ethernet@27000 {