openwrt/target/linux/ath79
Adrian Schmutzler e826b64294 ath79: convert remaining mtd-mac-address cases to nvmem
Since the nvmem-based approach for retrieving MAC addresses
appears to depend on the addresses being set up after the
partitions, it is no longer possible to keep the MAC address
setup in shared DTSI files while the partitions itself are
set up in DTS files for the individual devices.

In ath79 the firmware partition is typically located somewhere
"in the middle" of the partition table. Thus, it's not trivial
to share the partitions containing MAC address information in
a common DTSI (like we did in some cases on ramips).

In this commit, MAC address setup is thus moved to the relevant
partitions, and in most cases needs to be duplicated. While
the duplication is not really nice, it eventually provides a
cleaner and more tidy setup, making the DTS(I) file
fragmentation a bit more logical. This should also help
with adding new devices, as information is distributed across
less locations.

For consistency, this commit also moves the mtd-cal-data property
"down" together with the MAC address setup, so it's not based
on a partition before the latter is defined either. (This is
only done for those files touched due to nvmem conversion.)

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2021-08-18 23:46:02 +02:00
..
base-files/etc/hotplug.d/ieee80211 ath79: add WiFi migration for AR913x 2020-09-28 16:23:03 +02:00
dts ath79: convert remaining mtd-mac-address cases to nvmem 2021-08-18 23:46:02 +02:00
files treewide: backport support for nvmem on non platform devices 2021-08-05 01:46:26 +02:00
generic ath79: add support for GL.iNet GL-X300B 2021-08-05 01:48:17 +02:00
image ath79: add support for GL.iNet GL-X300B 2021-08-05 01:48:17 +02:00
mikrotik ath79: add support for MikroTik RouterBOARD 912UAG-2HPnD 2021-06-21 10:48:27 +02:00
nand treewide: remove "+" sign for increment with macaddr_add 2021-06-05 23:54:37 +02:00
patches-5.4 ath79: fix the AR7{1,2}00 USB PHY patches 2021-08-08 19:50:45 +02:00
patches-5.10 ath79: fix the AR7{1,2}00 USB PHY patches 2021-08-08 19:50:45 +02:00
tiny ath79: consolidate testing kernel 2021-04-10 19:28:04 +02:00
config-5.4 ath79: add missing MTD_NAND_RB91X symbol 2021-07-09 17:11:12 +02:00
config-5.10 ath79: add missing GPIO_LATCH symbol 2021-06-22 00:39:48 +02:00
Makefile ath79: consolidate testing kernel 2021-04-10 19:28:04 +02:00
modules.mk