diff options
Diffstat (limited to 'target/linux/ath79/dts/ar9341_tplink_tl-wr842n-v2.dts')
-rw-r--r-- | target/linux/ath79/dts/ar9341_tplink_tl-wr842n-v2.dts | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/ar9341_tplink_tl-wr842n-v2.dts b/target/linux/ath79/dts/ar9341_tplink_tl-wr842n-v2.dts index 8c27fe1971..5d20df9261 100644 --- a/target/linux/ath79/dts/ar9341_tplink_tl-wr842n-v2.dts +++ b/target/linux/ath79/dts/ar9341_tplink_tl-wr842n-v2.dts @@ -6,6 +6,10 @@ model = "TP-Link TL-WR842N/ND v2"; compatible = "tplink,tl-wr842n-v2", "qca,ar9341"; + aliases { + label-mac-device = &wmac; + }; + keys { compatible = "gpio-keys"; @@ -93,6 +97,32 @@ status = "okay"; }; +ð0 { + nvmem-cells = <&macaddr_uboot_1fc00>; + nvmem-cell-names = "mac-address"; + mac-address-increment = <(-1)>; +}; + ð1 { phy-handle = <&swphy4>; + + nvmem-cells = <&macaddr_uboot_1fc00>; + nvmem-cell-names = "mac-address"; +}; + +&wmac { + mtd-cal-data = <&art 0x1000>; + + 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>; + }; }; |