mirror of
https://github.com/openwrt/openwrt.git
synced 2025-03-11 15:04:26 +00:00
Rework patch 681-NET-add-mtd-mac-address-support to implement only the function to read the mac-address from mtd. Generalize mtd-mac-address-increment function so it can be applied to any source of of_get_mac_address. Rename any mtd-mac-address-increment to mac-address-increment. Rename any mtd-mac-address-increment-byte to mac-address-increment-byte. This should make simplify the conversion of target to nvmem implementation. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
26 lines
435 B
Plaintext
26 lines
435 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
#include "qca9558_openmesh_mr.dtsi"
|
|
|
|
/ {
|
|
compatible = "openmesh,mr900-v1", "qca,qca9558";
|
|
model = "OpenMesh MR900 v1";
|
|
};
|
|
|
|
&led_wifi2g {
|
|
linux,default-trigger = "phy0tpt";
|
|
};
|
|
|
|
&led_wifi5g {
|
|
linux,default-trigger = "phy1tpt";
|
|
};
|
|
|
|
&pcie0 {
|
|
wifi@0,0 {
|
|
compatible = "pci168c,0033";
|
|
reg = <0x0000 0 0 0 0>;
|
|
mtd-mac-address = <&art 0x0>;
|
|
mac-address-increment = <16>;
|
|
};
|
|
};
|