aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bmips/dts/bcm6328-comtrend-ar-5387un.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/bmips/dts/bcm6328-comtrend-ar-5387un.dts')
-rw-r--r--target/linux/bmips/dts/bcm6328-comtrend-ar-5387un.dts18
1 files changed, 15 insertions, 3 deletions
diff --git a/target/linux/bmips/dts/bcm6328-comtrend-ar-5387un.dts b/target/linux/bmips/dts/bcm6328-comtrend-ar-5387un.dts
index 06fe1f9009..47db0809e1 100644
--- a/target/linux/bmips/dts/bcm6328-comtrend-ar-5387un.dts
+++ b/target/linux/bmips/dts/bcm6328-comtrend-ar-5387un.dts
@@ -34,8 +34,9 @@
pci-bus = <1>;
pci-dev = <0>;
- mtd-mac-address = <&cfe 0x6a0>;
- mtd-mac-address-increment = <1>;
+ nvmem-cells = <&macaddr_cfe_6a0>;
+ nvmem-cell-names = "mac-address";
+ mac-address-increment = <1>;
brcm,sprom-fixups = <2 0x05bb>,
<65 0x1204>,
@@ -71,7 +72,8 @@
&ethernet {
status = "okay";
- mtd-mac-address = <&cfe 0x6a0>;
+ nvmem-cells = <&macaddr_cfe_6a0>;
+ nvmem-cell-names = "mac-address";
};
&hsspi {
@@ -200,3 +202,13 @@
&usbh {
status = "okay";
};
+
+&cfe {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_cfe_6a0: macaddr@6a0 {
+ reg = <0x6a0 0x6>;
+ };
+};