diff options
Diffstat (limited to 'target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts')
-rw-r--r-- | target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts b/target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts index f843f62801..26f142dcff 100644 --- a/target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts +++ b/target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts @@ -109,7 +109,8 @@ }; &gmac0 { - mtd-mac-address = <&radio 0x4>; + nvmem-cells = <&macaddr_radio_4>; + nvmem-cell-names = "mac-address"; }; &switch0 { @@ -170,3 +171,13 @@ function = "gpio"; }; }; + +&radio { + compatible = "nvmem-cells"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_radio_4: macaddr@4 { + reg = <0x4 0x6>; + }; +}; |