[PATCH] arm64: dts: ls1028a: sl28: get MAC addresses from VPD

Shawn Guo shawnguo at kernel.org
Wed Jan 25 15:59:17 PST 2023


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 at walle.cc>

Applied, thanks!



More information about the linux-arm-kernel mailing list