@@ -133,7 +133,7 @@
read-only;
};
- partition@40000 {
+ uboot_env: partition@40000 {
label = "u-boot-env";
reg = <0x040000 0x010000>;
};
@@ -231,7 +231,9 @@
status = "okay";
pll-data = <0xa6000000 0x00000101 0x00001616>;
- mtd-mac-address = <&uboot 0x5E2>;
+ mtd-mac-address = <&uboot_env 0x0>;
+ mtd-mac-search = "ethaddr=";
+ mtd-mac-address-increment = <2>;
phy-handle = <&phy0>;
fixed-link {
speed = <1000>;
@@ -243,8 +245,9 @@
status = "okay";
pll-data = <0x03000101 0x00000101 0x00001616>;
- mtd-mac-address = <&uboot 0x5E2>;
- mtd-mac-address-increment = <1>;
+ mtd-mac-address = <&uboot_env 0x0>;
+ mtd-mac-search = "ethaddr=";
+ mtd-mac-address-increment = <3>;
phy-handle = <&phy1>;
fixed-link {
speed = <1000>;
@@ -260,8 +263,8 @@
&wmac {
status = "okay";
mtd-cal-data = <&art 0x1000>;
- mtd-mac-address = <&uboot 0x5E2>;
- mtd-mac-address-increment = <3>;
+ mtd-mac-address = <&uboot_env 0x0>;
+ mtd-mac-search = "ethaddr=";
};
&pcie1 {
@@ -270,6 +273,10 @@
wifi@0,0 {
compatible = "qcom,ath10k";
reg = <0 0 0 0 0>;
+ mtd-mac-address = <&uboot_env 0x0>;
+ mtd-mac-search = "ethaddr=";
+ mtd-mac-address-increment = <1>;
+ qcom,ath10k-calibration-variant = "ZyXEL-NBG6716";
};
};
Switch NBG6716 to use the new mtd mac parser for u-boot env. Signed-off-by: André Valentin <avalentin@marcant.net> --- .../linux/ath79/dts/qca9558_zyxel_nbg6716.dts | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-)