aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bmips/dts/bcm6358-huawei-hg556a-b.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/bmips/dts/bcm6358-huawei-hg556a-b.dts')
-rw-r--r--target/linux/bmips/dts/bcm6358-huawei-hg556a-b.dts15
1 files changed, 13 insertions, 2 deletions
diff --git a/target/linux/bmips/dts/bcm6358-huawei-hg556a-b.dts b/target/linux/bmips/dts/bcm6358-huawei-hg556a-b.dts
index 1ec5a71515..6c8b093edf 100644
--- a/target/linux/bmips/dts/bcm6358-huawei-hg556a-b.dts
+++ b/target/linux/bmips/dts/bcm6358-huawei-hg556a-b.dts
@@ -125,8 +125,9 @@
pci-dev = <1>;
- mtd-mac-address = <&cfe 0x6a0>;
- mtd-mac-address-increment = <1>;
+ nvmem-cells = <&macaddr_cfe_6a0>;
+ nvmem-cell-names = "mac-address";
+ mac-address-increment = <1>;
ath,eeprom = <&cal_data 0x1e000>;
ath,endian-check;
@@ -187,3 +188,13 @@
&usbh {
status = "okay";
};
+
+&cfe {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_cfe_6a0: macaddr@6a0 {
+ reg = <0x6a0 0x6>;
+ };
+};