From mboxrd@z Thu Jan 1 00:00:00 1970 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 78AFEECAAD5 for ; Mon, 12 Sep 2022 09:27:35 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8LJJeRfNJ89M32VlJPtmKnimQwEM1SfUj/KZHfB8qS4=; b=Mktfg5wRXACNHP HIyN8fi1DRAnlluDJHXgHwxT6h+4ytzh582gRvlDfMgZwJFxsvh+r5jYE8YjM1tXJc2/eKvBtpPk4 EGk9661EhMFgvDQp0OKIJS+e5dutGZXk3Rri9aq5R5DPfeNuAD4vy0GyEmSE2uL+NjEybb7G7ryEd r114MIQl96837oM4pLp+phqrT69Oue09OeOOQxH0mFTtHfdEcJeJGa0Ui8Grj6J8+iRqjEJe7EEtN C2uURbpJm3VBK60tlogQ4kytEHDK2+wz+Si3fNDjHF8sFutwMLwxBlSyZLDsZryAbXSdhuntMEEpK GkKniNNkoLGqzyeEDJog==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oXfi0-008F2h-UE; Mon, 12 Sep 2022 09:26:29 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oXfhr-008EwW-RE for linux-arm-kernel@lists.infradead.org; Mon, 12 Sep 2022 09:26:26 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 17E1DB80B9F; Mon, 12 Sep 2022 09:26:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 20A2EC433D6; Mon, 12 Sep 2022 09:26:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662974776; bh=Oq0ZzVeBX8F/RKS4c4Vh4FGTIXqsPapMIyRWRtNrqkg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GU69TbWSZ4eAoMzeJfsgt0vzabJ5NQPvio0rifqGc1qyyqcoM1R5c4RCnTghwH9CU IB21B+wU7wC7LHpPaE+vefWzWR7WqSO4wJqx1wObZGPpKki6lLlkGUk45FV9L7dH2H 0flvhvNaQ1bLe5FJQnci4Bn1O5556vJO43oOyhhazWtX2FRb2p9KXMdNSPSjmmUMva B5CGzELM9/2mkVFYHYs0K/K8zCB/TVhPIma9iB2j2rtdNtS0RIsMy8nOooaExLZ6Cq aPaSKwmIXZBpGeOJz93ujl/9BnY6Xx3qq8Fi4nv1ViSMQmTEykzF5bE6/5RA9006Tr bQVusZjVXMCrw== Date: Mon, 12 Sep 2022 17:26:11 +0800 From: Shawn Guo To: Vladimir Oltean Cc: devicetree@vger.kernel.org, netdev@vger.kernel.org, Li Yang , Rob Herring , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Michael Walle Subject: Re: [PATCH devicetree] arm64: dts: ls1028a-rdb: add more ethernet aliases Message-ID: <20220912092611.GW1728671@dragon> References: <20220905212458.1549179-1-vladimir.oltean@nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220905212458.1549179-1-vladimir.oltean@nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220912_022620_074454_0AEAD0A6 X-CRM114-Status: GOOD ( 19.00 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Sep 06, 2022 at 12:24:58AM +0300, Vladimir Oltean wrote: > Commit "arm64: dts: ls1028a: enable swp5 and eno3 for all boards" which > Shawn declared as applied, but for which I can't find a sha1sum, has > enabled a new Ethernet port on the LS1028A-RDB (&enetc_port3), but > U-Boot, which passes a MAC address to Linux' device tree through the > /aliases node, fails to do this for this newly enabled port. > > Fix that by adding more ethernet aliases in the only > backwards-compatible way possible: at the end of the current list. > > And since it is possible to very easily convert either swp4 or swp5 to > DSA user ports now (which have a MAC address of their own), using these > U-Boot commands: > > => fdt addr $fdt_addr_r > => fdt rm /soc/pcie@1f0000000/ethernet-switch@0,5/ports/port@4 ethernet > > it would be good if those DSA user ports (swp4, swp5) gained a valid MAC > address from U-Boot as well. In order for that to work properly, > provision two more ethernet aliases for &mscc_felix_port{4,5} as well. > > The resulting ordering is slightly unusual, but to me looks more natural > than eno0, eno2, swp0, swp1, swp2, swp3, eno3, swp4, swp5. > > Signed-off-by: Vladimir Oltean Applied, thanks! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel