diff options
Diffstat (limited to 'target/linux/ath79/dts/ar7240_tplink.dtsi')
-rw-r--r-- | target/linux/ath79/dts/ar7240_tplink.dtsi | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/target/linux/ath79/dts/ar7240_tplink.dtsi b/target/linux/ath79/dts/ar7240_tplink.dtsi index 4799fd79ec..60cd38c220 100644 --- a/target/linux/ath79/dts/ar7240_tplink.dtsi +++ b/target/linux/ath79/dts/ar7240_tplink.dtsi @@ -104,7 +104,8 @@ ath9k: wifi@0,0 { reg = <0x0000 0 0 0 0>; qca,no-eeprom; - mtd-mac-address = <&uboot 0x1fc00>; + nvmem-cells = <&macaddr_uboot_1fc00>; + nvmem-cell-names = "mac-address"; #gpio-cells = <2>; gpio-controller; }; @@ -115,3 +116,13 @@ pinctrl-single,bits = <0x0 0x0 0xf8>; }; }; + +&uboot { + compatible = "nvmem-cells"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_uboot_1fc00: macaddr@1fc00 { + reg = <0x1fc00 0x6>; + }; +}; |