All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shawn Guo <shawnguo@kernel.org>
To: Michael Walle <michael@walle.cc>
Cc: Li Yang <leoyang.li@nxp.com>, Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	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
Date: Thu, 26 Jan 2023 07:59:17 +0800	[thread overview]
Message-ID: <20230125235915.GH20713@T480> (raw)
In-Reply-To: <20230105152230.2814812-1-michael@walle.cc>

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 <michael@walle.cc>

Applied, thanks!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

WARNING: multiple messages have this Message-ID (diff)
From: Shawn Guo <shawnguo@kernel.org>
To: Michael Walle <michael@walle.cc>
Cc: Li Yang <leoyang.li@nxp.com>, Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	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
Date: Thu, 26 Jan 2023 07:59:17 +0800	[thread overview]
Message-ID: <20230125235915.GH20713@T480> (raw)
In-Reply-To: <20230105152230.2814812-1-michael@walle.cc>

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 <michael@walle.cc>

Applied, thanks!

  reply	other threads:[~2023-01-26  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-05 15:22 [PATCH] arm64: dts: ls1028a: sl28: get MAC addresses from VPD Michael Walle
2023-01-05 15:22 ` Michael Walle
2023-01-25 23:59 ` Shawn Guo [this message]
2023-01-25 23:59   ` Shawn Guo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230125235915.GH20713@T480 \
    --to=shawnguo@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=leoyang.li@nxp.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michael@walle.cc \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.