diff options
Diffstat (limited to 'target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi')
-rw-r--r-- | target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi b/target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi index 8f2b626bad..ff7ea7da03 100644 --- a/target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi +++ b/target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi @@ -145,7 +145,8 @@ pll-data = <0x56000000 0x00000101 0x00001616>; - mtd-mac-address = <&uboot 0x1fc00>; + nvmem-cells = <&macaddr_uboot_1fc00>; + nvmem-cell-names = "mac-address"; mac-address-increment = <1>; phy-handle = <&phy0>; }; @@ -155,7 +156,8 @@ pll-data = <0x03000101 0x00000101 0x00001616>; - mtd-mac-address = <&uboot 0x1fc00>; + nvmem-cells = <&macaddr_uboot_1fc00>; + nvmem-cell-names = "mac-address"; fixed-link { speed = <1000>; @@ -166,5 +168,16 @@ &wmac { status = "okay"; mtd-cal-data = <&art 0x1000>; - mtd-mac-address = <&uboot 0x1fc00>; + nvmem-cells = <&macaddr_uboot_1fc00>; + nvmem-cell-names = "mac-address"; +}; + +&uboot { + compatible = "nvmem-cells"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_uboot_1fc00: macaddr@1fc00 { + reg = <0x1fc00 0x6>; + }; }; |