openwrt/target/linux/ath79/dts/qca9558_openmesh_mr900-v1.dts
Ansuel Smith d284e6ef0f treewide: convert mtd-mac-address-increment* to generic implementation
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>
2021-07-19 14:51:22 +02:00

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>;
};
};