diff options
Diffstat (limited to 'target/linux/ramips/dts/mt7621_cudy_wr1300.dts')
-rw-r--r-- | target/linux/ramips/dts/mt7621_cudy_wr1300.dts | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/target/linux/ramips/dts/mt7621_cudy_wr1300.dts b/target/linux/ramips/dts/mt7621_cudy_wr1300.dts index e943c04069..3fd67c967a 100644 --- a/target/linux/ramips/dts/mt7621_cudy_wr1300.dts +++ b/target/linux/ramips/dts/mt7621_cudy_wr1300.dts @@ -127,7 +127,8 @@ compatible = "pci14c3,7603"; reg = <0x0000 0 0 0 0>; mediatek,mtd-eeprom = <&factory 0x0000>; - mtd-mac-address = <&bdinfo 0xde00>; + nvmem-cells = <&macaddr_bdinfo_de00>; + nvmem-cell-names = "mac-address"; ieee80211-freq-limit = <2400000 2500000>; led { @@ -141,7 +142,8 @@ compatible = "pci14c3,7662"; reg = <0x0000 0 0 0 0>; mediatek,mtd-eeprom = <&factory 0x8000>; - mtd-mac-address = <&bdinfo 0xde00>; + nvmem-cells = <&macaddr_bdinfo_de00>; + nvmem-cell-names = "mac-address"; mac-address-increment = <2>; ieee80211-freq-limit = <5000000 6000000>; @@ -153,7 +155,8 @@ }; &gmac0 { - mtd-mac-address = <&bdinfo 0xde00>; + nvmem-cells = <&macaddr_bdinfo_de00>; + nvmem-cell-names = "mac-address"; }; &switch0 { @@ -181,7 +184,8 @@ port@4 { status = "okay"; label = "wan"; - mtd-mac-address = <&bdinfo 0xde00>; + nvmem-cells = <&macaddr_bdinfo_de00>; + nvmem-cell-names = "mac-address"; mac-address-increment = <1>; }; }; @@ -193,3 +197,13 @@ function = "gpio"; }; }; + +&bdinfo { + compatible = "nvmem-cells"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_bdinfo_de00: macaddr@de00 { + reg = <0xde00 0x6>; + }; +}; |