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 51542C27C76 for ; Thu, 26 Jan 2023 00:00:21 +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=vKXzHmmBD5Y4ewsVclTm11yGa6VQizqIG9zWl0ghGJ4=; b=hHXgXcjH5mCLtV UgjTZ/sZ23UXQYFYpp53/XaaW7tt8QNaSalSr1E8htQz05o1bNsmESSLoEoWRw6G0Kb1SwYC3IpFP Zvh5ddI6kasJtwwfg/Ez22dCv3sJ1OVHODycSULhmpwDaTQvMo68Tpv6/ZHpUPaDdiqVW3NrDRClW gI3lkikp4YcfUPwzhdBqYYRTVpdcCzE+bxrohRticNSSYtg/bfG7pKuQVFShYm4YYGTx4pxpFEXuJ A4DPny0bXi8kE9RtiaHQaVG6qr/9KaT0UOkvN+D2j00o/RfUFgLgmOujSN9M+hBjFG2TleN7E05+p iYwokvHiZsCcnXz/MG1Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pKpfs-0097GL-FE; Wed, 25 Jan 2023 23:59:28 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pKpfp-0097FJ-Ai for linux-arm-kernel@lists.infradead.org; Wed, 25 Jan 2023 23:59: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 EB94CB81C56; Wed, 25 Jan 2023 23:59:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F3DC7C433EF; Wed, 25 Jan 2023 23:59:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674691162; bh=5pMC0vMZRaHwULyqjHP7JoscMUuykFnMk1w/z8KZXn8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tmJtzh1qR4YwnAmsb3SkCup6sP2luMjt0OALXJiTmSCatVcR7Toys8GbntA31D+Am dpY/I9z8fOZd0iHIh2cFoNwao62Au5NZNlhv51kcwDPkM5cdHX6Zo734Z+cyAr2615 GIYrcf0AYJXlAhIfWCElUD14bfHsV0dSOu+qPnfnd6uIRAHYomiSHJ+nBCOvaR4KxQ AcV/9SdeN+QolSWUIbeej2S7KNI5fWOzv4gAHH53C/XabalfMImr86/S7+XFSA7nUR g2heBcA+hMlOmlKMu0MJoXDYlBQL6hCyiA87WqdN7+iAHuweEHN/W0XSDj7bDKf5Yo oTRs9k3gYvhSQ== Date: Thu, 26 Jan 2023 07:59:17 +0800 From: Shawn Guo To: Michael Walle Cc: Li Yang , Rob Herring , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: dts: ls1028a: sl28: get MAC addresses from VPD Message-ID: <20230125235915.GH20713@T480> References: <20230105152230.2814812-1-michael@walle.cc> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230105152230.2814812-1-michael@walle.cc> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230125_155925_527616_11D0AFE8 X-CRM114-Status: GOOD ( 14.45 ) 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 Thu, Jan 05, 2023 at 04:22:30PM +0100, Michael Walle wrote: > Now that it is finally possible to get the MAC addresses from the OTP > memory, use it to set the addresses of the network devices. > > There are 8 reserved MAC addresses in total per board. Distribute them > as follows: > > +----------+------+------+------+------+------+ > | | var1 | var2 | var3 | var4 | kbox | > +----------+------+------+------+------+------+ > | enetc #0 | +0 | | | +0 | +0 | > | enetc #1 | | | +0 | +1 | +1 | > | enetc #2 | | +2 | | | +2 | > | enetc #3 | | +3 | | | +3 | > | felix p0 | | +0 | | | +4 | > | felix p1 | | +1 | | | +5 | > | felix p2 | | | | | +6 | > | felix p3 | | | | | +7 | > | felix p4 | | | | | | > | felix p5 | | | | | | > +----------+------+------+------+------+------+ > > An empty cell means, the port is not available and thus doesn't need an > ethernet address. > > Signed-off-by: Michael Walle Applied, thanks! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel