openwrt/target/linux/realtek
Alexandru Gagniuc d55c087390 realtek: tl-sg2xxx: read MAC address from nvmem-cells
The TP-Link RTL83xx based switches have their MAC address programmed
in the "para" partition. While in theory, the format of this partition
is dynamic, in practice, the MAC address appears to be located at a
consistent address. Thus, use nvmem-cells to read this MAC address.

The main MAC is required for deriving the MAC address of the switch
ports. Instead of reading it via mtd_get_mac_binary(), alias the
ethernet0 node as the label-mac-device, and use get_mac_label().

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2022-09-13 09:22:26 +02:00
..
base-files realtek: tl-sg2xxx: read MAC address from nvmem-cells 2022-09-13 09:22:26 +02:00
dts-5.10 realtek: tl-sg2xxx: read MAC address from nvmem-cells 2022-09-13 09:22:26 +02:00
files/firmware/rtl838x_phy realtek: update the tree to the latest refactored version 2020-11-26 13:29:27 +01:00
files-5.10 realtek: fix RTL839x receive tag decoding 2022-09-09 22:11:55 +02:00
image realtek: add support for TP-Link SG2452P v4 aka T1600G-52PS v4 2022-09-10 22:13:52 +02:00
patches-5.10 realtek: replace fix for spurious GPIO interrupts 2022-09-04 20:55:15 +02:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
rtl838x realtek: activate clock driver for RTL838X/RTL839X targets 2022-08-28 11:48:30 +02:00
rtl839x realtek: activate clock driver for RTL838X/RTL839X targets 2022-08-28 11:48:30 +02:00
rtl930x realtek: Fix missing clock module CONFIG setting 2022-08-31 23:25:39 +02:00
rtl931x kernel: Activate CONFIG_GPIOLIB in generic configuration 2022-08-10 21:36:17 +02:00
Makefile realtek: Fix tc default package 2022-03-29 13:43:01 +02:00